pat-shared-components 1.3.1-beta.21 → 1.3.1-beta.22

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 (337) hide show
  1. package/dist/pat-shared-components116.js +1 -1
  2. package/dist/pat-shared-components116.mjs +1 -1
  3. package/dist/pat-shared-components118.js +1 -1
  4. package/dist/pat-shared-components118.mjs +1 -1
  5. package/dist/pat-shared-components119.js +1 -1
  6. package/dist/pat-shared-components119.mjs +1 -1
  7. package/dist/pat-shared-components120.js +1 -1
  8. package/dist/pat-shared-components120.mjs +1 -1
  9. package/dist/pat-shared-components121.js +1 -1
  10. package/dist/pat-shared-components121.mjs +1 -1
  11. package/dist/pat-shared-components122.js +1 -1
  12. package/dist/pat-shared-components122.mjs +1 -1
  13. package/dist/pat-shared-components123.js +1 -1
  14. package/dist/pat-shared-components123.mjs +1 -1
  15. package/dist/pat-shared-components127.js +1 -1
  16. package/dist/pat-shared-components127.mjs +1 -1
  17. package/dist/pat-shared-components128.js +1 -1
  18. package/dist/pat-shared-components128.mjs +2 -2
  19. package/dist/pat-shared-components132.js +1 -1
  20. package/dist/pat-shared-components132.mjs +2 -2
  21. package/dist/pat-shared-components133.js +1 -1
  22. package/dist/pat-shared-components133.mjs +2 -2
  23. package/dist/pat-shared-components135.js +1 -1
  24. package/dist/pat-shared-components135.mjs +1 -1
  25. package/dist/pat-shared-components137.js +1 -1
  26. package/dist/pat-shared-components137.mjs +2 -2
  27. package/dist/pat-shared-components138.js +1 -1
  28. package/dist/pat-shared-components138.mjs +2 -2
  29. package/dist/pat-shared-components139.js +1 -1
  30. package/dist/pat-shared-components139.mjs +2 -2
  31. package/dist/pat-shared-components140.js +1 -1
  32. package/dist/pat-shared-components140.mjs +2 -2
  33. package/dist/pat-shared-components143.js +1 -1
  34. package/dist/pat-shared-components143.js.map +1 -1
  35. package/dist/pat-shared-components143.mjs +29 -9
  36. package/dist/pat-shared-components143.mjs.map +1 -1
  37. package/dist/pat-shared-components144.js +1 -5
  38. package/dist/pat-shared-components144.js.map +1 -1
  39. package/dist/pat-shared-components144.mjs +27 -789
  40. package/dist/pat-shared-components144.mjs.map +1 -1
  41. package/dist/pat-shared-components145.js +1 -1
  42. package/dist/pat-shared-components145.js.map +1 -1
  43. package/dist/pat-shared-components145.mjs +24 -5
  44. package/dist/pat-shared-components145.mjs.map +1 -1
  45. package/dist/pat-shared-components146.js +1 -1
  46. package/dist/pat-shared-components146.js.map +1 -1
  47. package/dist/pat-shared-components146.mjs +17 -25
  48. package/dist/pat-shared-components146.mjs.map +1 -1
  49. package/dist/pat-shared-components147.js +1 -4
  50. package/dist/pat-shared-components147.js.map +1 -1
  51. package/dist/pat-shared-components147.mjs +27 -1364
  52. package/dist/pat-shared-components147.mjs.map +1 -1
  53. package/dist/pat-shared-components148.js +1 -1
  54. package/dist/pat-shared-components148.js.map +1 -1
  55. package/dist/pat-shared-components148.mjs +9 -97
  56. package/dist/pat-shared-components148.mjs.map +1 -1
  57. package/dist/pat-shared-components149.js +5 -1
  58. package/dist/pat-shared-components149.js.map +1 -1
  59. package/dist/pat-shared-components149.mjs +789 -16
  60. package/dist/pat-shared-components149.mjs.map +1 -1
  61. package/dist/pat-shared-components150.js +1 -1
  62. package/dist/pat-shared-components150.js.map +1 -1
  63. package/dist/pat-shared-components150.mjs +5 -63
  64. package/dist/pat-shared-components150.mjs.map +1 -1
  65. package/dist/pat-shared-components151.js +1 -1
  66. package/dist/pat-shared-components151.js.map +1 -1
  67. package/dist/pat-shared-components151.mjs +25 -15
  68. package/dist/pat-shared-components151.mjs.map +1 -1
  69. package/dist/pat-shared-components152.js +4 -1
  70. package/dist/pat-shared-components152.js.map +1 -1
  71. package/dist/pat-shared-components152.mjs +1352 -94
  72. package/dist/pat-shared-components152.mjs.map +1 -1
  73. package/dist/pat-shared-components153.js +1 -1
  74. package/dist/pat-shared-components153.js.map +1 -1
  75. package/dist/pat-shared-components153.mjs +97 -7
  76. package/dist/pat-shared-components153.mjs.map +1 -1
  77. package/dist/pat-shared-components154.js +1 -1
  78. package/dist/pat-shared-components154.js.map +1 -1
  79. package/dist/pat-shared-components154.mjs +17 -4
  80. package/dist/pat-shared-components154.mjs.map +1 -1
  81. package/dist/pat-shared-components155.js +1 -1
  82. package/dist/pat-shared-components155.js.map +1 -1
  83. package/dist/pat-shared-components155.mjs +58 -43
  84. package/dist/pat-shared-components155.mjs.map +1 -1
  85. package/dist/pat-shared-components156.js +1 -1
  86. package/dist/pat-shared-components156.js.map +1 -1
  87. package/dist/pat-shared-components156.mjs +10 -24
  88. package/dist/pat-shared-components156.mjs.map +1 -1
  89. package/dist/pat-shared-components157.js +1 -1
  90. package/dist/pat-shared-components157.js.map +1 -1
  91. package/dist/pat-shared-components157.mjs +102 -24
  92. package/dist/pat-shared-components157.mjs.map +1 -1
  93. package/dist/pat-shared-components158.js +1 -1
  94. package/dist/pat-shared-components158.js.map +1 -1
  95. package/dist/pat-shared-components158.mjs +7 -24
  96. package/dist/pat-shared-components158.mjs.map +1 -1
  97. package/dist/pat-shared-components159.js +1 -1
  98. package/dist/pat-shared-components159.js.map +1 -1
  99. package/dist/pat-shared-components159.mjs +4 -17
  100. package/dist/pat-shared-components159.mjs.map +1 -1
  101. package/dist/pat-shared-components160.js +1 -1
  102. package/dist/pat-shared-components160.js.map +1 -1
  103. package/dist/pat-shared-components160.mjs +43 -22
  104. package/dist/pat-shared-components160.mjs.map +1 -1
  105. package/dist/pat-shared-components162.js +1 -1
  106. package/dist/pat-shared-components162.mjs +1 -1
  107. package/dist/pat-shared-components163.js +1 -1
  108. package/dist/pat-shared-components163.js.map +1 -1
  109. package/dist/pat-shared-components163.mjs +159 -2
  110. package/dist/pat-shared-components163.mjs.map +1 -1
  111. package/dist/pat-shared-components164.js +1 -1
  112. package/dist/pat-shared-components164.mjs +2 -10
  113. package/dist/pat-shared-components164.mjs.map +1 -1
  114. package/dist/pat-shared-components165.js +1 -1
  115. package/dist/pat-shared-components165.mjs +1 -9
  116. package/dist/pat-shared-components165.mjs.map +1 -1
  117. package/dist/pat-shared-components166.js +1 -4
  118. package/dist/pat-shared-components166.js.map +1 -1
  119. package/dist/pat-shared-components166.mjs +2 -1363
  120. package/dist/pat-shared-components166.mjs.map +1 -1
  121. package/dist/pat-shared-components167.js +1 -1
  122. package/dist/pat-shared-components167.mjs +2 -10
  123. package/dist/pat-shared-components167.mjs.map +1 -1
  124. package/dist/pat-shared-components168.js +1 -1
  125. package/dist/pat-shared-components168.js.map +1 -1
  126. package/dist/pat-shared-components168.mjs +2 -159
  127. package/dist/pat-shared-components168.mjs.map +1 -1
  128. package/dist/pat-shared-components169.js +1 -1
  129. package/dist/pat-shared-components169.mjs +2 -2
  130. package/dist/pat-shared-components170.js +1 -1
  131. package/dist/pat-shared-components170.mjs +1 -1
  132. package/dist/pat-shared-components171.js +1 -1
  133. package/dist/pat-shared-components171.js.map +1 -1
  134. package/dist/pat-shared-components171.mjs +25 -2
  135. package/dist/pat-shared-components171.mjs.map +1 -1
  136. package/dist/pat-shared-components172.js +1 -1
  137. package/dist/pat-shared-components172.mjs +10 -2
  138. package/dist/pat-shared-components172.mjs.map +1 -1
  139. package/dist/pat-shared-components173.js +1 -1
  140. package/dist/pat-shared-components173.mjs +9 -1
  141. package/dist/pat-shared-components173.mjs.map +1 -1
  142. package/dist/pat-shared-components174.js +4 -1
  143. package/dist/pat-shared-components174.js.map +1 -1
  144. package/dist/pat-shared-components174.mjs +1363 -77
  145. package/dist/pat-shared-components174.mjs.map +1 -1
  146. package/dist/pat-shared-components175.js +1 -1
  147. package/dist/pat-shared-components175.mjs +2 -2
  148. package/dist/pat-shared-components176.js +1 -1
  149. package/dist/pat-shared-components176.js.map +1 -1
  150. package/dist/pat-shared-components176.mjs +64 -43
  151. package/dist/pat-shared-components176.mjs.map +1 -1
  152. package/dist/pat-shared-components178.js +1 -1
  153. package/dist/pat-shared-components178.js.map +1 -1
  154. package/dist/pat-shared-components178.mjs +43 -58
  155. package/dist/pat-shared-components178.mjs.map +1 -1
  156. package/dist/pat-shared-components180.js +1 -1
  157. package/dist/pat-shared-components180.js.map +1 -1
  158. package/dist/pat-shared-components180.mjs +71 -2
  159. package/dist/pat-shared-components180.mjs.map +1 -1
  160. package/dist/pat-shared-components181.js +1 -1
  161. package/dist/pat-shared-components181.mjs +2 -2
  162. package/dist/pat-shared-components182.js +1 -1
  163. package/dist/pat-shared-components182.js.map +1 -1
  164. package/dist/pat-shared-components182.mjs +2 -25
  165. package/dist/pat-shared-components182.mjs.map +1 -1
  166. package/dist/pat-shared-components183.js +1 -1
  167. package/dist/pat-shared-components183.js.map +1 -1
  168. package/dist/pat-shared-components183.mjs +2 -37
  169. package/dist/pat-shared-components183.mjs.map +1 -1
  170. package/dist/pat-shared-components184.js +1 -1
  171. package/dist/pat-shared-components184.mjs +2 -13
  172. package/dist/pat-shared-components184.mjs.map +1 -1
  173. package/dist/pat-shared-components185.js +1 -1
  174. package/dist/pat-shared-components185.js.map +1 -1
  175. package/dist/pat-shared-components185.mjs +31 -21
  176. package/dist/pat-shared-components185.mjs.map +1 -1
  177. package/dist/pat-shared-components186.js +1 -1
  178. package/dist/pat-shared-components186.js.map +1 -1
  179. package/dist/pat-shared-components186.mjs +13 -58
  180. package/dist/pat-shared-components186.mjs.map +1 -1
  181. package/dist/pat-shared-components187.js +1 -1
  182. package/dist/pat-shared-components187.js.map +1 -1
  183. package/dist/pat-shared-components187.mjs +26 -19
  184. package/dist/pat-shared-components187.mjs.map +1 -1
  185. package/dist/pat-shared-components188.js +1 -6
  186. package/dist/pat-shared-components188.js.map +1 -1
  187. package/dist/pat-shared-components188.mjs +58 -107
  188. package/dist/pat-shared-components188.mjs.map +1 -1
  189. package/dist/pat-shared-components189.js +1 -6
  190. package/dist/pat-shared-components189.js.map +1 -1
  191. package/dist/pat-shared-components189.mjs +8 -948
  192. package/dist/pat-shared-components189.mjs.map +1 -1
  193. package/dist/pat-shared-components190.js +1 -7
  194. package/dist/pat-shared-components190.js.map +1 -1
  195. package/dist/pat-shared-components190.mjs +19 -860
  196. package/dist/pat-shared-components190.mjs.map +1 -1
  197. package/dist/pat-shared-components191.js +6 -1
  198. package/dist/pat-shared-components191.js.map +1 -1
  199. package/dist/pat-shared-components191.mjs +106 -5
  200. package/dist/pat-shared-components191.mjs.map +1 -1
  201. package/dist/pat-shared-components192.js +6 -1
  202. package/dist/pat-shared-components192.js.map +1 -1
  203. package/dist/pat-shared-components192.mjs +949 -3
  204. package/dist/pat-shared-components192.mjs.map +1 -1
  205. package/dist/pat-shared-components193.js +7 -1
  206. package/dist/pat-shared-components193.js.map +1 -1
  207. package/dist/pat-shared-components193.mjs +861 -2
  208. package/dist/pat-shared-components193.mjs.map +1 -1
  209. package/dist/pat-shared-components194.js +1 -1
  210. package/dist/pat-shared-components194.js.map +1 -1
  211. package/dist/pat-shared-components194.mjs +6 -4
  212. package/dist/pat-shared-components194.mjs.map +1 -1
  213. package/dist/pat-shared-components195.js +1 -1
  214. package/dist/pat-shared-components195.js.map +1 -1
  215. package/dist/pat-shared-components195.mjs +3 -7
  216. package/dist/pat-shared-components195.mjs.map +1 -1
  217. package/dist/pat-shared-components196.js +1 -1
  218. package/dist/pat-shared-components196.js.map +1 -1
  219. package/dist/pat-shared-components196.mjs +2 -7
  220. package/dist/pat-shared-components196.mjs.map +1 -1
  221. package/dist/pat-shared-components197.js +1 -1
  222. package/dist/pat-shared-components197.js.map +1 -1
  223. package/dist/pat-shared-components197.mjs +4 -2
  224. package/dist/pat-shared-components197.mjs.map +1 -1
  225. package/dist/pat-shared-components198.js +1 -1
  226. package/dist/pat-shared-components198.js.map +1 -1
  227. package/dist/pat-shared-components198.mjs +8 -2
  228. package/dist/pat-shared-components198.mjs.map +1 -1
  229. package/dist/pat-shared-components199.js +1 -1
  230. package/dist/pat-shared-components199.js.map +1 -1
  231. package/dist/pat-shared-components199.mjs +7 -2
  232. package/dist/pat-shared-components199.mjs.map +1 -1
  233. package/dist/pat-shared-components200.js +1 -1
  234. package/dist/pat-shared-components200.mjs +1 -1
  235. package/dist/pat-shared-components205.js +1 -1
  236. package/dist/pat-shared-components205.mjs +1 -1
  237. package/dist/pat-shared-components206.js +1 -1
  238. package/dist/pat-shared-components206.mjs +1 -1
  239. package/dist/pat-shared-components207.js +1 -1
  240. package/dist/pat-shared-components207.mjs +1 -1
  241. package/dist/pat-shared-components208.js +1 -1
  242. package/dist/pat-shared-components208.js.map +1 -1
  243. package/dist/pat-shared-components208.mjs +9 -39
  244. package/dist/pat-shared-components208.mjs.map +1 -1
  245. package/dist/pat-shared-components209.js +1 -1
  246. package/dist/pat-shared-components209.js.map +1 -1
  247. package/dist/pat-shared-components209.mjs +39 -9
  248. package/dist/pat-shared-components209.mjs.map +1 -1
  249. package/dist/pat-shared-components210.js +5 -1
  250. package/dist/pat-shared-components210.js.map +1 -1
  251. package/dist/pat-shared-components210.mjs +10 -78
  252. package/dist/pat-shared-components210.mjs.map +1 -1
  253. package/dist/pat-shared-components211.js +1 -1
  254. package/dist/pat-shared-components211.js.map +1 -1
  255. package/dist/pat-shared-components211.mjs +78 -20
  256. package/dist/pat-shared-components211.mjs.map +1 -1
  257. package/dist/pat-shared-components212.js +1 -1
  258. package/dist/pat-shared-components212.mjs +13 -12
  259. package/dist/pat-shared-components212.mjs.map +1 -1
  260. package/dist/pat-shared-components213.js +1 -1
  261. package/dist/pat-shared-components213.mjs +17 -14
  262. package/dist/pat-shared-components213.mjs.map +1 -1
  263. package/dist/pat-shared-components214.js +1 -1
  264. package/dist/pat-shared-components214.mjs +9 -9
  265. package/dist/pat-shared-components215.js +1 -1
  266. package/dist/pat-shared-components215.mjs +14 -32
  267. package/dist/pat-shared-components215.mjs.map +1 -1
  268. package/dist/pat-shared-components216.js +1 -1
  269. package/dist/pat-shared-components216.mjs +34 -5
  270. package/dist/pat-shared-components216.mjs.map +1 -1
  271. package/dist/pat-shared-components217.js +1 -1
  272. package/dist/pat-shared-components217.mjs +5 -18
  273. package/dist/pat-shared-components217.mjs.map +1 -1
  274. package/dist/pat-shared-components218.js +1 -1
  275. package/dist/pat-shared-components218.mjs +11 -13
  276. package/dist/pat-shared-components218.mjs.map +1 -1
  277. package/dist/pat-shared-components219.js +1 -5
  278. package/dist/pat-shared-components219.js.map +1 -1
  279. package/dist/pat-shared-components219.mjs +20 -10
  280. package/dist/pat-shared-components219.mjs.map +1 -1
  281. package/dist/pat-shared-components220.js +1 -1
  282. package/dist/pat-shared-components220.mjs +1 -1
  283. package/dist/pat-shared-components242.js +1 -1
  284. package/dist/pat-shared-components242.mjs +2 -2
  285. package/dist/pat-shared-components245.js +1 -1
  286. package/dist/pat-shared-components245.mjs +2 -2
  287. package/dist/pat-shared-components262.js +1 -1
  288. package/dist/pat-shared-components262.js.map +1 -1
  289. package/dist/pat-shared-components262.mjs +2 -53
  290. package/dist/pat-shared-components262.mjs.map +1 -1
  291. package/dist/pat-shared-components263.js +1 -1
  292. package/dist/pat-shared-components263.mjs +2 -2
  293. package/dist/pat-shared-components264.js +1 -1
  294. package/dist/pat-shared-components264.js.map +1 -1
  295. package/dist/pat-shared-components264.mjs +53 -2
  296. package/dist/pat-shared-components264.mjs.map +1 -1
  297. package/dist/pat-shared-components265.js +1 -1
  298. package/dist/pat-shared-components265.mjs +2 -2
  299. package/dist/pat-shared-components6.js +1 -1
  300. package/dist/pat-shared-components6.mjs +0 -1
  301. package/dist/pat-shared-components6.mjs.map +1 -1
  302. package/dist/pat-shared-components63.js +1 -1
  303. package/dist/pat-shared-components63.mjs +1 -1
  304. package/dist/pat-shared-components65.js +1 -1
  305. package/dist/pat-shared-components65.mjs +3 -3
  306. package/dist/pat-shared-components69.js +1 -1
  307. package/dist/pat-shared-components69.mjs +1 -1
  308. package/dist/pat-shared-components7.js +1 -1
  309. package/dist/pat-shared-components7.mjs +0 -1
  310. package/dist/pat-shared-components7.mjs.map +1 -1
  311. package/dist/pat-shared-components71.js +1 -1
  312. package/dist/pat-shared-components71.mjs +1 -1
  313. package/dist/pat-shared-components78.js +1 -1
  314. package/dist/pat-shared-components78.mjs +2 -2
  315. package/dist/pat-shared-components80.js +1 -1
  316. package/dist/pat-shared-components80.js.map +1 -1
  317. package/dist/pat-shared-components80.mjs +28 -32
  318. package/dist/pat-shared-components80.mjs.map +1 -1
  319. package/dist/pat-shared-components81.js +1 -1
  320. package/dist/pat-shared-components81.mjs +2 -2
  321. package/dist/pat-shared-components84.js +1 -1
  322. package/dist/pat-shared-components84.mjs +2 -2
  323. package/dist/pat-shared-components85.js +1 -1
  324. package/dist/pat-shared-components85.mjs +2 -2
  325. package/dist/pat-shared-components87.js +1 -1
  326. package/dist/pat-shared-components87.mjs +3 -3
  327. package/dist/pat-shared-components88.js +1 -1
  328. package/dist/pat-shared-components88.mjs +1 -1
  329. package/dist/pat-shared-components89.js +1 -1
  330. package/dist/pat-shared-components89.mjs +2 -2
  331. package/dist/pat-shared-components94.js +1 -1
  332. package/dist/pat-shared-components94.mjs +3 -3
  333. package/dist/pat-shared-components95.js +1 -1
  334. package/dist/pat-shared-components95.mjs +1 -1
  335. package/dist/pat-shared-components96.js +1 -1
  336. package/dist/pat-shared-components96.mjs +1 -1
  337. package/package.json +1 -1
