exploria-ui 2026.6.16 → 2026.7.7

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 (126) hide show
  1. package/README.md +105 -108
  2. package/dist/components/advanced/EParallaxScrolling/EParallaxScrolling.vue.d.ts +9 -5
  3. package/dist/components/basic/EBadge/EBadge.vue.d.ts +1 -0
  4. package/dist/components/data/ECalendar.vue.d.ts +3 -1
  5. package/dist/components/data/ECarousel/ECarousel.vue.d.ts +4 -0
  6. package/dist/components/data/ESteps/EStepItem.vue.d.ts +40 -0
  7. package/dist/components/data/ESteps/ESteps.vue.d.ts +30 -0
  8. package/dist/components/data/EWaterfall/EWaterfall.vue.d.ts +33 -0
  9. package/dist/components/feedback/EDialog/EDialog.vue.d.ts +6 -5
  10. package/dist/components/feedback/EDrawer/EDrawer.vue.d.ts +2 -2
  11. package/dist/components/feedback/EMessage/EMessage.d.ts +6 -4
  12. package/dist/components/feedback/EMessageBox/EMessageBox.d.ts +16 -2
  13. package/dist/components/feedback/EMessageBox/EMessageBox.vue.d.ts +3 -2
  14. package/dist/components/feedback/ENotification/ENotification.d.ts +3 -4
  15. package/dist/components/feedback/ENotification/ENotification.vue.d.ts +1 -0
  16. package/dist/components/feedback/ETooltip.vue.d.ts +6 -1
  17. package/dist/components/form/EColorPicker.vue.d.ts +2 -0
  18. package/dist/components/form/EFileSelector.vue.d.ts +3 -4
  19. package/dist/components/geometry/ECube.vue.d.ts +4 -1
  20. package/dist/components/hooks/useLiquidGlass.d.ts +26 -0
  21. package/dist/components/hooks/useZIndex.d.ts +6 -0
  22. package/dist/components/index.d.ts +2 -1
  23. package/dist/components/index.js +52 -51
  24. package/dist/components/layout/EDivider.vue.d.ts +20 -1
  25. package/dist/directives/ESlideIn.d.ts +2 -1
  26. package/dist/index.css +1 -1
  27. package/dist/node_modules/.pnpm/@intlify_core-base@11.3.0/node_modules/@intlify/core-base/dist/core-base.js +831 -0
  28. package/dist/node_modules/.pnpm/@intlify_core-base@11.4.6/node_modules/@intlify/core-base/dist/core-base.js +835 -0
  29. package/dist/node_modules/.pnpm/@intlify_message-compiler@11.3.0/node_modules/@intlify/message-compiler/dist/message-compiler.js +771 -0
  30. package/dist/node_modules/.pnpm/@intlify_message-compiler@11.4.6/node_modules/@intlify/message-compiler/dist/message-compiler.js +771 -0
  31. package/dist/node_modules/.pnpm/@intlify_shared@11.3.0/node_modules/@intlify/shared/dist/shared.js +105 -0
  32. package/dist/node_modules/.pnpm/@intlify_shared@11.4.6/node_modules/@intlify/shared/dist/shared.js +130 -0
  33. package/dist/node_modules/.pnpm/sortablejs@1.15.7/node_modules/sortablejs/modular/sortable.esm.js +2 -1
  34. package/dist/node_modules/.pnpm/{three@0.180.0 → three@0.184.0}/node_modules/three/examples/jsm/controls/OrbitControls.js +26 -5
  35. package/dist/node_modules/.pnpm/{three@0.180.0 → three@0.184.0}/node_modules/three/examples/jsm/curves/NURBSCurve.js +1 -1
  36. package/dist/node_modules/.pnpm/{three@0.180.0 → three@0.184.0}/node_modules/three/examples/jsm/curves/NURBSUtils.js +1 -1
  37. package/dist/node_modules/.pnpm/{three@0.180.0 → three@0.184.0}/node_modules/three/examples/jsm/libs/fflate.module.js +1 -1
  38. package/dist/node_modules/.pnpm/{three@0.180.0 → three@0.184.0}/node_modules/three/examples/jsm/loaders/FBXLoader.js +173 -121
  39. package/dist/node_modules/.pnpm/{three@0.180.0 → three@0.184.0}/node_modules/three/examples/jsm/loaders/FontLoader.js +14 -13
  40. package/dist/node_modules/.pnpm/{three@0.180.0 → three@0.184.0}/node_modules/three/examples/jsm/loaders/GLTFLoader.js +306 -308
  41. package/dist/node_modules/.pnpm/{three@0.180.0 → three@0.184.0}/node_modules/three/examples/jsm/utils/BufferGeometryUtils.js +1 -1
  42. package/dist/node_modules/.pnpm/three@0.184.0/node_modules/three/examples/jsm/utils/SkeletonUtils.js +20 -0
  43. package/dist/node_modules/.pnpm/three@0.185.0/node_modules/three/examples/jsm/controls/OrbitControls.js +445 -0
  44. package/dist/node_modules/.pnpm/three@0.185.0/node_modules/three/examples/jsm/curves/NURBSCurve.js +31 -0
  45. package/dist/node_modules/.pnpm/three@0.185.0/node_modules/three/examples/jsm/curves/NURBSUtils.js +115 -0
  46. package/dist/node_modules/.pnpm/three@0.185.0/node_modules/three/examples/jsm/libs/fflate.module.js +250 -0
  47. package/dist/node_modules/.pnpm/three@0.185.0/node_modules/three/examples/jsm/loaders/FBXLoader.js +1437 -0
  48. package/dist/node_modules/.pnpm/three@0.185.0/node_modules/three/examples/jsm/loaders/FontLoader.js +70 -0
  49. package/dist/node_modules/.pnpm/three@0.185.0/node_modules/three/examples/jsm/loaders/GLTFLoader.js +1344 -0
  50. package/dist/node_modules/.pnpm/three@0.185.0/node_modules/three/examples/jsm/utils/BufferGeometryUtils.js +23 -0
  51. package/dist/node_modules/.pnpm/three@0.185.0/node_modules/three/examples/jsm/utils/SkeletonUtils.js +20 -0
  52. package/dist/node_modules/.pnpm/vue-i18n@11.3.0_vue@3.6.0-beta.9_typescript@5.9.3_/node_modules/vue-i18n/dist/vue-i18n.js +518 -0
  53. package/dist/node_modules/.pnpm/vue-i18n@11.4.6_vue@3.6.0-beta.17_typescript@5.9.3_/node_modules/vue-i18n/dist/vue-i18n.js +540 -0
  54. package/dist/packages/exploria-ui/src/components/advanced/EParallaxScrolling/EParallaxScrolling.vue.js +1 -1
  55. package/dist/packages/exploria-ui/src/components/advanced/EParallaxScrolling/EParallaxScrolling.vue_vue_type_script_setup_true_lang.js +78 -31
  56. package/dist/packages/exploria-ui/src/components/advanced/ERollingFollow/ERollingFollow.vue.js +3 -3
  57. package/dist/packages/exploria-ui/src/components/basic/EBadge/EBadge.vue.js +1 -1
  58. package/dist/packages/exploria-ui/src/components/basic/EBadge/EBadge.vue_vue_type_script_setup_true_lang.js +25 -17
  59. package/dist/packages/exploria-ui/src/components/basic/ECard/ECard.vue.js +1 -1
  60. package/dist/packages/exploria-ui/src/components/data/ECalendar.vue.js +1 -1
  61. package/dist/packages/exploria-ui/src/components/data/ECalendar.vue_vue_type_script_setup_true_lang.js +64 -34
  62. package/dist/packages/exploria-ui/src/components/data/ECarousel/ECarousel.vue.js +1 -1
  63. package/dist/packages/exploria-ui/src/components/data/ECarousel/ECarousel.vue_vue_type_script_setup_true_lang.js +125 -51
  64. package/dist/packages/exploria-ui/src/components/data/ECodeCollapse/ECodeCollapse.vue.js +1 -1
  65. package/dist/packages/exploria-ui/src/components/data/ECollapse/ECollapse.vue.js +1 -1
  66. package/dist/packages/exploria-ui/src/components/data/ECollapse/ECollapse.vue_vue_type_script_setup_true_lang.js +11 -12
  67. package/dist/packages/exploria-ui/src/components/data/EMediaViewer/EMediaViewer.js +47 -22
  68. package/dist/packages/exploria-ui/src/components/data/EMediaViewer/EMediaViewer.vue.js +1 -1
  69. package/dist/packages/exploria-ui/src/components/data/EMediaViewer/EMediaViewer.vue_vue_type_script_setup_true_lang.js +180 -39
  70. package/dist/packages/exploria-ui/src/components/data/EProgress.vue_vue_type_script_setup_true_lang.js +1 -1
  71. package/dist/packages/exploria-ui/src/components/data/ESteps/EStepItem.vue.js +7 -0
  72. package/dist/packages/exploria-ui/src/components/data/ESteps/EStepItem.vue_vue_type_script_setup_true_lang.js +144 -0
  73. package/dist/packages/exploria-ui/src/components/data/ESteps/ESteps.vue.js +7 -0
  74. package/dist/packages/exploria-ui/src/components/data/ESteps/ESteps.vue_vue_type_script_setup_true_lang.js +25 -0
  75. package/dist/packages/exploria-ui/src/components/data/ETable/ETable.vue.js +1 -1
  76. package/dist/packages/exploria-ui/src/components/data/EWaterfall/EWaterfall.vue.js +7 -0
  77. package/dist/packages/exploria-ui/src/components/data/EWaterfall/EWaterfall.vue_vue_type_script_setup_true_lang.js +68 -0
  78. package/dist/packages/exploria-ui/src/components/feedback/EDialog/EDialog.vue.js +1 -1
  79. package/dist/packages/exploria-ui/src/components/feedback/EDialog/EDialog.vue_vue_type_script_setup_true_lang.js +86 -48
  80. package/dist/packages/exploria-ui/src/components/feedback/EDrawer/EDrawer.vue.js +1 -1
  81. package/dist/packages/exploria-ui/src/components/feedback/EDrawer/EDrawer.vue_vue_type_script_setup_true_lang.js +47 -45
  82. package/dist/packages/exploria-ui/src/components/feedback/EMessage/EMessage.js +81 -32
  83. package/dist/packages/exploria-ui/src/components/feedback/EMessage/EMessage.vue.js +1 -1
  84. package/dist/packages/exploria-ui/src/components/feedback/EMessageBox/EMessageBox.js +96 -19
  85. package/dist/packages/exploria-ui/src/components/feedback/EMessageBox/EMessageBox.vue.js +1 -1
  86. package/dist/packages/exploria-ui/src/components/feedback/EMessageBox/EMessageBox.vue_vue_type_script_setup_true_lang.js +48 -25
  87. package/dist/packages/exploria-ui/src/components/feedback/ENotification/ENotification.js +99 -92
  88. package/dist/packages/exploria-ui/src/components/feedback/ENotification/ENotification.vue.js +1 -1
  89. package/dist/packages/exploria-ui/src/components/feedback/ENotification/ENotification.vue_vue_type_script_setup_true_lang.js +41 -31
  90. package/dist/packages/exploria-ui/src/components/feedback/EPopover.vue.js +1 -1
  91. package/dist/packages/exploria-ui/src/components/feedback/EPopover.vue_vue_type_script_setup_true_lang.js +48 -46
  92. package/dist/packages/exploria-ui/src/components/feedback/ETooltip.vue.js +1 -1
  93. package/dist/packages/exploria-ui/src/components/feedback/ETooltip.vue_vue_type_script_setup_true_lang.js +44 -36
  94. package/dist/packages/exploria-ui/src/components/form/EColorPicker.vue.js +1 -1
  95. package/dist/packages/exploria-ui/src/components/form/EColorPicker.vue_vue_type_script_setup_true_lang.js +209 -101
  96. package/dist/packages/exploria-ui/src/components/form/EConditionGroup/EConditionGroup.vue.js +1 -1
  97. package/dist/packages/exploria-ui/src/components/form/EConditionGroup/EConditionGroup.vue_vue_type_script_setup_true_lang.js +34 -32
  98. package/dist/packages/exploria-ui/src/components/form/EFileSelector.vue.js +1 -1
  99. package/dist/packages/exploria-ui/src/components/form/EFileSelector.vue_vue_type_script_setup_true_lang.js +43 -16
  100. package/dist/packages/exploria-ui/src/components/form/EFormItem.vue.js +1 -1
  101. package/dist/packages/exploria-ui/src/components/form/EInput/EInput.vue.js +1 -1
  102. package/dist/packages/exploria-ui/src/components/form/EInput/EInput.vue_vue_type_script_setup_true_lang.js +67 -79
  103. package/dist/packages/exploria-ui/src/components/form/ERadio.vue.js +1 -1
  104. package/dist/packages/exploria-ui/src/components/form/ESelect/ESelect.vue.js +1 -1
  105. package/dist/packages/exploria-ui/src/components/form/ESelect/ESelect.vue_vue_type_script_setup_true_lang.js +49 -47
  106. package/dist/packages/exploria-ui/src/components/geometry/ECube.vue.js +3 -7
  107. package/dist/packages/exploria-ui/src/components/geometry/ECube.vue_vue_type_script_setup_true_lang.js +11 -0
  108. package/dist/packages/exploria-ui/src/components/hooks/useLiquidGlass.js +63 -0
  109. package/dist/packages/exploria-ui/src/components/hooks/useZIndex.js +15 -0
  110. package/dist/packages/exploria-ui/src/components/layout/EDivider.vue.js +3 -5
  111. package/dist/packages/exploria-ui/src/components/layout/EDivider.vue_vue_type_script_setup_true_lang.js +33 -10
  112. package/dist/packages/exploria-ui/src/components/layout/EScrollbar.vue_vue_type_script_setup_true_lang.js +1 -1
  113. package/dist/packages/exploria-ui/src/components/navigation/EDropdown.vue.js +1 -1
  114. package/dist/packages/exploria-ui/src/components/navigation/EDropdown.vue_vue_type_script_setup_true_lang.js +53 -51
  115. package/dist/packages/exploria-ui/src/components/navigation/ETabs/ETabs.vue.js +1 -1
  116. package/dist/packages/exploria-ui/src/components/navigation/ETabs/ETabs.vue_vue_type_script_setup_true_lang.js +5 -5
  117. package/dist/packages/exploria-ui/src/utils/EDomUtil.js +11 -11
  118. package/dist/packages/exploria-ui/src/utils/EEventBus.js +16 -0
  119. package/dist/packages/exploria-ui/src/utils/EJSONUtil.js +12 -0
  120. package/dist/packages/exploria-ui/src/utils/EThreeUtil.js +4 -4
  121. package/dist/packages/exploria-ui/src/utils/ETimeUtil.js +21 -0
  122. package/dist/plugins/ESvgSpriteBuilder.d.ts +1 -1
  123. package/dist/plugins/index.js +44 -44
  124. package/dist/utils/index.d.ts +6 -0
  125. package/dist/utils/index.js +13 -7
  126. package/package.json +3 -3
