hlrender 0.0.105 → 0.0.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/_image-fab8c8e2.js +28 -0
  2. package/_pdf-a1ef6f23.js +58 -0
  3. package/_txt-f58d1661.js +70 -0
  4. package/_unsupport-e6f84e26.js +35 -0
  5. package/_video-21c5b64e.js +23 -0
  6. package/{affix-widget-a4784881.js → affix-widget-e27ce439.js} +16 -16
  7. package/{alert-widget-7437e99d.js → alert-widget-29acce89.js} +16 -16
  8. package/{anchor-widget-4deadddc.js → anchor-widget-a9328cd1.js} +13 -13
  9. package/{auto-complete-widget-442f6612.js → auto-complete-widget-c7f628b7.js} +16 -16
  10. package/{avatar-widget-ff1e1e7d.js → avatar-widget-39b78620.js} +16 -16
  11. package/{backtop-widget-d4d51540.js → backtop-widget-6e57d8fe.js} +16 -16
  12. package/{badge-widget-465a3e42.js → badge-widget-4a787881.js} +19 -19
  13. package/{baseImp-5002ca16.js → baseImp-26b9c04a.js} +2973 -2889
  14. package/{breadcrumb-widget-21258dd3.js → breadcrumb-widget-57acc2c2.js} +16 -16
  15. package/{button-widget-2a8aa23b.js → button-widget-8f366155.js} +16 -16
  16. package/{cache-widget-4df5020b.js → cache-widget-681c2328.js} +15 -15
  17. package/{card-widget-de9c0244.js → card-widget-ec661a5f.js} +14 -14
  18. package/{carousel-widget-45f07b77.js → carousel-widget-c754320f.js} +14 -14
  19. package/{cascader-widget-f393a5f5.js → cascader-widget-94aa4f85.js} +23 -23
  20. package/{chart-widget-d83556f5.js → chart-widget-f8454126.js} +18 -18
  21. package/{checkbox-widget-696b25b1.js → checkbox-widget-44160821.js} +15 -15
  22. package/{collapse-widget-e192430e.js → collapse-widget-a2b8f8f9.js} +14 -14
  23. package/{color-picker-widget-3a8b2f17.js → color-picker-widget-6ff88d6b.js} +15 -15
  24. package/{cont-cell-widget-796b1026.js → cont-cell-widget-378f10f7.js} +1 -1
  25. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b40becdf.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-c695e4be.js} +5 -5
  26. package/{cont-widget-37f9b683.js → cont-widget-a0291a33.js} +5 -5
  27. package/{content-wrapper-c1827f38.js → content-wrapper-6a9a1af2.js} +7 -7
  28. package/{content-wrapper.vue_vue_type_script_setup_true_lang-32decaca.js → content-wrapper.vue_vue_type_script_setup_true_lang-2b440b0c.js} +6 -6
  29. package/date-picker-range-widget-4e1f8a5e.js +82 -0
  30. package/date-picker-widget-a6ea53de.js +113 -0
  31. package/default-slot-widget-72fb2f79.js +26 -0
  32. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1c4a2a95.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e76a3814.js} +11 -11
  33. package/{descriptions-widget-3f7a7084.js → descriptions-widget-7b9b580b.js} +14 -14
  34. package/{dialog-29258d7d.js → dialog-c4706078.js} +2 -2
  35. package/{dialog-widget-bed8099e.js → dialog-widget-c90c6b38.js} +16 -16
  36. package/{divider-widget-fd49ef99.js → divider-widget-f6f5ecc8.js} +16 -16
  37. package/drag-wrapper-7bf27317.js +244 -0
  38. package/{drawer-widget-71384405.js → drawer-widget-da22a491.js} +16 -16
  39. package/{dropdown-widget-b323c382.js → dropdown-widget-5982a879.js} +14 -14
  40. package/{empty-widget-75ddc330.js → empty-widget-ddd257ba.js} +16 -16
  41. package/{enum-type-6439c695.js → enum-type-4a798b1a.js} +378 -695
  42. package/enum-type-bb2bfafa.js +222 -0
  43. package/{expression-e238c660.js → expression-490b4335.js} +403 -402
  44. package/feedback-widget-cd3cb686.js +26 -0
  45. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-df9377ed.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8cb27f35.js} +5 -5
  46. package/{fieldobj-aa165eba.js → fieldobj-a9f1231d.js} +1 -1
  47. package/file-upload-widget-8f10ef4f.js +400 -0
  48. package/{form-item-wrapper-f68f514d.js → form-item-wrapper-888c1256.js} +12 -12
  49. package/form-widget-07c36b9c.js +224 -0
  50. package/{grid-col-widget-0a0044c6.js → grid-col-widget-a5f247a8.js} +1 -1
  51. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c2e26429.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d09d7c02.js} +5 -5
  52. package/{grid-widget-fadca3f5.js → grid-widget-9da08670.js} +5 -5
  53. package/{html-text-widget-91a5f29a.js → html-text-widget-214c4b2a.js} +17 -17
  54. package/{icon-widget-20553ce3.js → icon-widget-8ed6caf5.js} +13 -13
  55. package/{iframe-widget-edfbee32.js → iframe-widget-483738f9.js} +26 -26
  56. package/{image-widget-4f09e930.js → image-widget-e19d3064.js} +13 -13
  57. package/{index-d3cb2709.js → index-79892b9c.js} +1 -1
  58. package/{index-dfefbed9.js → index-a7d766e7.js} +3073 -3013
  59. package/{index-42ec34dd.js → index-cda65e40.js} +4 -4
  60. package/{input-number-widget-5d6ff58d.js → input-number-widget-08cde096.js} +15 -15
  61. package/{input-widget-0a9da224.js → input-widget-1ca33ac3.js} +16 -16
  62. package/{label-wrapper-074dea6d.js → label-wrapper-f087426c.js} +5 -5
  63. package/{label-wrapper.vue_vue_type_style_index_0_lang-400ac7ab.js → label-wrapper.vue_vue_type_style_index_0_lang-62dc93f6.js} +3 -3
  64. package/{link-widget-f667429f.js → link-widget-21b6802b.js} +16 -16
  65. package/{ltable-col-widget-b2b2f988.js → ltable-col-widget-d2fab2cd.js} +1 -1
  66. package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-a7fbd112.js +279 -0
  67. package/{ltable-widget-86cadfc4.js → ltable-widget-3e8e6b43.js} +5 -5
  68. package/{menu-widget-f7e766aa.js → menu-widget-ba66de4a.js} +14 -14
  69. package/{model-widget-06eccc29.js → model-widget-40268865.js} +13 -13
  70. package/{multirow-25723fa0.js → multirow-35c0f8c0.js} +38 -38
  71. package/{multirow-widget-7a0ecf45.js → multirow-widget-45a8d25d.js} +76 -76
  72. package/package.json +1 -1
  73. package/{pagination-widget-d7d21eb8.js → pagination-widget-3f832ac9.js} +13 -13
  74. package/picture-upload-widget-a673958c.js +165 -0
  75. package/{progress-widget-108c63a9.js → progress-widget-813b4777.js} +14 -14
  76. package/{propresult-9fa7fdae.js → propresult-e7e86b43.js} +1 -1
  77. package/{radio-widget-c4e20632.js → radio-widget-15eb2159.js} +15 -15
  78. package/{range-widget-33c96e7d.js → range-widget-a7a2cc17.js} +27 -27
  79. package/{rate-widget-f7ca8288.js → rate-widget-8286721a.js} +15 -15
  80. package/render.es.js +495 -489
  81. package/render.style.css +1 -1
  82. package/render.umd.js +485 -455
  83. package/{result-widget-b466c323.js → result-widget-6cd7f701.js} +14 -14
  84. package/{rich-editor-widget-4ea1ba7f.js → rich-editor-widget-04c813d6.js} +15 -15
  85. package/{router-widget-618da401.js → router-widget-af7c37fa.js} +13 -13
  86. package/{select-widget-32d3faf6.js → select-widget-9bf0e700.js} +15 -15
  87. package/{sfc-065ac9d6.js → sfc-778eb297.js} +661 -646
  88. package/sfcview-ccbbde59.js +94 -0
  89. package/share-field-27676b90.js +787 -0
  90. package/share-file-890add80.js +171 -0
  91. package/{slider-widget-3b8fd267.js → slider-widget-7a68eb99.js} +15 -15
  92. package/{slot-02854365.js → slot-f8eef9e1.js} +12 -12
  93. package/{static-text-widget-695e7ba2.js → static-text-widget-68efa0d7.js} +14 -14
  94. package/{steps-widget-f965f620.js → steps-widget-868b90ad.js} +13 -13
  95. package/{subMenu-widget-df7e3cbb.js → subMenu-widget-34599486.js} +8 -8
  96. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-13a6a3da.js → subMenu-widget.vue_vue_type_script_setup_true_lang-99253c57.js} +3 -3
  97. package/{switch-widget-6c843cf9.js → switch-widget-05670677.js} +15 -15
  98. package/{tab-pane-widget-477cd890.js → tab-pane-widget-c7c74425.js} +1 -1
  99. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-468cfaf3.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-93bd278a.js} +5 -5
  100. package/table-col-widget-562dd755.js +22 -0
  101. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-6c1b679b.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-04ad1322.js} +9 -9
  102. package/{table-widget-4a9b9ce6.js → table-widget-529fcb42.js} +38 -38
  103. package/{tabs-widget-5690cf99.js → tabs-widget-0e3cf725.js} +27 -28
  104. package/{tag-widget-db4a1af1.js → tag-widget-a12b391e.js} +16 -16
  105. package/{text-widget-9688a8f3.js → text-widget-f03bb615.js} +16 -16
  106. package/{textarea-widget-06142d30.js → textarea-widget-220d7fd3.js} +15 -15
  107. package/time-picker-range-widget-3d405a42.js +81 -0
  108. package/time-picker-widget-4b8a9822.js +64 -0
  109. package/{time-select-widget-83b08e7a.js → time-select-widget-b1a5c072.js} +18 -18
  110. package/{tmpl-widget-e8eeef29.js → tmpl-widget-d83bbdec.js} +21 -21
  111. package/{tree-select-widget-0fca81c9.js → tree-select-widget-be605b79.js} +15 -15
  112. package/{tree-widget-0c34775f.js → tree-widget-129df4d3.js} +13 -13
  113. package/uuid-4999945f.js +189 -0
  114. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-5e48054b.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-efde8c90.js} +78 -76
  115. package/{wrapper-widget-0d00b4ba.js → wrapper-widget-a48784d7.js} +6 -6
  116. package/date-picker-range-widget-ca7b1a7b.js +0 -72
  117. package/date-picker-widget-6c1da8e4.js +0 -78
  118. package/default-slot-widget-9b3666e9.js +0 -26
  119. package/drag-wrapper-cb2d7be7.js +0 -244
  120. package/enum-type-f28bfcf0.js +0 -215
  121. package/feedback-widget-e9336c82.js +0 -26
  122. package/file-upload-widget-9b76069f.js +0 -162
  123. package/form-widget-fcbb29fe.js +0 -219
  124. package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-eaffcb43.js +0 -256
  125. package/picture-upload-widget-98e176f9.js +0 -113
  126. package/share-field-3f643f0b.js +0 -777
  127. package/share-file-c4a175df.js +0 -150
  128. package/table-col-widget-c5d6538e.js +0 -22
  129. package/time-picker-range-widget-a46affdd.js +0 -58
  130. package/time-picker-widget-6a173dda.js +0 -57
  131. package/uuid-462b0002.js +0 -192
@@ -1,184 +1,23 @@
1
- var Ue = Object.defineProperty;
2
- var ze = (t, i, s) => i in t ? Ue(t, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[i] = s;
3
- var Z = (t, i, s) => (ze(t, typeof i != "symbol" ? i + "" : i, s), s);
4
- import { d as M, t as H, o as _t, P as qe, i as Mt, Q as Ve, R as q, f as Fe, S as Xe, A as Oe, h as Ge } from "./enum-type-6439c695.js";
5
- import { B as w, P as I, A as Te, F as Qe, C as He, D as Je, b as mt, G as Ze } from "./baseImp-5002ca16.js";
6
- import { c as E, d as Ye, H as Ht, e as Jt, Z as ti } from "./enum-type-f28bfcf0.js";
7
- import { c as Bt } from "./uuid-462b0002.js";
8
- import { t as ei, l as Ee, m as ke } from "./index-dfefbed9.js";
9
- import { g as J, o as F, s as rt, q as Re } from "./expression-e238c660.js";
10
- import { a as Ae } from "./slot-02854365.js";
1
+ var qe = Object.defineProperty;
2
+ var Ve = (t, i, s) => i in t ? qe(t, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[i] = s;
3
+ var Z = (t, i, s) => (Ve(t, typeof i != "symbol" ? i + "" : i, s), s);
4
+ import { S as q, f as Fe, i as Wt, h as J, T as Bt, o as H, d as B, U as Xe, j as mt, V as Ge, c as Kt, W as Qe, E as Ee, k as He } from "./enum-type-4a798b1a.js";
5
+ import { B as w, P as M, A as ke, F as Je, C as Ze, D as Ye, b as gt, G as ti } from "./baseImp-26b9c04a.js";
6
+ import { g as rt, o as F, s as _t, r as ei, q as Re } from "./expression-490b4335.js";
7
+ import { c as R, d as ii, H as Zt, e as Yt, Z as si } from "./enum-type-bb2bfafa.js";
8
+ import { a as Se } from "./slot-f8eef9e1.js";
9
+ import { t as ni, l as Ae, m as Ce } from "./index-a7d766e7.js";
11
10
  import "vue";
12
11
  import "./icon-a0e0cdb0.js";
13
- import "./dialog-29258d7d.js";
12
+ import "./dialog-c4706078.js";
14
13
  import "./_commonjsHelpers-e7ea1525.js";
14
+ import "./uuid-4999945f.js";
15
15
  import "element-plus";
16
16
  import "./source-map-b04aec4a.js";
17
17
  import "./esprima-e8d15055.js";
18
- const ii = (t) => {
19
- let i = {};
20
- const s = t.type, e = w.getName(t);
21
- s === E.tabs ? t.tabs.length > 0 && M(i, {
22
- [`${e}ActiveTab`]: w.getName(t.tabs[0])
23
- }) : [
24
- E.radio,
25
- E.checkbox,
26
- E.select,
27
- E.cascader,
28
- E.breadcrumb,
29
- E.descriptions,
30
- E.dropdown,
31
- E.steps,
32
- E.collapse
33
- ].includes(s) ? M(i, {
34
- [`${e}Options`]: I.getValue(w.getOrgOption(t, J.optionItems))
35
- }) : [E.pictureUpload, E.fileUpload].includes(s) && M(i, {
36
- [`${e}FileList`]: [],
37
- [`${e}UploadHeaders`]: {},
38
- [`${e}UploadData`]: {}
39
- });
40
- let n = Se(t);
41
- return !n && e && (n = Ce(t)), n && M(i, n), i;
42
- }, Se = (t) => {
43
- const i = w.getName(t);
44
- if (t.formItemFlag) {
45
- const s = w.getOptions(t, "defaultValue");
46
- return { [i]: Mt(s) ? null : s };
47
- }
48
- }, Ce = (t) => {
49
- var i = ke(t);
50
- return $e(i);
51
- }, $e = (t) => {
52
- let i = {};
53
- var s = Ee(t, E.form);
54
- const e = s == null ? void 0 : s.map((n) => w.getName(n));
55
- return s == null || s.map((n) => {
56
- var l;
57
- let r = {};
58
- const u = w.getName(n), o = w.getOptions(n, "modelName") || u;
59
- (l = n.widgetList) == null || l.map((y) => {
60
- const x = w.getName(y);
61
- let b = Se(y);
62
- e != null && e.includes(x) && (b = Ce(y)), M(r, b);
63
- }), M(i, { [o]: r });
64
- }), i;
65
- }, Wt = (t) => {
66
- var n;
67
- let i = {};
68
- ei(t, (r) => {
69
- M(i, ii(r));
70
- });
71
- const s = $e(t);
72
- M(i, s);
73
- const e = qe(s, !0);
74
- return (n = _t(i)) == null || n.forEach((r) => {
75
- e != null && e.includes(r) && delete i[r];
76
- }), i;
77
- }, si = (t) => {
78
- t.options;
79
- let i = [];
80
- var s = w.getOptions(t, "required");
81
- s && i.push({
82
- required: !0,
83
- message: `${Ve("render.hint.fieldRequired")}`
84
- });
85
- var e = w.getOptions(t, "expValidate", !0);
86
- const n = Bt(e == null ? void 0 : e.options);
87
- if (e && n && n.enable) {
88
- let r = n == null ? void 0 : n.expression;
89
- const u = Qe[r] ? He(r) : new RegExp(r);
90
- i.push({
91
- pattern: `${u}`,
92
- trigger: ["blur", "change"],
93
- message: `${n.errorMsg}`
94
- });
95
- }
96
- return i;
97
- }, Kt = (t) => {
98
- let i = {};
99
- var s = Ee(t, E.form);
100
- return s == null || s.map((e) => {
101
- var u;
102
- let n = {};
103
- const r = w.getOptions(e, "rulesName") || name + "_rules";
104
- (u = e.widgetList) == null || u.map((o) => {
105
- const l = w.getOptions(o, "name");
106
- let y = {};
107
- if (o.formItemFlag)
108
- y = { [l]: si(o) };
109
- else if (o.type !== E.form) {
110
- var x = ke(o);
111
- y = Kt(x);
112
- }
113
- M(n, y);
114
- }), M(i, { [r]: n });
115
- }), i;
116
- }, Ne = (t, i) => {
117
- var e;
118
- var s = I.getValue(t == null ? void 0 : t.pageCreated) || "";
119
- if (i)
120
- return `
121
- ${s}
122
- `;
123
- {
124
- const n = Te(s);
125
- return `function pageCreated(${(e = n == null ? void 0 : n.params) == null ? void 0 : e.join(",")}){
126
- ${n == null ? void 0 : n.body}
127
- }`;
128
- }
129
- }, Pe = (t, i) => {
130
- var e;
131
- var s = I.getValue(t.pageMounted) || "";
132
- if (i)
133
- return `
134
- ${s}
135
- `;
136
- {
137
- const n = Te(s);
138
- return `function pageMounted(${(e = n == null ? void 0 : n.params) == null ? void 0 : e.join(",")}){
139
- ${n == null ? void 0 : n.body}
140
- }`;
141
- }
142
- }, ni = function(t, i) {
143
- const s = Wt(i), e = Kt(i), n = M(s, e), r = Ne(t, !1), u = Pe(t, !1);
144
- return `
145
- export default {
146
- components: {},
147
- props: {ctx:Object},
148
- data() {
149
- return
150
- ${H(n)};
151
- },
152
- computed: {},
153
- watch: {},
154
- created() {
155
- ${r}
156
- pageCreated(this.ctx);
157
- },
158
- mounted() {
159
- ${u}
160
- pageMounted(this.ctx);
161
- },
162
- methods: {}
163
- }`;
164
- }, ai = function(t, i) {
165
- var v, A;
166
- const s = Wt(i), e = Kt(i), n = M(s, e), r = ($) => !Array.isArray($), u = (v = _t(n)) == null ? void 0 : v.map(($) => `const ${$} =${r(n == null ? void 0 : n[$]) ? "ref" : "reactive"} (${H(n == null ? void 0 : n[$])});`), o = ((A = _t(n)) == null ? void 0 : A.length) > 0 ? "import { ref,reactive } from 'vue';" : "", l = `
167
- ${Ne(t, !0)}
168
- pageCreated(props.ctx);
169
- `, y = `onMounted(()=>{
170
- ${Pe(t, !0)}
171
- pageMounted(props.ctx);
172
- });`;
173
- return `
174
- ${o}
175
- const props=defineProps({ctx:{type:Object}});
176
- ${u.join(`
177
- `)}
178
- ${l}
179
- ${y}
180
- `;
181
- };
18
+ const ai = (t) => t ? t.replace(/[A-Z]/g, function(i) {
19
+ return "-" + i.toLowerCase();
20
+ }) : "";
182
21
  var it = {}, _i = {
183
22
  get exports() {
184
23
  return it;
@@ -193,11 +32,11 @@ var it = {}, _i = {
193
32
  set exports(t) {
194
33
  st = t;
195
34
  }
196
- }, wt = {}, Ot = {}, Zt;
35
+ }, Ot = {}, Tt = {}, te;
197
36
  function Ut() {
198
- if (Zt)
199
- return Ot;
200
- Zt = 1;
37
+ if (te)
38
+ return Tt;
39
+ te = 1;
201
40
  function t(e) {
202
41
  this.__parent = e, this.__character_count = 0, this.__indent_count = -1, this.__alignment_count = 0, this.__wrap_point_index = 0, this.__wrap_point_character_count = 0, this.__wrap_point_indent_count = -1, this.__wrap_point_alignment_count = 0, this.__items = [];
203
42
  }
@@ -322,31 +161,31 @@ function Ut() {
322
161
  }
323
162
  r--;
324
163
  }
325
- }, Ot.Output = s, Ot;
164
+ }, Tt.Output = s, Tt;
326
165
  }