@@ -1,20 +1,793 @@
1
- import i from "./pat-shared-components194.mjs";
2
- import n from "./pat-shared-components195.mjs";
3
- import { unsafeStringify as e } from "./pat-shared-components196.mjs";
4
- function p(o, t, a) {
5
- if (i.randomUUID && !t && !o)
6
- return i.randomUUID();
7
- o = o || {};
8
- const r = o.random || (o.rng || n)();
9
- if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
10
- a = a || 0;
11
- for (let f = 0; f < 16; ++f)
12
- t[a + f] = r[f];
13
- return t;
14
- }
15
- return e(r);
1
+ import { makeSymbol as F, assign as w, isNumber as Ae, warn as ta, isEmptyObject as Ea, isBoolean as d, isString as O, isArray as V, isPlainObject as I, isRegExp as ae, isFunction as B, getGlobalThis as ee, format as ga, hasOwn as Ce, isObject as S, inBrowser as pa, createEmitter as Na } from "./pat-shared-components191.mjs";
2
+ import { DEFAULT_LOCALE as la, registerMessageCompiler as La, registerMessageResolver as Oa, registerLocaleFallbacker as ba, setDevToolsHook as Ta, createCoreContext as Ia, updateFallbackLocale as q, compileToFunction as da, resolveValue as Ra, fallbackWithLocaleChain as na, clearDateTimeFormat as ye, clearNumberFormat as he, CoreWarnCodes as Pa, setAdditionalMeta as We, getFallbackContext as Aa, NOT_REOSLVED as ka, isTranslateFallbackWarn as Fa, isTranslateMissingWarn as Da, parseTranslateArgs as we, translate as He, MISSING_RESOLVE_VALUE as Ge, parseDateTimeArgs as Ye, datetime as $e, parseNumberArgs as Be, number as xe, setFallbackContext as je } from "./pat-shared-components192.mjs";
3
+ import { getCurrentInstance as Me, inject as Ca, onMounted as Ma, onUnmounted as Va, shallowRef as Sa, ref as R, computed as P, onBeforeMount as Ua, watch as Xe, createVNode as ya, Text as ha } from "vue";
4
+ import { createCompileError as Wa, CompileErrorCodes as wa } from "./pat-shared-components193.mjs";
5
+ /*!
6
+ * vue-i18n v9.2.2
7
+ * (c) 2022 kazuya kawaguchi
8
+ * Released under the MIT License.
9
+ */
10
+ const Ha = "9.2.2";
11
+ function Ga() {
12
+ let a = !1;
13
+ typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (a = !0, ee().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (a = !0, ee().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ee().__INTLIFY_PROD_DEVTOOLS__ = !1), process.env.NODE_ENV !== "production" && a && console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.");
16
14
  }
15
+ let oa = Pa.__EXTEND_POINT__;
16
+ const $ = () => ++oa, A = {
17
+ FALLBACK_TO_ROOT: oa,
18
+ NOT_SUPPORTED_PRESERVE: $(),
19
+ NOT_SUPPORTED_FORMATTER: $(),
20
+ NOT_SUPPORTED_PRESERVE_DIRECTIVE: $(),
21
+ NOT_SUPPORTED_GET_CHOICE_INDEX: $(),
22
+ COMPONENT_NAME_LEGACY_COMPATIBLE: $(),
23
+ NOT_FOUND_PARENT_SCOPE: $()
24
+ // 13
25
+ }, Ya = {
26
+ [A.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
27
+ [A.NOT_SUPPORTED_PRESERVE]: "Not supported 'preserve'.",
28
+ [A.NOT_SUPPORTED_FORMATTER]: "Not supported 'formatter'.",
29
+ [A.NOT_SUPPORTED_PRESERVE_DIRECTIVE]: "Not supported 'preserveDirectiveContent'.",
30
+ [A.NOT_SUPPORTED_GET_CHOICE_INDEX]: "Not supported 'getChoiceIndex'.",
31
+ [A.COMPONENT_NAME_LEGACY_COMPATIBLE]: "Component name legacy compatible: '{name}' -> 'i18n'",
32
+ [A.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope."
33
+ };
34
+ function ra(a, ...s) {
35
+ return ga(Ya[a], ...s);
36
+ }
37
+ let sa = wa.__EXTEND_POINT__;
38
+ const L = () => ++sa, f = {
39
+ // composer module errors
40
+ UNEXPECTED_RETURN_TYPE: sa,
41
+ // legacy module errors
42
+ INVALID_ARGUMENT: L(),
43
+ // i18n module errors
44
+ MUST_BE_CALL_SETUP_TOP: L(),
45
+ NOT_INSLALLED: L(),
46
+ NOT_AVAILABLE_IN_LEGACY_MODE: L(),
47
+ // directive module errors
48
+ REQUIRED_VALUE: L(),
49
+ INVALID_VALUE: L(),
50
+ // vue-devtools errors
51
+ CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: L(),
52
+ NOT_INSLALLED_WITH_PROVIDE: L(),
53
+ // unexpected error
54
+ UNEXPECTED_ERROR: L(),
55
+ // not compatible legacy vue-i18n constructor
56
+ NOT_COMPATIBLE_LEGACY_VUE_I18N: L(),
57
+ // bridge support vue 2.x only
58
+ BRIDGE_SUPPORT_VUE_2_ONLY: L(),
59
+ // need to define `i18n` option in `allowComposition: true` and `useScope: 'local' at `useI18n``
60
+ MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION: L(),
61
+ // Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
62
+ NOT_AVAILABLE_COMPOSITION_IN_LEGACY: L(),
63
+ // for enhancement
64
+ __EXTEND_POINT__: L()
65
+ // 29
66
+ };
67
+ function k(a, ...s) {
68
+ return Wa(a, null, process.env.NODE_ENV !== "production" ? { messages: $a, args: s } : void 0);
69
+ }
70
+ const $a = {
71
+ [f.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
72
+ [f.INVALID_ARGUMENT]: "Invalid argument",
73
+ [f.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
74
+ [f.NOT_INSLALLED]: "Need to install with `app.use` function",
75
+ [f.UNEXPECTED_ERROR]: "Unexpected error",
76
+ [f.NOT_AVAILABLE_IN_LEGACY_MODE]: "Not available in legacy mode",
77
+ [f.REQUIRED_VALUE]: "Required in value: {0}",
78
+ [f.INVALID_VALUE]: "Invalid value",
79
+ [f.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
80
+ [f.NOT_INSLALLED_WITH_PROVIDE]: "Need to install with `provide` function",
81
+ [f.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
82
+ [f.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
83
+ [f.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: "Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",
84
+ [f.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
85
+ }, qe = /* @__PURE__ */ F("__transrateVNode"), Je = /* @__PURE__ */ F("__datetimeParts"), Ke = /* @__PURE__ */ F("__numberParts"), ke = /* @__PURE__ */ F("__enableEmitter"), Fe = /* @__PURE__ */ F("__disableEmitter"), Ba = F("__setPluralRules");
86
+ F("__intlifyMeta");
87
+ const ua = /* @__PURE__ */ F("__injectWithOption");
88
+ function De(a) {
89
+ if (!S(a))
90
+ return a;
91
+ for (const s in a)
92
+ if (Ce(a, s))
93
+ if (!s.includes("."))
94
+ S(a[s]) && De(a[s]);
95
+ else {
96
+ const r = s.split("."), o = r.length - 1;
97
+ let i = a;
98
+ for (let e = 0; e < o; e++)
99
+ r[e] in i || (i[r[e]] = {}), i = i[r[e]];
100
+ i[r[o]] = a[s], delete a[s], S(i[r[o]]) && De(i[r[o]]);
101
+ }
102
+ return a;
103
+ }
104
+ function Ve(a, s) {
105
+ const { messages: r, __i18n: o, messageResolver: i, flatJson: e } = s, _ = I(r) ? r : V(o) ? {} : { [a]: {} };
106
+ if (V(o) && o.forEach((c) => {
107
+ if ("locale" in c && "resource" in c) {
108
+ const { locale: m, resource: E } = c;
109
+ m ? (_[m] = _[m] || {}, J(E, _[m])) : J(E, _);
110
+ } else
111
+ O(c) && J(JSON.parse(c), _);
112
+ }), i == null && e)
113
+ for (const c in _)
114
+ Ce(_, c) && De(_[c]);
115
+ return _;
116
+ }
117
+ const Z = (a) => !S(a) || V(a);
118
+ function J(a, s) {
119
+ if (Z(a) || Z(s))
120
+ throw k(f.INVALID_VALUE);
121
+ for (const r in a)
122
+ Ce(a, r) && (Z(a[r]) || Z(s[r]) ? s[r] = a[r] : J(a[r], s[r]));
123
+ }
124
+ function ia(a) {
125
+ return a.type;
126
+ }
127
+ function xa(a, s, r) {
128
+ let o = S(s.messages) ? s.messages : {};
129
+ "__i18nGlobal" in r && (o = Ve(a.locale.value, {
130
+ messages: o,
131
+ __i18n: r.__i18nGlobal
132
+ }));
133
+ const i = Object.keys(o);
134
+ i.length && i.forEach((e) => {
135
+ a.mergeLocaleMessage(e, o[e]);
136
+ });
137
+ {
138
+ if (S(s.datetimeFormats)) {
139
+ const e = Object.keys(s.datetimeFormats);
140
+ e.length && e.forEach((_) => {
141
+ a.mergeDateTimeFormat(_, s.datetimeFormats[_]);
142
+ });
143
+ }
144
+ if (S(s.numberFormats)) {
145
+ const e = Object.keys(s.numberFormats);
146
+ e.length && e.forEach((_) => {
147
+ a.mergeNumberFormat(_, s.numberFormats[_]);
148
+ });
149
+ }
150
+ }
151
+ }
152
+ function Qe(a) {
153
+ return ya(ha, null, a, 0);
154
+ }
155
+ const ze = "__INTLIFY_META__";
156
+ let Ze = 0;
157
+ function ea(a) {
158
+ return (s, r, o, i) => a(r, o, Me() || void 0, i);
159
+ }
160
+ const ja = () => {
161
+ const a = Me();
162
+ let s = null;
163
+ return a && (s = ia(a)[ze]) ? { [ze]: s } : null;
164
+ };
165
+ function Xa(a = {}, s) {
166
+ const { __root: r } = a, o = r === void 0;
167
+ let i = d(a.inheritLocale) ? a.inheritLocale : !0;
168
+ const e = R(
169
+ // prettier-ignore
170
+ r && i ? r.locale.value : O(a.locale) ? a.locale : la
171
+ ), _ = R(
172
+ // prettier-ignore
173
+ r && i ? r.fallbackLocale.value : O(a.fallbackLocale) || V(a.fallbackLocale) || I(a.fallbackLocale) || a.fallbackLocale === !1 ? a.fallbackLocale : e.value
174
+ ), c = R(Ve(e.value, a)), m = R(I(a.datetimeFormats) ? a.datetimeFormats : { [e.value]: {} }), E = R(I(a.numberFormats) ? a.numberFormats : { [e.value]: {} });
175
+ let b = r ? r.missingWarn : d(a.missingWarn) || ae(a.missingWarn) ? a.missingWarn : !0, T = r ? r.fallbackWarn : d(a.fallbackWarn) || ae(a.fallbackWarn) ? a.fallbackWarn : !0, D = r ? r.fallbackRoot : d(a.fallbackRoot) ? a.fallbackRoot : !0, U = !!a.fallbackFormat, x = B(a.missing) ? a.missing : null, y = B(a.missing) ? ea(a.missing) : null, h = B(a.postTranslation) ? a.postTranslation : null, j = r ? r.warnHtmlMessage : d(a.warnHtmlMessage) ? a.warnHtmlMessage : !0, H = !!a.escapeParameter;
176
+ const X = r ? r.modifiers : I(a.modifiers) ? a.modifiers : {};
177
+ let G = a.pluralRules || r && r.pluralRules, u;
178
+ u = (() => {
179
+ o && je(null);
180
+ const t = {
181
+ version: Ha,
182
+ locale: e.value,
183
+ fallbackLocale: _.value,
184
+ messages: c.value,
185
+ modifiers: X,
186
+ pluralRules: G,
187
+ missing: y === null ? void 0 : y,
188
+ missingWarn: b,
189
+ fallbackWarn: T,
190
+ fallbackFormat: U,
191
+ unresolving: !0,
192
+ postTranslation: h === null ? void 0 : h,
193
+ warnHtmlMessage: j,
194
+ escapeParameter: H,
195
+ messageResolver: a.messageResolver,
196
+ __meta: { framework: "vue" }
197
+ };
198
+ t.datetimeFormats = m.value, t.numberFormats = E.value, t.__datetimeFormatters = I(u) ? u.__datetimeFormatters : void 0, t.__numberFormatters = I(u) ? u.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (t.__v_emitter = I(u) ? u.__v_emitter : void 0);
199
+ const l = Ia(t);
200
+ return o && je(l), l;
201
+ })(), q(u, e.value, _.value);
202
+ function te() {
203
+ return [
204
+ e.value,
205
+ _.value,
206
+ c.value,
207
+ m.value,
208
+ E.value
209
+ ];
210
+ }
211
+ const le = P({
212
+ get: () => e.value,
213
+ set: (t) => {
214
+ e.value = t, u.locale = e.value;
215
+ }
216
+ }), ne = P({
217
+ get: () => _.value,
218
+ set: (t) => {
219
+ _.value = t, u.fallbackLocale = _.value, q(u, e.value, t);
220
+ }
221
+ }), oe = P(() => c.value), re = /* @__PURE__ */ P(() => m.value), se = /* @__PURE__ */ P(() => E.value);
222
+ function ue() {
223
+ return B(h) ? h : null;
224
+ }
225
+ function ie(t) {
226
+ h = t, u.postTranslation = t;
227
+ }
228
+ function ce() {
229
+ return x;
230
+ }
231
+ function _e(t) {
232
+ t !== null && (y = ea(t)), x = t, u.missing = y;
233
+ }
234
+ function C(t, l) {
235
+ return t !== "translate" || !l.resolvedMessage;
236
+ }
237
+ const M = (t, l, N, p, Pe, z) => {
238
+ te();
239
+ let Y;
240
+ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__)
241
+ try {
242
+ We(ja()), o || (u.fallbackContext = r ? Aa() : void 0), Y = t(u);
243
+ } finally {
244
+ We(null), o || (u.fallbackContext = void 0);
245
+ }
246
+ else
247
+ Y = t(u);
248
+ if (Ae(Y) && Y === ka) {
249
+ const [W, fa] = l();
250
+ if (process.env.NODE_ENV !== "production" && r && O(W) && C(N, fa) && (D && (Fa(T, W) || Da(b, W)) && ta(ra(A.FALLBACK_TO_ROOT, {
251
+ key: W,
252
+ type: N
253
+ })), process.env.NODE_ENV !== "production")) {
254
+ const { __v_emitter: Ue } = u;
255
+ Ue && D && Ue.emit("fallback", {
256
+ type: N,
257
+ key: W,
258
+ to: "global",
259
+ groupId: `${N}:${W}`
260
+ });
261
+ }
262
+ return r && D ? p(r) : Pe(W);
263
+ } else {
264
+ if (z(Y))
265
+ return Y;
266
+ throw k(f.UNEXPECTED_RETURN_TYPE);
267
+ }
268
+ };
269
+ function K(...t) {
270
+ return M((l) => Reflect.apply(He, null, [l, ...t]), () => we(...t), "translate", (l) => Reflect.apply(l.t, l, [...t]), (l) => l, (l) => O(l));
271
+ }
272
+ function me(...t) {
273
+ const [l, N, p] = t;
274
+ if (p && !S(p))
275
+ throw k(f.INVALID_ARGUMENT);
276
+ return K(l, N, w({ resolvedMessage: !0 }, p || {}));
277
+ }
278
+ function ve(...t) {
279
+ return M((l) => Reflect.apply($e, null, [l, ...t]), () => Ye(...t), "datetime format", (l) => Reflect.apply(l.d, l, [...t]), () => Ge, (l) => O(l));
280
+ }
281
+ function fe(...t) {
282
+ return M((l) => Reflect.apply(xe, null, [l, ...t]), () => Be(...t), "number format", (l) => Reflect.apply(l.n, l, [...t]), () => Ge, (l) => O(l));
283
+ }
284
+ function Ee(t) {
285
+ return t.map((l) => O(l) || Ae(l) || d(l) ? Qe(String(l)) : l);
286
+ }
287
+ const ge = {
288
+ normalize: Ee,
289
+ interpolate: (t) => t,
290
+ type: "vnode"
291
+ };
292
+ function pe(...t) {
293
+ return M(
294
+ (l) => {
295
+ let N;
296
+ const p = l;
297
+ try {
298
+ p.processor = ge, N = Reflect.apply(He, null, [p, ...t]);
299
+ } finally {
300
+ p.processor = null;
301
+ }
302
+ return N;
303
+ },
304
+ () => we(...t),
305
+ "translate",
306
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
307
+ (l) => l[qe](...t),
308
+ (l) => [Qe(l)],
309
+ (l) => V(l)
310
+ );
311
+ }
312
+ function Ne(...t) {
313
+ return M(
314
+ (l) => Reflect.apply(xe, null, [l, ...t]),
315
+ () => Be(...t),
316
+ "number format",
317
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
318
+ (l) => l[Ke](...t),
319
+ () => [],
320
+ (l) => O(l) || V(l)
321
+ );
322
+ }
323
+ function Le(...t) {
324
+ return M(
325
+ (l) => Reflect.apply($e, null, [l, ...t]),
326
+ () => Ye(...t),
327
+ "datetime format",
328
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
329
+ (l) => l[Je](...t),
330
+ () => [],
331
+ (l) => O(l) || V(l)
332
+ );
333
+ }
334
+ function Oe(t) {
335
+ G = t, u.pluralRules = G;
336
+ }
337
+ function be(t, l) {
338
+ const N = O(l) ? l : e.value, p = Q(N);
339
+ return u.messageResolver(p, t) !== null;
340
+ }
341
+ function Te(t) {
342
+ let l = null;
343
+ const N = na(u, _.value, e.value);
344
+ for (let p = 0; p < N.length; p++) {
345
+ const Pe = c.value[N[p]] || {}, z = u.messageResolver(Pe, t);
346
+ if (z != null) {
347
+ l = z;
348
+ break;
349
+ }
350
+ }
351
+ return l;
352
+ }
353
+ function Ie(t) {
354
+ const l = Te(t);
355
+ return l != null ? l : r ? r.tm(t) || {} : {};
356
+ }
357
+ function Q(t) {
358
+ return c.value[t] || {};
359
+ }
360
+ function de(t, l) {
361
+ c.value[t] = l, u.messages = c.value;
362
+ }
363
+ function Re(t, l) {
364
+ c.value[t] = c.value[t] || {}, J(l, c.value[t]), u.messages = c.value;
365
+ }
366
+ function n(t) {
367
+ return m.value[t] || {};
368
+ }
369
+ function v(t, l) {
370
+ m.value[t] = l, u.datetimeFormats = m.value, ye(u, t, l);
371
+ }
372
+ function ca(t, l) {
373
+ m.value[t] = w(m.value[t] || {}, l), u.datetimeFormats = m.value, ye(u, t, l);
374
+ }
375
+ function _a(t) {
376
+ return E.value[t] || {};
377
+ }
378
+ function ma(t, l) {
379
+ E.value[t] = l, u.numberFormats = E.value, he(u, t, l);
380
+ }
381
+ function va(t, l) {
382
+ E.value[t] = w(E.value[t] || {}, l), u.numberFormats = E.value, he(u, t, l);
383
+ }
384
+ Ze++, r && pa && (Xe(r.locale, (t) => {
385
+ i && (e.value = t, u.locale = t, q(u, e.value, _.value));
386
+ }), Xe(r.fallbackLocale, (t) => {
387
+ i && (_.value = t, u.fallbackLocale = t, q(u, e.value, _.value));
388
+ }));
389
+ const g = {
390
+ id: Ze,
391
+ locale: le,
392
+ fallbackLocale: ne,
393
+ get inheritLocale() {
394
+ return i;
395
+ },
396
+ set inheritLocale(t) {
397
+ i = t, t && r && (e.value = r.locale.value, _.value = r.fallbackLocale.value, q(u, e.value, _.value));
398
+ },
399
+ get availableLocales() {
400
+ return Object.keys(c.value).sort();
401
+ },
402
+ messages: oe,
403
+ get modifiers() {
404
+ return X;
405
+ },
406
+ get pluralRules() {
407
+ return G || {};
408
+ },
409
+ get isGlobal() {
410
+ return o;
411
+ },
412
+ get missingWarn() {
413
+ return b;
414
+ },
415
+ set missingWarn(t) {
416
+ b = t, u.missingWarn = b;
417
+ },
418
+ get fallbackWarn() {
419
+ return T;
420
+ },
421
+ set fallbackWarn(t) {
422
+ T = t, u.fallbackWarn = T;
423
+ },
424
+ get fallbackRoot() {
425
+ return D;
426
+ },
427
+ set fallbackRoot(t) {
428
+ D = t;
429
+ },
430
+ get fallbackFormat() {
431
+ return U;
432
+ },
433
+ set fallbackFormat(t) {
434
+ U = t, u.fallbackFormat = U;
435
+ },
436
+ get warnHtmlMessage() {
437
+ return j;
438
+ },
439
+ set warnHtmlMessage(t) {
440
+ j = t, u.warnHtmlMessage = t;
441
+ },
442
+ get escapeParameter() {
443
+ return H;
444
+ },
445
+ set escapeParameter(t) {
446
+ H = t, u.escapeParameter = t;
447
+ },
448
+ t: K,
449
+ getLocaleMessage: Q,
450
+ setLocaleMessage: de,
451
+ mergeLocaleMessage: Re,
452
+ getPostTranslationHandler: ue,
453
+ setPostTranslationHandler: ie,
454
+ getMissingHandler: ce,
455
+ setMissingHandler: _e,
456
+ [Ba]: Oe
457
+ };
458
+ return g.datetimeFormats = re, g.numberFormats = se, g.rt = me, g.te = be, g.tm = Ie, g.d = ve, g.n = fe, g.getDateTimeFormat = n, g.setDateTimeFormat = v, g.mergeDateTimeFormat = ca, g.getNumberFormat = _a, g.setNumberFormat = ma, g.mergeNumberFormat = va, g[ua] = a.__injectWithOption, g[qe] = pe, g[Je] = Le, g[Ke] = Ne, process.env.NODE_ENV !== "production" && (g[ke] = (t) => {
459
+ u.__v_emitter = t;
460
+ }, g[Fe] = () => {
461
+ u.__v_emitter = void 0;
462
+ }), g;
463
+ }
464
+ const Se = {
465
+ tag: {
466
+ type: [String, Object]
467
+ },
468
+ locale: {
469
+ type: String
470
+ },
471
+ scope: {
472
+ type: String,
473
+ // NOTE: avoid https://github.com/microsoft/rushstack/issues/1050
474
+ validator: (a) => a === "parent" || a === "global",
475
+ default: "parent"
476
+ /* ComponetI18nScope */
477
+ },
478
+ i18n: {
479
+ type: Object
480
+ }
481
+ };
482
+ w({
483
+ keypath: {
484
+ type: String,
485
+ required: !0
486
+ },
487
+ plural: {
488
+ type: [Number, String],
489
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
490
+ validator: (a) => Ae(a) || !isNaN(a)
491
+ }
492
+ }, Se);
493
+ w({
494
+ value: {
495
+ type: Number,
496
+ required: !0
497
+ },
498
+ format: {
499
+ type: [String, Object]
500
+ }
501
+ }, Se);
502
+ w({
503
+ value: {
504
+ type: [Number, Date],
505
+ required: !0
506
+ },
507
+ format: {
508
+ type: [String, Object]
509
+ }
510
+ }, Se);
511
+ function aa(a, s) {
512
+ }
513
+ const qa = /* @__PURE__ */ F("global-vue-i18n");
514
+ function ot(a = {}) {
515
+ const s = Me();
516
+ if (s == null)
517
+ throw k(f.MUST_BE_CALL_SETUP_TOP);
518
+ if (!s.isCE && s.appContext.app != null && !s.appContext.app.__VUE_I18N_SYMBOL__)
519
+ throw k(f.NOT_INSLALLED);
520
+ const r = Ja(s), o = Qa(r), i = ia(s), e = Ka(a, i);
521
+ if (__VUE_I18N_LEGACY_API__ && r.mode === "legacy" && !a.__useComponent) {
522
+ if (!r.allowComposition)
523
+ throw k(f.NOT_AVAILABLE_IN_LEGACY_MODE);
524
+ return et(s, e, o, a);
525
+ }
526
+ if (e === "global")
527
+ return xa(o, a, i), o;
528
+ if (e === "parent") {
529
+ let m = za(r, s, a.__useComponent);
530
+ return m == null && (process.env.NODE_ENV !== "production" && ta(ra(A.NOT_FOUND_PARENT_SCOPE)), m = o), m;
531
+ }
532
+ const _ = r;
533
+ let c = _.__getInstance(s);
534
+ if (c == null) {
535
+ const m = w({}, a);
536
+ "__i18n" in i && (m.__i18n = i.__i18n), o && (m.__root = o), c = Xa(m), Za(_, s, c), _.__setInstance(s, c);
537
+ }
538
+ return c;
539
+ }
540
+ function Ja(a) {
541
+ {
542
+ const s = Ca(a.isCE ? qa : a.appContext.app.__VUE_I18N_SYMBOL__);
543
+ if (!s)
544
+ throw k(a.isCE ? f.NOT_INSLALLED_WITH_PROVIDE : f.UNEXPECTED_ERROR);
545
+ return s;
546
+ }
547
+ }
548
+ function Ka(a, s) {
549
+ return Ea(a) ? "__i18n" in s ? "local" : "global" : a.useScope ? a.useScope : "local";
550
+ }
551
+ function Qa(a) {
552
+ return a.mode === "composition" ? a.global : a.global.__composer;
553
+ }
554
+ function za(a, s, r = !1) {
555
+ let o = null;
556
+ const i = s.root;
557
+ let e = s.parent;
558
+ for (; e != null; ) {
559
+ const _ = a;
560
+ if (a.mode === "composition")
561
+ o = _.__getInstance(e);
562
+ else if (__VUE_I18N_LEGACY_API__) {
563
+ const c = _.__getInstance(e);
564
+ c != null && (o = c.__composer, r && o && !o[ua] && (o = null));
565
+ }
566
+ if (o != null || i === e)
567
+ break;
568
+ e = e.parent;
569
+ }
570
+ return o;
571
+ }
572
+ function Za(a, s, r) {
573
+ let o = null;
574
+ Ma(() => {
575
+ if (process.env.NODE_ENV !== "production" && s.vnode.el) {
576
+ s.vnode.el.__VUE_I18N__ = r, o = Na();
577
+ const i = r;
578
+ i[ke] && i[ke](o), o.on("*", aa);
579
+ }
580
+ }, s), Va(() => {
581
+ if (process.env.NODE_ENV !== "production" && s.vnode.el && s.vnode.el.__VUE_I18N__) {
582
+ o && o.off("*", aa);
583
+ const i = r;
584
+ i[Fe] && i[Fe](), delete s.vnode.el.__VUE_I18N__;
585
+ }
586
+ a.__deleteInstance(s);
587
+ }, s);
588
+ }
589
+ function et(a, s, r, o = {}) {
590
+ const i = s === "local", e = Sa(null);
591
+ if (i && a.proxy && !(a.proxy.$options.i18n || a.proxy.$options.__i18n))
592
+ throw k(f.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
593
+ const _ = d(o.inheritLocale) ? o.inheritLocale : !0, c = R(
594
+ // prettier-ignore
595
+ i && _ ? r.locale.value : O(o.locale) ? o.locale : la
596
+ ), m = R(
597
+ // prettier-ignore
598
+ i && _ ? r.fallbackLocale.value : O(o.fallbackLocale) || V(o.fallbackLocale) || I(o.fallbackLocale) || o.fallbackLocale === !1 ? o.fallbackLocale : c.value
599
+ ), E = R(Ve(c.value, o)), b = R(I(o.datetimeFormats) ? o.datetimeFormats : { [c.value]: {} }), T = R(I(o.numberFormats) ? o.numberFormats : { [c.value]: {} }), D = i ? r.missingWarn : d(o.missingWarn) || ae(o.missingWarn) ? o.missingWarn : !0, U = i ? r.fallbackWarn : d(o.fallbackWarn) || ae(o.fallbackWarn) ? o.fallbackWarn : !0, x = i ? r.fallbackRoot : d(o.fallbackRoot) ? o.fallbackRoot : !0, y = !!o.fallbackFormat, h = B(o.missing) ? o.missing : null, j = B(o.postTranslation) ? o.postTranslation : null, H = i ? r.warnHtmlMessage : d(o.warnHtmlMessage) ? o.warnHtmlMessage : !0, X = !!o.escapeParameter, G = i ? r.modifiers : I(o.modifiers) ? o.modifiers : {}, u = o.pluralRules || i && r.pluralRules;
600
+ function te() {
601
+ return [
602
+ c.value,
603
+ m.value,
604
+ E.value,
605
+ b.value,
606
+ T.value
607
+ ];
608
+ }
609
+ const le = P({
610
+ get: () => e.value ? e.value.locale.value : c.value,
611
+ set: (n) => {
612
+ e.value && (e.value.locale.value = n), c.value = n;
613
+ }
614
+ }), ne = P({
615
+ get: () => e.value ? e.value.fallbackLocale.value : m.value,
616
+ set: (n) => {
617
+ e.value && (e.value.fallbackLocale.value = n), m.value = n;
618
+ }
619
+ }), oe = P(() => e.value ? e.value.messages.value : E.value), re = P(() => b.value), se = P(() => T.value);
620
+ function ue() {
621
+ return e.value ? e.value.getPostTranslationHandler() : j;
622
+ }
623
+ function ie(n) {
624
+ e.value && e.value.setPostTranslationHandler(n);
625
+ }
626
+ function ce() {
627
+ return e.value ? e.value.getMissingHandler() : h;
628
+ }
629
+ function _e(n) {
630
+ e.value && e.value.setMissingHandler(n);
631
+ }
632
+ function C(n) {
633
+ return te(), n();
634
+ }
635
+ function M(...n) {
636
+ return e.value ? C(() => Reflect.apply(e.value.t, null, [...n])) : C(() => "");
637
+ }
638
+ function K(...n) {
639
+ return e.value ? Reflect.apply(e.value.rt, null, [...n]) : "";
640
+ }
641
+ function me(...n) {
642
+ return e.value ? C(() => Reflect.apply(e.value.d, null, [...n])) : C(() => "");
643
+ }
644
+ function ve(...n) {
645
+ return e.value ? C(() => Reflect.apply(e.value.n, null, [...n])) : C(() => "");
646
+ }
647
+ function fe(n) {
648
+ return e.value ? e.value.tm(n) : {};
649
+ }
650
+ function Ee(n, v) {
651
+ return e.value ? e.value.te(n, v) : !1;
652
+ }
653
+ function ge(n) {
654
+ return e.value ? e.value.getLocaleMessage(n) : {};
655
+ }
656
+ function pe(n, v) {
657
+ e.value && (e.value.setLocaleMessage(n, v), E.value[n] = v);
658
+ }
659
+ function Ne(n, v) {
660
+ e.value && e.value.mergeLocaleMessage(n, v);
661
+ }
662
+ function Le(n) {
663
+ return e.value ? e.value.getDateTimeFormat(n) : {};
664
+ }
665
+ function Oe(n, v) {
666
+ e.value && (e.value.setDateTimeFormat(n, v), b.value[n] = v);
667
+ }
668
+ function be(n, v) {
669
+ e.value && e.value.mergeDateTimeFormat(n, v);
670
+ }
671
+ function Te(n) {
672
+ return e.value ? e.value.getNumberFormat(n) : {};
673
+ }
674
+ function Ie(n, v) {
675
+ e.value && (e.value.setNumberFormat(n, v), T.value[n] = v);
676
+ }
677
+ function Q(n, v) {
678
+ e.value && e.value.mergeNumberFormat(n, v);
679
+ }
680
+ const de = {
681
+ get id() {
682
+ return e.value ? e.value.id : -1;
683
+ },
684
+ locale: le,
685
+ fallbackLocale: ne,
686
+ messages: oe,
687
+ datetimeFormats: re,
688
+ numberFormats: se,
689
+ get inheritLocale() {
690
+ return e.value ? e.value.inheritLocale : _;
691
+ },
692
+ set inheritLocale(n) {
693
+ e.value && (e.value.inheritLocale = n);
694
+ },
695
+ get availableLocales() {
696
+ return e.value ? e.value.availableLocales : Object.keys(E.value);
697
+ },
698
+ get modifiers() {
699
+ return e.value ? e.value.modifiers : G;
700
+ },
701
+ get pluralRules() {
702
+ return e.value ? e.value.pluralRules : u;
703
+ },
704
+ get isGlobal() {
705
+ return e.value ? e.value.isGlobal : !1;
706
+ },
707
+ get missingWarn() {
708
+ return e.value ? e.value.missingWarn : D;
709
+ },
710
+ set missingWarn(n) {
711
+ e.value && (e.value.missingWarn = n);
712
+ },
713
+ get fallbackWarn() {
714
+ return e.value ? e.value.fallbackWarn : U;
715
+ },
716
+ set fallbackWarn(n) {
717
+ e.value && (e.value.missingWarn = n);
718
+ },
719
+ get fallbackRoot() {
720
+ return e.value ? e.value.fallbackRoot : x;
721
+ },
722
+ set fallbackRoot(n) {
723
+ e.value && (e.value.fallbackRoot = n);
724
+ },
725
+ get fallbackFormat() {
726
+ return e.value ? e.value.fallbackFormat : y;
727
+ },
728
+ set fallbackFormat(n) {
729
+ e.value && (e.value.fallbackFormat = n);
730
+ },
731
+ get warnHtmlMessage() {
732
+ return e.value ? e.value.warnHtmlMessage : H;
733
+ },
734
+ set warnHtmlMessage(n) {
735
+ e.value && (e.value.warnHtmlMessage = n);
736
+ },
737
+ get escapeParameter() {
738
+ return e.value ? e.value.escapeParameter : X;
739
+ },
740
+ set escapeParameter(n) {
741
+ e.value && (e.value.escapeParameter = n);
742
+ },
743
+ t: M,
744
+ getPostTranslationHandler: ue,
745
+ setPostTranslationHandler: ie,
746
+ getMissingHandler: ce,
747
+ setMissingHandler: _e,
748
+ rt: K,
749
+ d: me,
750
+ n: ve,
751
+ tm: fe,
752
+ te: Ee,
753
+ getLocaleMessage: ge,
754
+ setLocaleMessage: pe,
755
+ mergeLocaleMessage: Ne,
756
+ getDateTimeFormat: Le,
757
+ setDateTimeFormat: Oe,
758
+ mergeDateTimeFormat: be,
759
+ getNumberFormat: Te,
760
+ setNumberFormat: Ie,
761
+ mergeNumberFormat: Q
762
+ };
763
+ function Re(n) {
764
+ n.locale.value = c.value, n.fallbackLocale.value = m.value, Object.keys(E.value).forEach((v) => {
765
+ n.mergeLocaleMessage(v, E.value[v]);
766
+ }), Object.keys(b.value).forEach((v) => {
767
+ n.mergeDateTimeFormat(v, b.value[v]);
768
+ }), Object.keys(T.value).forEach((v) => {
769
+ n.mergeNumberFormat(v, T.value[v]);
770
+ }), n.escapeParameter = X, n.fallbackFormat = y, n.fallbackRoot = x, n.fallbackWarn = U, n.missingWarn = D, n.warnHtmlMessage = H;
771
+ }
772
+ return Ua(() => {
773
+ if (a.proxy == null || a.proxy.$i18n == null)
774
+ throw k(f.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
775
+ const n = e.value = a.proxy.$i18n.__composer;
776
+ s === "global" ? (c.value = n.locale.value, m.value = n.fallbackLocale.value, E.value = n.messages.value, b.value = n.datetimeFormats.value, T.value = n.numberFormats.value) : i && Re(n);
777
+ }), de;
778
+ }
779
+ La(da);
780
+ Oa(Ra);
781
+ ba(na);
782
+ Ga();
783
+ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
784
+ const a = ee();
785
+ a.__INTLIFY__ = !0, Ta(a.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
786
+ }
787
+ process.env.NODE_ENV;
17
788
  export {
18
- p as default
789
+ qa as I18nInjectionKey,
790
+ Ha as VERSION,
791
+ ot as useI18n
19
792
  };
20
793
  //# sourceMappingURL=pat-shared-components149.mjs.map