@@ -0,0 +1,771 @@
1
+ import { assign as e, format as t, isString as n, join as r } from "../../../../../@intlify_shared@11.4.6/node_modules/@intlify/shared/dist/shared.js";
2
+ //#region ../../node_modules/.pnpm/@intlify+message-compiler@11.4.6/node_modules/@intlify/message-compiler/dist/message-compiler.mjs
3
+ function i(e, t, n) {
4
+ return {
5
+ line: e,
6
+ column: t,
7
+ offset: n
8
+ };
9
+ }
10
+ function a(e, t, n) {
11
+ let r = {
12
+ start: e,
13
+ end: t
14
+ };
15
+ return n != null && (r.source = n), r;
16
+ }
17
+ var o = {
18
+ EXPECTED_TOKEN: 1,
19
+ INVALID_TOKEN_IN_PLACEHOLDER: 2,
20
+ UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER: 3,
21
+ UNKNOWN_ESCAPE_SEQUENCE: 4,
22
+ INVALID_UNICODE_ESCAPE_SEQUENCE: 5,
23
+ UNBALANCED_CLOSING_BRACE: 6,
24
+ UNTERMINATED_CLOSING_BRACE: 7,
25
+ EMPTY_PLACEHOLDER: 8,
26
+ NOT_ALLOW_NEST_PLACEHOLDER: 9,
27
+ INVALID_LINKED_FORMAT: 10,
28
+ MUST_HAVE_MESSAGES_IN_PLURAL: 11,
29
+ UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
30
+ UNEXPECTED_EMPTY_LINKED_KEY: 13,
31
+ UNEXPECTED_LEXICAL_ANALYSIS: 14,
32
+ UNHANDLED_CODEGEN_NODE_TYPE: 15,
33
+ UNHANDLED_MINIFIER_NODE_TYPE: 16
34
+ }, s = {
35
+ [o.EXPECTED_TOKEN]: "Expected token: '{0}'",
36
+ [o.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
37
+ [o.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
38
+ [o.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
39
+ [o.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
40
+ [o.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
41
+ [o.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
42
+ [o.EMPTY_PLACEHOLDER]: "Empty placeholder",
43
+ [o.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
44
+ [o.INVALID_LINKED_FORMAT]: "Invalid linked format",
45
+ [o.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
46
+ [o.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
47
+ [o.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
48
+ [o.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
49
+ [o.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
50
+ [o.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
51
+ };
52
+ function c(e, n, r = {}) {
53
+ let { domain: i, messages: a, args: o } = r, c = process.env.NODE_ENV === "production" ? e : t((a || s)[e] || "", ...o || []), l = SyntaxError(String(c));
54
+ return l.code = e, n && (l.location = n), l.domain = i, l;
55
+ }
56
+ function l(e) {
57
+ throw e;
58
+ }
59
+ var u = /<\/?[\w\s="/.':;#-\/]+>/, d = (e) => u.test(e), f = " ", p = "\r", m = "\n", h = "\u2028", g = "\u2029";
60
+ function _(e) {
61
+ let t = e, n = 0, r = 1, i = 1, a = 0, o = (e) => t[e] === p && t[e + 1] === m, s = (e) => t[e] === m, c = (e) => t[e] === g, l = (e) => t[e] === h, u = (e) => o(e) || s(e) || c(e) || l(e), d = () => n, f = () => r, _ = () => i, v = () => a, y = (e) => o(e) || c(e) || l(e) ? m : t[e], b = () => y(n), x = () => y(n + a);
62
+ function S() {
63
+ return a = 0, u(n) && (r++, i = 0), o(n) && n++, n++, i++, t[n];
64
+ }
65
+ function C() {
66
+ return o(n + a) && a++, a++, t[n + a];
67
+ }
68
+ function w() {
69
+ n = 0, r = 1, i = 1, a = 0;
70
+ }
71
+ function T(e = 0) {
72
+ a = e;
73
+ }
74
+ function E() {
75
+ let e = n + a;
76
+ for (; e !== n;) S();
77
+ a = 0;
78
+ }
79
+ return {
80
+ index: d,
81
+ line: f,
82
+ column: _,
83
+ peekOffset: v,
84
+ charAt: y,
85
+ currentChar: b,
86
+ currentPeek: x,
87
+ next: S,
88
+ peek: C,
89
+ reset: w,
90
+ resetPeek: T,
91
+ skipToPeek: E
92
+ };
93
+ }
94
+ var v = void 0, y = "'", b = "tokenizer";
95
+ function x(e, t = {}) {
96
+ let n = t.location !== !1, r = _(e), s = () => r.index(), l = () => i(r.line(), r.column(), r.index()), u = l(), d = s(), p = {
97
+ currentType: 13,
98
+ offset: d,
99
+ startLoc: u,
100
+ endLoc: u,
101
+ lastType: 13,
102
+ lastOffset: d,
103
+ lastStartLoc: u,
104
+ lastEndLoc: u,
105
+ braceNest: 0,
106
+ inLinked: !1,
107
+ text: ""
108
+ }, h = () => p, { onError: g } = t;
109
+ function x(e, t, r, ...i) {
110
+ let o = h();
111
+ t.column += r, t.offset += r, g && g(c(e, n ? a(o.startLoc, t) : null, {
112
+ domain: b,
113
+ args: i
114
+ }));
115
+ }
116
+ function S(e, t, r) {
117
+ e.endLoc = l(), e.currentType = t;
118
+ let i = { type: t };
119
+ return n && (i.loc = a(e.startLoc, e.endLoc)), r != null && (i.value = r), i;
120
+ }
121
+ let C = (e) => S(e, 13);
122
+ function w(e, t) {
123
+ return e.currentChar() === t ? (e.next(), t) : (x(o.EXPECTED_TOKEN, l(), 0, t), "");
124
+ }
125
+ function T(e) {
126
+ let t = "";
127
+ for (; e.currentPeek() === f || e.currentPeek() === m;) t += e.currentPeek(), e.peek();
128
+ return t;
129
+ }
130
+ function E(e) {
131
+ let t = T(e);
132
+ return e.skipToPeek(), t;
133
+ }
134
+ function D(e) {
135
+ if (e === v) return !1;
136
+ let t = e.charCodeAt(0);
137
+ return t >= 97 && t <= 122 || t >= 65 && t <= 90 || t === 95;
138
+ }
139
+ function O(e) {
140
+ if (e === v) return !1;
141
+ let t = e.charCodeAt(0);
142
+ return t >= 48 && t <= 57;
143
+ }
144
+ function k(e, t) {
145
+ let { currentType: n } = t;
146
+ if (n !== 2) return !1;
147
+ T(e);
148
+ let r = D(e.currentPeek());
149
+ return e.resetPeek(), r;
150
+ }
151
+ function A(e, t) {
152
+ let { currentType: n } = t;
153
+ if (n !== 2) return !1;
154
+ T(e);
155
+ let r = O(e.currentPeek() === "-" ? e.peek() : e.currentPeek());
156
+ return e.resetPeek(), r;
157
+ }
158
+ function j(e, t) {
159
+ let { currentType: n } = t;
160
+ if (n !== 2) return !1;
161
+ T(e);
162
+ let r = e.currentPeek() === y;
163
+ return e.resetPeek(), r;
164
+ }
165
+ function M(e, t) {
166
+ let { currentType: n } = t;
167
+ if (n !== 7) return !1;
168
+ T(e);
169
+ let r = e.currentPeek() === ".";
170
+ return e.resetPeek(), r;
171
+ }
172
+ function N(e, t) {
173
+ let { currentType: n } = t;
174
+ if (n !== 8) return !1;
175
+ T(e);
176
+ let r = D(e.currentPeek());
177
+ return e.resetPeek(), r;
178
+ }
179
+ function P(e, t) {
180
+ let { currentType: n } = t;
181
+ if (!(n === 7 || n === 11)) return !1;
182
+ T(e);
183
+ let r = e.currentPeek() === ":";
184
+ return e.resetPeek(), r;
185
+ }
186
+ function F(e, t) {
187
+ let { currentType: n } = t;
188
+ if (n !== 9) return !1;
189
+ let r = () => {
190
+ let t = e.currentPeek();
191
+ return t === "{" ? D(e.peek()) : t === "@" || t === "|" || t === ":" || t === "." || t === f || !t ? !1 : t === m ? (e.peek(), r()) : L(e, !1);
192
+ }, i = r();
193
+ return e.resetPeek(), i;
194
+ }
195
+ function I(e) {
196
+ T(e);
197
+ let t = e.currentPeek() === "|";
198
+ return e.resetPeek(), t;
199
+ }
200
+ function L(e, t = !0) {
201
+ let n = (t = !1, r = "") => {
202
+ let i = e.currentPeek();
203
+ return i === "{" || i === "@" || !i ? t : i === "|" ? !(r === f || r === m) : i === f ? (e.peek(), n(!0, f)) : i === m ? (e.peek(), n(!0, m)) : !0;
204
+ }, r = n();
205
+ return t && e.resetPeek(), r;
206
+ }
207
+ function R(e, t) {
208
+ let n = e.currentChar();
209
+ if (n !== v) return t(n) ? (e.next(), n) : null;
210
+ }
211
+ function z(e) {
212
+ let t = e.charCodeAt(0);
213
+ return t >= 97 && t <= 122 || t >= 65 && t <= 90 || t >= 48 && t <= 57 || t === 95 || t === 36;
214
+ }
215
+ function B(e) {
216
+ return R(e, z);
217
+ }
218
+ function V(e) {
219
+ let t = e.charCodeAt(0);
220
+ return t >= 97 && t <= 122 || t >= 65 && t <= 90 || t >= 48 && t <= 57 || t === 95 || t === 36 || t === 45;
221
+ }
222
+ function H(e) {
223
+ return R(e, V);
224
+ }
225
+ function U(e) {
226
+ let t = e.charCodeAt(0);
227
+ return t >= 48 && t <= 57;
228
+ }
229
+ function W(e) {
230
+ return R(e, U);
231
+ }
232
+ function G(e) {
233
+ let t = e.charCodeAt(0);
234
+ return t >= 48 && t <= 57 || t >= 65 && t <= 70 || t >= 97 && t <= 102;
235
+ }
236
+ function K(e) {
237
+ return R(e, G);
238
+ }
239
+ function q(e) {
240
+ let t = "", n = "";
241
+ for (; t = W(e);) n += t;
242
+ return n;
243
+ }
244
+ function ee(e) {
245
+ let t = "";
246
+ for (;;) {
247
+ let n = e.currentChar();
248
+ if (n === "\\") {
249
+ let r = e.peek();
250
+ r === "{" || r === "}" || r === "@" || r === "|" || r === "\\" ? (t += n + r, e.next(), e.next()) : (e.resetPeek(), t += n, e.next());
251
+ } else if (n === "{" || n === "}" || n === "@" || n === "|" || !n) break;
252
+ else if (n === f || n === m) if (L(e)) t += n, e.next();
253
+ else if (I(e)) break;
254
+ else t += n, e.next();
255
+ else t += n, e.next();
256
+ }
257
+ return t;
258
+ }
259
+ function te(e) {
260
+ E(e);
261
+ let t = "", n = "";
262
+ for (; t = H(e);) n += t;
263
+ let r = e.currentChar();
264
+ if (r && r !== "}" && r !== v && r !== f && r !== m && r !== " ") {
265
+ let t = Y(e);
266
+ return x(o.INVALID_TOKEN_IN_PLACEHOLDER, l(), 0, n + t), n + t;
267
+ }
268
+ return e.currentChar() === v && x(o.UNTERMINATED_CLOSING_BRACE, l(), 0), n;
269
+ }
270
+ function ne(e) {
271
+ E(e);
272
+ let t = "";
273
+ return e.currentChar() === "-" ? (e.next(), t += `-${q(e)}`) : t += q(e), e.currentChar() === v && x(o.UNTERMINATED_CLOSING_BRACE, l(), 0), t;
274
+ }
275
+ function re(e) {
276
+ return e !== y && e !== m;
277
+ }
278
+ function ie(e) {
279
+ E(e), w(e, "'");
280
+ let t = "", n = "";
281
+ for (; t = R(e, re);) t === "\\" ? n += ae(e) : n += t;
282
+ let r = e.currentChar();
283
+ return r === m || r === v ? (x(o.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, l(), 0), r === m && (e.next(), w(e, "'")), n) : (w(e, "'"), n);
284
+ }
285
+ function ae(e) {
286
+ let t = e.currentChar();
287
+ switch (t) {
288
+ case "\\":
289
+ case "'": return e.next(), `\\${t}`;
290
+ case "u": return J(e, t, 4);
291
+ case "U": return J(e, t, 6);
292
+ default: return x(o.UNKNOWN_ESCAPE_SEQUENCE, l(), 0, t), "";
293
+ }
294
+ }
295
+ function J(e, t, n) {
296
+ w(e, t);
297
+ let r = "";
298
+ for (let i = 0; i < n; i++) {
299
+ let n = K(e);
300
+ if (!n) {
301
+ x(o.INVALID_UNICODE_ESCAPE_SEQUENCE, l(), 0, `\\${t}${r}${e.currentChar()}`);
302
+ break;
303
+ }
304
+ r += n;
305
+ }
306
+ return `\\${t}${r}`;
307
+ }
308
+ function oe(e) {
309
+ return e !== "{" && e !== "}" && e !== f && e !== m;
310
+ }
311
+ function Y(e) {
312
+ E(e);
313
+ let t = "", n = "";
314
+ for (; t = R(e, oe);) n += t;
315
+ return n;
316
+ }
317
+ function se(e) {
318
+ let t = "", n = "";
319
+ for (; t = B(e);) n += t;
320
+ return n;
321
+ }
322
+ function ce(e) {
323
+ let t = (n) => {
324
+ let r = e.currentChar();
325
+ return r === "{" || r === "@" || r === "|" || r === "(" || r === ")" || !r || r === f ? n : (n += r, e.next(), t(n));
326
+ };
327
+ return t("");
328
+ }
329
+ function X(e) {
330
+ E(e);
331
+ let t = w(e, "|");
332
+ return E(e), t;
333
+ }
334
+ function Z(e, t) {
335
+ let n = null;
336
+ switch (e.currentChar()) {
337
+ case "{": return t.braceNest >= 1 && x(o.NOT_ALLOW_NEST_PLACEHOLDER, l(), 0), e.next(), n = S(t, 2, "{"), E(e), t.braceNest++, n;
338
+ case "}": return t.braceNest > 0 && t.currentType === 2 && x(o.EMPTY_PLACEHOLDER, l(), 0), e.next(), n = S(t, 3, "}"), t.braceNest--, t.braceNest > 0 && E(e), t.inLinked && t.braceNest === 0 && (t.inLinked = !1), n;
339
+ case "@": return t.braceNest > 0 && x(o.UNTERMINATED_CLOSING_BRACE, l(), 0), n = Q(e, t) || C(t), t.braceNest = 0, n;
340
+ default: {
341
+ let r = !0, i = !0, a = !0;
342
+ if (I(e)) return t.braceNest > 0 && x(o.UNTERMINATED_CLOSING_BRACE, l(), 0), n = S(t, 1, X(e)), t.braceNest = 0, t.inLinked = !1, n;
343
+ if (t.braceNest > 0 && (t.currentType === 4 || t.currentType === 5 || t.currentType === 6)) return x(o.UNTERMINATED_CLOSING_BRACE, l(), 0), t.braceNest = 0, $(e, t);
344
+ if (r = k(e, t)) return n = S(t, 4, te(e)), E(e), n;
345
+ if (i = A(e, t)) return n = S(t, 5, ne(e)), E(e), n;
346
+ if (a = j(e, t)) return n = S(t, 6, ie(e)), E(e), n;
347
+ if (!r && !i && !a) return n = S(t, 12, Y(e)), x(o.INVALID_TOKEN_IN_PLACEHOLDER, l(), 0, n.value), E(e), n;
348
+ break;
349
+ }
350
+ }
351
+ return n;
352
+ }
353
+ function Q(e, t) {
354
+ let { currentType: n } = t, r = null, i = e.currentChar();
355
+ switch ((n === 7 || n === 8 || n === 11 || n === 9) && (i === m || i === f) && x(o.INVALID_LINKED_FORMAT, l(), 0), i) {
356
+ case "@": return e.next(), r = S(t, 7, "@"), t.inLinked = !0, r;
357
+ case ".": return E(e), e.next(), S(t, 8, ".");
358
+ case ":": return E(e), e.next(), S(t, 9, ":");
359
+ default: return I(e) ? (r = S(t, 1, X(e)), t.braceNest = 0, t.inLinked = !1, r) : M(e, t) || P(e, t) ? (E(e), Q(e, t)) : N(e, t) ? (E(e), S(t, 11, se(e))) : F(e, t) ? (E(e), i === "{" ? Z(e, t) || r : S(t, 10, ce(e))) : (n === 7 && x(o.INVALID_LINKED_FORMAT, l(), 0), t.braceNest = 0, t.inLinked = !1, $(e, t));
360
+ }
361
+ }
362
+ function $(e, t) {
363
+ let n = { type: 13 };
364
+ if (t.braceNest > 0) return Z(e, t) || C(t);
365
+ if (t.inLinked) return Q(e, t) || C(t);
366
+ switch (e.currentChar()) {
367
+ case "{": return Z(e, t) || C(t);
368
+ case "}": return x(o.UNBALANCED_CLOSING_BRACE, l(), 0), e.next(), S(t, 3, "}");
369
+ case "@": return Q(e, t) || C(t);
370
+ default:
371
+ if (I(e)) return n = S(t, 1, X(e)), t.braceNest = 0, t.inLinked = !1, n;
372
+ if (L(e)) return S(t, 0, ee(e));
373
+ break;
374
+ }
375
+ return n;
376
+ }
377
+ function le() {
378
+ let { currentType: e, offset: t, startLoc: n, endLoc: i } = p;
379
+ return p.lastType = e, p.lastOffset = t, p.lastStartLoc = n, p.lastEndLoc = i, p.offset = s(), p.startLoc = l(), r.currentChar() === v ? S(p, 13) : $(r, p);
380
+ }
381
+ return {
382
+ nextToken: le,
383
+ currentOffset: s,
384
+ currentPosition: l,
385
+ context: h
386
+ };
387
+ }
388
+ var S = "parser", C = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g, w = /\\([\\@{}|])/g;
389
+ function T(e, t) {
390
+ return t;
391
+ }
392
+ function E(e, t, n) {
393
+ switch (e) {
394
+ case "\\\\": return "\\";
395
+ case "\\'": return "'";
396
+ default: {
397
+ let e = parseInt(t || n, 16);
398
+ return e <= 55295 || e >= 57344 ? String.fromCodePoint(e) : "�";
399
+ }
400
+ }
401
+ }
402
+ function D(t = {}) {
403
+ let n = t.location !== !1, { onError: r } = t;
404
+ function i(e, t, i, o, ...s) {
405
+ let l = e.currentPosition();
406
+ l.offset += o, l.column += o, r && r(c(t, n ? a(i, l) : null, {
407
+ domain: S,
408
+ args: s
409
+ }));
410
+ }
411
+ function s(e, t, r) {
412
+ let i = { type: e };
413
+ return n && (i.start = t, i.end = t, i.loc = {
414
+ start: r,
415
+ end: r
416
+ }), i;
417
+ }
418
+ function l(e, t, r, i) {
419
+ n && (e.end = t, e.loc && (e.loc.end = r));
420
+ }
421
+ function u(e, t) {
422
+ let n = e.context(), r = s(3, n.offset, n.startLoc);
423
+ return r.value = t.replace(w, T), l(r, e.currentOffset(), e.currentPosition()), r;
424
+ }
425
+ function d(e, t) {
426
+ let { lastOffset: n, lastStartLoc: r } = e.context(), i = s(5, n, r);
427
+ return i.index = parseInt(t, 10), e.nextToken(), l(i, e.currentOffset(), e.currentPosition()), i;
428
+ }
429
+ function f(e, t) {
430
+ let { lastOffset: n, lastStartLoc: r } = e.context(), i = s(4, n, r);
431
+ return i.key = t, e.nextToken(), l(i, e.currentOffset(), e.currentPosition()), i;
432
+ }
433
+ function p(e, t) {
434
+ let { lastOffset: n, lastStartLoc: r } = e.context(), i = s(9, n, r);
435
+ return i.value = t.replace(C, E), e.nextToken(), l(i, e.currentOffset(), e.currentPosition()), i;
436
+ }
437
+ function m(e) {
438
+ let t = e.nextToken(), n = e.context(), { lastOffset: r, lastStartLoc: a } = n, c = s(8, r, a);
439
+ return t.type === 11 ? (t.value ?? i(e, o.UNEXPECTED_LEXICAL_ANALYSIS, n.lastStartLoc, 0, O(t)), c.value = t.value || "", l(c, e.currentOffset(), e.currentPosition()), { node: c }) : (i(e, o.UNEXPECTED_EMPTY_LINKED_MODIFIER, n.lastStartLoc, 0), c.value = "", l(c, r, a), {
440
+ nextConsumeToken: t,
441
+ node: c
442
+ });
443
+ }
444
+ function h(e, t) {
445
+ let n = e.context(), r = s(7, n.offset, n.startLoc);
446
+ return r.value = t, l(r, e.currentOffset(), e.currentPosition()), r;
447
+ }
448
+ function g(e) {
449
+ let t = e.context(), n = s(6, t.offset, t.startLoc), r = e.nextToken();
450
+ if (r.type === 8) {
451
+ let t = m(e);
452
+ n.modifier = t.node, r = t.nextConsumeToken || e.nextToken();
453
+ }
454
+ switch (r.type !== 9 && i(e, o.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, O(r)), r = e.nextToken(), r.type === 2 && (r = e.nextToken()), r.type) {
455
+ case 10:
456
+ r.value ?? i(e, o.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, O(r)), n.key = h(e, r.value || "");
457
+ break;
458
+ case 4:
459
+ r.value ?? i(e, o.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, O(r)), n.key = f(e, r.value || "");
460
+ break;
461
+ case 5:
462
+ r.value ?? i(e, o.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, O(r)), n.key = d(e, r.value || "");
463
+ break;
464
+ case 6:
465
+ r.value ?? i(e, o.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, O(r)), n.key = p(e, r.value || "");
466
+ break;
467
+ default: {
468
+ i(e, o.UNEXPECTED_EMPTY_LINKED_KEY, t.lastStartLoc, 0);
469
+ let a = e.context(), c = s(7, a.offset, a.startLoc);
470
+ return c.value = "", l(c, a.offset, a.startLoc), n.key = c, l(n, a.offset, a.startLoc), {
471
+ nextConsumeToken: r,
472
+ node: n
473
+ };
474
+ }
475
+ }
476
+ return l(n, e.currentOffset(), e.currentPosition()), { node: n };
477
+ }
478
+ function _(e) {
479
+ let t = e.context(), n = s(2, t.currentType === 1 ? e.currentOffset() : t.offset, t.currentType === 1 ? t.endLoc : t.startLoc);
480
+ n.items = [];
481
+ let r = null;
482
+ do {
483
+ let a = r || e.nextToken();
484
+ switch (r = null, a.type) {
485
+ case 0:
486
+ a.value ?? i(e, o.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, O(a)), n.items.push(u(e, a.value || ""));
487
+ break;
488
+ case 5:
489
+ a.value ?? i(e, o.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, O(a)), n.items.push(d(e, a.value || ""));
490
+ break;
491
+ case 4:
492
+ a.value ?? i(e, o.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, O(a)), n.items.push(f(e, a.value || ""));
493
+ break;
494
+ case 6:
495
+ a.value ?? i(e, o.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, O(a)), n.items.push(p(e, a.value || ""));
496
+ break;
497
+ case 7: {
498
+ let t = g(e);
499
+ n.items.push(t.node), r = t.nextConsumeToken || null;
500
+ break;
501
+ }
502
+ }
503
+ } while (t.currentType !== 13 && t.currentType !== 1);
504
+ return l(n, t.currentType === 1 ? t.lastOffset : e.currentOffset(), t.currentType === 1 ? t.lastEndLoc : e.currentPosition()), n;
505
+ }
506
+ function v(e, t, n, r) {
507
+ let a = e.context(), c = r.items.length === 0, u = s(1, t, n);
508
+ u.cases = [], u.cases.push(r);
509
+ do {
510
+ let t = _(e);
511
+ c ||= t.items.length === 0, u.cases.push(t);
512
+ } while (a.currentType !== 13);
513
+ return c && i(e, o.MUST_HAVE_MESSAGES_IN_PLURAL, n, 0), l(u, e.currentOffset(), e.currentPosition()), u;
514
+ }
515
+ function y(e) {
516
+ let t = e.context(), { offset: n, startLoc: r } = t, i = _(e);
517
+ return t.currentType === 13 ? i : v(e, n, r, i);
518
+ }
519
+ function b(r) {
520
+ let a = x(r, e({}, t)), c = a.context(), u = s(0, c.offset, c.startLoc);
521
+ return n && u.loc && (u.loc.source = r), u.body = y(a), t.onCacheKey && (u.cacheKey = t.onCacheKey(r)), c.currentType !== 13 && i(a, o.UNEXPECTED_LEXICAL_ANALYSIS, c.lastStartLoc, 0, r[c.offset] || ""), l(u, a.currentOffset(), a.currentPosition()), u;
522
+ }
523
+ return { parse: b };
524
+ }
525
+ function O(e) {
526
+ if (e.type === 13) return "EOF";
527
+ let t = (e.value || "").replace(/\r?\n/gu, "\\n");
528
+ return t.length > 10 ? t.slice(0, 9) + "…" : t;
529
+ }
530
+ function k(e, t = {}) {
531
+ let n = {
532
+ ast: e,
533
+ helpers: new Set()
534
+ };
535
+ return {
536
+ context: () => n,
537
+ helper: (e) => (n.helpers.add(e), e)
538
+ };
539
+ }
540
+ function A(e, t) {
541
+ for (let n = 0; n < e.length; n++) j(e[n], t);
542
+ }
543
+ function j(e, t) {
544
+ switch (e.type) {
545
+ case 1:
546
+ A(e.cases, t), t.helper("plural");
547
+ break;
548
+ case 2:
549
+ A(e.items, t);
550
+ break;
551
+ case 6:
552
+ j(e.key, t), t.helper("linked"), t.helper("type");
553
+ break;
554
+ case 5:
555
+ t.helper("interpolate"), t.helper("list");
556
+ break;
557
+ case 4:
558
+ t.helper("interpolate"), t.helper("named");
559
+ break;
560
+ }
561
+ }
562
+ function M(e, t = {}) {
563
+ let n = k(e);
564
+ n.helper("normalize"), e.body && j(e.body, n);
565
+ let r = n.context();
566
+ e.helpers = Array.from(r.helpers);
567
+ }
568
+ function N(e) {
569
+ let t = e.body;
570
+ return t.type === 2 ? P(t) : t.cases.forEach((e) => P(e)), e;
571
+ }
572
+ function P(e) {
573
+ if (e.items.length === 1) {
574
+ let t = e.items[0];
575
+ (t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
576
+ } else {
577
+ let t = [];
578
+ for (let n = 0; n < e.items.length; n++) {
579
+ let r = e.items[n];
580
+ if (!(r.type === 3 || r.type === 9) || r.value == null) break;
581
+ t.push(r.value);
582
+ }
583
+ if (t.length === e.items.length) {
584
+ e.static = r(t);
585
+ for (let t = 0; t < e.items.length; t++) {
586
+ let n = e.items[t];
587
+ (n.type === 3 || n.type === 9) && delete n.value;
588
+ }
589
+ }
590
+ }
591
+ }
592
+ var F = "minifier";
593
+ function I(e) {
594
+ switch (e.t = e.type, e.type) {
595
+ case 0: {
596
+ let t = e;
597
+ I(t.body), t.b = t.body, delete t.body;
598
+ break;
599
+ }
600
+ case 1: {
601
+ let t = e, n = t.cases;
602
+ for (let e = 0; e < n.length; e++) I(n[e]);
603
+ t.c = n, delete t.cases;
604
+ break;
605
+ }
606
+ case 2: {
607
+ let t = e, n = t.items;
608
+ for (let e = 0; e < n.length; e++) I(n[e]);
609
+ t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
610
+ break;
611
+ }
612
+ case 3:
613
+ case 9:
614
+ case 8:
615
+ case 7: {
616
+ let t = e;
617
+ t.value && (t.v = t.value, delete t.value);
618
+ break;
619
+ }
620
+ case 6: {
621
+ let t = e;
622
+ I(t.key), t.k = t.key, delete t.key, t.modifier && (I(t.modifier), t.m = t.modifier, delete t.modifier);
623
+ break;
624
+ }
625
+ case 5: {
626
+ let t = e;
627
+ t.i = t.index, delete t.index;
628
+ break;
629
+ }
630
+ case 4: {
631
+ let t = e;
632
+ t.k = t.key, delete t.key;
633
+ break;
634
+ }
635
+ default: if (process.env.NODE_ENV !== "production") throw c(o.UNHANDLED_MINIFIER_NODE_TYPE, null, {
636
+ domain: F,
637
+ args: [e.type]
638
+ });
639
+ }
640
+ delete e.type;
641
+ }
642
+ var L = "parser";
643
+ function R(e, t) {
644
+ let { filename: n, breakLineCode: r, needIndent: i } = t, a = t.location !== !1, o = {
645
+ filename: n,
646
+ code: "",
647
+ column: 1,
648
+ line: 1,
649
+ offset: 0,
650
+ map: void 0,
651
+ breakLineCode: r,
652
+ needIndent: i,
653
+ indentLevel: 0
654
+ };
655
+ a && e.loc && (o.source = e.loc.source);
656
+ let s = () => o;
657
+ function c(e, t) {
658
+ o.code += e;
659
+ }
660
+ function l(e, t = !0) {
661
+ let n = t ? r : "";
662
+ c(i ? n + " ".repeat(e) : n);
663
+ }
664
+ function u(e = !0) {
665
+ let t = ++o.indentLevel;
666
+ e && l(t);
667
+ }
668
+ function d(e = !0) {
669
+ let t = --o.indentLevel;
670
+ e && l(t);
671
+ }
672
+ function f() {
673
+ l(o.indentLevel);
674
+ }
675
+ return {
676
+ context: s,
677
+ push: c,
678
+ indent: u,
679
+ deindent: d,
680
+ newline: f,
681
+ helper: (e) => `_${e}`,
682
+ needIndent: () => o.needIndent
683
+ };
684
+ }
685
+ function z(e, t) {
686
+ let { helper: n } = e;
687
+ e.push(`${n("linked")}(`), U(e, t.key), t.modifier ? (e.push(", "), U(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
688
+ }
689
+ function B(e, t) {
690
+ let { helper: n, needIndent: r } = e;
691
+ e.push(`${n("normalize")}([`), e.indent(r());
692
+ let i = t.items.length;
693
+ for (let n = 0; n < i && (U(e, t.items[n]), n !== i - 1); n++) e.push(", ");
694
+ e.deindent(r()), e.push("])");
695
+ }
696
+ function V(e, t) {
697
+ let { helper: n, needIndent: r } = e;
698
+ if (t.cases.length > 1) {
699
+ e.push(`${n("plural")}([`), e.indent(r());
700
+ let i = t.cases.length;
701
+ for (let n = 0; n < i && (U(e, t.cases[n]), n !== i - 1); n++) e.push(", ");
702
+ e.deindent(r()), e.push("])");
703
+ }
704
+ }
705
+ function H(e, t) {
706
+ t.body ? U(e, t.body) : e.push("null");
707
+ }
708
+ function U(e, t) {
709
+ let { helper: n } = e;
710
+ switch (t.type) {
711
+ case 0:
712
+ H(e, t);
713
+ break;
714
+ case 1:
715
+ V(e, t);
716
+ break;
717
+ case 2:
718
+ B(e, t);
719
+ break;
720
+ case 6:
721
+ z(e, t);
722
+ break;
723
+ case 8:
724
+ e.push(JSON.stringify(t.value), t);
725
+ break;
726
+ case 7:
727
+ e.push(JSON.stringify(t.value), t);
728
+ break;
729
+ case 5:
730
+ e.push(`${n("interpolate")}(${n("list")}(${t.index}))`, t);
731
+ break;
732
+ case 4:
733
+ e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`, t);
734
+ break;
735
+ case 9:
736
+ e.push(JSON.stringify(t.value), t);
737
+ break;
738
+ case 3:
739
+ e.push(JSON.stringify(t.value), t);
740
+ break;
741
+ default: if (process.env.NODE_ENV !== "production") throw c(o.UNHANDLED_CODEGEN_NODE_TYPE, null, {
742
+ domain: L,
743
+ args: [t.type]
744
+ });
745
+ }
746
+ }
747
+ var W = (e, t = {}) => {
748
+ let i = n(t.mode) ? t.mode : "normal", a = n(t.filename) ? t.filename : "message.intl";
749
+ t.sourceMap;
750
+ let o = t.breakLineCode == null ? i === "arrow" ? ";" : "\n" : t.breakLineCode, s = t.needIndent ? t.needIndent : i !== "arrow", c = e.helpers || [], l = R(e, {
751
+ filename: a,
752
+ breakLineCode: o,
753
+ needIndent: s
754
+ });
755
+ l.push(i === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(s), c.length > 0 && (l.push(`const { ${r(c.map((e) => `${e}: _${e}`), ", ")} } = ctx`), l.newline()), l.push("return "), U(l, e), l.deindent(s), l.push("}"), delete e.helpers;
756
+ let { code: u, map: d } = l.context();
757
+ return {
758
+ ast: e,
759
+ code: u,
760
+ map: d ? d.toJSON() : void 0
761
+ };
762
+ };
763
+ function G(t, n = {}) {
764
+ let r = e({}, n), i = !!r.jit, a = !!r.minify, o = r.optimize == null ? !0 : r.optimize, s = D(r).parse(t);
765
+ return i ? (o && N(s), a && I(s), {
766
+ ast: s,
767
+ code: ""
768
+ }) : (M(s, r), W(s, r));
769
+ }
770
+ //#endregion
771
+ export { o as CompileErrorCodes, G as baseCompile, c as createCompileError, l as defaultOnError, d as detectHtmlTag };