327
- var Tt = {}, Yt;
328
- function Le() {
329
- if (Yt)
330
- return Tt;
331
- Yt = 1;
166
+ var Et = {}, ee;
167
+ function $e() {
168
+ if (ee)
169
+ return Et;
170
+ ee = 1;
332
171
  function t(i, s, e, n) {
333
172
  this.type = i, this.text = s, this.comments_before = null, this.newlines = e || 0, this.whitespace_before = n || "", this.parent = null, this.next = null, this.previous = null, this.opened = null, this.closed = null, this.directives = null;
334
173
  }
335
- return Tt.Token = t, Tt;
174
+ return Et.Token = t, Et;
336
175
  }
337
- var Et = {}, te;
338
- function je() {
339
- return te || (te = 1, function(t) {
176
+ var kt = {}, ie;
177
+ function Ne() {
178
+ return ie || (ie = 1, function(t) {
340
179
  var i = "\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a", s = "\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a", e = "\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc", n = "\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f", r = "(?:\\\\u[0-9a-fA-F]{4}|[" + i + e + "])", u = "(?:\\\\u[0-9a-fA-F]{4}|[" + s + e + n + "])*";
341
180
  t.identifier = new RegExp(r + u, "g"), t.identifierStart = new RegExp(r), t.identifierMatch = new RegExp("(?:\\\\u[0-9a-fA-F]{4}|[" + s + e + n + "])+"), t.newline = /[\n\r\u2028\u2029]/, t.lineBreak = new RegExp(`\r
342
181
  |` + t.newline.source), t.allLineBreaks = new RegExp(t.lineBreak.source, "g");
343
- }(Et)), Et;
182
+ }(kt)), kt;
344
183
  }
345
- var kt = {}, tt = {}, ee;
184
+ var Rt = {}, tt = {}, se;
346
185
  function zt() {
347
- if (ee)
186
+ if (se)
348
187
  return tt;
349
- ee = 1;
188
+ se = 1;
350
189
  function t(e, n) {
351
190
  this.raw_options = i(e, n), this.disabled = this._get_boolean("disabled"), this.eol = this._get_characters("eol", "auto"), this.end_with_newline = this._get_boolean("end_with_newline"), this.indent_size = this._get_number("indent_size", 4), this.indent_char = this._get_characters("indent_char", " "), this.indent_level = this._get_number("indent_level"), this.preserve_newlines = this._get_boolean("preserve_newlines", !0), this.max_preserve_newlines = this._get_number("max_preserve_newlines", 32786), this.preserve_newlines || (this.max_preserve_newlines = 0), this.indent_with_tabs = this._get_boolean("indent_with_tabs", this.indent_char === " "), this.indent_with_tabs && (this.indent_char = " ", this.indent_size === 1 && (this.indent_size = 4)), this.wrap_line_length = this._get_number("wrap_line_length", this._get_number("max_char")), this.indent_empty_lines = this._get_boolean("indent_empty_lines"), this.templating = this._get_selection_list("templating", ["auto", "none", "django", "erb", "handlebars", "php", "smarty"], ["auto"]);
352
191
  }
@@ -413,11 +252,11 @@ You passed in: '` + this.raw_options[e] + "'"
413
252
  }
414
253
  return tt.Options = t, tt.normalizeOpts = s, tt.mergeOpts = i, tt;
415
254
  }
416
- var ie;
417
- function De() {
418
- if (ie)
419
- return kt;
420
- ie = 1;
255
+ var ne;
256
+ function Pe() {
257
+ if (ne)
258
+ return Rt;
259
+ ne = 1;
421
260
  var t = zt().Options, i = ["before-newline", "after-newline", "preserve-newline"];
422
261
  function s(e) {
423
262
  t.call(this, e, "js");
@@ -429,13 +268,13 @@ function De() {
429
268
  r[u] === "preserve-inline" ? this.brace_preserve_inline = !0 : this.brace_style = r[u];
430
269
  this.unindent_chained_methods = this._get_boolean("unindent_chained_methods"), this.break_chained_methods = this._get_boolean("break_chained_methods"), this.space_in_paren = this._get_boolean("space_in_paren"), this.space_in_empty_paren = this._get_boolean("space_in_empty_paren"), this.jslint_happy = this._get_boolean("jslint_happy"), this.space_after_anon_function = this._get_boolean("space_after_anon_function"), this.space_after_named_function = this._get_boolean("space_after_named_function"), this.keep_array_indentation = this._get_boolean("keep_array_indentation"), this.space_before_conditional = this._get_boolean("space_before_conditional", !0), this.unescape_strings = this._get_boolean("unescape_strings"), this.e4x = this._get_boolean("e4x"), this.comma_first = this._get_boolean("comma_first"), this.operator_position = this._get_selection("operator_position", i), this.test_output_raw = this._get_boolean("test_output_raw"), this.jslint_happy && (this.space_after_anon_function = !0);
431
270
  }
432
- return s.prototype = new t(), kt.Options = s, kt;
271
+ return s.prototype = new t(), Rt.Options = s, Rt;
433
272
  }
434
- var Q = {}, Rt = {}, se;
273
+ var Q = {}, St = {}, ae;
435
274
  function qt() {
436
- if (se)
437
- return Rt;
438
- se = 1;
275
+ if (ae)
276
+ return St;
277
+ ae = 1;
439
278
  var t = RegExp.prototype.hasOwnProperty("sticky");
440
279
  function i(s) {
441
280
  this.__input = s || "", this.__input_length = this.__input.length, this.__position = 0;
@@ -485,13 +324,13 @@ function qt() {
485
324
  }, i.prototype.lookBack = function(s) {
486
325
  var e = this.__position - 1;
487
326
  return e >= s.length && this.__input.substring(e - s.length, e).toLowerCase() === s;
488
- }, Rt.InputScanner = i, Rt;
327
+ }, St.InputScanner = i, St;
489
328
  }
490
- var ut = {}, At = {}, ne;
329
+ var ut = {}, At = {}, _e;
491
330
  function oi() {
492
- if (ne)
331
+ if (_e)
493
332
  return At;
494
- ne = 1;
333
+ _e = 1;
495
334
  function t(i) {
496
335
  this.__tokens = [], this.__tokens_length = this.__tokens.length, this.__position = 0, this.__parent_token = i;
497
336
  }
@@ -511,11 +350,11 @@ function oi() {
511
350
  this.__parent_token && (i.parent = this.__parent_token), this.__tokens.push(i), this.__tokens_length += 1;
512
351
  }, At.TokenStream = t, At;
513
352
  }
514
- var St = {}, Ct = {}, ae;
515
- function gt() {
516
- if (ae)
517
- return Ct;
518
- ae = 1;
353
+ var Ct = {}, $t = {}, re;
354
+ function bt() {
355
+ if (re)
356
+ return $t;
357
+ re = 1;
519
358
  function t(i, s) {
520
359
  this._input = i, this._starting_pattern = null, this._match_pattern = null, this._until_pattern = null, this._until_after = !1, s && (this._starting_pattern = this._input.get_regexp(s._starting_pattern, !0), this._match_pattern = this._input.get_regexp(s._match_pattern, !0), this._until_pattern = this._input.get_regexp(s._until_pattern), this._until_after = s._until_after);
521
360
  }
@@ -539,14 +378,14 @@ function gt() {
539
378
  }, t.prototype._create = function() {
540
379
  return new t(this._input, this);
541
380
  }, t.prototype._update = function() {
542
- }, Ct.Pattern = t, Ct;
381
+ }, $t.Pattern = t, $t;
543
382
  }
544
- var _e;
383
+ var oe;
545
384
  function li() {
546
- if (_e)
547
- return St;
548
- _e = 1;
549
- var t = gt().Pattern;
385
+ if (oe)
386
+ return Ct;
387
+ oe = 1;
388
+ var t = bt().Pattern;
550
389
  function i(s, e) {
551
390
  t.call(this, s, e), e ? this._line_regexp = this._input.get_regexp(e._line_regexp) : this.__set_whitespace_patterns("", ""), this.newline_count = 0, this.whitespace_before_token = "";
552
391
  }
@@ -577,14 +416,14 @@ function li() {
577
416
  for (var n = 0, r = [], u = s.exec(e); u; )
578
417
  r.push(e.substring(n, u.index)), n = u.index + u[0].length, u = s.exec(e);
579
418
  return n < e.length ? r.push(e.substring(n, e.length)) : r.push(""), r;
580
- }, St.WhitespacePattern = i, St;
419
+ }, Ct.WhitespacePattern = i, Ct;
581
420
  }
582
- var re;
421
+ var le;
583
422
  function dt() {
584
- if (re)
423
+ if (le)
585
424
  return ut;
586
- re = 1;
587
- var t = qt().InputScanner, i = Le().Token, s = oi().TokenStream, e = li().WhitespacePattern, n = {
425
+ le = 1;
426
+ var t = qt().InputScanner, i = $e().Token, s = oi().TokenStream, e = li().WhitespacePattern, n = {
588
427
  START: "TK_START",
589
428
  RAW: "TK_RAW",
590
429
  EOF: "TK_EOF"
@@ -593,10 +432,10 @@ function dt() {
593
432
  };
594
433
  return r.prototype.tokenize = function() {
595
434
  this._input.restart(), this.__tokens = new s(), this._reset();
596
- for (var u, o = new i(n.START, ""), l = null, y = [], x = new s(); o.type !== n.EOF; ) {
435
+ for (var u, o = new i(n.START, ""), l = null, x = [], y = new s(); o.type !== n.EOF; ) {
597
436
  for (u = this._get_next_token(o, l); this._is_comment(u); )
598
- x.add(u), u = this._get_next_token(o, l);
599
- x.isEmpty() || (u.comments_before = x, x = new s()), u.parent = l, this._is_opening(u) ? (y.push(l), l = u) : l && this._is_closing(u, l) && (u.opened = l, l.closed = u, l = y.pop(), u.parent = l), u.previous = o, o.next = u, this.__tokens.add(u), o = u;
437
+ y.add(u), u = this._get_next_token(o, l);
438
+ y.isEmpty() || (u.comments_before = y, y = new s()), u.parent = l, this._is_opening(u) ? (x.push(l), l = u) : l && this._is_closing(u, l) && (u.opened = l, l.closed = u, l = x.pop(), u.parent = l), u.previous = o, o.next = u, this.__tokens.add(u), o = u;
600
439
  }
601
440
  return this.__tokens;
602
441
  }, r.prototype._is_first_token = function() {
@@ -624,11 +463,11 @@ function dt() {
624
463
  return this._patterns.whitespace.read();
625
464
  }, ut.Tokenizer = r, ut.TOKEN = n, ut;
626
465
  }
627
- var $t = {}, oe;
466
+ var Nt = {}, ue;
628
467
  function Vt() {
629
- if (oe)
630
- return $t;
631
- oe = 1;
468
+ if (ue)
469
+ return Nt;
470
+ ue = 1;
632
471
  function t(i, s) {
633
472
  i = typeof i == "string" ? i : i.source, s = typeof s == "string" ? s : s.source, this.__directives_block_pattern = new RegExp(i + / beautify( \w+[:]\w+)+ /.source + s, "g"), this.__directive_pattern = / (\w+)[:](\w+)/g, this.__directives_end_ignore_pattern = new RegExp(i + /\sbeautify\signore:end\s/.source + s, "g");
634
473
  }
@@ -642,14 +481,14 @@ function Vt() {
642
481
  return s;
643
482
  }, t.prototype.readIgnored = function(i) {
644
483
  return i.readUntilAfter(this.__directives_end_ignore_pattern);
645
- }, $t.Directives = t, $t;
484
+ }, Nt.Directives = t, Nt;
646
485
  }
647
- var Nt = {}, le;
648
- function Ie() {
649
- if (le)
650
- return Nt;
651
- le = 1;
652
- var t = gt().Pattern, i = {
486
+ var Pt = {}, pe;
487
+ function je() {
488
+ if (pe)
489
+ return Pt;
490
+ pe = 1;
491
+ var t = bt().Pattern, i = {
653
492
  django: !1,
654
493
  erb: !1,
655
494
  handlebars: !1,
@@ -706,14 +545,14 @@ function Ie() {
706
545
  } else
707
546
  n === "{" && (!this._disabled.handlebars && !this._excluded.handlebars && (e = e || this.__patterns.handlebars_comment.read(), e = e || this.__patterns.handlebars_unescaped.read(), e = e || this.__patterns.handlebars.read()), this._disabled.django || (!this._excluded.django && !this._excluded.handlebars && (e = e || this.__patterns.django_value.read()), this._excluded.django || (e = e || this.__patterns.django_comment.read(), e = e || this.__patterns.django.read())), this._disabled.smarty || this._disabled.django && this._disabled.handlebars && (e = e || this.__patterns.smarty_comment.read(), e = e || this.__patterns.smarty_literal.read(), e = e || this.__patterns.smarty.read()));
708
547
  return e;
709
- }, Nt.TemplatablePattern = s, Nt;
548
+ }, Pt.TemplatablePattern = s, Pt;
710
549
  }
711
- var ue;
550
+ var he;
712
551
  function pt() {
713
- if (ue)
552
+ if (he)
714
553
  return Q;
715
- ue = 1;
716
- var t = qt().InputScanner, i = dt().Tokenizer, s = dt().TOKEN, e = Vt().Directives, n = je(), r = gt().Pattern, u = Ie().TemplatablePattern;
554
+ he = 1;
555
+ var t = qt().InputScanner, i = dt().Tokenizer, s = dt().TOKEN, e = Vt().Directives, n = Ne(), r = bt().Pattern, u = je().TemplatablePattern;
717
556
  function o(c, g) {
718
557
  return g.indexOf(c) !== -1;
719
558
  }
@@ -736,7 +575,7 @@ function pt() {
736
575
  START: s.START,
737
576
  RAW: s.RAW,
738
577
  EOF: s.EOF
739
- }, y = new e(/\/\*/, /\*\//), x = /0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/, b = /[0-9]/, v = /[^\d\.]/, A = ">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "), $ = ">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";
578
+ }, x = new e(/\/\*/, /\*\//), y = /0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/, b = /[0-9]/, v = /[^\d\.]/, A = ">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "), $ = ">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";
740
579
  $ = $.replace(/[-[\]{}()*+?.,\\^$|#]/g, "\\$&"), $ = "\\?\\.(?!\\d) " + $, $ = $.replace(/ /g, "|");
741
580
  var N = new RegExp($), p = "continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","), _ = p.concat(["do", "in", "of", "else", "get", "set", "new", "catch", "finally", "typeof", "yield", "async", "await", "from", "as", "class", "extends"]), h = new RegExp("^(?:" + _.join("|") + ")$"), k, O = function(c, g) {
742
581
  i.call(this, c, g), this._patterns.whitespace = this._patterns.whitespace.matching(
@@ -747,7 +586,7 @@ function pt() {
747
586
  this.__patterns = {
748
587
  template: T,
749
588
  identifier: T.starting_with(n.identifier).matching(n.identifierMatch),
750
- number: f.matching(x),
589
+ number: f.matching(y),
751
590
  punct: f.matching(N),
752
591
  // comment ends just before nearest linefeed or end of file
753
592
  comment: f.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),
@@ -827,8 +666,8 @@ function pt() {
827
666
  var f = "";
828
667
  if (this._input.peek(1) === "*") {
829
668
  f = this.__patterns.block_comment.read();
830
- var T = y.get_directives(f);
831
- T && T.ignore === "start" && (f += y.readIgnored(this._input)), f = f.replace(n.allLineBreaks, `
669
+ var T = x.get_directives(f);
670
+ T && T.ignore === "start" && (f += x.readIgnored(this._input)), f = f.replace(n.allLineBreaks, `
832
671
  `), g = this._create_token(l.BLOCK_COMMENT, f), g.directives = T;
833
672
  } else
834
673
  this._input.peek(1) === "/" && (f = this.__patterns.comment.read(), g = this._create_token(l.COMMENT, f));
@@ -837,7 +676,7 @@ function pt() {
837
676
  }, O.prototype._read_string = function(c) {
838
677
  if (c === "`" || c === "'" || c === '"') {
839
678
  var g = this._input.next();
840
- return this.has_char_escapes = !1, c === "`" ? g += this._read_string_recursive("`", !0, "${") : g += this._read_string_recursive(c), this.has_char_escapes && this._options.unescape_strings && (g = S(g)), this._input.peek() === c && (g += this._input.next()), g = g.replace(n.allLineBreaks, `
679
+ return this.has_char_escapes = !1, c === "`" ? g += this._read_string_recursive("`", !0, "${") : g += this._read_string_recursive(c), this.has_char_escapes && this._options.unescape_strings && (g = E(g)), this._input.peek() === c && (g += this._input.next()), g = g.replace(n.allLineBreaks, `
841
680
  `), this._create_token(l.STRING, g);
842
681
  }
843
682
  return null;
@@ -866,8 +705,8 @@ function pt() {
866
705
  var f = "", T = this.__patterns.xml.read_match();
867
706
  if (T) {
868
707
  for (var a = T[2].replace(/^{\s+/, "{").replace(/\s+}$/, "}"), d = a.indexOf("{") === 0, m = 0; T; ) {
869
- var R = !!T[1], C = T[2], P = !!T[T.length - 1] || C.slice(0, 8) === "![CDATA[";
870
- if (!P && (C === a || d && C.replace(/^{\s+/, "{").replace(/\s+}$/, "}")) && (R ? --m : ++m), f += T[0], m <= 0)
708
+ var S = !!T[1], C = T[2], P = !!T[T.length - 1] || C.slice(0, 8) === "![CDATA[";
709
+ if (!P && (C === a || d && C.replace(/^{\s+/, "{").replace(/\s+}$/, "}")) && (S ? --m : ++m), f += T[0], m <= 0)
871
710
  break;
872
711
  T = this.__patterns.xml.read_match();
873
712
  }
@@ -877,7 +716,7 @@ function pt() {
877
716
  }
878
717
  return null;
879
718
  };
880
- function S(c) {
719
+ function E(c) {
881
720
  for (var g = "", f = 0, T = new t(c), a = null; T.hasNext(); )
882
721
  if (a = T.match(/([\s]|[^\\]|\\\\)+/g), a && (g += a[0]), T.peek() === "\\") {
883
722
  if (T.next(), T.peek() === "x")
@@ -913,19 +752,19 @@ function pt() {
913
752
  return d;
914
753
  }, Q.Tokenizer = O, Q.TOKEN = l, Q.positionable_operators = A.slice(), Q.line_starters = p.slice(), Q;
915
754
  }
916
- var pe;
755
+ var fe;
917
756
  function ui() {
918
- if (pe)
919
- return wt;
920
- pe = 1;
921
- var t = Ut().Output, i = Le().Token, s = je(), e = De().Options, n = pt().Tokenizer, r = pt().line_starters, u = pt().positionable_operators, o = pt().TOKEN;
757
+ if (fe)
758
+ return Ot;
759
+ fe = 1;
760
+ var t = Ut().Output, i = $e().Token, s = Ne(), e = Pe().Options, n = pt().Tokenizer, r = pt().line_starters, u = pt().positionable_operators, o = pt().TOKEN;
922
761
  function l(a, d) {
923
762
  return d.indexOf(a) !== -1;
924
763
  }
925
- function y(a) {
764
+ function x(a) {
926
765
  return a.replace(/^\s+/g, "");
927
766
  }
928
- function x(a) {
767
+ function y(a) {
929
768
  for (var d = {}, m = 0; m < a.length; m++)
930
769
  d[a[m].replace(/-/g, "_")] = a[m];
931
770
  return d;
@@ -936,7 +775,7 @@ function ui() {
936
775
  function v(a, d) {
937
776
  return a && a.type === o.RESERVED && l(a.text, d);
938
777
  }
939
- var A = ["case", "return", "do", "if", "throw", "else", "await", "break", "continue", "async"], $ = ["before-newline", "after-newline", "preserve-newline"], N = x($), p = [N.before_newline, N.preserve_newline], _ = {
778
+ var A = ["case", "return", "do", "if", "throw", "else", "await", "break", "continue", "async"], $ = ["before-newline", "after-newline", "preserve-newline"], N = y($), p = [N.before_newline, N.preserve_newline], _ = {
940
779
  BlockStatement: "BlockStatement",
941
780
  // 'BLOCK'
942
781
  Statement: "Statement",
@@ -967,19 +806,19 @@ function ui() {
967
806
  function O(a) {
968
807
  return a === _.ArrayLiteral;
969
808
  }
970
- function S(a) {
809
+ function E(a) {
971
810
  return l(a, [_.Expression, _.ForInitializer, _.Conditional]);
972
811
  }
973
812
  function c(a, d) {
974
813
  for (var m = 0; m < a.length; m++) {
975
- var R = a[m].trim();
976
- if (R.charAt(0) !== d)
814
+ var S = a[m].trim();
815
+ if (S.charAt(0) !== d)
977
816
  return !1;
978
817
  }
979
818
  return !0;
980
819
  }
981
820
  function g(a, d) {
982
- for (var m = 0, R = a.length, C; m < R; m++)
821
+ for (var m = 0, S = a.length, C; m < S; m++)
983
822
  if (C = a[m], C && C.indexOf(d) !== 0)
984
823
  return !1;
985
824
  return !0;
@@ -990,7 +829,7 @@ function ui() {
990
829
  f.prototype.create_flags = function(a, d) {
991
830
  var m = 0;
992
831
  a && (m = a.indentation_level, !this._output.just_added_newline() && a.line_indent_level > m && (m = a.line_indent_level));
993
- var R = {
832
+ var S = {
994
833
  mode: d,
995
834
  parent: a,
996
835
  last_token: a ? a.last_token : new i(o.START_BLOCK, ""),
@@ -1022,7 +861,7 @@ function ui() {
1022
861
  start_line_index: this._output.get_line_number(),
1023
862
  ternary_depth: 0
1024
863
  };
1025
- return R;
864
+ return S;
1026
865
  }, f.prototype._reset = function(a) {
1027
866
  var d = a.match(/^[\t ]*/)[0];
1028
867
  this._last_last_text = "", this._output = new t(this._options, d), this._output.raw = this._options.test_output_raw, this._flag_store = [], this.set_mode(_.BlockStatement);
@@ -1034,30 +873,30 @@ function ui() {
1034
873
  var a, d = this._reset(this._source_text), m = this._options.eol;
1035
874
  this._options.eol === "auto" && (m = `
1036
875
  `, d && s.lineBreak.test(d || "") && (m = d.match(s.lineBreak)[0]));
1037
- for (var R = this._tokens.next(); R; )
1038
- this.handle_token(R), this._last_last_text = this._flags.last_token.text, this._flags.last_token = R, R = this._tokens.next();
876
+ for (var S = this._tokens.next(); S; )
877
+ this.handle_token(S), this._last_last_text = this._flags.last_token.text, this._flags.last_token = S, S = this._tokens.next();
1039
878
  return a = this._output.get_code(m), a;
1040
879
  }, f.prototype.handle_token = function(a, d) {
1041
880
  a.type === o.START_EXPR ? this.handle_start_expr(a) : a.type === o.END_EXPR ? this.handle_end_expr(a) : a.type === o.START_BLOCK ? this.handle_start_block(a) : a.type === o.END_BLOCK ? this.handle_end_block(a) : a.type === o.WORD ? this.handle_word(a) : a.type === o.RESERVED ? this.handle_word(a) : a.type === o.SEMICOLON ? this.handle_semicolon(a) : a.type === o.STRING ? this.handle_string(a) : a.type === o.EQUALS ? this.handle_equals(a) : a.type === o.OPERATOR ? this.handle_operator(a) : a.type === o.COMMA ? this.handle_comma(a) : a.type === o.BLOCK_COMMENT ? this.handle_block_comment(a, d) : a.type === o.COMMENT ? this.handle_comment(a, d) : a.type === o.DOT ? this.handle_dot(a) : a.type === o.EOF ? this.handle_eof(a) : a.type === o.UNKNOWN ? this.handle_unknown(a, d) : this.handle_unknown(a, d);
1042
881
  }, f.prototype.handle_whitespace_and_comments = function(a, d) {
1043
- var m = a.newlines, R = this._options.keep_array_indentation && O(this._flags.mode);
882
+ var m = a.newlines, S = this._options.keep_array_indentation && O(this._flags.mode);
1044
883
  if (a.comments_before)
1045
884
  for (var C = a.comments_before.next(); C; )
1046
885
  this.handle_whitespace_and_comments(C, d), this.handle_token(C, d), C = a.comments_before.next();
1047
- if (R)
886
+ if (S)
1048
887
  for (var P = 0; P < m; P += 1)
1049
888
  this.print_newline(P > 0, d);
1050
889
  else if (this._options.max_preserve_newlines && m > this._options.max_preserve_newlines && (m = this._options.max_preserve_newlines), this._options.preserve_newlines && m > 1) {
1051
890
  this.print_newline(!1, d);
1052
- for (var j = 1; j < m; j += 1)
891
+ for (var L = 1; L < m; L += 1)
1053
892
  this.print_newline(!0, d);
1054
893
  }
1055
894
  };
1056
895
  var T = ["async", "break", "continue", "return", "throw", "yield"];
1057
896
  return f.prototype.allow_wrap_or_preserved_newline = function(a, d) {
1058
897
  if (d = d === void 0 ? !1 : d, !this._output.just_added_newline()) {
1059
- var m = this._options.preserve_newlines && a.newlines || d, R = l(this._flags.last_token.text, u) || l(a.text, u);
1060
- if (R) {
898
+ var m = this._options.preserve_newlines && a.newlines || d, S = l(this._flags.last_token.text, u) || l(a.text, u);
899
+ if (S) {
1061
900
  var C = l(this._flags.last_token.text, u) && l(this._options.operator_position, p) || l(a.text, u);
1062
901
  m = m && C;
1063
902
  }
@@ -1120,8 +959,8 @@ function ui() {
1120
959
  this._output.space_before_token = !1;
1121
960
  var m = this._tokens.peek(-3);
1122
961
  if (this._options.space_after_named_function && m) {
1123
- var R = this._tokens.peek(-4);
1124
- v(m, ["async", "function"]) || m.text === "*" && v(R, ["async", "function"]) ? this._output.space_before_token = !0 : this._flags.mode === _.ObjectLiteral ? (m.text === "{" || m.text === "," || m.text === "*" && (R.text === "{" || R.text === ",")) && (this._output.space_before_token = !0) : this._flags.parent && this._flags.parent.class_start_block && (this._output.space_before_token = !0);
962
+ var S = this._tokens.peek(-4);
963
+ v(m, ["async", "function"]) || m.text === "*" && v(S, ["async", "function"]) ? this._output.space_before_token = !0 : this._flags.mode === _.ObjectLiteral ? (m.text === "{" || m.text === "," || m.text === "*" && (S.text === "{" || S.text === ",")) && (this._output.space_before_token = !0) : this._flags.parent && this._flags.parent.class_start_block && (this._output.space_before_token = !0);
1125
964
  }
1126
965
  } else
1127
966
  this.allow_wrap_or_preserved_newline(a);
@@ -1139,18 +978,18 @@ function ui() {
1139
978
  this.handle_whitespace_and_comments(a);
1140
979
  var d = this._tokens.peek(), m = this._tokens.peek(1);
1141
980
  this._flags.last_word === "switch" && this._flags.last_token.type === o.END_EXPR ? (this.set_mode(_.BlockStatement), this._flags.in_case_statement = !0) : this._flags.case_body ? this.set_mode(_.BlockStatement) : m && (l(m.text, [":", ","]) && l(d.type, [o.STRING, o.WORD, o.RESERVED]) || l(d.text, ["get", "set", "..."]) && l(m.type, [o.WORD, o.RESERVED])) ? l(this._last_last_text, ["class", "interface"]) && !l(m.text, [":", ","]) ? this.set_mode(_.BlockStatement) : this.set_mode(_.ObjectLiteral) : this._flags.last_token.type === o.OPERATOR && this._flags.last_token.text === "=>" ? this.set_mode(_.BlockStatement) : l(this._flags.last_token.type, [o.EQUALS, o.START_EXPR, o.COMMA, o.OPERATOR]) || v(this._flags.last_token, ["return", "throw", "import", "default"]) ? this.set_mode(_.ObjectLiteral) : this.set_mode(_.BlockStatement), this._flags.last_token && v(this._flags.last_token.previous, ["class", "extends"]) && (this._flags.class_start_block = !0);
1142
- var R = !d.comments_before && d.text === "}", C = R && this._flags.last_word === "function" && this._flags.last_token.type === o.END_EXPR;
981
+ var S = !d.comments_before && d.text === "}", C = S && this._flags.last_word === "function" && this._flags.last_token.type === o.END_EXPR;
1143
982
  if (this._options.brace_preserve_inline) {
1144
- var P = 0, j = null;
983
+ var P = 0, L = null;
1145
984
  this._flags.inline_frame = !0;
1146
985
  do
1147
- if (P += 1, j = this._tokens.peek(P - 1), j.newlines) {
986
+ if (P += 1, L = this._tokens.peek(P - 1), L.newlines) {
1148
987
  this._flags.inline_frame = !1;
1149
988
  break;
1150
989
  }
1151
- while (j.type !== o.EOF && !(j.type === o.END_BLOCK && j.opened === a));
990
+ while (L.type !== o.EOF && !(L.type === o.END_BLOCK && L.opened === a));
1152
991
  }
1153
- (this._options.brace_style === "expand" || this._options.brace_style === "none" && a.newlines) && !this._flags.inline_frame ? this._flags.last_token.type !== o.OPERATOR && (C || this._flags.last_token.type === o.EQUALS || v(this._flags.last_token, A) && this._flags.last_token.text !== "else") ? this._output.space_before_token = !0 : this.print_newline(!1, !0) : (O(this._previous_flags.mode) && (this._flags.last_token.type === o.START_EXPR || this._flags.last_token.type === o.COMMA) && ((this._flags.last_token.type === o.COMMA || this._options.space_in_paren) && (this._output.space_before_token = !0), (this._flags.last_token.type === o.COMMA || this._flags.last_token.type === o.START_EXPR && this._flags.inline_frame) && (this.allow_wrap_or_preserved_newline(a), this._previous_flags.multiline_frame = this._previous_flags.multiline_frame || this._flags.multiline_frame, this._flags.multiline_frame = !1)), this._flags.last_token.type !== o.OPERATOR && this._flags.last_token.type !== o.START_EXPR && (l(this._flags.last_token.type, [o.START_BLOCK, o.SEMICOLON]) && !this._flags.inline_frame ? this.print_newline() : this._output.space_before_token = !0)), this.print_token(a), this.indent(), !R && !(this._options.brace_preserve_inline && this._flags.inline_frame) && this.print_newline();
992
+ (this._options.brace_style === "expand" || this._options.brace_style === "none" && a.newlines) && !this._flags.inline_frame ? this._flags.last_token.type !== o.OPERATOR && (C || this._flags.last_token.type === o.EQUALS || v(this._flags.last_token, A) && this._flags.last_token.text !== "else") ? this._output.space_before_token = !0 : this.print_newline(!1, !0) : (O(this._previous_flags.mode) && (this._flags.last_token.type === o.START_EXPR || this._flags.last_token.type === o.COMMA) && ((this._flags.last_token.type === o.COMMA || this._options.space_in_paren) && (this._output.space_before_token = !0), (this._flags.last_token.type === o.COMMA || this._flags.last_token.type === o.START_EXPR && this._flags.inline_frame) && (this.allow_wrap_or_preserved_newline(a), this._previous_flags.multiline_frame = this._previous_flags.multiline_frame || this._flags.multiline_frame, this._flags.multiline_frame = !1)), this._flags.last_token.type !== o.OPERATOR && this._flags.last_token.type !== o.START_EXPR && (l(this._flags.last_token.type, [o.START_BLOCK, o.SEMICOLON]) && !this._flags.inline_frame ? this.print_newline() : this._output.space_before_token = !0)), this.print_token(a), this.indent(), !S && !(this._options.brace_preserve_inline && this._flags.inline_frame) && this.print_newline();
1154
993
  }, f.prototype.handle_end_block = function(a) {
1155
994
  for (this.handle_whitespace_and_comments(a); this._flags.mode === _.Statement; )
1156
995
  this.restore_mode();
@@ -1169,7 +1008,7 @@ function ui() {
1169
1008
  d.text === ":" && (a.type = o.WORD);
1170
1009
  }
1171
1010
  }
1172
- if (this.start_of_statement(a) ? v(this._flags.last_token, ["var", "let", "const"]) && a.type === o.WORD && (this._flags.declaration_statement = !0) : a.newlines && !S(this._flags.mode) && (this._flags.last_token.type !== o.OPERATOR || this._flags.last_token.text === "--" || this._flags.last_token.text === "++") && this._flags.last_token.type !== o.EQUALS && (this._options.preserve_newlines || !v(this._flags.last_token, ["var", "let", "const", "set", "get"])) ? (this.handle_whitespace_and_comments(a), this.print_newline()) : this.handle_whitespace_and_comments(a), this._flags.do_block && !this._flags.do_while)
1011
+ if (this.start_of_statement(a) ? v(this._flags.last_token, ["var", "let", "const"]) && a.type === o.WORD && (this._flags.declaration_statement = !0) : a.newlines && !E(this._flags.mode) && (this._flags.last_token.type !== o.OPERATOR || this._flags.last_token.text === "--" || this._flags.last_token.text === "++") && this._flags.last_token.type !== o.EQUALS && (this._options.preserve_newlines || !v(this._flags.last_token, ["var", "let", "const", "set", "get"])) ? (this.handle_whitespace_and_comments(a), this.print_newline()) : this.handle_whitespace_and_comments(a), this._flags.do_block && !this._flags.do_while)
1173
1012
  if (b(a, "while")) {
1174
1013
  this._output.space_before_token = !0, this.print_token(a), this._output.space_before_token = !0, this._flags.do_while = !0;
1175
1014
  return;
@@ -1188,17 +1027,17 @@ function ui() {
1188
1027
  return;
1189
1028
  }
1190
1029
  if ((this._flags.last_token.type === o.COMMA || this._flags.last_token.type === o.START_EXPR || this._flags.last_token.type === o.EQUALS || this._flags.last_token.type === o.OPERATOR) && (this.start_of_object_property() || this.allow_wrap_or_preserved_newline(a)), b(a, "function")) {
1191
- (l(this._flags.last_token.text, ["}", ";"]) || this._output.just_added_newline() && !(l(this._flags.last_token.text, ["(", "[", "{", ":", "=", ","]) || this._flags.last_token.type === o.OPERATOR)) && !this._output.just_added_blankline() && !a.comments_before && (this.print_newline(), this.print_newline(!0)), this._flags.last_token.type === o.RESERVED || this._flags.last_token.type === o.WORD ? v(this._flags.last_token, ["get", "set", "new", "export"]) || v(this._flags.last_token, T) ? this._output.space_before_token = !0 : b(this._flags.last_token, "default") && this._last_last_text === "export" ? this._output.space_before_token = !0 : this._flags.last_token.text === "declare" ? this._output.space_before_token = !0 : this.print_newline() : this._flags.last_token.type === o.OPERATOR || this._flags.last_token.text === "=" ? this._output.space_before_token = !0 : !this._flags.multiline_frame && (S(this._flags.mode) || O(this._flags.mode)) || this.print_newline(), this.print_token(a), this._flags.last_word = a.text;
1030
+ (l(this._flags.last_token.text, ["}", ";"]) || this._output.just_added_newline() && !(l(this._flags.last_token.text, ["(", "[", "{", ":", "=", ","]) || this._flags.last_token.type === o.OPERATOR)) && !this._output.just_added_blankline() && !a.comments_before && (this.print_newline(), this.print_newline(!0)), this._flags.last_token.type === o.RESERVED || this._flags.last_token.type === o.WORD ? v(this._flags.last_token, ["get", "set", "new", "export"]) || v(this._flags.last_token, T) ? this._output.space_before_token = !0 : b(this._flags.last_token, "default") && this._last_last_text === "export" ? this._output.space_before_token = !0 : this._flags.last_token.text === "declare" ? this._output.space_before_token = !0 : this.print_newline() : this._flags.last_token.type === o.OPERATOR || this._flags.last_token.text === "=" ? this._output.space_before_token = !0 : !this._flags.multiline_frame && (E(this._flags.mode) || O(this._flags.mode)) || this.print_newline(), this.print_token(a), this._flags.last_word = a.text;
1192
1031
  return;
1193
1032
  }
1194
1033
  var m = "NONE";
1195
- if (this._flags.last_token.type === o.END_BLOCK ? this._previous_flags.inline_frame ? m = "SPACE" : v(a, ["else", "catch", "finally", "from"]) ? this._options.brace_style === "expand" || this._options.brace_style === "end-expand" || this._options.brace_style === "none" && a.newlines ? m = "NEWLINE" : (m = "SPACE", this._output.space_before_token = !0) : m = "NEWLINE" : this._flags.last_token.type === o.SEMICOLON && this._flags.mode === _.BlockStatement ? m = "NEWLINE" : this._flags.last_token.type === o.SEMICOLON && S(this._flags.mode) ? m = "SPACE" : this._flags.last_token.type === o.STRING ? m = "NEWLINE" : this._flags.last_token.type === o.RESERVED || this._flags.last_token.type === o.WORD || this._flags.last_token.text === "*" && (l(this._last_last_text, ["function", "yield"]) || this._flags.mode === _.ObjectLiteral && l(this._last_last_text, ["{", ","])) ? m = "SPACE" : this._flags.last_token.type === o.START_BLOCK ? this._flags.inline_frame ? m = "SPACE" : m = "NEWLINE" : this._flags.last_token.type === o.END_EXPR && (this._output.space_before_token = !0, m = "NEWLINE"), v(a, r) && this._flags.last_token.text !== ")" && (this._flags.inline_frame || this._flags.last_token.text === "else" || this._flags.last_token.text === "export" ? m = "SPACE" : m = "NEWLINE"), v(a, ["else", "catch", "finally"]))
1034
+ if (this._flags.last_token.type === o.END_BLOCK ? this._previous_flags.inline_frame ? m = "SPACE" : v(a, ["else", "catch", "finally", "from"]) ? this._options.brace_style === "expand" || this._options.brace_style === "end-expand" || this._options.brace_style === "none" && a.newlines ? m = "NEWLINE" : (m = "SPACE", this._output.space_before_token = !0) : m = "NEWLINE" : this._flags.last_token.type === o.SEMICOLON && this._flags.mode === _.BlockStatement ? m = "NEWLINE" : this._flags.last_token.type === o.SEMICOLON && E(this._flags.mode) ? m = "SPACE" : this._flags.last_token.type === o.STRING ? m = "NEWLINE" : this._flags.last_token.type === o.RESERVED || this._flags.last_token.type === o.WORD || this._flags.last_token.text === "*" && (l(this._last_last_text, ["function", "yield"]) || this._flags.mode === _.ObjectLiteral && l(this._last_last_text, ["{", ","])) ? m = "SPACE" : this._flags.last_token.type === o.START_BLOCK ? this._flags.inline_frame ? m = "SPACE" : m = "NEWLINE" : this._flags.last_token.type === o.END_EXPR && (this._output.space_before_token = !0, m = "NEWLINE"), v(a, r) && this._flags.last_token.text !== ")" && (this._flags.inline_frame || this._flags.last_token.text === "else" || this._flags.last_token.text === "export" ? m = "SPACE" : m = "NEWLINE"), v(a, ["else", "catch", "finally"]))
1196
1035
  if ((!(this._flags.last_token.type === o.END_BLOCK && this._previous_flags.mode === _.BlockStatement) || this._options.brace_style === "expand" || this._options.brace_style === "end-expand" || this._options.brace_style === "none" && a.newlines) && !this._flags.inline_frame)
1197
1036
  this.print_newline();
1198
1037
  else {
1199
1038
  this._output.trim(!0);
1200
- var R = this._output.current_line;
1201
- R.last() !== "}" && this.print_newline(), this._output.space_before_token = !0;
1039
+ var S = this._output.current_line;
1040
+ S.last() !== "}" && this.print_newline(), this._output.space_before_token = !0;
1202
1041
  }
1203
1042
  else
1204
1043
  m === "NEWLINE" ? v(this._flags.last_token, A) ? this._output.space_before_token = !0 : this._flags.last_token.text === "declare" && v(a, ["var", "let", "const"]) ? this._output.space_before_token = !0 : this._flags.last_token.type !== o.END_EXPR ? (this._flags.last_token.type !== o.START_EXPR || !v(a, ["var", "let", "const"])) && this._flags.last_token.text !== ":" && (b(a, "if") && b(a.previous, "else") ? this._output.space_before_token = !0 : this.print_newline()) : v(a, r) && this._flags.last_token.text !== ")" && this.print_newline() : this._flags.multiline_frame && O(this._flags.mode) && this._flags.last_token.text === "," && this._last_last_text === "}" ? this.print_newline() : m === "SPACE" && (this._output.space_before_token = !0);
@@ -1213,12 +1052,12 @@ function ui() {
1213
1052
  }, f.prototype.handle_equals = function(a) {
1214
1053
  this.start_of_statement(a) || this.handle_whitespace_and_comments(a), this._flags.declaration_statement && (this._flags.declaration_assignment = !0), this._output.space_before_token = !0, this.print_token(a), this._output.space_before_token = !0;
1215
1054
  }, f.prototype.handle_comma = function(a) {
1216
- this.handle_whitespace_and_comments(a, !0), this.print_token(a), this._output.space_before_token = !0, this._flags.declaration_statement ? (S(this._flags.parent.mode) && (this._flags.declaration_assignment = !1), this._flags.declaration_assignment ? (this._flags.declaration_assignment = !1, this.print_newline(!1, !0)) : this._options.comma_first && this.allow_wrap_or_preserved_newline(a)) : this._flags.mode === _.ObjectLiteral || this._flags.mode === _.Statement && this._flags.parent.mode === _.ObjectLiteral ? (this._flags.mode === _.Statement && this.restore_mode(), this._flags.inline_frame || this.print_newline()) : this._options.comma_first && this.allow_wrap_or_preserved_newline(a);
1055
+ this.handle_whitespace_and_comments(a, !0), this.print_token(a), this._output.space_before_token = !0, this._flags.declaration_statement ? (E(this._flags.parent.mode) && (this._flags.declaration_assignment = !1), this._flags.declaration_assignment ? (this._flags.declaration_assignment = !1, this.print_newline(!1, !0)) : this._options.comma_first && this.allow_wrap_or_preserved_newline(a)) : this._flags.mode === _.ObjectLiteral || this._flags.mode === _.Statement && this._flags.parent.mode === _.ObjectLiteral ? (this._flags.mode === _.Statement && this.restore_mode(), this._flags.inline_frame || this.print_newline()) : this._options.comma_first && this.allow_wrap_or_preserved_newline(a);
1217
1056
  }, f.prototype.handle_operator = function(a) {
1218
1057
  var d = a.text === "*" && (v(this._flags.last_token, ["function", "yield"]) || l(this._flags.last_token.type, [o.START_BLOCK, o.COMMA, o.END_BLOCK, o.SEMICOLON])), m = l(a.text, ["-", "+"]) && (l(this._flags.last_token.type, [o.START_BLOCK, o.START_EXPR, o.EQUALS, o.OPERATOR]) || l(this._flags.last_token.text, r) || this._flags.last_token.text === ",");
1219
1058
  if (!this.start_of_statement(a)) {
1220
- var R = !d;
1221
- this.handle_whitespace_and_comments(a, R);
1059
+ var S = !d;
1060
+ this.handle_whitespace_and_comments(a, S);
1222
1061
  }
1223
1062
  if (a.text === "*" && this._flags.last_token.type === o.DOT) {
1224
1063
  this.print_token(a);
@@ -1232,33 +1071,33 @@ function ui() {
1232
1071
  this.print_token(a), this._flags.in_case = !1, this._flags.case_body = !0, this._tokens.peek().type !== o.START_BLOCK ? (this.indent(), this.print_newline(), this._flags.case_block = !1) : (this._flags.case_block = !0, this._output.space_before_token = !0);
1233
1072
  return;
1234
1073
  }
1235
- var C = !0, P = !0, j = !1;
1236
- if (a.text === ":" ? this._flags.ternary_depth === 0 ? C = !1 : (this._flags.ternary_depth -= 1, j = !0) : a.text === "?" && (this._flags.ternary_depth += 1), !m && !d && this._options.preserve_newlines && l(a.text, u)) {
1237
- var z = a.text === ":", lt = z && j, xt = z && !j;
1074
+ var C = !0, P = !0, L = !1;
1075
+ if (a.text === ":" ? this._flags.ternary_depth === 0 ? C = !1 : (this._flags.ternary_depth -= 1, L = !0) : a.text === "?" && (this._flags.ternary_depth += 1), !m && !d && this._options.preserve_newlines && l(a.text, u)) {
1076
+ var z = a.text === ":", lt = z && L, wt = z && !L;
1238
1077
  switch (this._options.operator_position) {
1239
1078
  case N.before_newline:
1240
- this._output.space_before_token = !xt, this.print_token(a), (!z || lt) && this.allow_wrap_or_preserved_newline(a), this._output.space_before_token = !0;
1079
+ this._output.space_before_token = !wt, this.print_token(a), (!z || lt) && this.allow_wrap_or_preserved_newline(a), this._output.space_before_token = !0;
1241
1080
  return;
1242
1081
  case N.after_newline:
1243
1082
  this._output.space_before_token = !0, !z || lt ? this._tokens.peek().newlines ? this.print_newline(!1, !0) : this.allow_wrap_or_preserved_newline(a) : this._output.space_before_token = !1, this.print_token(a), this._output.space_before_token = !0;
1244
1083
  return;
1245
1084
  case N.preserve_newline:
1246
- xt || this.allow_wrap_or_preserved_newline(a), C = !(this._output.just_added_newline() || xt), this._output.space_before_token = C, this.print_token(a), this._output.space_before_token = !0;
1085
+ wt || this.allow_wrap_or_preserved_newline(a), C = !(this._output.just_added_newline() || wt), this._output.space_before_token = C, this.print_token(a), this._output.space_before_token = !0;
1247
1086
  return;
1248
1087
  }
1249
1088
  }
1250
1089
  if (d) {
1251
1090
  this.allow_wrap_or_preserved_newline(a), C = !1;
1252
- var Gt = this._tokens.peek();
1253
- P = Gt && l(Gt.type, [o.WORD, o.RESERVED]);
1091
+ var Ht = this._tokens.peek();
1092
+ P = Ht && l(Ht.type, [o.WORD, o.RESERVED]);
1254
1093
  } else if (a.text === "...")
1255
1094
  this.allow_wrap_or_preserved_newline(a), C = this._flags.last_token.type === o.START_BLOCK, P = !1;
1256
1095
  else if (l(a.text, ["--", "++", "!", "~"]) || m) {
1257
1096
  if ((this._flags.last_token.type === o.COMMA || this._flags.last_token.type === o.START_EXPR) && this.allow_wrap_or_preserved_newline(a), C = !1, P = !1, a.newlines && (a.text === "--" || a.text === "++" || a.text === "~")) {
1258
- var Qt = v(this._flags.last_token, A) && a.newlines;
1259
- Qt && (this._previous_flags.if_block || this._previous_flags.else_block) && this.restore_mode(), this.print_newline(Qt, !0);
1097
+ var Jt = v(this._flags.last_token, A) && a.newlines;
1098
+ Jt && (this._previous_flags.if_block || this._previous_flags.else_block) && this.restore_mode(), this.print_newline(Jt, !0);
1260
1099
  }
1261
- this._flags.last_token.text === ";" && S(this._flags.mode) && (C = !0), this._flags.last_token.type === o.RESERVED ? C = !0 : this._flags.last_token.type === o.END_EXPR ? C = !(this._flags.last_token.text === "]" && (a.text === "--" || a.text === "++")) : this._flags.last_token.type === o.OPERATOR && (C = l(a.text, ["--", "-", "++", "+"]) && l(this._flags.last_token.text, ["--", "-", "++", "+"]), l(a.text, ["+", "-"]) && l(this._flags.last_token.text, ["--", "++"]) && (P = !0)), (this._flags.mode === _.BlockStatement && !this._flags.inline_frame || this._flags.mode === _.Statement) && (this._flags.last_token.text === "{" || this._flags.last_token.text === ";") && this.print_newline();
1100
+ this._flags.last_token.text === ";" && E(this._flags.mode) && (C = !0), this._flags.last_token.type === o.RESERVED ? C = !0 : this._flags.last_token.type === o.END_EXPR ? C = !(this._flags.last_token.text === "]" && (a.text === "--" || a.text === "++")) : this._flags.last_token.type === o.OPERATOR && (C = l(a.text, ["--", "-", "++", "+"]) && l(this._flags.last_token.text, ["--", "-", "++", "+"]), l(a.text, ["+", "-"]) && l(this._flags.last_token.text, ["--", "++"]) && (P = !0)), (this._flags.mode === _.BlockStatement && !this._flags.inline_frame || this._flags.mode === _.Statement) && (this._flags.last_token.text === "{" || this._flags.last_token.text === ";") && this.print_newline();
1262
1101
  }
1263
1102
  this._output.space_before_token = this._output.space_before_token || C, this.print_token(a), this._output.space_before_token = P;
1264
1103
  }, f.prototype.handle_block_comment = function(a, d) {
@@ -1276,10 +1115,10 @@ function ui() {
1276
1115
  } else
1277
1116
  this.print_block_commment(a, d);
1278
1117
  }, f.prototype.print_block_commment = function(a, d) {
1279
- var m = k(a.text), R, C = !1, P = !1, j = a.whitespace_before, z = j.length;
1118
+ var m = k(a.text), S, C = !1, P = !1, L = a.whitespace_before, z = L.length;
1280
1119
  if (this.print_newline(!1, d), this.print_token_line_indentation(a), this._output.add_token(m[0]), this.print_newline(!1, d), m.length > 1) {
1281
- for (m = m.slice(1), C = c(m, "*"), P = g(m, j), C && (this._flags.alignment = 1), R = 0; R < m.length; R++)
1282
- C ? (this.print_token_line_indentation(a), this._output.add_token(y(m[R]))) : P && m[R] ? (this.print_token_line_indentation(a), this._output.add_token(m[R].substring(z))) : (this._output.current_line.set_indent(-1), this._output.add_token(m[R])), this.print_newline(!1, d);
1120
+ for (m = m.slice(1), C = c(m, "*"), P = g(m, L), C && (this._flags.alignment = 1), S = 0; S < m.length; S++)
1121
+ C ? (this.print_token_line_indentation(a), this._output.add_token(x(m[S]))) : P && m[S] ? (this.print_token_line_indentation(a), this._output.add_token(m[S].substring(z))) : (this._output.current_line.set_indent(-1), this._output.add_token(m[S])), this.print_newline(!1, d);
1283
1122
  this._flags.alignment = 0;
1284
1123
  }
1285
1124
  }, f.prototype.handle_comment = function(a, d) {
@@ -1296,14 +1135,14 @@ function ui() {
1296
1135
  for (; this._flags.mode === _.Statement; )
1297
1136
  this.restore_mode();
1298
1137
  this.handle_whitespace_and_comments(a);
1299
- }, wt.Beautifier = f, wt;
1138
+ }, Ot.Beautifier = f, Ot;
1300
1139
  }
1301
- var he;
1140
+ var ce;
1302
1141
  function pi() {
1303
- if (he)
1142
+ if (ce)
1304
1143
  return st;
1305
- he = 1;
1306
- var t = ui().Beautifier, i = De().Options;
1144
+ ce = 1;
1145
+ var t = ui().Beautifier, i = Pe().Options;
1307
1146
  function s(e, n) {
1308
1147
  var r = new t(e, n);
1309
1148
  return r.beautify();
@@ -1319,11 +1158,11 @@ var nt = {}, hi = {
1319
1158
  set exports(t) {
1320
1159
  nt = t;
1321
1160
  }
1322
- }, Pt = {}, Lt = {}, fe;
1323
- function Me() {
1324
- if (fe)
1161
+ }, jt = {}, Lt = {}, de;
1162
+ function Le() {
1163
+ if (de)
1325
1164
  return Lt;
1326
- fe = 1;
1165
+ de = 1;
1327
1166
  var t = zt().Options;
1328
1167
  function i(s) {
1329
1168
  t.call(this, s, "css"), this.selector_separator_newline = this._get_boolean("selector_separator_newline", !0), this.newline_between_rules = this._get_boolean("newline_between_rules", !0);
@@ -1336,12 +1175,12 @@ function Me() {
1336
1175
  }
1337
1176
  return i.prototype = new t(), Lt.Options = i, Lt;
1338
1177
  }
1339
- var ce;
1178
+ var me;
1340
1179
  function fi() {
1341
- if (ce)
1342
- return Pt;
1343
- ce = 1;
1344
- var t = Me().Options, i = Ut().Output, s = qt().InputScanner, e = Vt().Directives, n = new e(/\/\*/, /\*\//), r = /\r\n|[\r\n]/, u = /\r\n|[\r\n]/g, o = /\s/, l = /(?:\s|\n)+/g, y = /\/\*(?:[\s\S]*?)((?:\*\/)|$)/g, x = /\/\/(?:[^\n\r\u2028\u2029]*)/g;
1180
+ if (me)
1181
+ return jt;
1182
+ me = 1;
1183
+ var t = Le().Options, i = Ut().Output, s = qt().InputScanner, e = Vt().Directives, n = new e(/\/\*/, /\*\//), r = /\r\n|[\r\n]/, u = /\r\n|[\r\n]/g, o = /\s/, l = /(?:\s|\n)+/g, x = /\/\*(?:[\s\S]*?)((?:\*\/)|$)/g, y = /\/\/(?:[^\n\r\u2028\u2029]*)/g;
1345
1184
  function b(v, A) {
1346
1185
  this._source_text = v || "", this._options = new t(A), this._ch = null, this._input = null, this.NESTED_AT_RULE = {
1347
1186
  page: !0,
@@ -1408,13 +1247,13 @@ function fi() {
1408
1247
  `);
1409
1248
  var $ = v.match(/^[\t ]*/)[0];
1410
1249
  this._output = new i(this._options, $), this._input = new s(v), this._indentLevel = 0, this._nestedLevel = 0, this._ch = null;
1411
- for (var N = 0, p = !1, _ = !1, h = !1, k = !1, O = !1, S = this._ch, c = !1, g, f, T; g = this._input.read(l), f = g !== "", T = S, this._ch = this._input.next(), this._ch === "\\" && this._input.hasNext() && (this._ch += this._input.next()), S = this._ch, this._ch; )
1250
+ for (var N = 0, p = !1, _ = !1, h = !1, k = !1, O = !1, E = this._ch, c = !1, g, f, T; g = this._input.read(l), f = g !== "", T = E, this._ch = this._input.next(), this._ch === "\\" && this._input.hasNext() && (this._ch += this._input.next()), E = this._ch, this._ch; )
1412
1251
  if (this._ch === "/" && this._input.peek() === "*") {
1413
1252
  this._output.add_new_line(), this._input.back();
1414
- var a = this._input.read(y), d = n.get_directives(a);
1253
+ var a = this._input.read(x), d = n.get_directives(a);
1415
1254
  d && d.ignore === "start" && (a += n.readIgnored(this._input)), this.print_string(a), this.eatWhitespace(!0), this._output.add_new_line();
1416
1255
  } else if (this._ch === "/" && this._input.peek() === "/")
1417
- this._output.space_before_token = !0, this._input.back(), this.print_string(this._input.read(x)), this.eatWhitespace(!0);
1256
+ this._output.space_before_token = !0, this._input.back(), this.print_string(this._input.read(y)), this.eatWhitespace(!0);
1418
1257
  else if (this._ch === "$") {
1419
1258
  this.preserveSingleSpace(f), this.print_string(this._ch);
1420
1259
  var m = this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);
@@ -1424,8 +1263,8 @@ function fi() {
1424
1263
  this.print_string(this._ch + this.eatString("}"));
1425
1264
  else {
1426
1265
  this.print_string(this._ch);
1427
- var R = this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);
1428
- R.match(/[ :]$/) && (R = this.eatString(": ").replace(/\s$/, ""), this.print_string(R), this._output.space_before_token = !0), R = R.replace(/\s$/, ""), N === 0 && R.indexOf(":") !== -1 ? (_ = !0, this.indent()) : R in this.NESTED_AT_RULE ? (this._nestedLevel += 1, R in this.CONDITIONAL_GROUP_RULE && (h = !0)) : N === 0 && !_ && (k = !0);
1266
+ var S = this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);
1267
+ S.match(/[ :]$/) && (S = this.eatString(": ").replace(/\s$/, ""), this.print_string(S), this._output.space_before_token = !0), S = S.replace(/\s$/, ""), N === 0 && S.indexOf(":") !== -1 ? (_ = !0, this.indent()) : S in this.NESTED_AT_RULE ? (this._nestedLevel += 1, S in this.CONDITIONAL_GROUP_RULE && (h = !0)) : N === 0 && !_ && (k = !0);
1429
1268
  }
1430
1269
  else if (this._ch === "#" && this._input.peek() === "{")
1431
1270
  this.preserveSingleSpace(f), this.print_string(this._ch + this.eatString("}"));
@@ -1449,8 +1288,8 @@ function fi() {
1449
1288
  if (this._input.lookBack("url"))
1450
1289
  this.print_string(this._ch), this.eatWhitespace(), N++, this.indent(), this._ch = this._input.next(), this._ch === ")" || this._ch === '"' || this._ch === "'" ? this._input.back() : this._ch && (this.print_string(this._ch + this.eatString(")")), N && (N--, this.outdent()));
1451
1290
  else {
1452
- var j = !1;
1453
- this._input.lookBack("with") && (j = !0), this.preserveSingleSpace(f || j), this.print_string(this._ch), _ && T === "$" && this._options.selector_separator_newline ? (this._output.add_new_line(), O = !0) : (this.eatWhitespace(), N++, this.indent());
1291
+ var L = !1;
1292
+ this._input.lookBack("with") && (L = !0), this.preserveSingleSpace(f || L), this.print_string(this._ch), _ && T === "$" && this._options.selector_separator_newline ? (this._output.add_new_line(), O = !0) : (this.eatWhitespace(), N++, this.indent());
1454
1293
  }
1455
1294
  else if (this._ch === ")")
1456
1295
  N && (N--, this.outdent()), O && this._input.peek() === ";" && this._options.selector_separator_newline && (O = !1, this.outdent(), this._output.add_new_line()), this.print_string(this._ch);
@@ -1473,14 +1312,14 @@ function fi() {
1473
1312
  }
1474
1313
  var lt = this._output.get_code(A);
1475
1314
  return lt;
1476
- }, Pt.Beautifier = b, Pt;
1315
+ }, jt.Beautifier = b, jt;
1477
1316
  }
1478
- var de;
1317
+ var ge;
1479
1318
  function ci() {
1480
- if (de)
1319
+ if (ge)
1481
1320
  return nt;
1482
- de = 1;
1483
- var t = fi().Beautifier, i = Me().Options;
1321
+ ge = 1;
1322
+ var t = fi().Beautifier, i = Le().Options;
1484
1323
  function s(e, n) {
1485
1324
  var r = new t(e, n);
1486
1325
  return r.beautify();
@@ -1496,11 +1335,11 @@ var at = {}, di = {
1496
1335
  set exports(t) {
1497
1336
  at = t;
1498
1337
  }
1499
- }, jt = {}, Dt = {}, me;
1500
- function Be() {
1501
- if (me)
1502
- return Dt;
1503
- me = 1;
1338
+ }, Dt = {}, It = {}, be;
1339
+ function De() {
1340
+ if (be)
1341
+ return It;
1342
+ be = 1;
1504
1343
  var t = zt().Options;
1505
1344
  function i(s) {
1506
1345
  t.call(this, s, "html"), this.templating.length === 1 && this.templating[0] === "auto" && (this.templating = ["django", "erb", "handlebars", "php"]), this.indent_inner_html = this._get_boolean("indent_inner_html"), this.indent_body_inner_html = this._get_boolean("indent_body_inner_html", !0), this.indent_head_inner_html = this._get_boolean("indent_head_inner_html", !0), this.indent_handlebars = this._get_boolean("indent_handlebars", !0), this.wrap_attributes = this._get_selection(
@@ -1600,14 +1439,14 @@ function Be() {
1600
1439
  "textarea"
1601
1440
  ]), this.unformatted_content_delimiter = this._get_characters("unformatted_content_delimiter"), this.indent_scripts = this._get_selection("indent_scripts", ["normal", "keep", "separate"]);
1602
1441
  }
1603
- return i.prototype = new t(), Dt.Options = i, Dt;
1442
+ return i.prototype = new t(), It.Options = i, It;
1604
1443
  }
1605
- var ht = {}, ge;
1606
- function be() {
1607
- if (ge)
1444
+ var ht = {}, ve;
1445
+ function ye() {
1446
+ if (ve)
1608
1447
  return ht;
1609
- ge = 1;
1610
- var t = dt().Tokenizer, i = dt().TOKEN, s = Vt().Directives, e = Ie().TemplatablePattern, n = gt().Pattern, r = {
1448
+ ve = 1;
1449
+ var t = dt().Tokenizer, i = dt().TOKEN, s = Vt().Directives, e = je().TemplatablePattern, n = bt().Pattern, r = {
1611
1450
  TAG_OPEN: "TK_TAG_OPEN",
1612
1451
  TAG_CLOSE: "TK_TAG_CLOSE",
1613
1452
  ATTRIBUTE: "TK_ATTRIBUTE",
@@ -1619,15 +1458,15 @@ function be() {
1619
1458
  START: i.START,
1620
1459
  RAW: i.RAW,
1621
1460
  EOF: i.EOF
1622
- }, u = new s(/<\!--/, /-->/), o = function(l, y) {
1623
- t.call(this, l, y), this._current_tag_name = "";
1624
- var x = new e(this._input).read_options(this._options), b = new n(this._input);
1461
+ }, u = new s(/<\!--/, /-->/), o = function(l, x) {
1462
+ t.call(this, l, x), this._current_tag_name = "";
1463
+ var y = new e(this._input).read_options(this._options), b = new n(this._input);
1625
1464
  if (this.__patterns = {
1626
- word: x.until(/[\n\r\t <]/),
1627
- single_quote: x.until_after(/'/),
1628
- double_quote: x.until_after(/"/),
1629
- attribute: x.until(/[\n\r\t =>]|\/>/),
1630
- element_name: x.until(/[\n\r\t >\/]/),
1465
+ word: y.until(/[\n\r\t <]/),
1466
+ single_quote: y.until_after(/'/),
1467
+ double_quote: y.until_after(/"/),
1468
+ attribute: y.until(/[\n\r\t =>]|\/>/),
1469
+ element_name: y.until(/[\n\r\t >\/]/),
1631
1470
  handlebars_comment: b.starting_with(/{{!--/).until_after(/--}}/),
1632
1471
  handlebars: b.starting_with(/{{/).until_after(/}}/),
1633
1472
  handlebars_open: b.until(/[\n\r\t }]/),
@@ -1646,57 +1485,57 @@ function be() {
1646
1485
  return !1;
1647
1486
  }, o.prototype._is_opening = function(l) {
1648
1487
  return l.type === r.TAG_OPEN;
1649
- }, o.prototype._is_closing = function(l, y) {
1650
- return l.type === r.TAG_CLOSE && y && ((l.text === ">" || l.text === "/>") && y.text[0] === "<" || l.text === "}}" && y.text[0] === "{" && y.text[1] === "{");
1488
+ }, o.prototype._is_closing = function(l, x) {
1489
+ return l.type === r.TAG_CLOSE && x && ((l.text === ">" || l.text === "/>") && x.text[0] === "<" || l.text === "}}" && x.text[0] === "{" && x.text[1] === "{");
1651
1490
  }, o.prototype._reset = function() {
1652
1491
  this._current_tag_name = "";
1653
- }, o.prototype._get_next_token = function(l, y) {
1654
- var x = null;
1492
+ }, o.prototype._get_next_token = function(l, x) {
1493
+ var y = null;
1655
1494
  this._readWhitespace();
1656
1495
  var b = this._input.peek();
1657
- return b === null ? this._create_token(r.EOF, "") : (x = x || this._read_open_handlebars(b, y), x = x || this._read_attribute(b, l, y), x = x || this._read_close(b, y), x = x || this._read_raw_content(b, l, y), x = x || this._read_content_word(b), x = x || this._read_comment_or_cdata(b), x = x || this._read_processing(b), x = x || this._read_open(b, y), x = x || this._create_token(r.UNKNOWN, this._input.next()), x);
1496
+ return b === null ? this._create_token(r.EOF, "") : (y = y || this._read_open_handlebars(b, x), y = y || this._read_attribute(b, l, x), y = y || this._read_close(b, x), y = y || this._read_raw_content(b, l, x), y = y || this._read_content_word(b), y = y || this._read_comment_or_cdata(b), y = y || this._read_processing(b), y = y || this._read_open(b, x), y = y || this._create_token(r.UNKNOWN, this._input.next()), y);
1658
1497
  }, o.prototype._read_comment_or_cdata = function(l) {
1659
- var y = null, x = null, b = null;
1498
+ var x = null, y = null, b = null;
1660
1499
  if (l === "<") {
1661
1500
  var v = this._input.peek(1);
1662
- v === "!" && (x = this.__patterns.comment.read(), x ? (b = u.get_directives(x), b && b.ignore === "start" && (x += u.readIgnored(this._input))) : x = this.__patterns.cdata.read()), x && (y = this._create_token(r.COMMENT, x), y.directives = b);
1501
+ v === "!" && (y = this.__patterns.comment.read(), y ? (b = u.get_directives(y), b && b.ignore === "start" && (y += u.readIgnored(this._input))) : y = this.__patterns.cdata.read()), y && (x = this._create_token(r.COMMENT, y), x.directives = b);
1663
1502
  }
1664
- return y;
1503
+ return x;
1665
1504
  }, o.prototype._read_processing = function(l) {
1666
- var y = null, x = null, b = null;
1505
+ var x = null, y = null, b = null;
1667
1506
  if (l === "<") {
1668
1507
  var v = this._input.peek(1);
1669
- (v === "!" || v === "?") && (x = this.__patterns.conditional_comment.read(), x = x || this.__patterns.processing.read()), x && (y = this._create_token(r.COMMENT, x), y.directives = b);
1508
+ (v === "!" || v === "?") && (y = this.__patterns.conditional_comment.read(), y = y || this.__patterns.processing.read()), y && (x = this._create_token(r.COMMENT, y), x.directives = b);
1670
1509
  }
1671
- return y;
1672
- }, o.prototype._read_open = function(l, y) {
1673
- var x = null, b = null;
1674
- return y || l === "<" && (x = this._input.next(), this._input.peek() === "/" && (x += this._input.next()), x += this.__patterns.element_name.read(), b = this._create_token(r.TAG_OPEN, x)), b;
1675
- }, o.prototype._read_open_handlebars = function(l, y) {
1676
- var x = null, b = null;
1677
- return y || this._options.indent_handlebars && l === "{" && this._input.peek(1) === "{" && (this._input.peek(2) === "!" ? (x = this.__patterns.handlebars_comment.read(), x = x || this.__patterns.handlebars.read(), b = this._create_token(r.COMMENT, x)) : (x = this.__patterns.handlebars_open.read(), b = this._create_token(r.TAG_OPEN, x))), b;
1678
- }, o.prototype._read_close = function(l, y) {
1679
- var x = null, b = null;
1680
- return y && (y.text[0] === "<" && (l === ">" || l === "/" && this._input.peek(1) === ">") ? (x = this._input.next(), l === "/" && (x += this._input.next()), b = this._create_token(r.TAG_CLOSE, x)) : y.text[0] === "{" && l === "}" && this._input.peek(1) === "}" && (this._input.next(), this._input.next(), b = this._create_token(r.TAG_CLOSE, "}}"))), b;
1681
- }, o.prototype._read_attribute = function(l, y, x) {
1510
+ return x;
1511
+ }, o.prototype._read_open = function(l, x) {
1512
+ var y = null, b = null;
1513
+ return x || l === "<" && (y = this._input.next(), this._input.peek() === "/" && (y += this._input.next()), y += this.__patterns.element_name.read(), b = this._create_token(r.TAG_OPEN, y)), b;
1514
+ }, o.prototype._read_open_handlebars = function(l, x) {
1515
+ var y = null, b = null;
1516
+ return x || this._options.indent_handlebars && l === "{" && this._input.peek(1) === "{" && (this._input.peek(2) === "!" ? (y = this.__patterns.handlebars_comment.read(), y = y || this.__patterns.handlebars.read(), b = this._create_token(r.COMMENT, y)) : (y = this.__patterns.handlebars_open.read(), b = this._create_token(r.TAG_OPEN, y))), b;
1517
+ }, o.prototype._read_close = function(l, x) {
1518
+ var y = null, b = null;
1519
+ return x && (x.text[0] === "<" && (l === ">" || l === "/" && this._input.peek(1) === ">") ? (y = this._input.next(), l === "/" && (y += this._input.next()), b = this._create_token(r.TAG_CLOSE, y)) : x.text[0] === "{" && l === "}" && this._input.peek(1) === "}" && (this._input.next(), this._input.next(), b = this._create_token(r.TAG_CLOSE, "}}"))), b;
1520
+ }, o.prototype._read_attribute = function(l, x, y) {
1682
1521
  var b = null, v = "";
1683
- if (x && x.text[0] === "<")
1522
+ if (y && y.text[0] === "<")
1684
1523
  if (l === "=")
1685
1524
  b = this._create_token(r.EQUALS, this._input.next());
1686
1525
  else if (l === '"' || l === "'") {
1687
1526
  var A = this._input.next();
1688
1527
  l === '"' ? A += this.__patterns.double_quote.read() : A += this.__patterns.single_quote.read(), b = this._create_token(r.VALUE, A);
1689
1528
  } else
1690
- v = this.__patterns.attribute.read(), v && (y.type === r.EQUALS ? b = this._create_token(r.VALUE, v) : b = this._create_token(r.ATTRIBUTE, v));
1529
+ v = this.__patterns.attribute.read(), v && (x.type === r.EQUALS ? b = this._create_token(r.VALUE, v) : b = this._create_token(r.ATTRIBUTE, v));
1691
1530
  return b;
1692
1531
  }, o.prototype._is_content_unformatted = function(l) {
1693
1532
  return this._options.void_elements.indexOf(l) === -1 && (this._options.content_unformatted.indexOf(l) !== -1 || this._options.unformatted.indexOf(l) !== -1);
1694
- }, o.prototype._read_raw_content = function(l, y, x) {
1533
+ }, o.prototype._read_raw_content = function(l, x, y) {
1695
1534
  var b = "";
1696
- if (x && x.text[0] === "{")
1535
+ if (y && y.text[0] === "{")
1697
1536
  b = this.__patterns.handlebars_raw_close.read();
1698
- else if (y.type === r.TAG_CLOSE && y.opened.text[0] === "<" && y.text[0] !== "/") {
1699
- var v = y.opened.text.substr(1).toLowerCase();
1537
+ else if (x.type === r.TAG_CLOSE && x.opened.text[0] === "<" && x.text[0] !== "/") {
1538
+ var v = x.opened.text.substr(1).toLowerCase();
1700
1539
  if (v === "script" || v === "style") {
1701
1540
  var A = this._read_comment_or_cdata(l);
1702
1541
  if (A)
@@ -1707,17 +1546,17 @@ function be() {
1707
1546
  }
1708
1547
  return b ? this._create_token(r.TEXT, b) : null;
1709
1548
  }, o.prototype._read_content_word = function(l) {
1710
- var y = "";
1711
- if (this._options.unformatted_content_delimiter && l === this._options.unformatted_content_delimiter[0] && (y = this.__patterns.unformatted_content_delimiter.read()), y || (y = this.__patterns.word.read()), y)
1712
- return this._create_token(r.TEXT, y);
1549
+ var x = "";
1550
+ if (this._options.unformatted_content_delimiter && l === this._options.unformatted_content_delimiter[0] && (x = this.__patterns.unformatted_content_delimiter.read()), x || (x = this.__patterns.word.read()), x)
1551
+ return this._create_token(r.TEXT, x);
1713
1552
  }, ht.Tokenizer = o, ht.TOKEN = r, ht;
1714
1553
  }
1715
- var ve;
1554
+ var xe;
1716
1555
  function mi() {
1717
- if (ve)
1718
- return jt;
1719
- ve = 1;
1720
- var t = Be().Options, i = Ut().Output, s = be().Tokenizer, e = be().TOKEN, n = /\r\n|[\r\n]/, r = /\r\n|[\r\n]/g, u = function(p, _) {
1556
+ if (xe)
1557
+ return Dt;
1558
+ xe = 1;
1559
+ var t = De().Options, i = Ut().Output, s = ye().Tokenizer, e = ye().TOKEN, n = /\r\n|[\r\n]/, r = /\r\n|[\r\n]/g, u = function(p, _) {
1721
1560
  this.indent_level = 0, this.alignment_size = 0, this.max_preserve_newlines = p.max_preserve_newlines, this.preserve_newlines = p.preserve_newlines, this._output = new i(p, _);
1722
1561
  };
1723
1562
  u.prototype.current_line_has_match = function(p) {
@@ -1760,10 +1599,10 @@ function mi() {
1760
1599
  var h = null, k = null;
1761
1600
  return _.closed ? (p === "script" ? h = "text/javascript" : p === "style" && (h = "text/css"), h = o(_) || h, h.search("text/css") > -1 ? k = "css" : h.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/) > -1 ? k = "javascript" : h.search(/(text|application|dojo)\/(x-)?(html)/) > -1 ? k = "html" : h.search(/test\/null/) > -1 && (k = "null"), k) : null;
1762
1601
  };
1763
- function y(p, _) {
1602
+ function x(p, _) {
1764
1603
  return _.indexOf(p) !== -1;
1765
1604
  }
1766
- function x(p, _, h) {
1605
+ function y(p, _, h) {
1767
1606
  this.parent = p || null, this.tag = _ ? _.tag_name : "", this.indent_level = h || 0, this.parser_token = _ || null;
1768
1607
  }
1769
1608
  function b(p) {
@@ -1772,7 +1611,7 @@ function mi() {
1772
1611
  b.prototype.get_parser_token = function() {
1773
1612
  return this._current_frame ? this._current_frame.parser_token : null;
1774
1613
  }, b.prototype.record_tag = function(p) {
1775
- var _ = new x(this._current_frame, p, this._printer.indent_level);
1614
+ var _ = new y(this._current_frame, p, this._printer.indent_level);
1776
1615
  this._current_frame = _;
1777
1616
  }, b.prototype._try_pop_frame = function(p) {
1778
1617
  var _ = null;
@@ -1808,11 +1647,11 @@ function mi() {
1808
1647
  var h = p.match(/^[\t ]*/)[0], k = {
1809
1648
  text: "",
1810
1649
  type: ""
1811
- }, O = new A(), S = new u(this._options, h), c = new s(p, this._options).tokenize();
1812
- this._tag_stack = new b(S);
1650
+ }, O = new A(), E = new u(this._options, h), c = new s(p, this._options).tokenize();
1651
+ this._tag_stack = new b(E);
1813
1652
  for (var g = null, f = c.next(); f.type !== e.EOF; )
1814
- f.type === e.TAG_OPEN || f.type === e.COMMENT ? (g = this._handle_tag_open(S, f, O, k, c), O = g) : f.type === e.ATTRIBUTE || f.type === e.EQUALS || f.type === e.VALUE || f.type === e.TEXT && !O.tag_complete ? g = this._handle_inside_tag(S, f, O, k) : f.type === e.TAG_CLOSE ? g = this._handle_tag_close(S, f, O) : f.type === e.TEXT ? g = this._handle_text(S, f, O) : S.add_raw_token(f), k = g, f = c.next();
1815
- var T = S._output.get_code(_);
1653
+ f.type === e.TAG_OPEN || f.type === e.COMMENT ? (g = this._handle_tag_open(E, f, O, k, c), O = g) : f.type === e.ATTRIBUTE || f.type === e.EQUALS || f.type === e.VALUE || f.type === e.TEXT && !O.tag_complete ? g = this._handle_inside_tag(E, f, O, k) : f.type === e.TAG_CLOSE ? g = this._handle_tag_close(E, f, O) : f.type === e.TEXT ? g = this._handle_text(E, f, O) : E.add_raw_token(f), k = g, f = c.next();
1654
+ var T = E._output.get_code(_);
1816
1655
  return T;
1817
1656
  }, v.prototype._handle_tag_close = function(p, _, h) {
1818
1657
  var k = {
@@ -1821,12 +1660,12 @@ function mi() {
1821
1660
  };
1822
1661
  return p.alignment_size = 0, h.tag_complete = !0, p.set_space_before_token(_.newlines || _.whitespace_before !== "", !0), h.is_unformatted ? p.add_raw_token(_) : (h.tag_start_char === "<" && (p.set_space_before_token(_.text[0] === "/", !0), this._is_wrap_attributes_force_expand_multiline && h.has_wrapped_attrs && p.print_newline(!1)), p.print_token(_)), h.indent_content && !(h.is_unformatted || h.is_content_unformatted) && (p.indent(), h.indent_content = !1), !h.is_inline_element && !(h.is_unformatted || h.is_content_unformatted) && p.set_wrap_point(), k;
1823
1662
  }, v.prototype._handle_inside_tag = function(p, _, h, k) {
1824
- var O = h.has_wrapped_attrs, S = {
1663
+ var O = h.has_wrapped_attrs, E = {
1825
1664
  text: _.text,
1826
1665
  type: _.type
1827
1666
  };
1828
1667
  return p.set_space_before_token(_.newlines || _.whitespace_before !== "", !0), h.is_unformatted ? p.add_raw_token(_) : h.tag_start_char === "{" && _.type === e.TEXT ? p.print_preserved_newlines(_) ? (_.newlines = 0, p.add_raw_token(_)) : p.print_token(_) : (_.type === e.ATTRIBUTE ? p.set_space_before_token(!0) : (_.type === e.EQUALS || _.type === e.VALUE && _.previous.type === e.EQUALS) && p.set_space_before_token(!1), _.type === e.ATTRIBUTE && h.tag_start_char === "<" && ((this._is_wrap_attributes_preserve || this._is_wrap_attributes_preserve_aligned) && (p.traverse_whitespace(_), O = O || _.newlines !== 0), this._is_wrap_attributes_force && h.attr_count >= this._options.wrap_attributes_min_attrs && (k.type !== e.TAG_OPEN || // ie. second attribute and beyond
1829
- this._is_wrap_attributes_force_expand_multiline) && (p.print_newline(!1), O = !0)), p.print_token(_), O = O || p.previous_token_wrapped(), h.has_wrapped_attrs = O), S;
1668
+ this._is_wrap_attributes_force_expand_multiline) && (p.print_newline(!1), O = !0)), p.print_token(_), O = O || p.previous_token_wrapped(), h.has_wrapped_attrs = O), E;
1830
1669
  }, v.prototype._handle_text = function(p, _, h) {
1831
1670
  var k = {
1832
1671
  text: _.text,
@@ -1836,10 +1675,10 @@ function mi() {
1836
1675
  }, v.prototype._print_custom_beatifier_text = function(p, _, h) {
1837
1676
  var k = this;
1838
1677
  if (_.text !== "") {
1839
- var O = _.text, S, c = 1, g = "", f = "";
1840
- h.custom_beautifier_name === "javascript" && typeof this._js_beautify == "function" ? S = this._js_beautify : h.custom_beautifier_name === "css" && typeof this._css_beautify == "function" ? S = this._css_beautify : h.custom_beautifier_name === "html" && (S = function(C, P) {
1841
- var j = new v(C, P, k._js_beautify, k._css_beautify);
1842
- return j.beautify();
1678
+ var O = _.text, E, c = 1, g = "", f = "";
1679
+ h.custom_beautifier_name === "javascript" && typeof this._js_beautify == "function" ? E = this._js_beautify : h.custom_beautifier_name === "css" && typeof this._css_beautify == "function" ? E = this._css_beautify : h.custom_beautifier_name === "html" && (E = function(C, P) {
1680
+ var L = new v(C, P, k._js_beautify, k._css_beautify);
1681
+ return L.beautify();
1843
1682
  }), this._options.indent_scripts === "keep" ? c = 0 : this._options.indent_scripts === "separate" && (c = -p.indent_level);
1844
1683
  var T = p.get_full_indent(c);
1845
1684
  if (O = O.replace(/\n[ \t]*$/, ""), h.custom_beautifier_name !== "html" && O[0] === "<" && O.match(/^(<!--|<!\[CDATA\[)/)) {
@@ -1853,18 +1692,18 @@ function mi() {
1853
1692
  `) !== -1) && (a = a[3].match(/[ \t]+$/), a && (_.whitespace_before = a[0]));
1854
1693
  }
1855
1694
  if (O)
1856
- if (S) {
1695
+ if (E) {
1857
1696
  var d = function() {
1858
1697
  this.eol = `
1859
1698
  `;
1860
1699
  };
1861
1700
  d.prototype = this._options.raw_options;
1862
1701
  var m = new d();
1863
- O = S(T + O, m);
1702
+ O = E(T + O, m);
1864
1703
  } else {
1865
- var R = _.whitespace_before;
1866
- R && (O = O.replace(new RegExp(`
1867
- (` + R + ")?", "g"), `
1704
+ var S = _.whitespace_before;
1705
+ S && (O = O.replace(new RegExp(`
1706
+ (` + S + ")?", "g"), `
1868
1707
  `)), O = T + O.replace(/\n/g, `
1869
1708
  ` + T);
1870
1709
  }
@@ -1872,14 +1711,14 @@ function mi() {
1872
1711
  ` + f : O = g + f), p.print_newline(!1), O && (_.text = O, _.whitespace_before = "", _.newlines = 0, p.add_raw_token(_), p.print_newline(!0));
1873
1712
  }
1874
1713
  }, v.prototype._handle_tag_open = function(p, _, h, k, O) {
1875
- var S = this._get_tag_open_token(_);
1876
- if ((h.is_unformatted || h.is_content_unformatted) && !h.is_empty_element && _.type === e.TAG_OPEN && !S.is_start_tag ? (p.add_raw_token(_), S.start_tag_token = this._tag_stack.try_pop(S.tag_name)) : (p.traverse_whitespace(_), this._set_tag_position(p, _, S, h, k), S.is_inline_element || p.set_wrap_point(), p.print_token(_)), S.is_start_tag && this._is_wrap_attributes_force) {
1714
+ var E = this._get_tag_open_token(_);
1715
+ if ((h.is_unformatted || h.is_content_unformatted) && !h.is_empty_element && _.type === e.TAG_OPEN && !E.is_start_tag ? (p.add_raw_token(_), E.start_tag_token = this._tag_stack.try_pop(E.tag_name)) : (p.traverse_whitespace(_), this._set_tag_position(p, _, E, h, k), E.is_inline_element || p.set_wrap_point(), p.print_token(_)), E.is_start_tag && this._is_wrap_attributes_force) {
1877
1716
  var c = 0, g;
1878
1717
  do
1879
- g = O.peek(c), g.type === e.ATTRIBUTE && (S.attr_count += 1), c += 1;
1718
+ g = O.peek(c), g.type === e.ATTRIBUTE && (E.attr_count += 1), c += 1;
1880
1719
  while (g.type !== e.EOF && g.type !== e.TAG_CLOSE);
1881
1720
  }
1882
- return (this._is_wrap_attributes_force_aligned || this._is_wrap_attributes_aligned_multiple || this._is_wrap_attributes_preserve_aligned) && (S.alignment_size = _.text.length + 1), !S.tag_complete && !S.is_unformatted && (p.alignment_size = S.alignment_size), S;
1721
+ return (this._is_wrap_attributes_force_aligned || this._is_wrap_attributes_aligned_multiple || this._is_wrap_attributes_preserve_aligned) && (E.alignment_size = _.text.length + 1), !E.tag_complete && !E.is_unformatted && (p.alignment_size = E.alignment_size), E;
1883
1722
  };
1884
1723
  var A = function(p, _) {
1885
1724
  if (this.parent = p || null, this.text = "", this.type = "TK_TAG_OPEN", this.tag_name = "", this.is_inline_element = !1, this.is_unformatted = !1, this.is_content_unformatted = !1, this.is_empty_element = !1, this.is_start_tag = !1, this.is_end_tag = !1, this.indent_content = !1, this.multiline_content = !1, this.custom_beautifier_name = null, this.start_tag_token = null, this.attr_count = 0, this.has_wrapped_attrs = !1, this.alignment_size = 0, this.tag_complete = !1, this.tag_start_char = "", this.tag_check = "", !_)
@@ -1893,13 +1732,13 @@ function mi() {
1893
1732
  };
1894
1733
  v.prototype._get_tag_open_token = function(p) {
1895
1734
  var _ = new A(this._tag_stack.get_parser_token(), p);
1896
- return _.alignment_size = this._options.wrap_attributes_indent_size, _.is_end_tag = _.is_end_tag || y(_.tag_check, this._options.void_elements), _.is_empty_element = _.tag_complete || _.is_start_tag && _.is_end_tag, _.is_unformatted = !_.tag_complete && y(_.tag_check, this._options.unformatted), _.is_content_unformatted = !_.is_empty_element && y(_.tag_check, this._options.content_unformatted), _.is_inline_element = y(_.tag_name, this._options.inline) || this._options.inline_custom_elements && _.tag_name.includes("-") || _.tag_start_char === "{", _;
1735
+ return _.alignment_size = this._options.wrap_attributes_indent_size, _.is_end_tag = _.is_end_tag || x(_.tag_check, this._options.void_elements), _.is_empty_element = _.tag_complete || _.is_start_tag && _.is_end_tag, _.is_unformatted = !_.tag_complete && x(_.tag_check, this._options.unformatted), _.is_content_unformatted = !_.is_empty_element && x(_.tag_check, this._options.content_unformatted), _.is_inline_element = x(_.tag_name, this._options.inline) || this._options.inline_custom_elements && _.tag_name.includes("-") || _.tag_start_char === "{", _;
1897
1736
  }, v.prototype._set_tag_position = function(p, _, h, k, O) {
1898
- if (h.is_empty_element || (h.is_end_tag ? h.start_tag_token = this._tag_stack.try_pop(h.tag_name) : (this._do_optional_end_element(h) && (h.is_inline_element || p.print_newline(!1)), this._tag_stack.record_tag(h), (h.tag_name === "script" || h.tag_name === "style") && !(h.is_unformatted || h.is_content_unformatted) && (h.custom_beautifier_name = l(h.tag_check, _)))), y(h.tag_check, this._options.extra_liners) && (p.print_newline(!1), p._output.just_added_blankline() || p.print_newline(!0)), h.is_empty_element) {
1737
+ if (h.is_empty_element || (h.is_end_tag ? h.start_tag_token = this._tag_stack.try_pop(h.tag_name) : (this._do_optional_end_element(h) && (h.is_inline_element || p.print_newline(!1)), this._tag_stack.record_tag(h), (h.tag_name === "script" || h.tag_name === "style") && !(h.is_unformatted || h.is_content_unformatted) && (h.custom_beautifier_name = l(h.tag_check, _)))), x(h.tag_check, this._options.extra_liners) && (p.print_newline(!1), p._output.just_added_blankline() || p.print_newline(!0)), h.is_empty_element) {
1899
1738
  if (h.tag_start_char === "{" && h.tag_check === "else") {
1900
1739
  this._tag_stack.indent_to_tag(["if", "unless", "each"]), h.indent_content = !0;
1901
- var S = p.current_line_has_match(/{{#if/);
1902
- S || p.print_newline(!1);
1740
+ var E = p.current_line_has_match(/{{#if/);
1741
+ E || p.print_newline(!1);
1903
1742
  }
1904
1743
  h.tag_name === "!--" && O.type === e.TAG_CLOSE && k.is_end_tag && h.text.indexOf(`
1905
1744
  `) === -1 || (h.is_inline_element || h.is_unformatted || p.print_newline(!1), this._calcluate_parent_multiline(p, h));
@@ -1928,14 +1767,14 @@ function mi() {
1928
1767
  p.tag_name === "rp" || p.tag_name === "rt" ? (_ = _ || this._tag_stack.try_pop("rt", ["ruby", "rtc"]), _ = _ || this._tag_stack.try_pop("rp", ["ruby", "rtc"])) : p.tag_name === "optgroup" ? _ = _ || this._tag_stack.try_pop("optgroup", ["select"]) : p.tag_name === "option" ? _ = _ || this._tag_stack.try_pop("option", ["select", "datalist", "optgroup"]) : p.tag_name === "colgroup" ? _ = _ || this._tag_stack.try_pop("caption", ["table"]) : p.tag_name === "thead" ? (_ = _ || this._tag_stack.try_pop("caption", ["table"]), _ = _ || this._tag_stack.try_pop("colgroup", ["table"])) : p.tag_name === "tbody" || p.tag_name === "tfoot" ? (_ = _ || this._tag_stack.try_pop("caption", ["table"]), _ = _ || this._tag_stack.try_pop("colgroup", ["table"]), _ = _ || this._tag_stack.try_pop("thead", ["table"]), _ = _ || this._tag_stack.try_pop("tbody", ["table"])) : p.tag_name === "tr" ? (_ = _ || this._tag_stack.try_pop("caption", ["table"]), _ = _ || this._tag_stack.try_pop("colgroup", ["table"]), _ = _ || this._tag_stack.try_pop("tr", ["table", "thead", "tbody", "tfoot"])) : (p.tag_name === "th" || p.tag_name === "td") && (_ = _ || this._tag_stack.try_pop("td", ["table", "thead", "tbody", "tfoot", "tr"]), _ = _ || this._tag_stack.try_pop("th", ["table", "thead", "tbody", "tfoot", "tr"]));
1929
1768
  return p.parent = this._tag_stack.get_parser_token(), _;
1930
1769
  }
1931
- }, jt.Beautifier = v, jt;
1770
+ }, Dt.Beautifier = v, Dt;
1932
1771
  }
1933
- var ye;
1772
+ var we;
1934
1773
  function gi() {
1935
- if (ye)
1774
+ if (we)
1936
1775
  return at;
1937
- ye = 1;
1938
- var t = mi().Beautifier, i = Be().Options;
1776
+ we = 1;
1777
+ var t = mi().Beautifier, i = De().Options;
1939
1778
  function s(e, n, r, u) {
1940
1779
  var o = new t(e, n, r, u);
1941
1780
  return o.beautify();
@@ -1944,11 +1783,11 @@ function gi() {
1944
1783
  return new i();
1945
1784
  }, at;
1946
1785
  }
1947
- var xe;
1786
+ var Oe;
1948
1787
  function bi() {
1949
- if (xe)
1788
+ if (Oe)
1950
1789
  return Y;
1951
- xe = 1;
1790
+ Oe = 1;
1952
1791
  var t = pi(), i = ci(), s = gi();
1953
1792
  function e(n, r, u, o) {
1954
1793
  return u = u || t, o = o || i, s(n, r, u, o);
@@ -1967,7 +1806,7 @@ function bi() {
1967
1806
  e.js_beautify = e.js, e.css_beautify = e.css, e.html_beautify = e.html, s.exports = i(e, e, e);
1968
1807
  })(t);
1969
1808
  })(_i);
1970
- const It = {
1809
+ const Mt = {
1971
1810
  html: {
1972
1811
  indent_size: "2",
1973
1812
  indent_char: " ",
@@ -2029,22 +1868,182 @@ const It = {
2029
1868
  function ft(t, i) {
2030
1869
  switch (t) {
2031
1870
  case q.html:
2032
- return it.html(i, It.html);
1871
+ return it.html(i, Mt.html);
2033
1872
  case q.css:
2034
- return it.css(i, It.css);
1873
+ return it.css(i, Mt.css);
2035
1874
  case q.javascript:
2036
- return it.js(i, It.js);
1875
+ return it.js(i, Mt.js);
2037
1876
  case q.json: {
2038
1877
  var s = Fe(i);
2039
- return Mt(s) && i ? i : H(s, void 0, " ");
1878
+ return Wt(s) && i ? i : J(s, void 0, " ");
2040
1879
  }
2041
1880
  default:
2042
1881
  return i;
2043
1882
  }
2044
1883
  }
2045
- const vi = (t) => t ? t.replace(/[A-Z]/g, function(i) {
2046
- return "-" + i.toLowerCase();
2047
- }) : "";
1884
+ const vi = (t) => {
1885
+ let i = {};
1886
+ const s = t.type, e = w.getName(t);
1887
+ s === R.tabs ? t.tabs.length > 0 && B(i, {
1888
+ [`${e}ActiveTab`]: w.getName(t.tabs[0])
1889
+ }) : [
1890
+ R.radio,
1891
+ R.checkbox,
1892
+ R.select,
1893
+ R.cascader,
1894
+ R.breadcrumb,
1895
+ R.descriptions,
1896
+ R.dropdown,
1897
+ R.steps,
1898
+ R.collapse
1899
+ ].includes(s) ? B(i, {
1900
+ [`${e}Options`]: M.getValue(w.getOrgOption(t, rt.optionItems))
1901
+ }) : [R.pictureUpload, R.fileUpload].includes(s) && B(i, {
1902
+ [`${e}FileList`]: [],
1903
+ [`${e}UploadHeaders`]: {},
1904
+ [`${e}UploadData`]: {}
1905
+ });
1906
+ let n = Ie(t);
1907
+ return !n && e && (n = Me(t)), n && B(i, n), i;
1908
+ }, Ie = (t) => {
1909
+ const i = w.getName(t);
1910
+ if (t.formItemFlag) {
1911
+ const s = w.getOptions(t, "defaultValue");
1912
+ return { [i]: Wt(s) ? null : s };
1913
+ }
1914
+ }, Me = (t) => {
1915
+ var i = Ce(t);
1916
+ return Be(i);
1917
+ }, Be = (t) => {
1918
+ let i = {};
1919
+ var s = Ae(t, R.form);
1920
+ const e = s == null ? void 0 : s.map((n) => w.getName(n));
1921
+ return s == null || s.map((n) => {
1922
+ var l;
1923
+ let r = {};
1924
+ const u = w.getName(n), o = w.getOptions(n, "modelName") || u;
1925
+ (l = n.widgetList) == null || l.map((x) => {
1926
+ const y = w.getName(x);
1927
+ let b = Ie(x);
1928
+ e != null && e.includes(y) && (b = Me(x)), B(r, b);
1929
+ }), B(i, { [o]: r });
1930
+ }), i;
1931
+ }, Ft = (t) => {
1932
+ var n;
1933
+ let i = {};
1934
+ ni(t, (r) => {
1935
+ B(i, vi(r));
1936
+ });
1937
+ const s = Be(t);
1938
+ B(i, s);
1939
+ const e = Xe(s, !0);
1940
+ return (n = H(i)) == null || n.forEach((r) => {
1941
+ e != null && e.includes(r) && delete i[r];
1942
+ }), i;
1943
+ }, yi = (t) => {
1944
+ t.options;
1945
+ let i = [];
1946
+ var s = w.getOptions(t, "required");
1947
+ s && i.push({
1948
+ required: !0,
1949
+ message: `${Ge("render.hint.fieldRequired")}`
1950
+ });
1951
+ var e = w.getOptions(t, "expValidate", !0);
1952
+ const n = Kt(e == null ? void 0 : e.options);
1953
+ if (e && n && n.enable) {
1954
+ let r = n == null ? void 0 : n.expression;
1955
+ const u = Je[r] ? Ze(r) : new RegExp(r);
1956
+ i.push({
1957
+ pattern: `${u}`,
1958
+ trigger: ["blur", "change"],
1959
+ message: `${n.errorMsg}`
1960
+ });
1961
+ }
1962
+ return i;
1963
+ }, Xt = (t) => {
1964
+ let i = {};
1965
+ var s = Ae(t, R.form);
1966
+ return s == null || s.map((e) => {
1967
+ var u;
1968
+ let n = {};
1969
+ const r = w.getOptions(e, "rulesName") || name + "_rules";
1970
+ (u = e.widgetList) == null || u.map((o) => {
1971
+ const l = w.getOptions(o, "name");
1972
+ let x = {};
1973
+ if (o.formItemFlag)
1974
+ x = { [l]: yi(o) };
1975
+ else if (o.type !== R.form) {
1976
+ var y = Ce(o);
1977
+ x = Xt(y);
1978
+ }
1979
+ B(n, x);
1980
+ }), B(i, { [r]: n });
1981
+ }), i;
1982
+ }, We = (t, i) => {
1983
+ var e;
1984
+ var s = M.getValue(t == null ? void 0 : t.pageCreated) || "";
1985
+ if (mt(s))
1986
+ return "";
1987
+ if (i)
1988
+ return `
1989
+ ${s}
1990
+ `;
1991
+ {
1992
+ const n = ke(s);
1993
+ return `function pageCreated(${((e = n == null ? void 0 : n.params) == null ? void 0 : e.join(",")) || ""}){
1994
+ ${(n == null ? void 0 : n.body) || ""}
1995
+ }`;
1996
+ }
1997
+ }, Ke = (t, i) => {
1998
+ var e;
1999
+ var s = M.getValue(t.pageMounted) || "";
2000
+ if (!mt(s)) {
2001
+ if (i)
2002
+ return `
2003
+ ${s}
2004
+ `;
2005
+ {
2006
+ const n = ke(s);
2007
+ return `function pageMounted(${((e = n == null ? void 0 : n.params) == null ? void 0 : e.join(",")) || ""}){
2008
+ ${(n == null ? void 0 : n.body) || ""}
2009
+ }`;
2010
+ }
2011
+ }
2012
+ }, xi = function(t, i, s) {
2013
+ const e = Ft(i), n = Xt(i);
2014
+ let r = { ...e, ...n, ...s };
2015
+ const u = We(t, !1), o = Ke(t, !1), l = "ctx:Object", x = o ? `
2016
+ mounted() {
2017
+ ${o}
2018
+ pageMounted(this.ctx);
2019
+ }` : void 0, y = u ? `
2020
+ created() {
2021
+ ${u}
2022
+ pageCreated(this.ctx);
2023
+ }` : void 0, b = Bt(r) ? void 0 : `
2024
+ data() {
2025
+ return ${J(r)};
2026
+ }`;
2027
+ return `
2028
+ export default {
2029
+ ${[Bt(l) ? void 0 : ` props: {${l}}`, b, y, x].filter(($) => !mt($)).join(",")}
2030
+ }`;
2031
+ }, wi = function(t, i, s) {
2032
+ var p, _, h;
2033
+ const e = Ft(i), n = Xt(i);
2034
+ let r = { ...e, ...n, ...s };
2035
+ const u = (k) => !Array.isArray(k), o = (p = H(r)) == null ? void 0 : p.map((k) => `const ${k} =${u(r == null ? void 0 : r[k]) ? "ref" : "reactive"} (${J(r == null ? void 0 : r[k])});`), l = ((_ = H(r)) == null ? void 0 : _.length) > 0 ? "import { ref,reactive } from 'vue';" : "", x = We(t, !0), y = Ke(t, !0), b = x ? `
2036
+ ${x}
2037
+ pageCreated(props.ctx);
2038
+ ` : void 0, v = y ? `onMounted(()=>{
2039
+ ${y}
2040
+ pageMounted(props.ctx);}
2041
+ });` : void 0, A = "const props=defineProps({ctx:{type:Object}});", $ = Bt(r) ? void 0 : o.join(`
2042
+ `);
2043
+ return `${(h = [l, A, $, b, v].filter((k) => !mt(k))) == null ? void 0 : h.join(`
2044
+ `)}
2045
+ `;
2046
+ };
2048
2047
  class W {
2049
2048
  constructor() {
2050
2049
  Z(this, "exContent");
@@ -2053,72 +2052,79 @@ class W {
2053
2052
  Z(this, "autoProp");
2054
2053
  }
2055
2054
  }
2056
- const yi = (t, i) => `<el-row ${U(t)}>
2057
- ${t.cols.map((n) => xi(n, i)).join("")}
2055
+ const Oi = (t) => {
2056
+ var s;
2057
+ const i = Re((s = H(t)) == null ? void 0 : s.map((e) => t[e] ? `${e}:${t[e]}` : ""), ";");
2058
+ return i ? `style="${i}"` : "";
2059
+ }, Ti = (t) => {
2060
+ var s;
2061
+ return Re((s = H(t)) == null ? void 0 : s.map((e) => t[e] ? `${e}="${t[e]}"` : ""), " ");
2062
+ }, Ei = (t, i) => `<el-row ${U(t)}>
2063
+ ${t.cols.map((n) => ki(n, i)).join("")}
2058
2064
  </el-row>
2059
- `, xi = (t, i) => {
2065
+ `, ki = (t, i) => {
2060
2066
  const s = w.getOptions(t, "responsive");
2061
2067
  ["span", "xs", "sm", "md", "lg", "xl"].forEach((r) => {
2062
2068
  let u = null;
2063
2069
  const o = !!s, l = w.getOptions(t, r);
2064
2070
  r == "span" ? u = o ? null : l : u = o ? l : null, w.setOrgOption(t, r, u);
2065
2071
  }), delete t.options.responsive;
2066
- const n = vt(t, i);
2067
- return bt(t, { wdName: "el-col", props: n });
2068
- }, wi = (t, i) => `<div class="table-container">
2072
+ const n = yt(t, i);
2073
+ return vt(t, { wdName: "el-col", props: n });
2074
+ }, Ri = (t, i) => `<div class="table-container">
2069
2075
  <table ${U(t, "table-layout")}>
2070
2076
  <tbody>
2071
- ${t.rows.map((n) => Oi(n, i)).join("")}
2077
+ ${t.rows.map((n) => Si(n, i)).join("")}
2072
2078
  </tbody>
2073
2079
  </table>
2074
- </div>`, Oi = (t, i) => `<tr>${t.cols.filter((s) => !s.merged).map((s) => Ti(s, i)).join("")}</tr>`, Ti = (t, i) => {
2080
+ </div>`, Si = (t, i) => `<tr>${t.cols.filter((s) => !s.merged).map((s) => Ai(s, i)).join("")}</tr>`, Ai = (t, i) => {
2075
2081
  const s = t.options, e = U(t);
2076
2082
  ["colspan", "rowspan"].forEach((o) => {
2077
2083
  let l = w.getOptions(t, o);
2078
- const y = Ge(l) && !isNaN(l) && l !== 1 ? l : "";
2079
- w.setOptions(t, o, String(y));
2084
+ const x = He(l) && !isNaN(l) && l !== 1 ? l : "";
2085
+ w.setOptions(t, o, String(x));
2080
2086
  }), delete t.options.name;
2081
- const r = vt(t, i);
2087
+ const r = yt(t, i);
2082
2088
  let u = [];
2083
- return s.cellWidth && u.push("width: " + s.cellWidth + " !important"), s.cellHeight && u.push("height: " + s.cellHeight + " !important"), bt(t, { wdName: "td", props: r, classAttr: e, styleArray: u });
2084
- }, Ei = (t, i) => {
2085
- const s = U(t), e = t.tabs && t.tabs.length > 0 ? `v-model="${w.getName(t)}ActiveTab"` : "", n = vt(t, i);
2089
+ return s.cellWidth && u.push("width: " + s.cellWidth + " !important"), s.cellHeight && u.push("height: " + s.cellHeight + " !important"), vt(t, { wdName: "td", props: r, classAttr: e, styleArray: u });
2090
+ }, Ci = (t, i) => {
2091
+ const s = U(t), e = t.tabs && t.tabs.length > 0 ? `v-model="${w.getName(t)}ActiveTab"` : "", n = yt(t, i);
2086
2092
  return `
2087
2093
  <el-tabs ${e} type="${t.displayType}" ${n} ${s}>
2088
2094
  ${t.tabs.map((u) => {
2089
- const o = w.getOptions(u, "disabled"), l = w.getOptions(u, "name"), y = w.getOptions(u, "label");
2095
+ const o = w.getOptions(u, "disabled"), l = w.getOptions(u, "name"), x = w.getOptions(u, "label");
2090
2096
  return `
2091
- <el-tab-pane name="${l}" label="${y}" ${o === !0 ? "disabled" : ""}>
2097
+ <el-tab-pane name="${l}" label="${x}" ${o === !0 ? "disabled" : ""}>
2092
2098
  ${X(u.widgetList)}
2093
2099
  </el-tab-pane>
2094
2100
  `;
2095
2101
  }).join("")}
2096
2102
  </el-tabs>
2097
2103
  `;
2098
- }, ki = (t) => {
2104
+ }, $i = (t) => {
2099
2105
  var n;
2100
- const { slots: i } = mt(t, void 0, { s_slots: !0 });
2106
+ const { slots: i } = gt(t, void 0, { s_slots: !0 });
2101
2107
  var s = [
2102
2108
  D("header", w.getOptions(t, "label")),
2103
- D("default", X((n = Ae(i.value, "default")) == null ? void 0 : n.widgetList), !0)
2109
+ D("default", X((n = Se(i.value, "default")) == null ? void 0 : n.widgetList), !0)
2104
2110
  ];
2105
2111
  let e = {
2106
2112
  exContent: s.join("")
2107
2113
  };
2108
- return B(t, e);
2109
- }, Ri = (t) => {
2114
+ return I(t, e);
2115
+ }, Ni = (t) => {
2110
2116
  const i = w.getOptions(t, "label"), s = w.getOptions(t, "labelTooltip"), e = w.getOptions(t, "labelIconClass"), n = w.getOptions(t, "labelIconPosition");
2111
2117
  if (!s && !e)
2112
2118
  return i;
2113
- let r = F(e, '<i class="', '"></i>'), u = F(r, `<el-tooltip content="${s}" effect="light">`, "</el-tooltip>"), o = `${n === Jt.rear ? i : ""}${u}${n === Jt.front ? i : ""}`;
2119
+ let r = F(e, '<i class="', '"></i>'), u = F(r, `<el-tooltip content="${s}" effect="light">`, "</el-tooltip>"), o = `${n === Yt.rear ? i : ""}${u}${n === Yt.front ? i : ""}`;
2114
2120
  return o ? F(o, "<template #label>", "</template>") : i;
2115
- }, Ai = (t, i) => {
2121
+ }, Pi = (t, i) => {
2116
2122
  var o;
2117
- const s = U(t), e = w.getOptions(t, "modelName") || w.getName(t), n = t.widgetList && t.widgetList.length > 0 ? `:model="${e}"` : "", r = vt(t, {});
2123
+ const s = U(t), e = w.getOptions(t, "modelName") || w.getName(t), n = t.widgetList && t.widgetList.length > 0 ? `:model="${e}"` : "", r = yt(t, {});
2118
2124
  return `
2119
2125
  <el-form ${n} ${r} ${s}>
2120
2126
  ${(o = t.widgetList) == null ? void 0 : o.map((l) => {
2121
- const y = w.getOptions(l, "labelHidden"), x = w.getOptions(l, "label"), b = w.getOptions(l, "labelWidth"), v = w.getOptions(l, "labelPosition"), A = y ? "" : x, $ = y ? 'label-width="0"' : b ? `label-width="${b}"` : "", N = !y && v ? `label-position="${v}"` : "", p = Ri(l);
2127
+ const x = w.getOptions(l, "labelHidden"), y = w.getOptions(l, "label"), b = w.getOptions(l, "labelWidth"), v = w.getOptions(l, "labelPosition"), A = x ? "" : y, $ = x ? 'label-width="0"' : b ? `label-width="${b}"` : "", N = !x && v ? `label-position="${v}"` : "", p = Ni(l);
2122
2128
  let _ = X([l], i);
2123
2129
  const h = ` prop="${w.getName(t)}"`, k = `<el-form-item label="${A}" ${$} ${N} ${s} ${h}>
2124
2130
  ${p}
@@ -2128,122 +2134,121 @@ const yi = (t, i) => `<el-row ${U(t)}>
2128
2134
  }).join("")}
2129
2135
  </el-form>
2130
2136
  `;
2131
- }, Si = (t) => {
2132
- var s;
2133
- const i = Re((s = _t(t)) == null ? void 0 : s.map((e) => t[e] ? `${e}:${t[e]}` : ""), ";");
2134
- return i ? `style="${i}"` : "";
2135
- }, Ci = (t) => {
2136
- var s;
2137
- return Re((s = _t(t)) == null ? void 0 : s.map((e) => t[e] ? `${e}="${t[e]}"` : ""), " ");
2138
- }, $i = (t) => `${t.cols.map((s) => Ft(s)).join("")}`, Ft = (t) => {
2137
+ }, ji = (t) => `${t.cols.map((s) => Gt(s)).join("")}`, Gt = (t) => {
2139
2138
  var b, v;
2140
- const i = t, s = `${I.getValue(i.partName)}`, e = `${I.getValue(i.direction)}`, n = `${I.getValue(i.cellWidth)}`, r = `${I.getValue(i.cellHeight)}`, u = U({ type: E.contCell, options: i }), o = { width: n, height: r }, l = { direction: e }, y = `el-${s}`;
2141
- return y ? `
2142
- <${y} ${u} ${Ci(l)} ${Si(o)}>
2143
- ${(v = (b = t == null ? void 0 : t.children) == null ? void 0 : b.map((A) => Ft(A))) == null ? void 0 : v.join("")}
2144
- ${bt(Bt(t))}
2145
- </${y}>
2139
+ const i = t, s = `${M.getValue(i.partName)}`, e = `${M.getValue(i.direction)}`, n = `${M.getValue(i.cellWidth)}`, r = `${M.getValue(i.cellHeight)}`, u = U({ type: R.contCell, options: i }), o = { width: n, height: r }, l = { direction: e }, x = `el-${s}`;
2140
+ return x ? `
2141
+ <${x} ${u} ${Ti(l)} ${Oi(o)}>
2142
+ ${(v = (b = t == null ? void 0 : t.children) == null ? void 0 : b.map((A) => Gt(A))) == null ? void 0 : v.join("")}
2143
+ ${vt(Kt(t))}
2144
+ </${x}>
2146
2145
  ` : "";
2147
- }, Ni = (t, i) => B(t, {
2146
+ }, Li = (t, i) => I(t, {
2148
2147
  tag: "el-input",
2149
2148
  exProp: 'type="textarea"'
2150
- }, i), Pi = (t, i) => {
2151
- const s = G(t, i), e = Li(t);
2149
+ }, i), Di = (t, i) => {
2150
+ const s = G(t, i), e = Ii(t);
2152
2151
  return `<el-radio-group ${s}>${e}</el-radio-group>`;
2153
2152
  };
2154
- function Li(t) {
2153
+ function Ii(t) {
2155
2154
  const i = w.getOptions(t, "buttonStyle") ? "el-radio-button" : "el-radio", s = w.getOptions(t, "border") ? "border" : "", e = `style="display: ${w.getOptions(t, "displayStyle")}"`, n = new W();
2156
2155
  return n.tag = i, n.autoProp = !1, n.exContent = "{{item.label}}", n.exProp = [
2157
2156
  s,
2158
2157
  e,
2159
- L("item.value", ":label"),
2160
- L(w.getOptions(t, "disabled") ? "true" : "item.disabled", ":disabled"),
2161
- L(w.getOptions(t, "border") ? "true" : "item.border", ":border")
2158
+ j("item.value", ":label"),
2159
+ j(w.getOptions(t, "disabled") ? "true" : "item.disabled", ":disabled"),
2160
+ j(w.getOptions(t, "border") ? "true" : "item.border", ":border")
2162
2161
  ].join(" "), K(t, n);
2163
2162
  }
2164
- const ji = (t, i) => {
2165
- const s = G(t, i), e = Di(t);
2163
+ const Mi = (t, i) => {
2164
+ const s = G(t, i), e = Bi(t);
2166
2165
  return `<el-checkbox-group ${s}>${e}</el-checkbox-group>`;
2167
2166
  };
2168
- function Di(t) {
2167
+ function Bi(t) {
2169
2168
  const i = w.getOptions(t, "buttonStyle") ? "el-checkbox-button" : "el-checkbox", s = w.getOptions(t, "border") ? "border" : "", e = `style="display: ${w.getOptions(t, "displayStyle")}"`, n = new W();
2170
2169
  return n.tag = i, n.autoProp = !1, n.exContent = "{{item.label}}", n.exProp = [
2171
2170
  s,
2172
2171
  e,
2173
- L("item.value", ":label"),
2174
- L(w.getOptions(t, "disabled") ? "true" : "item.disabled", ":disabled"),
2175
- L(w.getOptions(t, "border") ? "true" : "item.border", ":border")
2172
+ j("item.value", ":label"),
2173
+ j(w.getOptions(t, "disabled") ? "true" : "item.disabled", ":disabled"),
2174
+ j(w.getOptions(t, "border") ? "true" : "item.border", ":border")
2176
2175
  ].join(" "), K(t, n);
2177
2176
  }
2178
- const Ii = (t, i) => {
2179
- const s = G(t, i), e = Mi(t);
2177
+ const Wi = (t, i) => {
2178
+ const s = G(t, i), e = Ki(t);
2180
2179
  var n = [
2181
2180
  D("prefix", w.getOptions(t, "slotPrefix"))
2182
2181
  ];
2183
2182
  return `<el-select ${s}>${e}${n.join("")}</el-select>`;
2184
2183
  };
2185
- function Mi(t) {
2186
- var i = w.getOptions(t, J.optionItems);
2184
+ function Ki(t) {
2185
+ var i = w.getOptions(t, rt.optionItems);
2187
2186
  return i != null && i.length ? i.some((s) => {
2188
2187
  var e;
2189
2188
  return ((e = s.children) == null ? void 0 : e.length) > 0;
2190
- }) ? Wi(t) : Bi(t) : "";
2189
+ }) ? zi(t) : Ui(t) : "";
2191
2190
  }
2192
- function Bi(t) {
2191
+ function Ui(t) {
2193
2192
  const i = "el-option", s = new W();
2194
2193
  return s.tag = i, s.autoProp = !0, K(t, s);
2195
2194
  }
2196
- function Wi(t) {
2197
- var i = w.getOptions(t, J.optionItems);
2195
+ function zi(t) {
2196
+ var i = w.getOptions(t, rt.optionItems);
2198
2197
  if (!(i != null && i.length))
2199
2198
  return "";
2200
- var s = i == null ? void 0 : i.map((e) => Ki(e));
2199
+ var s = i == null ? void 0 : i.map((e) => qi(e));
2201
2200
  return s == null ? void 0 : s.join("");
2202
2201
  }
2203
- function Ki(t) {
2202
+ function qi(t) {
2204
2203
  var s;
2205
2204
  if (((s = t == null ? void 0 : t.children) == null ? void 0 : s.length) > 0) {
2206
2205
  var i = "el-option-group";
2207
2206
  return `
2208
- <${i}>${we(t.children)}</${i}>
2207
+ <${i}>${Te(t.children)}</${i}>
2209
2208
  `;
2210
2209
  } else
2211
- return we(t);
2210
+ return Te(t);
2212
2211
  }
2213
- function we(t) {
2212
+ function Te(t) {
2214
2213
  var i = [
2215
- L(t.value, "value"),
2216
- L(t.label, "label")
2214
+ j(t.value, "value"),
2215
+ j(t.label, "label")
2217
2216
  ];
2218
2217
  return `
2219
2218
  <el-option ${i}></el-option>
2220
2219
  `;
2221
2220
  }
2222
- const Ui = (t, i) => {
2221
+ const Vi = (t, i) => {
2223
2222
  const s = U(t, "");
2224
- var e = w.getOptions(t, J.optionItems);
2223
+ var e = w.getOptions(t, rt.optionItems);
2225
2224
  const n = G(t, i);
2226
2225
  return `
2227
2226
  <el-table ${s} ${n}>
2228
- ${e == null ? void 0 : e.map((u) => We(u, i)).join("")}
2227
+ ${e == null ? void 0 : e.map((u) => Ue(u, i)).join("")}
2229
2228
  </el-table>
2230
2229
  `;
2231
- }, We = (t, i) => {
2232
- var l, y;
2233
- const s = Oe(t);
2230
+ }, Ue = (t, i) => {
2231
+ var l, x;
2232
+ const s = Ee(t);
2234
2233
  delete s.children;
2235
- const e = Bt({ type: E.eltableCol, options: s }), n = G(e, i), { slots: r } = mt(e, void 0, { s_slots: !0 });
2234
+ const e = Kt({ type: R.eltableCol, options: s }), n = G(e, i), { slots: r } = gt(e, void 0, { s_slots: !0 });
2236
2235
  var u = [
2237
- D("default", X((l = Ae(r.value, "default")) == null ? void 0 : l.widgetList), !1)
2236
+ D("default", X((l = Se(r.value, "default")) == null ? void 0 : l.widgetList), !1)
2238
2237
  ];
2239
2238
  return `
2240
2239
  <el-table-column ${n}>
2241
- ${((y = t == null ? void 0 : t.children) == null ? void 0 : y.map((x) => We(x, i))) || ""}
2240
+ ${((x = t == null ? void 0 : t.children) == null ? void 0 : x.map((y) => Ue(y, i))) || ""}
2242
2241
  ${u}
2243
2242
  </el-table-column>
2244
2243
  `;
2245
- }, zi = (t, i) => {
2246
- const { pictureUploadIconChild: s, uploadTipSlotChild: e } = yt(t), n = G(t, i);
2244
+ }, Fi = (t) => I(t, {
2245
+ tag: "el-time-picker",
2246
+ exProp: "is-range"
2247
+ }), Xi = (t) => I(t, {
2248
+ tag: "el-date-picker",
2249
+ exProp: "is-range"
2250
+ }), Gi = (t, i) => {
2251
+ const { pictureUploadIconChild: s, uploadTipSlotChild: e } = xt(t), n = G(t, i);
2247
2252
  let r = t.options, u = r == null ? void 0 : r.name;
2248
2253
  return `<el-upload
2249
2254
  :file-list="${u}FileList"
@@ -2251,11 +2256,11 @@ const Ui = (t, i) => {
2251
2256
  :data="${u}UploadData"
2252
2257
  list-type="picture-card"
2253
2258
  ${n}>
2254
- ${D(rt.tip, e)}
2255
- ${D(rt.default, s)}
2259
+ ${D(_t.tip, e)}
2260
+ ${D(_t.default, s)}
2256
2261
  </el-upload>`;
2257
- }, qi = (t, i) => {
2258
- const { fileUploadIconChild: s, uploadTipSlotChild: e } = yt(t), n = G(t, i);
2262
+ }, Qi = (t, i) => {
2263
+ const { fileUploadIconChild: s, uploadTipSlotChild: e } = xt(t), n = G(t, i);
2259
2264
  let r = t.options, u = r == null ? void 0 : r.name;
2260
2265
  return `<el-upload
2261
2266
  :file-list="${u}FileList"
@@ -2263,41 +2268,39 @@ const Ui = (t, i) => {
2263
2268
  :data="${u}UploadData"
2264
2269
  list-type="picture-card"
2265
2270
  ${n}>
2266
- ${D(rt.tip, e)}
2267
- ${D(rt.default, s)}
2271
+ ${D(_t.tip, e)}
2272
+ ${D(_t.default, s)}
2268
2273
  </el-upload>`;
2269
- }, Vi = (t) => B(t, {
2274
+ }, Hi = (t) => I(t, {
2270
2275
  tag: "vue-editor"
2271
- }), Fi = (t) => {
2272
- var r;
2276
+ }), Ji = (t) => {
2273
2277
  let i = t.options;
2274
2278
  var s = ["checkStrictly", "multiple", "expandTrigger", "lazy", "emitPath", "hoverThreshold"], e = {};
2275
- s.forEach((u) => {
2276
- (i == null ? void 0 : i[u]) !== void 0 && (e[u] = i == null ? void 0 : i[u]);
2279
+ s.forEach((r) => {
2280
+ (i == null ? void 0 : i[r]) !== void 0 && (e[r] = i == null ? void 0 : i[r]);
2277
2281
  });
2278
2282
  let n = {
2279
2283
  exProp: [
2280
2284
  `:options="${w.getOptions(t, "name")}Options"`,
2281
- `:props="${(r = H(e)) == null ? void 0 : r.replace(new RegExp('"', "gi"), "'")}"`
2285
+ `:props="${ei(J(e), '"', "'")}"`
2282
2286
  ].join(" ")
2283
2287
  };
2284
- return B(t, n);
2285
- }, Xi = (t) => {
2286
- var i = Oe(t);
2287
- const { linkPrefixIcon: s, linkSuffixIcon: e } = yt(i);
2288
- return I.getValue(i.defalut) || I.setValue(i, "default", ` ${s}${w.getOptions(t, "content")}${e}`), B(i);
2289
- }, Gi = (t) => {
2288
+ return I(t, n);
2289
+ }, Zi = (t) => {
2290
+ var i = Ee(t);
2291
+ const { linkPrefixIcon: s, linkSuffixIcon: e } = xt(i);
2292
+ return M.getValue(i.defalut) || M.setValue(i, "default", ` ${s}${w.getOptions(t, "content")}${e}`), I(i);
2293
+ }, Yi = (t) => {
2290
2294
  var e;
2291
2295
  let i = t.options, s = {
2292
- // exContent: arr.join(''),
2293
- exProp: `:preview-src-list=${H((e = I.getValue(i.optionItems)) == null ? void 0 : e.map((n) => n.label))}`
2296
+ exProp: `:preview-src-list=${J((e = M.getValue(i.optionItems)) == null ? void 0 : e.map((n) => n.label))}`
2294
2297
  };
2295
- return B(t, s);
2296
- }, Qi = (t) => {
2298
+ return I(t, s);
2299
+ }, ts = (t) => I(t, { tag: "iframe", autoProp: !0 }), es = (t) => {
2297
2300
  const i = w.getOptions(t, "label"), s = U(t, "");
2298
2301
  return `<router-view name="${i}" :key="$route.fullPath" ${s}></router-view>`;
2299
2302
  };
2300
- function Hi(t) {
2303
+ function is(t) {
2301
2304
  const i = ot(t);
2302
2305
  var s = [
2303
2306
  '<div v-html="item?.content"></div>'
@@ -2308,9 +2311,9 @@ function Hi(t) {
2308
2311
  const n = new W();
2309
2312
  return n.tag = i, n.autoProp = !1, n.exContent = s.join(""), n.exProp = e.join(""), K(t, n);
2310
2313
  }
2311
- const Ji = (t) => {
2314
+ const ss = (t) => {
2312
2315
  t.options;
2313
- const i = Zi(t);
2316
+ const i = ns(t);
2314
2317
  var e = [
2315
2318
  `<div v-html="${w.getOptions(t, "label")}"></div>`,
2316
2319
  D("dropdown", i)
@@ -2318,9 +2321,9 @@ const Ji = (t) => {
2318
2321
  let n = {
2319
2322
  exContent: e.join("")
2320
2323
  };
2321
- return B(t, n);
2324
+ return I(t, n);
2322
2325
  };
2323
- function Zi(t) {
2326
+ function ns(t) {
2324
2327
  const i = ot(t);
2325
2328
  var s = [
2326
2329
  "{{item.label}}"
@@ -2330,7 +2333,7 @@ function Zi(t) {
2330
2333
  const n = new W();
2331
2334
  return n.tag = i, n.autoProp = !1, n.exContent = s.join(""), n.exProp = e.join(""), K(t, n);
2332
2335
  }
2333
- function Yi(t) {
2336
+ function as(t) {
2334
2337
  const i = ot(t);
2335
2338
  var s = [
2336
2339
  D("title", '<span v-html="item?.label"></span>'),
@@ -2342,8 +2345,8 @@ function Yi(t) {
2342
2345
  const n = new W();
2343
2346
  return n.tag = i, n.autoProp = !1, n.exContent = s.join(""), n.exProp = e.join(""), K(t, n);
2344
2347
  }
2345
- const ts = (t) => {
2346
- const i = es(t), s = w.getOptions(t, "title"), e = w.getOptions(t, "extra");
2348
+ const _s = (t) => {
2349
+ const i = rs(t), s = w.getOptions(t, "title"), e = w.getOptions(t, "extra");
2347
2350
  var n = [
2348
2351
  D("title", `${s}`),
2349
2352
  D("extra", `${e}`),
@@ -2352,9 +2355,9 @@ const ts = (t) => {
2352
2355
  let r = {
2353
2356
  exContent: n.join("")
2354
2357
  };
2355
- return B(t, r);
2358
+ return I(t, r);
2356
2359
  };
2357
- function es(t) {
2360
+ function rs(t) {
2358
2361
  const i = ot(t);
2359
2362
  var s = [
2360
2363
  '<div v-html="item?.content"></div>',
@@ -2363,7 +2366,7 @@ function es(t) {
2363
2366
  const e = new W();
2364
2367
  return e.tag = i, e.autoProp = !0, e.exContent = s.join(""), K(t, e);
2365
2368
  }
2366
- function is(t) {
2369
+ function os(t) {
2367
2370
  const i = ot(t);
2368
2371
  var s = [
2369
2372
  `<a :href="item.to" :target="item.replace===true?'_self':'_blank'">{{ item.label }}</a>`
@@ -2371,23 +2374,23 @@ function is(t) {
2371
2374
  const e = new W();
2372
2375
  return e.tag = i, e.autoProp = !1, e.exContent = s.join(""), K(t, e);
2373
2376
  }
2374
- function Ke(t) {
2377
+ function ze(t) {
2375
2378
  if (!(t != null && t.length))
2376
2379
  return "";
2377
- var i = t == null ? void 0 : t.map((s) => ss(s));
2380
+ var i = t == null ? void 0 : t.map((s) => ls(s));
2378
2381
  return i == null ? void 0 : i.join("");
2379
2382
  }
2380
- function ss(t) {
2383
+ function ls(t) {
2381
2384
  var s;
2382
2385
  if (t != null && t.children && ((s = t == null ? void 0 : t.children) == null ? void 0 : s.length) > 0) {
2383
- var i = (t == null ? void 0 : t.menuItemType) === ti.MenuItemGroup ? "el-menu-item-group" : "el-sub-menu";
2386
+ var i = (t == null ? void 0 : t.menuItemType) === si.MenuItemGroup ? "el-menu-item-group" : "el-sub-menu";
2384
2387
  return `
2385
- <${i}>${Ke(t.children)}</${i}>
2388
+ <${i}>${ze(t.children)}</${i}>
2386
2389
  `;
2387
2390
  } else
2388
- return ns(t);
2391
+ return us(t);
2389
2392
  }
2390
- function ns(t) {
2393
+ function us(t) {
2391
2394
  return `
2392
2395
  <el-menu-item>
2393
2396
  <template #title>
@@ -2396,7 +2399,7 @@ function ns(t) {
2396
2399
  </el-menu-item>
2397
2400
  `;
2398
2401
  }
2399
- function as(t) {
2402
+ function ps(t) {
2400
2403
  const i = "el-step";
2401
2404
  var s = [
2402
2405
  D("title", "{{item.label}}"),
@@ -2408,29 +2411,28 @@ function as(t) {
2408
2411
  const n = new W();
2409
2412
  return n.tag = i, n.autoProp = !1, n.exContent = s.join(""), n.exProp = e.join(""), K(t, n);
2410
2413
  }
2411
- const _s = (t) => B(t, { tag: "div", exContent: w.getOptions(t, "content"), autoProp: !1 }), rs = (t) => {
2414
+ const hs = (t) => I(t, { tag: "div", exContent: w.getOptions(t, "content"), autoProp: !1 }), fs = (t) => {
2412
2415
  var i = t == null ? void 0 : t.options;
2413
2416
  return i == null ? void 0 : i.content;
2414
- }, os = (t, i) => B(t, void 0, i), B = (t, i, s) => {
2415
- var N, p, _;
2416
- const e = i == null ? void 0 : i.exContent, n = i == null ? void 0 : i.tag, r = i == null ? void 0 : i.exProp, u = i == null ? void 0 : i.autoProp, o = Xt(t, s);
2417
- let l = u !== !1 ? (p = (N = Object.values(o)) == null ? void 0 : N.filter((h) => !!h)) == null ? void 0 : p.join(" ") : "";
2418
- l = [r || "", l || ""].join(" ");
2419
- const y = w.getOptions(t, "content"), x = w.getOptions(t, "label"), { originSlots: b } = mt(t, void 0, { s_slots: !0 }), v = (_ = b.value) == null ? void 0 : _.map((h) => {
2420
- var k;
2421
- return ((k = h == null ? void 0 : h.widgetList) == null ? void 0 : k.length) > 0 ? bt(h, { wdName: "template", props: `#${h == null ? void 0 : h.slotName}` }) : D(h == null ? void 0 : h.slotName, Ze(h.default) || h.default || ((h == null ? void 0 : h.slotName) == rt.default ? y || x : ""));
2417
+ }, cs = (t, i) => I(t, void 0, i), I = (t, i, s) => {
2418
+ var h, k, O;
2419
+ const e = i == null ? void 0 : i.exContent, n = i == null ? void 0 : i.tag, r = i == null ? void 0 : i.exProp, u = i == null ? void 0 : i.autoProp, o = s == null ? void 0 : s.readonly, l = w.getOptions(t, "content"), x = w.getOptions(t, "label"), y = w.getOptions(t, "name"), b = t == null ? void 0 : t.formItemFlag, v = Qt(t, s);
2420
+ let A = u !== !1 ? (k = (h = Object.values(v)) == null ? void 0 : h.filter((E) => !!E)) == null ? void 0 : k.join(" ") : "";
2421
+ A = [r || "", A || ""].join(" ");
2422
+ const { originSlots: $ } = gt(t, void 0, { s_slots: !0 }), N = (O = $.value) == null ? void 0 : O.map((E) => {
2423
+ var c;
2424
+ return ((c = E == null ? void 0 : E.widgetList) == null ? void 0 : c.length) > 0 ? vt(E, { wdName: "template", props: `#${E == null ? void 0 : E.slotName}` }) : D(E == null ? void 0 : E.slotName, ti(E.default) || E.default || ((E == null ? void 0 : E.slotName) == _t.default ? l || x : ""));
2422
2425
  }).join(" ");
2423
- let A = [e, v].join(" ");
2424
- const $ = n || `el-${t == null ? void 0 : t.type}`;
2425
- return `<${$} ${l}>${A}</${$}>`;
2426
+ let p = [e, N].join(" ");
2427
+ if (o && b)
2428
+ return `<span>{{${y}}}</span>`;
2429
+ const _ = n || `el-${t == null ? void 0 : t.type}`;
2430
+ return `<${_} ${A}>${p}</${_}>`;
2426
2431
  };
2427
2432
  function K(t, i) {
2428
- var n;
2429
- const s = w.getOptions(t, J.optionItems);
2430
- (n = I.getValue(s)) == null || n[0];
2431
- const e = i.autoProp !== !1 ? 'v-bind="item"' : "";
2433
+ const s = i.autoProp !== !1 ? 'v-bind="item"' : "";
2432
2434
  return `
2433
- <${i.tag} v-for="(item, index) in ${w.getOptions(t, "name")}Options" :key="index" ${e || ""} ${i.exProp || ""}>
2435
+ <${i.tag} v-for="(item, index) in ${w.getOptions(t, "name")}Options" :key="index" ${s || ""} ${i.exProp || ""}>
2434
2436
  ${i.exContent || ""}
2435
2437
  </${i.tag}>
2436
2438
  `;
@@ -2438,32 +2440,32 @@ function K(t, i) {
2438
2440
  const ot = (t) => `el-${t == null ? void 0 : t.type}-item`, et = (t) => {
2439
2441
  let i = "";
2440
2442
  switch (t == null ? void 0 : t.type) {
2441
- case E.menu:
2442
- i = Ke(w.getOptions(t, J.optionItems));
2443
+ case R.menu:
2444
+ i = ze(w.getOptions(t, rt.optionItems));
2443
2445
  break;
2444
- case E.collapse:
2445
- i = Yi(t);
2446
+ case R.collapse:
2447
+ i = as(t);
2446
2448
  break;
2447
- case E.breadcrumb:
2448
- i = is(t);
2449
+ case R.breadcrumb:
2450
+ i = os(t);
2449
2451
  break;
2450
- case E.steps:
2451
- i = as(t);
2452
+ case R.steps:
2453
+ i = ps(t);
2452
2454
  break;
2453
- case E.carousel:
2454
- i = Hi(t);
2455
+ case R.carousel:
2456
+ i = is(t);
2455
2457
  break;
2456
2458
  }
2457
- return B(t, { exContent: i });
2459
+ return I(t, { exContent: i });
2458
2460
  };
2459
2461
  function U(t, i = "") {
2460
2462
  const s = t == null ? void 0 : t.options;
2461
2463
  let e = [];
2462
2464
  i && i !== "" && e.push(i);
2463
- const n = I.getValue(s == null ? void 0 : s.customClass);
2465
+ const n = M.getValue(s == null ? void 0 : s.customClass);
2464
2466
  return n && Array.isArray(n) && n.length > 0 && e.push(Array.from(n).join(" ")), e.length > 0 ? `class="${e.join(" ")}"` : "";
2465
2467
  }
2466
- const bt = (t, i) => {
2468
+ const vt = (t, i) => {
2467
2469
  const s = U(t) || "", e = (i == null ? void 0 : i.wdName) || "", n = i == null ? void 0 : i.styleArray, r = (i == null ? void 0 : i.classAttr) || "", u = (i == null ? void 0 : i.props) || "";
2468
2470
  let o = (n == null ? void 0 : n.length) > 0 ? `style="${n == null ? void 0 : n.join(";")}"` : "";
2469
2471
  return e ? `
@@ -2473,65 +2475,59 @@ const bt = (t, i) => {
2473
2475
  ` : `
2474
2476
  ${X(t == null ? void 0 : t.widgetList)}
2475
2477
  `;
2476
- }, ls = () => {
2478
+ }, ds = () => {
2477
2479
  var t = {};
2478
- return t[E.grid + ""] = yi, t[E.table + ""] = wi, t[E.tabs + ""] = Ei, t[E.cont + ""] = $i, t[E.contCell + ""] = Ft, t[E.form + ""] = Ai, t;
2479
- }, us = ls();
2480
- function X(t, i) {
2480
+ return t[R.grid + ""] = Ei, t[R.table + ""] = Ri, t[R.tabs + ""] = Ci, t[R.cont + ""] = ji, t[R.contCell + ""] = Gt, t[R.form + ""] = Pi, t;
2481
+ }, ms = ds(), X = (t, i) => {
2481
2482
  var s = [];
2482
2483
  return t == null || t.forEach((e) => {
2483
- e.category === Ye.container ? s.push(ps(e, i)) : s.push(cs(e, i));
2484
+ e.category === ii.container ? s.push(gs(e, i)) : s.push(ys(e, i));
2484
2485
  }), s.length ? s.join(`
2485
2486
  `) : "";
2486
- }
2487
- function ps(t, i) {
2488
- const s = us[t.type];
2487
+ }, gs = (t, i) => {
2488
+ const s = ms[t.type];
2489
2489
  return s ? s(t, i) : null;
2490
- }
2491
- function G(t, i) {
2490
+ }, G = (t, i) => {
2492
2491
  var e, n;
2493
- const s = Xt(t, i);
2492
+ const s = Qt(t, i);
2494
2493
  return (n = (e = Object.values(s)) == null ? void 0 : e.filter((r) => !!r)) == null ? void 0 : n.join(" ");
2495
- }
2496
- function vt(t, i) {
2494
+ }, yt = (t, i) => {
2497
2495
  var e, n;
2498
- var s = Xt(t, i);
2496
+ var s = Qt(t, i);
2499
2497
  return (n = (e = Object.values(s)) == null ? void 0 : e.filter((r) => !!r)) == null ? void 0 : n.join(" ");
2500
- }
2501
- function Xt(t, i) {
2498
+ }, Qt = (t, i) => {
2502
2499
  var l;
2503
2500
  let s = t.options, e = {};
2504
- const { attrs: n } = mt(t, void 0, { s_attr: !0 });
2501
+ const { attrs: n } = gt(t, void 0, { s_attr: !0 });
2505
2502
  var r = n.value;
2506
- let u = yt(t, i);
2507
- (l = Object.keys(r)) == null || l.map((y) => {
2508
- var x = vi(y), b = I.getValue(s[y]);
2509
- e[y] = u[y] || L(b, x);
2503
+ let u = xt(t, i);
2504
+ (l = Object.keys(r)) == null || l.map((x) => {
2505
+ var y = ai(x), b = M.getValue(s[x]);
2506
+ e[x] = u[x] || j(b, y);
2510
2507
  });
2511
2508
  var o = "vModel";
2512
2509
  return u[o] && (e[o] = u[o]), e;
2513
- }
2514
- function yt(t, i) {
2510
+ }, xt = (t, i) => {
2515
2511
  var n;
2516
2512
  const s = w.getOptions(t, "name"), e = (n = i == null ? void 0 : i.getFieldModel) == null ? void 0 : n.call(i, s);
2517
2513
  return {
2518
2514
  vModel: (t == null ? void 0 : t.formItemFlag) === !0 && e ? `v-model="${e}"` : "",
2519
- defaultFirstOption: L(w.getOptions(t, "filterable") && w.getOptions(t, "allowCreate"), "default-first-option"),
2520
- type: L(w.getOptions(t, "type") === "number" ? "text" : w.getOptions(t, "type"), "type"),
2515
+ defaultFirstOption: j(w.getOptions(t, "filterable") && w.getOptions(t, "allowCreate"), "default-first-option"),
2516
+ type: j(w.getOptions(t, "type") === "number" ? "text" : w.getOptions(t, "type"), "type"),
2521
2517
  // rows: buildProp((!isNone(wop.rows) && !isNaN(wop.rows)) ? wop.rows : '', 'rows'),
2522
- controlsPosition: L(w.getOptions(t, "controlsPosition") === Ht.right ? w.getOptions(t, "controlsPosition") : "", "controls-position"),
2523
- contentPosition: L(w.getOptions(t, "contentPosition") !== Ht.center ? w.getOptions(t, "contentPosition") : "", "content-position"),
2524
- readonly: L(w.getOptions(t, "readonly"), "readonly"),
2518
+ controlsPosition: j(w.getOptions(t, "controlsPosition") === Zt.right ? w.getOptions(t, "controlsPosition") : "", "controls-position"),
2519
+ contentPosition: j(w.getOptions(t, "contentPosition") !== Zt.center ? w.getOptions(t, "contentPosition") : "", "content-position"),
2520
+ readonly: j(w.getOptions(t, "readonly"), "readonly"),
2525
2521
  // disabled: buildProp(wop.disabled, `:disabled="true"`),
2526
2522
  // showWordLimit: buildProp(wop.showWordLimit, `:show-word-limit="true"`),
2527
- rateMax: L(!isNaN(w.getOptions(t, "max") || 0) && w.getOptions(t, "max") !== 5 ? w.getOptions(t, "max") : "", "max"),
2528
- sliderMin: L(w.getOptions(t, "min") !== 0 ? w.getOptions(t, "min") : "", "min"),
2529
- sliderMax: L(w.getOptions(t, "max") !== 100 ? w.getOptions(t, "max") : "", "max"),
2530
- sliderStep: L(w.getOptions(t, "step") !== 1 ? w.getOptions(t, "step") : "", "step"),
2523
+ rateMax: j(!isNaN(w.getOptions(t, "max") || 0) && w.getOptions(t, "max") !== 5 ? w.getOptions(t, "max") : "", "max"),
2524
+ sliderMin: j(w.getOptions(t, "min") !== 0 ? w.getOptions(t, "min") : "", "min"),
2525
+ sliderMax: j(w.getOptions(t, "max") !== 100 ? w.getOptions(t, "max") : "", "max"),
2526
+ sliderStep: j(w.getOptions(t, "step") !== 1 ? w.getOptions(t, "step") : "", "step"),
2531
2527
  // multipleLimit: buildProp((wop.multipleLimit > 0) ? wop.multipleLimit : '', 'multiple-limit'),
2532
- switchWidth: L(w.getOptions(t, "switchWidth") !== 40 ? w.getOptions(t, "switchWidth") : "", "width"),
2533
- lowThreshold: L(w.getOptions(t, "lowThreshold") !== 2 ? w.getOptions(t, "lowThreshold") : "", "low-threshold"),
2534
- highThreshold: L(w.getOptions(t, "highThreshold") !== 4 ? w.getOptions(t, "highThreshold") : "", "high-threshold"),
2528
+ switchWidth: j(w.getOptions(t, "switchWidth") !== 40 ? w.getOptions(t, "switchWidth") : "", "width"),
2529
+ lowThreshold: j(w.getOptions(t, "lowThreshold") !== 2 ? w.getOptions(t, "lowThreshold") : "", "low-threshold"),
2530
+ highThreshold: j(w.getOptions(t, "highThreshold") !== 4 ? w.getOptions(t, "highThreshold") : "", "high-threshold"),
2535
2531
  uploadTipSlotChild: w.getOptions(t, "uploadTip") ? `<div class="el-upload__tip">${w.getOptions(t, "uploadTip")}</div>` : "",
2536
2532
  //!!wop.uploadTip ? `<template #tip><div class="el-upload__tip">${wop.uploadTip}</div></template>` : '',
2537
2533
  // appendButtonChild: !!wop.appendButton ? getSlotTemplate('append', `<el-button class="${wop.buttonIcon}" ${!!wop.appendButtonDisabled ? 'disabled' : ''}></el-button>`) : '',
@@ -2541,72 +2537,91 @@ function yt(t, i) {
2541
2537
  pictureUploadIconChild: ct("plus"),
2542
2538
  fileUploadIconChild: ct("plus")
2543
2539
  };
2544
- }
2545
- function ct(t) {
2546
- return t ? (t + "").trim().startsWith("<svg") ? t : `
2540
+ }, ct = (t) => t ? (t + "").trim().startsWith("<svg") ? t : `
2547
2541
  <el-icon><${t} /></el-icon>
2548
- ` : "";
2549
- }
2550
- function V(t, i, s = ":") {
2551
- return `${s}${t}="${i}"`;
2552
- }
2553
- function D(t, i, s = !1) {
2554
- return (i || s) && t ? `
2542
+ ` : "", V = (t, i, s = ":") => `${s}${t}="${i}"`, D = (t, i, s = !1) => (i || s) && t ? `
2555
2543
  <template #${t}>
2556
2544
  ${i}
2557
2545
  </template>
2558
- ` : "";
2559
- }
2560
- function L(t, i) {
2546
+ ` : "", j = (t, i) => {
2561
2547
  if (t) {
2562
2548
  var s = typeof t;
2563
2549
  if (s == "boolean")
2564
2550
  return V(i, t, ":");
2565
2551
  if (s == "number") {
2566
- if (!Mt(t) && !isNaN(t))
2552
+ if (!Wt(t) && !isNaN(t))
2567
2553
  return V(i, t, ":");
2568
2554
  } else
2569
- return s == "object" ? V(i, H(t), ":") : V(i, t, "");
2555
+ return s == "object" ? V(i, J(t), ":") : V(i, t, "");
2570
2556
  }
2571
2557
  return "";
2572
- }
2573
- const hs = () => {
2558
+ }, bs = () => {
2559
+ var s, e;
2574
2560
  var t = {};
2575
- return Je(E).forEach((i) => {
2576
- t[i.label] = os;
2577
- }), t[E.textarea + ""] = Ni, t[E.radio + ""] = Pi, t[E.checkbox + ""] = ji, t[E.select + ""] = Ii, t[E.pictureUpload + ""] = zi, t[E.fileUpload + ""] = qi, t[E.richEditor + ""] = Vi, t[E.cascader + ""] = Fi, t[E.link + ""] = Xi, t[E.staticText + ""] = _s, t[E.htmlText + ""] = rs, t[E.card + ""] = ki, t[E.router + ""] = Qi, t[E.descriptions + ""] = ts, t[E.dropdown + ""] = Ji, t[E.image + ""] = Gi, t[E.eltable + ""] = Ui, t[E.carousel + ""] = et, t[E.steps + ""] = et, t[E.collapse + ""] = et, t[E.breadcrumb + ""] = et, t[E.menu + ""] = et, t;
2578
- }, fs = hs();
2579
- function cs(t, i) {
2580
- const s = fs[t.type];
2581
- return ` ${s ? s(t, i) : null}`;
2582
- }
2583
- function ds(t, i = !1) {
2584
- const s = Wt(t), e = Xe(s, !0);
2561
+ (s = Ye(R)) == null || s.filter((n) => ![R.range, R.multirow].includes(n.label)).forEach((n) => {
2562
+ t[n.label] = cs;
2563
+ });
2564
+ const i = {
2565
+ [R.textarea]: Li,
2566
+ [R.radio]: Di,
2567
+ [R.checkbox]: Mi,
2568
+ [R.select]: Wi,
2569
+ [R.richEditor]: Hi,
2570
+ [R.pictureUpload]: Gi,
2571
+ [R.fileUpload]: Qi,
2572
+ [R.cascader]: Ji,
2573
+ [R.timePickerRange]: Fi,
2574
+ [R.datePickerRange]: Xi,
2575
+ [R.link]: Zi,
2576
+ [R.staticText]: hs,
2577
+ [R.htmlText]: fs,
2578
+ [R.eltable]: Vi,
2579
+ [R.card]: $i,
2580
+ [R.router]: es,
2581
+ [R.descriptions]: _s,
2582
+ [R.dropdown]: ss,
2583
+ [R.image]: Yi,
2584
+ [R.iframe]: ts,
2585
+ [R.carousel]: et,
2586
+ [R.steps]: et,
2587
+ [R.collapse]: et,
2588
+ [R.breadcrumb]: et,
2589
+ [R.menu]: et
2590
+ };
2591
+ return (e = H(i)) == null || e.forEach((n) => {
2592
+ t[n] = i[n];
2593
+ }), t;
2594
+ }, vs = bs(), ys = (t, i, s = !1) => {
2595
+ const e = vs[t.type];
2596
+ return `
2597
+ ${e ? e(t, i, s) : ""}
2598
+ `;
2599
+ }, xs = (t, i = !1) => {
2600
+ const s = Ft(t), e = Qe(s, !0);
2585
2601
  var r = X(t, {
2586
2602
  getFieldModel: (u) => {
2587
2603
  var o;
2588
2604
  return (o = e == null ? void 0 : e.find((l) => l.key === u)) == null ? void 0 : o.path;
2589
- }
2605
+ },
2606
+ readonly: i
2590
2607
  });
2591
2608
  return r;
2592
- }
2593
- const ms = function(t) {
2609
+ }, ws = function(t) {
2594
2610
  return `
2595
- ${I.getValue(t == null ? void 0 : t.cssCode) || ""}
2611
+ ${M.getValue(t == null ? void 0 : t.cssCode) || ""}
2596
2612
  `;
2597
- }, gs = function(t, i = !1) {
2613
+ }, Os = function(t, i, s = !1) {
2598
2614
  return "";
2599
- }, Ps = (t, i, s = !1) => {
2600
- var e = ds(i, s), n = s ? ai(t, i) : ni(t, i), r = ms(t), u = gs(t, s);
2601
- const o = ft(q.html, e), l = ft(q.javascript, n), y = ft(q.css, r), x = ft(q.css, u);
2615
+ }, Bs = (t, i, s = !1, e = !1, n = {}) => {
2616
+ var r = xs(i, e), u = s ? wi(t, i, n) : xi(t, i, n), o = ws(t), l = Os(t, i, s);
2617
+ const x = ft(q.html, r), y = ft(q.javascript, u), b = ft(q.css, o), v = ft(q.css, l);
2602
2618
  return `
2603
- ${F(o, "<template>", "</template>", void 0, !0)}
2604
- ${F(l, `<script${s ? " setup" : ""}>`, "<\/script>", void 0, !0)}
2605
-
2606
- ${F(y, "<style>", "</style>", void 0, !0)}
2607
- ${F(x, "<style scoped>", "</style>", void 0, !0)}
2619
+ ${F(x, "<template>", "</template>", void 0, !0)}
2620
+ ${F(y, `<script${s ? " setup" : ""}>`, "<\/script>", void 0, !0)}
2621
+ ${F(b, "<style>", "</style>", void 0, !0)}
2622
+ ${F(v, "<style scoped>", "</style>", void 0, !0)}
2608
2623
  `;
2609
2624
  };
2610
2625
  export {
2611
- Ps as genSFC
2626
+ Bs as genSFC
2612
2627
  };