@duplicati/ngclient 0.0.30 → 0.0.32

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 (1389) hide show
  1. package/chunk-2J2FXCU7.js +1 -0
  2. package/{chunk-WFFR6X5F.js → chunk-2ORXOP6M.js} +1 -1
  3. package/chunk-3KFDFKWE.js +1 -0
  4. package/chunk-5S4GAK6A.js +1 -0
  5. package/chunk-5Y3QZ4EI.js +1 -0
  6. package/chunk-7AEXF3KX.js +8 -0
  7. package/chunk-A6SZHWMW.js +1 -0
  8. package/chunk-ADFXT75O.js +1 -0
  9. package/{chunk-NJIDVAUK.js → chunk-ATKSFHUF.js} +1 -1
  10. package/chunk-AXWWWNYP.js +1 -0
  11. package/chunk-B7ZQVD4U.js +1 -0
  12. package/chunk-C6Q5SG76.js +1 -0
  13. package/{chunk-RFOUEAO7.js → chunk-CH4OZJBV.js} +1 -1
  14. package/{chunk-2VFGTKQ3.js → chunk-CL3S2VV2.js} +1 -1
  15. package/chunk-CXRDIX6X.js +1 -0
  16. package/chunk-DZ4NY6DH.js +1 -0
  17. package/chunk-EJYG5RAF.js +1 -0
  18. package/chunk-FFVSEGEV.js +1 -0
  19. package/{chunk-NKKY2IML.js → chunk-FGOEPQE2.js} +1 -1
  20. package/chunk-FHAZ4KGN.js +1 -0
  21. package/{chunk-QAOE722P.js → chunk-GTFXUW4R.js} +1 -1
  22. package/{chunk-M6JAWID7.js → chunk-HSUOVCAK.js} +1 -1
  23. package/{chunk-X7IF472Q.js → chunk-IPFOWVKQ.js} +21 -21
  24. package/chunk-JDQIBNR4.js +7 -0
  25. package/chunk-LCQKPZDB.js +1 -0
  26. package/chunk-LMBPK5DA.js +1 -0
  27. package/chunk-LXIJTRVM.js +6 -0
  28. package/chunk-MTBPGXQX.js +1 -0
  29. package/chunk-OO5FPIA3.js +2 -0
  30. package/{chunk-DUQTXUOP.js → chunk-P7G2XT2C.js} +1 -1
  31. package/chunk-PMUAVKEX.js +1 -0
  32. package/chunk-QSEDH5YS.js +1 -0
  33. package/chunk-R2O4OGXE.js +1 -0
  34. package/{chunk-FL23VQIJ.js → chunk-R5JN4Q6V.js} +1 -1
  35. package/{chunk-WMMDCNQV.js → chunk-RCJYQZCN.js} +1 -1
  36. package/chunk-SJEKIUA5.js +2 -0
  37. package/chunk-SNVCSRVH.js +2 -0
  38. package/{chunk-RENJEXE5.js → chunk-T2VQYIXT.js} +1 -1
  39. package/chunk-T7U2URJ4.js +1 -0
  40. package/chunk-TSRJXJX3.js +1 -0
  41. package/{chunk-QXWUZ7QN.js → chunk-TXYVWITT.js} +1 -1
  42. package/chunk-VKBAFWXR.js +1 -0
  43. package/{chunk-Y33NQYRN.js → chunk-VTXQPBKS.js} +1 -1
  44. package/chunk-XA4PLKUY.js +1 -0
  45. package/{chunk-K3Y54FPO.js → chunk-XVGRR5A7.js} +1 -1
  46. package/chunk-XYW3WI3F.js +1 -0
  47. package/chunk-YBT47FIB.js +1 -0
  48. package/{chunk-VN5Y4LY2.js → chunk-YI6L4R7Z.js} +1 -1
  49. package/chunk-YR7K7QME.js +1 -0
  50. package/chunk-YVWTNA2V.js +1 -0
  51. package/chunk-ZTDQQPKO.js +1 -0
  52. package/index.html +1 -1
  53. package/locale/angular/af-NA.mjs +17 -0
  54. package/locale/angular/af.mjs +17 -0
  55. package/locale/angular/agq.mjs +15 -0
  56. package/locale/angular/ak.mjs +17 -0
  57. package/locale/angular/am.mjs +17 -0
  58. package/locale/angular/ar-AE.mjs +25 -0
  59. package/locale/angular/ar-BH.mjs +25 -0
  60. package/locale/angular/ar-DJ.mjs +25 -0
  61. package/locale/angular/ar-DZ.mjs +25 -0
  62. package/locale/angular/ar-EG.mjs +25 -0
  63. package/locale/angular/ar-EH.mjs +25 -0
  64. package/locale/angular/ar-ER.mjs +25 -0
  65. package/locale/angular/ar-IL.mjs +25 -0
  66. package/locale/angular/ar-IQ.mjs +25 -0
  67. package/locale/angular/ar-JO.mjs +25 -0
  68. package/locale/angular/ar-KM.mjs +25 -0
  69. package/locale/angular/ar-KW.mjs +25 -0
  70. package/locale/angular/ar-LB.mjs +25 -0
  71. package/locale/angular/ar-LY.mjs +25 -0
  72. package/locale/angular/ar-MA.mjs +25 -0
  73. package/locale/angular/ar-MR.mjs +25 -0
  74. package/locale/angular/ar-OM.mjs +25 -0
  75. package/locale/angular/ar-PS.mjs +25 -0
  76. package/locale/angular/ar-QA.mjs +25 -0
  77. package/locale/angular/ar-SA.mjs +25 -0
  78. package/locale/angular/ar-SD.mjs +25 -0
  79. package/locale/angular/ar-SO.mjs +25 -0
  80. package/locale/angular/ar-SS.mjs +25 -0
  81. package/locale/angular/ar-SY.mjs +25 -0
  82. package/locale/angular/ar-TD.mjs +25 -0
  83. package/locale/angular/ar-TN.mjs +25 -0
  84. package/locale/angular/ar-YE.mjs +25 -0
  85. package/locale/angular/ar.mjs +25 -0
  86. package/locale/angular/as.mjs +17 -0
  87. package/locale/angular/asa.mjs +17 -0
  88. package/locale/angular/ast.mjs +17 -0
  89. package/locale/angular/az-Cyrl.mjs +15 -0
  90. package/locale/angular/az-Latn.mjs +17 -0
  91. package/locale/angular/az.mjs +17 -0
  92. package/locale/angular/bas.mjs +15 -0
  93. package/locale/angular/be-tarask.mjs +21 -0
  94. package/locale/angular/be.mjs +21 -0
  95. package/locale/angular/bem.mjs +17 -0
  96. package/locale/angular/bez.mjs +17 -0
  97. package/locale/angular/bg.mjs +17 -0
  98. package/locale/angular/bm.mjs +15 -0
  99. package/locale/angular/bn-IN.mjs +17 -0
  100. package/locale/angular/bn.mjs +17 -0
  101. package/locale/angular/bo-IN.mjs +15 -0
  102. package/locale/angular/bo.mjs +15 -0
  103. package/locale/angular/br.mjs +23 -0
  104. package/locale/angular/brx.mjs +17 -0
  105. package/locale/angular/bs-Cyrl.mjs +15 -0
  106. package/locale/angular/bs-Latn.mjs +19 -0
  107. package/locale/angular/bs.mjs +19 -0
  108. package/locale/angular/ca-AD.mjs +17 -0
  109. package/locale/angular/ca-ES-valencia.mjs +17 -0
  110. package/locale/angular/ca-FR.mjs +17 -0
  111. package/locale/angular/ca-IT.mjs +17 -0
  112. package/locale/angular/ca.mjs +17 -0
  113. package/locale/angular/ccp-IN.mjs +15 -0
  114. package/locale/angular/ccp.mjs +15 -0
  115. package/locale/angular/ce.mjs +17 -0
  116. package/locale/angular/ceb.mjs +17 -0
  117. package/locale/angular/cgg.mjs +17 -0
  118. package/locale/angular/chr.mjs +17 -0
  119. package/locale/angular/ckb-IR.mjs +17 -0
  120. package/locale/angular/ckb.mjs +17 -0
  121. package/locale/angular/cs.mjs +21 -0
  122. package/locale/angular/cy.mjs +25 -0
  123. package/locale/angular/da-GL.mjs +17 -0
  124. package/locale/angular/da.mjs +17 -0
  125. package/locale/angular/dav.mjs +15 -0
  126. package/locale/angular/de-AT.mjs +17 -0
  127. package/locale/angular/de-BE.mjs +17 -0
  128. package/locale/angular/de-CH.mjs +17 -0
  129. package/locale/angular/de-IT.mjs +17 -0
  130. package/locale/angular/de-LI.mjs +17 -0
  131. package/locale/angular/de-LU.mjs +17 -0
  132. package/locale/angular/de.mjs +17 -0
  133. package/locale/angular/dje.mjs +15 -0
  134. package/locale/angular/doi.mjs +17 -0
  135. package/locale/angular/dsb.mjs +21 -0
  136. package/locale/angular/dua.mjs +15 -0
  137. package/locale/angular/dyo.mjs +15 -0
  138. package/locale/angular/dz.mjs +15 -0
  139. package/locale/angular/ebu.mjs +15 -0
  140. package/locale/angular/ee-TG.mjs +17 -0
  141. package/locale/angular/ee.mjs +17 -0
  142. package/locale/angular/el-CY.mjs +17 -0
  143. package/locale/angular/el.mjs +17 -0
  144. package/locale/angular/en-001.mjs +17 -0
  145. package/locale/angular/en-150.mjs +17 -0
  146. package/locale/angular/en-AE.mjs +17 -0
  147. package/locale/angular/en-AG.mjs +17 -0
  148. package/locale/angular/en-AI.mjs +17 -0
  149. package/locale/angular/en-AS.mjs +17 -0
  150. package/locale/angular/en-AT.mjs +17 -0
  151. package/locale/angular/en-AU.mjs +17 -0
  152. package/locale/angular/en-BB.mjs +17 -0
  153. package/locale/angular/en-BE.mjs +17 -0
  154. package/locale/angular/en-BI.mjs +17 -0
  155. package/locale/angular/en-BM.mjs +17 -0
  156. package/locale/angular/en-BS.mjs +17 -0
  157. package/locale/angular/en-BW.mjs +17 -0
  158. package/locale/angular/en-BZ.mjs +17 -0
  159. package/locale/angular/en-CA.mjs +17 -0
  160. package/locale/angular/en-CC.mjs +17 -0
  161. package/locale/angular/en-CH.mjs +17 -0
  162. package/locale/angular/en-CK.mjs +17 -0
  163. package/locale/angular/en-CM.mjs +17 -0
  164. package/locale/angular/en-CX.mjs +17 -0
  165. package/locale/angular/en-CY.mjs +17 -0
  166. package/locale/angular/en-DE.mjs +17 -0
  167. package/locale/angular/en-DG.mjs +17 -0
  168. package/locale/angular/en-DK.mjs +17 -0
  169. package/locale/angular/en-DM.mjs +17 -0
  170. package/locale/angular/en-ER.mjs +17 -0
  171. package/locale/angular/en-FI.mjs +17 -0
  172. package/locale/angular/en-FJ.mjs +17 -0
  173. package/locale/angular/en-FK.mjs +17 -0
  174. package/locale/angular/en-FM.mjs +17 -0
  175. package/locale/angular/en-GB.mjs +17 -0
  176. package/locale/angular/en-GD.mjs +17 -0
  177. package/locale/angular/en-GG.mjs +17 -0
  178. package/locale/angular/en-GH.mjs +17 -0
  179. package/locale/angular/en-GI.mjs +17 -0
  180. package/locale/angular/en-GM.mjs +17 -0
  181. package/locale/angular/en-GU.mjs +17 -0
  182. package/locale/angular/en-GY.mjs +17 -0
  183. package/locale/angular/en-HK.mjs +17 -0
  184. package/locale/angular/en-IE.mjs +17 -0
  185. package/locale/angular/en-IL.mjs +17 -0
  186. package/locale/angular/en-IM.mjs +17 -0
  187. package/locale/angular/en-IN.mjs +17 -0
  188. package/locale/angular/en-IO.mjs +17 -0
  189. package/locale/angular/en-JE.mjs +17 -0
  190. package/locale/angular/en-JM.mjs +17 -0
  191. package/locale/angular/en-KE.mjs +17 -0
  192. package/locale/angular/en-KI.mjs +17 -0
  193. package/locale/angular/en-KN.mjs +17 -0
  194. package/locale/angular/en-KY.mjs +17 -0
  195. package/locale/angular/en-LC.mjs +17 -0
  196. package/locale/angular/en-LR.mjs +17 -0
  197. package/locale/angular/en-LS.mjs +17 -0
  198. package/locale/angular/en-MG.mjs +17 -0
  199. package/locale/angular/en-MH.mjs +17 -0
  200. package/locale/angular/en-MO.mjs +17 -0
  201. package/locale/angular/en-MP.mjs +17 -0
  202. package/locale/angular/en-MS.mjs +17 -0
  203. package/locale/angular/en-MT.mjs +17 -0
  204. package/locale/angular/en-MU.mjs +17 -0
  205. package/locale/angular/en-MV.mjs +17 -0
  206. package/locale/angular/en-MW.mjs +17 -0
  207. package/locale/angular/en-MY.mjs +17 -0
  208. package/locale/angular/en-NA.mjs +17 -0
  209. package/locale/angular/en-NF.mjs +17 -0
  210. package/locale/angular/en-NG.mjs +17 -0
  211. package/locale/angular/en-NL.mjs +17 -0
  212. package/locale/angular/en-NR.mjs +17 -0
  213. package/locale/angular/en-NU.mjs +17 -0
  214. package/locale/angular/en-NZ.mjs +17 -0
  215. package/locale/angular/en-PG.mjs +17 -0
  216. package/locale/angular/en-PH.mjs +17 -0
  217. package/locale/angular/en-PK.mjs +17 -0
  218. package/locale/angular/en-PN.mjs +17 -0
  219. package/locale/angular/en-PR.mjs +17 -0
  220. package/locale/angular/en-PW.mjs +17 -0
  221. package/locale/angular/en-RW.mjs +17 -0
  222. package/locale/angular/en-SB.mjs +17 -0
  223. package/locale/angular/en-SC.mjs +17 -0
  224. package/locale/angular/en-SD.mjs +17 -0
  225. package/locale/angular/en-SE.mjs +17 -0
  226. package/locale/angular/en-SG.mjs +17 -0
  227. package/locale/angular/en-SH.mjs +17 -0
  228. package/locale/angular/en-SI.mjs +17 -0
  229. package/locale/angular/en-SL.mjs +17 -0
  230. package/locale/angular/en-SS.mjs +17 -0
  231. package/locale/angular/en-SX.mjs +17 -0
  232. package/locale/angular/en-SZ.mjs +17 -0
  233. package/locale/angular/en-TC.mjs +17 -0
  234. package/locale/angular/en-TK.mjs +17 -0
  235. package/locale/angular/en-TO.mjs +17 -0
  236. package/locale/angular/en-TT.mjs +17 -0
  237. package/locale/angular/en-TV.mjs +17 -0
  238. package/locale/angular/en-TZ.mjs +17 -0
  239. package/locale/angular/en-UG.mjs +17 -0
  240. package/locale/angular/en-UM.mjs +17 -0
  241. package/locale/angular/en-VC.mjs +17 -0
  242. package/locale/angular/en-VG.mjs +17 -0
  243. package/locale/angular/en-VI.mjs +17 -0
  244. package/locale/angular/en-VU.mjs +17 -0
  245. package/locale/angular/en-WS.mjs +17 -0
  246. package/locale/angular/en-ZA.mjs +17 -0
  247. package/locale/angular/en-ZM.mjs +17 -0
  248. package/locale/angular/en-ZW.mjs +17 -0
  249. package/locale/angular/en.mjs +17 -0
  250. package/locale/angular/eo.mjs +17 -0
  251. package/locale/angular/es-419.mjs +19 -0
  252. package/locale/angular/es-AR.mjs +19 -0
  253. package/locale/angular/es-BO.mjs +19 -0
  254. package/locale/angular/es-BR.mjs +19 -0
  255. package/locale/angular/es-BZ.mjs +19 -0
  256. package/locale/angular/es-CL.mjs +19 -0
  257. package/locale/angular/es-CO.mjs +19 -0
  258. package/locale/angular/es-CR.mjs +19 -0
  259. package/locale/angular/es-CU.mjs +19 -0
  260. package/locale/angular/es-DO.mjs +19 -0
  261. package/locale/angular/es-EA.mjs +19 -0
  262. package/locale/angular/es-EC.mjs +19 -0
  263. package/locale/angular/es-GQ.mjs +19 -0
  264. package/locale/angular/es-GT.mjs +19 -0
  265. package/locale/angular/es-HN.mjs +19 -0
  266. package/locale/angular/es-IC.mjs +19 -0
  267. package/locale/angular/es-MX.mjs +19 -0
  268. package/locale/angular/es-NI.mjs +19 -0
  269. package/locale/angular/es-PA.mjs +19 -0
  270. package/locale/angular/es-PE.mjs +19 -0
  271. package/locale/angular/es-PH.mjs +19 -0
  272. package/locale/angular/es-PR.mjs +19 -0
  273. package/locale/angular/es-PY.mjs +19 -0
  274. package/locale/angular/es-SV.mjs +19 -0
  275. package/locale/angular/es-US.mjs +19 -0
  276. package/locale/angular/es-UY.mjs +19 -0
  277. package/locale/angular/es-VE.mjs +19 -0
  278. package/locale/angular/es.mjs +19 -0
  279. package/locale/angular/et.mjs +17 -0
  280. package/locale/angular/eu.mjs +17 -0
  281. package/locale/angular/ewo.mjs +15 -0
  282. package/locale/angular/extra/af-NA.mjs +11 -0
  283. package/locale/angular/extra/af.mjs +11 -0
  284. package/locale/angular/extra/agq.mjs +11 -0
  285. package/locale/angular/extra/ak.mjs +11 -0
  286. package/locale/angular/extra/am.mjs +11 -0
  287. package/locale/angular/extra/ar-AE.mjs +11 -0
  288. package/locale/angular/extra/ar-BH.mjs +11 -0
  289. package/locale/angular/extra/ar-DJ.mjs +11 -0
  290. package/locale/angular/extra/ar-DZ.mjs +11 -0
  291. package/locale/angular/extra/ar-EG.mjs +11 -0
  292. package/locale/angular/extra/ar-EH.mjs +11 -0
  293. package/locale/angular/extra/ar-ER.mjs +11 -0
  294. package/locale/angular/extra/ar-IL.mjs +11 -0
  295. package/locale/angular/extra/ar-IQ.mjs +11 -0
  296. package/locale/angular/extra/ar-JO.mjs +11 -0
  297. package/locale/angular/extra/ar-KM.mjs +11 -0
  298. package/locale/angular/extra/ar-KW.mjs +11 -0
  299. package/locale/angular/extra/ar-LB.mjs +11 -0
  300. package/locale/angular/extra/ar-LY.mjs +11 -0
  301. package/locale/angular/extra/ar-MA.mjs +11 -0
  302. package/locale/angular/extra/ar-MR.mjs +11 -0
  303. package/locale/angular/extra/ar-OM.mjs +11 -0
  304. package/locale/angular/extra/ar-PS.mjs +11 -0
  305. package/locale/angular/extra/ar-QA.mjs +11 -0
  306. package/locale/angular/extra/ar-SA.mjs +11 -0
  307. package/locale/angular/extra/ar-SD.mjs +11 -0
  308. package/locale/angular/extra/ar-SO.mjs +11 -0
  309. package/locale/angular/extra/ar-SS.mjs +11 -0
  310. package/locale/angular/extra/ar-SY.mjs +11 -0
  311. package/locale/angular/extra/ar-TD.mjs +11 -0
  312. package/locale/angular/extra/ar-TN.mjs +11 -0
  313. package/locale/angular/extra/ar-YE.mjs +11 -0
  314. package/locale/angular/extra/ar.mjs +11 -0
  315. package/locale/angular/extra/as.mjs +11 -0
  316. package/locale/angular/extra/asa.mjs +11 -0
  317. package/locale/angular/extra/ast.mjs +11 -0
  318. package/locale/angular/extra/az-Cyrl.mjs +11 -0
  319. package/locale/angular/extra/az-Latn.mjs +11 -0
  320. package/locale/angular/extra/az.mjs +11 -0
  321. package/locale/angular/extra/bas.mjs +11 -0
  322. package/locale/angular/extra/be-tarask.mjs +11 -0
  323. package/locale/angular/extra/be.mjs +11 -0
  324. package/locale/angular/extra/bem.mjs +11 -0
  325. package/locale/angular/extra/bez.mjs +11 -0
  326. package/locale/angular/extra/bg.mjs +11 -0
  327. package/locale/angular/extra/bm.mjs +11 -0
  328. package/locale/angular/extra/bn-IN.mjs +11 -0
  329. package/locale/angular/extra/bn.mjs +11 -0
  330. package/locale/angular/extra/bo-IN.mjs +11 -0
  331. package/locale/angular/extra/bo.mjs +11 -0
  332. package/locale/angular/extra/br.mjs +11 -0
  333. package/locale/angular/extra/brx.mjs +11 -0
  334. package/locale/angular/extra/bs-Cyrl.mjs +11 -0
  335. package/locale/angular/extra/bs-Latn.mjs +11 -0
  336. package/locale/angular/extra/bs.mjs +11 -0
  337. package/locale/angular/extra/ca-AD.mjs +11 -0
  338. package/locale/angular/extra/ca-ES-valencia.mjs +11 -0
  339. package/locale/angular/extra/ca-FR.mjs +11 -0
  340. package/locale/angular/extra/ca-IT.mjs +11 -0
  341. package/locale/angular/extra/ca.mjs +11 -0
  342. package/locale/angular/extra/ccp-IN.mjs +11 -0
  343. package/locale/angular/extra/ccp.mjs +11 -0
  344. package/locale/angular/extra/ce.mjs +11 -0
  345. package/locale/angular/extra/ceb.mjs +11 -0
  346. package/locale/angular/extra/cgg.mjs +11 -0
  347. package/locale/angular/extra/chr.mjs +11 -0
  348. package/locale/angular/extra/ckb-IR.mjs +11 -0
  349. package/locale/angular/extra/ckb.mjs +11 -0
  350. package/locale/angular/extra/cs.mjs +11 -0
  351. package/locale/angular/extra/cy.mjs +11 -0
  352. package/locale/angular/extra/da-GL.mjs +11 -0
  353. package/locale/angular/extra/da.mjs +11 -0
  354. package/locale/angular/extra/dav.mjs +11 -0
  355. package/locale/angular/extra/de-AT.mjs +11 -0
  356. package/locale/angular/extra/de-BE.mjs +11 -0
  357. package/locale/angular/extra/de-CH.mjs +11 -0
  358. package/locale/angular/extra/de-IT.mjs +11 -0
  359. package/locale/angular/extra/de-LI.mjs +11 -0
  360. package/locale/angular/extra/de-LU.mjs +11 -0
  361. package/locale/angular/extra/de.mjs +11 -0
  362. package/locale/angular/extra/dje.mjs +11 -0
  363. package/locale/angular/extra/doi.mjs +11 -0
  364. package/locale/angular/extra/dsb.mjs +11 -0
  365. package/locale/angular/extra/dua.mjs +11 -0
  366. package/locale/angular/extra/dyo.mjs +11 -0
  367. package/locale/angular/extra/dz.mjs +11 -0
  368. package/locale/angular/extra/ebu.mjs +11 -0
  369. package/locale/angular/extra/ee-TG.mjs +11 -0
  370. package/locale/angular/extra/ee.mjs +11 -0
  371. package/locale/angular/extra/el-CY.mjs +11 -0
  372. package/locale/angular/extra/el.mjs +11 -0
  373. package/locale/angular/extra/en-001.mjs +11 -0
  374. package/locale/angular/extra/en-150.mjs +11 -0
  375. package/locale/angular/extra/en-AE.mjs +11 -0
  376. package/locale/angular/extra/en-AG.mjs +11 -0
  377. package/locale/angular/extra/en-AI.mjs +11 -0
  378. package/locale/angular/extra/en-AS.mjs +11 -0
  379. package/locale/angular/extra/en-AT.mjs +11 -0
  380. package/locale/angular/extra/en-AU.mjs +11 -0
  381. package/locale/angular/extra/en-BB.mjs +11 -0
  382. package/locale/angular/extra/en-BE.mjs +11 -0
  383. package/locale/angular/extra/en-BI.mjs +11 -0
  384. package/locale/angular/extra/en-BM.mjs +11 -0
  385. package/locale/angular/extra/en-BS.mjs +11 -0
  386. package/locale/angular/extra/en-BW.mjs +11 -0
  387. package/locale/angular/extra/en-BZ.mjs +11 -0
  388. package/locale/angular/extra/en-CA.mjs +11 -0
  389. package/locale/angular/extra/en-CC.mjs +11 -0
  390. package/locale/angular/extra/en-CH.mjs +11 -0
  391. package/locale/angular/extra/en-CK.mjs +11 -0
  392. package/locale/angular/extra/en-CM.mjs +11 -0
  393. package/locale/angular/extra/en-CX.mjs +11 -0
  394. package/locale/angular/extra/en-CY.mjs +11 -0
  395. package/locale/angular/extra/en-DE.mjs +11 -0
  396. package/locale/angular/extra/en-DG.mjs +11 -0
  397. package/locale/angular/extra/en-DK.mjs +11 -0
  398. package/locale/angular/extra/en-DM.mjs +11 -0
  399. package/locale/angular/extra/en-ER.mjs +11 -0
  400. package/locale/angular/extra/en-FI.mjs +11 -0
  401. package/locale/angular/extra/en-FJ.mjs +11 -0
  402. package/locale/angular/extra/en-FK.mjs +11 -0
  403. package/locale/angular/extra/en-FM.mjs +11 -0
  404. package/locale/angular/extra/en-GB.mjs +11 -0
  405. package/locale/angular/extra/en-GD.mjs +11 -0
  406. package/locale/angular/extra/en-GG.mjs +11 -0
  407. package/locale/angular/extra/en-GH.mjs +11 -0
  408. package/locale/angular/extra/en-GI.mjs +11 -0
  409. package/locale/angular/extra/en-GM.mjs +11 -0
  410. package/locale/angular/extra/en-GU.mjs +11 -0
  411. package/locale/angular/extra/en-GY.mjs +11 -0
  412. package/locale/angular/extra/en-HK.mjs +11 -0
  413. package/locale/angular/extra/en-IE.mjs +11 -0
  414. package/locale/angular/extra/en-IL.mjs +11 -0
  415. package/locale/angular/extra/en-IM.mjs +11 -0
  416. package/locale/angular/extra/en-IN.mjs +11 -0
  417. package/locale/angular/extra/en-IO.mjs +11 -0
  418. package/locale/angular/extra/en-JE.mjs +11 -0
  419. package/locale/angular/extra/en-JM.mjs +11 -0
  420. package/locale/angular/extra/en-KE.mjs +11 -0
  421. package/locale/angular/extra/en-KI.mjs +11 -0
  422. package/locale/angular/extra/en-KN.mjs +11 -0
  423. package/locale/angular/extra/en-KY.mjs +11 -0
  424. package/locale/angular/extra/en-LC.mjs +11 -0
  425. package/locale/angular/extra/en-LR.mjs +11 -0
  426. package/locale/angular/extra/en-LS.mjs +11 -0
  427. package/locale/angular/extra/en-MG.mjs +11 -0
  428. package/locale/angular/extra/en-MH.mjs +11 -0
  429. package/locale/angular/extra/en-MO.mjs +11 -0
  430. package/locale/angular/extra/en-MP.mjs +11 -0
  431. package/locale/angular/extra/en-MS.mjs +11 -0
  432. package/locale/angular/extra/en-MT.mjs +11 -0
  433. package/locale/angular/extra/en-MU.mjs +11 -0
  434. package/locale/angular/extra/en-MV.mjs +11 -0
  435. package/locale/angular/extra/en-MW.mjs +11 -0
  436. package/locale/angular/extra/en-MY.mjs +11 -0
  437. package/locale/angular/extra/en-NA.mjs +11 -0
  438. package/locale/angular/extra/en-NF.mjs +11 -0
  439. package/locale/angular/extra/en-NG.mjs +11 -0
  440. package/locale/angular/extra/en-NL.mjs +11 -0
  441. package/locale/angular/extra/en-NR.mjs +11 -0
  442. package/locale/angular/extra/en-NU.mjs +11 -0
  443. package/locale/angular/extra/en-NZ.mjs +11 -0
  444. package/locale/angular/extra/en-PG.mjs +11 -0
  445. package/locale/angular/extra/en-PH.mjs +11 -0
  446. package/locale/angular/extra/en-PK.mjs +11 -0
  447. package/locale/angular/extra/en-PN.mjs +11 -0
  448. package/locale/angular/extra/en-PR.mjs +11 -0
  449. package/locale/angular/extra/en-PW.mjs +11 -0
  450. package/locale/angular/extra/en-RW.mjs +11 -0
  451. package/locale/angular/extra/en-SB.mjs +11 -0
  452. package/locale/angular/extra/en-SC.mjs +11 -0
  453. package/locale/angular/extra/en-SD.mjs +11 -0
  454. package/locale/angular/extra/en-SE.mjs +11 -0
  455. package/locale/angular/extra/en-SG.mjs +11 -0
  456. package/locale/angular/extra/en-SH.mjs +11 -0
  457. package/locale/angular/extra/en-SI.mjs +11 -0
  458. package/locale/angular/extra/en-SL.mjs +11 -0
  459. package/locale/angular/extra/en-SS.mjs +11 -0
  460. package/locale/angular/extra/en-SX.mjs +11 -0
  461. package/locale/angular/extra/en-SZ.mjs +11 -0
  462. package/locale/angular/extra/en-TC.mjs +11 -0
  463. package/locale/angular/extra/en-TK.mjs +11 -0
  464. package/locale/angular/extra/en-TO.mjs +11 -0
  465. package/locale/angular/extra/en-TT.mjs +11 -0
  466. package/locale/angular/extra/en-TV.mjs +11 -0
  467. package/locale/angular/extra/en-TZ.mjs +11 -0
  468. package/locale/angular/extra/en-UG.mjs +11 -0
  469. package/locale/angular/extra/en-UM.mjs +11 -0
  470. package/locale/angular/extra/en-VC.mjs +11 -0
  471. package/locale/angular/extra/en-VG.mjs +11 -0
  472. package/locale/angular/extra/en-VI.mjs +11 -0
  473. package/locale/angular/extra/en-VU.mjs +11 -0
  474. package/locale/angular/extra/en-WS.mjs +11 -0
  475. package/locale/angular/extra/en-ZA.mjs +11 -0
  476. package/locale/angular/extra/en-ZM.mjs +11 -0
  477. package/locale/angular/extra/en-ZW.mjs +11 -0
  478. package/locale/angular/extra/en.mjs +11 -0
  479. package/locale/angular/extra/eo.mjs +11 -0
  480. package/locale/angular/extra/es-419.mjs +11 -0
  481. package/locale/angular/extra/es-AR.mjs +11 -0
  482. package/locale/angular/extra/es-BO.mjs +11 -0
  483. package/locale/angular/extra/es-BR.mjs +11 -0
  484. package/locale/angular/extra/es-BZ.mjs +11 -0
  485. package/locale/angular/extra/es-CL.mjs +11 -0
  486. package/locale/angular/extra/es-CO.mjs +11 -0
  487. package/locale/angular/extra/es-CR.mjs +11 -0
  488. package/locale/angular/extra/es-CU.mjs +11 -0
  489. package/locale/angular/extra/es-DO.mjs +11 -0
  490. package/locale/angular/extra/es-EA.mjs +11 -0
  491. package/locale/angular/extra/es-EC.mjs +11 -0
  492. package/locale/angular/extra/es-GQ.mjs +11 -0
  493. package/locale/angular/extra/es-GT.mjs +11 -0
  494. package/locale/angular/extra/es-HN.mjs +11 -0
  495. package/locale/angular/extra/es-IC.mjs +11 -0
  496. package/locale/angular/extra/es-MX.mjs +11 -0
  497. package/locale/angular/extra/es-NI.mjs +11 -0
  498. package/locale/angular/extra/es-PA.mjs +11 -0
  499. package/locale/angular/extra/es-PE.mjs +11 -0
  500. package/locale/angular/extra/es-PH.mjs +11 -0
  501. package/locale/angular/extra/es-PR.mjs +11 -0
  502. package/locale/angular/extra/es-PY.mjs +11 -0
  503. package/locale/angular/extra/es-SV.mjs +11 -0
  504. package/locale/angular/extra/es-US.mjs +11 -0
  505. package/locale/angular/extra/es-UY.mjs +11 -0
  506. package/locale/angular/extra/es-VE.mjs +11 -0
  507. package/locale/angular/extra/es.mjs +11 -0
  508. package/locale/angular/extra/et.mjs +11 -0
  509. package/locale/angular/extra/eu.mjs +11 -0
  510. package/locale/angular/extra/ewo.mjs +11 -0
  511. package/locale/angular/extra/fa-AF.mjs +11 -0
  512. package/locale/angular/extra/fa.mjs +11 -0
  513. package/locale/angular/extra/ff-Adlm-BF.mjs +11 -0
  514. package/locale/angular/extra/ff-Adlm-CM.mjs +11 -0
  515. package/locale/angular/extra/ff-Adlm-GH.mjs +11 -0
  516. package/locale/angular/extra/ff-Adlm-GM.mjs +11 -0
  517. package/locale/angular/extra/ff-Adlm-GW.mjs +11 -0
  518. package/locale/angular/extra/ff-Adlm-LR.mjs +11 -0
  519. package/locale/angular/extra/ff-Adlm-MR.mjs +11 -0
  520. package/locale/angular/extra/ff-Adlm-NE.mjs +11 -0
  521. package/locale/angular/extra/ff-Adlm-NG.mjs +11 -0
  522. package/locale/angular/extra/ff-Adlm-SL.mjs +11 -0
  523. package/locale/angular/extra/ff-Adlm-SN.mjs +11 -0
  524. package/locale/angular/extra/ff-Adlm.mjs +11 -0
  525. package/locale/angular/extra/ff-CM.mjs +16 -0
  526. package/locale/angular/extra/ff-GN.mjs +16 -0
  527. package/locale/angular/extra/ff-Latn-BF.mjs +11 -0
  528. package/locale/angular/extra/ff-Latn-CM.mjs +11 -0
  529. package/locale/angular/extra/ff-Latn-GH.mjs +11 -0
  530. package/locale/angular/extra/ff-Latn-GM.mjs +11 -0
  531. package/locale/angular/extra/ff-Latn-GN.mjs +11 -0
  532. package/locale/angular/extra/ff-Latn-GW.mjs +11 -0
  533. package/locale/angular/extra/ff-Latn-LR.mjs +11 -0
  534. package/locale/angular/extra/ff-Latn-MR.mjs +11 -0
  535. package/locale/angular/extra/ff-Latn-NE.mjs +11 -0
  536. package/locale/angular/extra/ff-Latn-NG.mjs +11 -0
  537. package/locale/angular/extra/ff-Latn-SL.mjs +11 -0
  538. package/locale/angular/extra/ff-Latn.mjs +11 -0
  539. package/locale/angular/extra/ff-MR.mjs +16 -0
  540. package/locale/angular/extra/ff.mjs +11 -0
  541. package/locale/angular/extra/fi.mjs +11 -0
  542. package/locale/angular/extra/fil.mjs +11 -0
  543. package/locale/angular/extra/fo-DK.mjs +11 -0
  544. package/locale/angular/extra/fo.mjs +11 -0
  545. package/locale/angular/extra/fr-BE.mjs +11 -0
  546. package/locale/angular/extra/fr-BF.mjs +11 -0
  547. package/locale/angular/extra/fr-BI.mjs +11 -0
  548. package/locale/angular/extra/fr-BJ.mjs +11 -0
  549. package/locale/angular/extra/fr-BL.mjs +11 -0
  550. package/locale/angular/extra/fr-CA.mjs +11 -0
  551. package/locale/angular/extra/fr-CD.mjs +11 -0
  552. package/locale/angular/extra/fr-CF.mjs +11 -0
  553. package/locale/angular/extra/fr-CG.mjs +11 -0
  554. package/locale/angular/extra/fr-CH.mjs +11 -0
  555. package/locale/angular/extra/fr-CI.mjs +11 -0
  556. package/locale/angular/extra/fr-CM.mjs +11 -0
  557. package/locale/angular/extra/fr-DJ.mjs +11 -0
  558. package/locale/angular/extra/fr-DZ.mjs +11 -0
  559. package/locale/angular/extra/fr-GA.mjs +11 -0
  560. package/locale/angular/extra/fr-GF.mjs +11 -0
  561. package/locale/angular/extra/fr-GN.mjs +11 -0
  562. package/locale/angular/extra/fr-GP.mjs +11 -0
  563. package/locale/angular/extra/fr-GQ.mjs +11 -0
  564. package/locale/angular/extra/fr-HT.mjs +11 -0
  565. package/locale/angular/extra/fr-KM.mjs +11 -0
  566. package/locale/angular/extra/fr-LU.mjs +11 -0
  567. package/locale/angular/extra/fr-MA.mjs +11 -0
  568. package/locale/angular/extra/fr-MC.mjs +11 -0
  569. package/locale/angular/extra/fr-MF.mjs +11 -0
  570. package/locale/angular/extra/fr-MG.mjs +11 -0
  571. package/locale/angular/extra/fr-ML.mjs +11 -0
  572. package/locale/angular/extra/fr-MQ.mjs +11 -0
  573. package/locale/angular/extra/fr-MR.mjs +11 -0
  574. package/locale/angular/extra/fr-MU.mjs +11 -0
  575. package/locale/angular/extra/fr-NC.mjs +11 -0
  576. package/locale/angular/extra/fr-NE.mjs +11 -0
  577. package/locale/angular/extra/fr-PF.mjs +11 -0
  578. package/locale/angular/extra/fr-PM.mjs +11 -0
  579. package/locale/angular/extra/fr-RE.mjs +11 -0
  580. package/locale/angular/extra/fr-RW.mjs +11 -0
  581. package/locale/angular/extra/fr-SC.mjs +11 -0
  582. package/locale/angular/extra/fr-SN.mjs +11 -0
  583. package/locale/angular/extra/fr-SY.mjs +11 -0
  584. package/locale/angular/extra/fr-TD.mjs +11 -0
  585. package/locale/angular/extra/fr-TG.mjs +11 -0
  586. package/locale/angular/extra/fr-TN.mjs +11 -0
  587. package/locale/angular/extra/fr-VU.mjs +11 -0
  588. package/locale/angular/extra/fr-WF.mjs +11 -0
  589. package/locale/angular/extra/fr-YT.mjs +11 -0
  590. package/locale/angular/extra/fr.mjs +11 -0
  591. package/locale/angular/extra/fur.mjs +11 -0
  592. package/locale/angular/extra/fy.mjs +11 -0
  593. package/locale/angular/extra/ga-GB.mjs +11 -0
  594. package/locale/angular/extra/ga.mjs +11 -0
  595. package/locale/angular/extra/gd.mjs +11 -0
  596. package/locale/angular/extra/gl.mjs +11 -0
  597. package/locale/angular/extra/gsw-FR.mjs +11 -0
  598. package/locale/angular/extra/gsw-LI.mjs +11 -0
  599. package/locale/angular/extra/gsw.mjs +11 -0
  600. package/locale/angular/extra/gu.mjs +11 -0
  601. package/locale/angular/extra/guz.mjs +11 -0
  602. package/locale/angular/extra/gv.mjs +11 -0
  603. package/locale/angular/extra/ha-GH.mjs +11 -0
  604. package/locale/angular/extra/ha-NE.mjs +11 -0
  605. package/locale/angular/extra/ha.mjs +11 -0
  606. package/locale/angular/extra/haw.mjs +11 -0
  607. package/locale/angular/extra/he.mjs +11 -0
  608. package/locale/angular/extra/hi-Latn.mjs +11 -0
  609. package/locale/angular/extra/hi.mjs +11 -0
  610. package/locale/angular/extra/hr-BA.mjs +11 -0
  611. package/locale/angular/extra/hr.mjs +11 -0
  612. package/locale/angular/extra/hsb.mjs +11 -0
  613. package/locale/angular/extra/hu.mjs +11 -0
  614. package/locale/angular/extra/hy.mjs +11 -0
  615. package/locale/angular/extra/ia.mjs +11 -0
  616. package/locale/angular/extra/id.mjs +11 -0
  617. package/locale/angular/extra/ig.mjs +11 -0
  618. package/locale/angular/extra/ii.mjs +11 -0
  619. package/locale/angular/extra/is.mjs +11 -0
  620. package/locale/angular/extra/it-CH.mjs +11 -0
  621. package/locale/angular/extra/it-SM.mjs +11 -0
  622. package/locale/angular/extra/it-VA.mjs +11 -0
  623. package/locale/angular/extra/it.mjs +11 -0
  624. package/locale/angular/extra/ja.mjs +11 -0
  625. package/locale/angular/extra/jgo.mjs +11 -0
  626. package/locale/angular/extra/jmc.mjs +11 -0
  627. package/locale/angular/extra/jv.mjs +11 -0
  628. package/locale/angular/extra/ka.mjs +11 -0
  629. package/locale/angular/extra/kab.mjs +11 -0
  630. package/locale/angular/extra/kam.mjs +11 -0
  631. package/locale/angular/extra/kde.mjs +11 -0
  632. package/locale/angular/extra/kea.mjs +11 -0
  633. package/locale/angular/extra/kgp.mjs +11 -0
  634. package/locale/angular/extra/khq.mjs +11 -0
  635. package/locale/angular/extra/ki.mjs +11 -0
  636. package/locale/angular/extra/kk.mjs +11 -0
  637. package/locale/angular/extra/kkj.mjs +11 -0
  638. package/locale/angular/extra/kl.mjs +11 -0
  639. package/locale/angular/extra/kln.mjs +11 -0
  640. package/locale/angular/extra/km.mjs +11 -0
  641. package/locale/angular/extra/kn.mjs +11 -0
  642. package/locale/angular/extra/ko-KP.mjs +11 -0
  643. package/locale/angular/extra/ko.mjs +11 -0
  644. package/locale/angular/extra/kok.mjs +11 -0
  645. package/locale/angular/extra/ks-Arab.mjs +11 -0
  646. package/locale/angular/extra/ks-Deva.mjs +11 -0
  647. package/locale/angular/extra/ks.mjs +11 -0
  648. package/locale/angular/extra/ksb.mjs +11 -0
  649. package/locale/angular/extra/ksf.mjs +11 -0
  650. package/locale/angular/extra/ksh.mjs +11 -0
  651. package/locale/angular/extra/ku.mjs +11 -0
  652. package/locale/angular/extra/kw.mjs +11 -0
  653. package/locale/angular/extra/ky.mjs +11 -0
  654. package/locale/angular/extra/lag.mjs +11 -0
  655. package/locale/angular/extra/lb.mjs +11 -0
  656. package/locale/angular/extra/lg.mjs +11 -0
  657. package/locale/angular/extra/lkt.mjs +11 -0
  658. package/locale/angular/extra/ln-AO.mjs +11 -0
  659. package/locale/angular/extra/ln-CF.mjs +11 -0
  660. package/locale/angular/extra/ln-CG.mjs +11 -0
  661. package/locale/angular/extra/ln.mjs +11 -0
  662. package/locale/angular/extra/lo.mjs +11 -0
  663. package/locale/angular/extra/lrc-IQ.mjs +11 -0
  664. package/locale/angular/extra/lrc.mjs +11 -0
  665. package/locale/angular/extra/lt.mjs +11 -0
  666. package/locale/angular/extra/lu.mjs +11 -0
  667. package/locale/angular/extra/luo.mjs +11 -0
  668. package/locale/angular/extra/luy.mjs +11 -0
  669. package/locale/angular/extra/lv.mjs +11 -0
  670. package/locale/angular/extra/mai.mjs +11 -0
  671. package/locale/angular/extra/mas-TZ.mjs +11 -0
  672. package/locale/angular/extra/mas.mjs +11 -0
  673. package/locale/angular/extra/mer.mjs +11 -0
  674. package/locale/angular/extra/mfe.mjs +11 -0
  675. package/locale/angular/extra/mg.mjs +11 -0
  676. package/locale/angular/extra/mgh.mjs +11 -0
  677. package/locale/angular/extra/mgo.mjs +11 -0
  678. package/locale/angular/extra/mi.mjs +11 -0
  679. package/locale/angular/extra/mk.mjs +11 -0
  680. package/locale/angular/extra/ml.mjs +11 -0
  681. package/locale/angular/extra/mn.mjs +11 -0
  682. package/locale/angular/extra/mni-Beng.mjs +11 -0
  683. package/locale/angular/extra/mni.mjs +11 -0
  684. package/locale/angular/extra/mr.mjs +11 -0
  685. package/locale/angular/extra/ms-BN.mjs +11 -0
  686. package/locale/angular/extra/ms-ID.mjs +11 -0
  687. package/locale/angular/extra/ms-SG.mjs +11 -0
  688. package/locale/angular/extra/ms.mjs +11 -0
  689. package/locale/angular/extra/mt.mjs +11 -0
  690. package/locale/angular/extra/mua.mjs +11 -0
  691. package/locale/angular/extra/my.mjs +11 -0
  692. package/locale/angular/extra/mzn.mjs +11 -0
  693. package/locale/angular/extra/naq.mjs +11 -0
  694. package/locale/angular/extra/nb-SJ.mjs +11 -0
  695. package/locale/angular/extra/nb.mjs +11 -0
  696. package/locale/angular/extra/nd.mjs +11 -0
  697. package/locale/angular/extra/nds-NL.mjs +11 -0
  698. package/locale/angular/extra/nds.mjs +11 -0
  699. package/locale/angular/extra/ne-IN.mjs +11 -0
  700. package/locale/angular/extra/ne.mjs +11 -0
  701. package/locale/angular/extra/nl-AW.mjs +11 -0
  702. package/locale/angular/extra/nl-BE.mjs +11 -0
  703. package/locale/angular/extra/nl-BQ.mjs +11 -0
  704. package/locale/angular/extra/nl-CW.mjs +11 -0
  705. package/locale/angular/extra/nl-SR.mjs +11 -0
  706. package/locale/angular/extra/nl-SX.mjs +11 -0
  707. package/locale/angular/extra/nl.mjs +11 -0
  708. package/locale/angular/extra/nmg.mjs +11 -0
  709. package/locale/angular/extra/nn.mjs +11 -0
  710. package/locale/angular/extra/nnh.mjs +11 -0
  711. package/locale/angular/extra/no.mjs +11 -0
  712. package/locale/angular/extra/nus.mjs +11 -0
  713. package/locale/angular/extra/nyn.mjs +11 -0
  714. package/locale/angular/extra/om-KE.mjs +11 -0
  715. package/locale/angular/extra/om.mjs +11 -0
  716. package/locale/angular/extra/or.mjs +11 -0
  717. package/locale/angular/extra/os-RU.mjs +11 -0
  718. package/locale/angular/extra/os.mjs +11 -0
  719. package/locale/angular/extra/pa-Arab.mjs +11 -0
  720. package/locale/angular/extra/pa-Guru.mjs +11 -0
  721. package/locale/angular/extra/pa.mjs +11 -0
  722. package/locale/angular/extra/pcm.mjs +11 -0
  723. package/locale/angular/extra/pl.mjs +11 -0
  724. package/locale/angular/extra/ps-PK.mjs +11 -0
  725. package/locale/angular/extra/ps.mjs +11 -0
  726. package/locale/angular/extra/pt-AO.mjs +11 -0
  727. package/locale/angular/extra/pt-CH.mjs +11 -0
  728. package/locale/angular/extra/pt-CV.mjs +11 -0
  729. package/locale/angular/extra/pt-GQ.mjs +11 -0
  730. package/locale/angular/extra/pt-GW.mjs +11 -0
  731. package/locale/angular/extra/pt-LU.mjs +11 -0
  732. package/locale/angular/extra/pt-MO.mjs +11 -0
  733. package/locale/angular/extra/pt-MZ.mjs +11 -0
  734. package/locale/angular/extra/pt-PT.mjs +11 -0
  735. package/locale/angular/extra/pt-ST.mjs +11 -0
  736. package/locale/angular/extra/pt-TL.mjs +11 -0
  737. package/locale/angular/extra/pt.mjs +11 -0
  738. package/locale/angular/extra/qu-BO.mjs +11 -0
  739. package/locale/angular/extra/qu-EC.mjs +11 -0
  740. package/locale/angular/extra/qu.mjs +11 -0
  741. package/locale/angular/extra/rm.mjs +11 -0
  742. package/locale/angular/extra/rn.mjs +11 -0
  743. package/locale/angular/extra/ro-MD.mjs +11 -0
  744. package/locale/angular/extra/ro.mjs +11 -0
  745. package/locale/angular/extra/rof.mjs +11 -0
  746. package/locale/angular/extra/ru-BY.mjs +11 -0
  747. package/locale/angular/extra/ru-KG.mjs +11 -0
  748. package/locale/angular/extra/ru-KZ.mjs +11 -0
  749. package/locale/angular/extra/ru-MD.mjs +11 -0
  750. package/locale/angular/extra/ru-UA.mjs +11 -0
  751. package/locale/angular/extra/ru.mjs +11 -0
  752. package/locale/angular/extra/rw.mjs +11 -0
  753. package/locale/angular/extra/rwk.mjs +11 -0
  754. package/locale/angular/extra/sa.mjs +11 -0
  755. package/locale/angular/extra/sah.mjs +11 -0
  756. package/locale/angular/extra/saq.mjs +11 -0
  757. package/locale/angular/extra/sat-Olck.mjs +11 -0
  758. package/locale/angular/extra/sat.mjs +11 -0
  759. package/locale/angular/extra/sbp.mjs +11 -0
  760. package/locale/angular/extra/sc.mjs +11 -0
  761. package/locale/angular/extra/sd-Arab.mjs +11 -0
  762. package/locale/angular/extra/sd-Deva.mjs +11 -0
  763. package/locale/angular/extra/sd.mjs +11 -0
  764. package/locale/angular/extra/se-FI.mjs +11 -0
  765. package/locale/angular/extra/se-SE.mjs +11 -0
  766. package/locale/angular/extra/se.mjs +11 -0
  767. package/locale/angular/extra/seh.mjs +11 -0
  768. package/locale/angular/extra/ses.mjs +11 -0
  769. package/locale/angular/extra/sg.mjs +11 -0
  770. package/locale/angular/extra/shi-Latn.mjs +11 -0
  771. package/locale/angular/extra/shi-Tfng.mjs +11 -0
  772. package/locale/angular/extra/shi.mjs +11 -0
  773. package/locale/angular/extra/si.mjs +11 -0
  774. package/locale/angular/extra/sk.mjs +11 -0
  775. package/locale/angular/extra/sl.mjs +11 -0
  776. package/locale/angular/extra/smn.mjs +11 -0
  777. package/locale/angular/extra/sn.mjs +11 -0
  778. package/locale/angular/extra/so-DJ.mjs +11 -0
  779. package/locale/angular/extra/so-ET.mjs +11 -0
  780. package/locale/angular/extra/so-KE.mjs +11 -0
  781. package/locale/angular/extra/so.mjs +11 -0
  782. package/locale/angular/extra/sq-MK.mjs +11 -0
  783. package/locale/angular/extra/sq-XK.mjs +11 -0
  784. package/locale/angular/extra/sq.mjs +11 -0
  785. package/locale/angular/extra/sr-Cyrl-BA.mjs +11 -0
  786. package/locale/angular/extra/sr-Cyrl-ME.mjs +11 -0
  787. package/locale/angular/extra/sr-Cyrl-XK.mjs +11 -0
  788. package/locale/angular/extra/sr-Cyrl.mjs +11 -0
  789. package/locale/angular/extra/sr-Latn-BA.mjs +11 -0
  790. package/locale/angular/extra/sr-Latn-ME.mjs +11 -0
  791. package/locale/angular/extra/sr-Latn-XK.mjs +11 -0
  792. package/locale/angular/extra/sr-Latn.mjs +11 -0
  793. package/locale/angular/extra/sr.mjs +11 -0
  794. package/locale/angular/extra/su-Latn.mjs +11 -0
  795. package/locale/angular/extra/su.mjs +11 -0
  796. package/locale/angular/extra/sv-AX.mjs +11 -0
  797. package/locale/angular/extra/sv-FI.mjs +11 -0
  798. package/locale/angular/extra/sv.mjs +11 -0
  799. package/locale/angular/extra/sw-CD.mjs +11 -0
  800. package/locale/angular/extra/sw-KE.mjs +11 -0
  801. package/locale/angular/extra/sw-UG.mjs +11 -0
  802. package/locale/angular/extra/sw.mjs +11 -0
  803. package/locale/angular/extra/ta-LK.mjs +11 -0
  804. package/locale/angular/extra/ta-MY.mjs +11 -0
  805. package/locale/angular/extra/ta-SG.mjs +11 -0
  806. package/locale/angular/extra/ta.mjs +11 -0
  807. package/locale/angular/extra/te.mjs +11 -0
  808. package/locale/angular/extra/teo-KE.mjs +11 -0
  809. package/locale/angular/extra/teo.mjs +11 -0
  810. package/locale/angular/extra/tg.mjs +11 -0
  811. package/locale/angular/extra/th.mjs +11 -0
  812. package/locale/angular/extra/ti-ER.mjs +11 -0
  813. package/locale/angular/extra/ti.mjs +11 -0
  814. package/locale/angular/extra/tk.mjs +11 -0
  815. package/locale/angular/extra/to.mjs +11 -0
  816. package/locale/angular/extra/tr-CY.mjs +11 -0
  817. package/locale/angular/extra/tr.mjs +11 -0
  818. package/locale/angular/extra/tt.mjs +11 -0
  819. package/locale/angular/extra/twq.mjs +11 -0
  820. package/locale/angular/extra/tzm.mjs +11 -0
  821. package/locale/angular/extra/ug.mjs +11 -0
  822. package/locale/angular/extra/uk.mjs +11 -0
  823. package/locale/angular/extra/und.mjs +11 -0
  824. package/locale/angular/extra/ur-IN.mjs +11 -0
  825. package/locale/angular/extra/ur.mjs +11 -0
  826. package/locale/angular/extra/uz-Arab.mjs +11 -0
  827. package/locale/angular/extra/uz-Cyrl.mjs +11 -0
  828. package/locale/angular/extra/uz-Latn.mjs +11 -0
  829. package/locale/angular/extra/uz.mjs +11 -0
  830. package/locale/angular/extra/vai-Latn.mjs +11 -0
  831. package/locale/angular/extra/vai-Vaii.mjs +11 -0
  832. package/locale/angular/extra/vai.mjs +11 -0
  833. package/locale/angular/extra/vi.mjs +11 -0
  834. package/locale/angular/extra/vun.mjs +11 -0
  835. package/locale/angular/extra/wae.mjs +11 -0
  836. package/locale/angular/extra/wo.mjs +11 -0
  837. package/locale/angular/extra/xh.mjs +11 -0
  838. package/locale/angular/extra/xog.mjs +11 -0
  839. package/locale/angular/extra/yav.mjs +11 -0
  840. package/locale/angular/extra/yi.mjs +11 -0
  841. package/locale/angular/extra/yo-BJ.mjs +11 -0
  842. package/locale/angular/extra/yo.mjs +11 -0
  843. package/locale/angular/extra/yrl-CO.mjs +11 -0
  844. package/locale/angular/extra/yrl-VE.mjs +11 -0
  845. package/locale/angular/extra/yrl.mjs +11 -0
  846. package/locale/angular/extra/yue-Hans.mjs +11 -0
  847. package/locale/angular/extra/yue-Hant.mjs +11 -0
  848. package/locale/angular/extra/yue.mjs +11 -0
  849. package/locale/angular/extra/zgh.mjs +11 -0
  850. package/locale/angular/extra/zh-Hans-HK.mjs +11 -0
  851. package/locale/angular/extra/zh-Hans-MO.mjs +11 -0
  852. package/locale/angular/extra/zh-Hans-SG.mjs +11 -0
  853. package/locale/angular/extra/zh-Hans.mjs +11 -0
  854. package/locale/angular/extra/zh-Hant-HK.mjs +11 -0
  855. package/locale/angular/extra/zh-Hant-MO.mjs +11 -0
  856. package/locale/angular/extra/zh-Hant.mjs +11 -0
  857. package/locale/angular/extra/zh.mjs +11 -0
  858. package/locale/angular/extra/zu.mjs +11 -0
  859. package/locale/angular/fa-AF.mjs +17 -0
  860. package/locale/angular/fa.mjs +17 -0
  861. package/locale/angular/ff-Adlm-BF.mjs +15 -0
  862. package/locale/angular/ff-Adlm-CM.mjs +15 -0
  863. package/locale/angular/ff-Adlm-GH.mjs +15 -0
  864. package/locale/angular/ff-Adlm-GM.mjs +15 -0
  865. package/locale/angular/ff-Adlm-GW.mjs +15 -0
  866. package/locale/angular/ff-Adlm-LR.mjs +15 -0
  867. package/locale/angular/ff-Adlm-MR.mjs +15 -0
  868. package/locale/angular/ff-Adlm-NE.mjs +15 -0
  869. package/locale/angular/ff-Adlm-NG.mjs +15 -0
  870. package/locale/angular/ff-Adlm-SL.mjs +15 -0
  871. package/locale/angular/ff-Adlm-SN.mjs +15 -0
  872. package/locale/angular/ff-Adlm.mjs +15 -0
  873. package/locale/angular/ff-CM.mjs +64 -0
  874. package/locale/angular/ff-GN.mjs +64 -0
  875. package/locale/angular/ff-Latn-BF.mjs +17 -0
  876. package/locale/angular/ff-Latn-CM.mjs +17 -0
  877. package/locale/angular/ff-Latn-GH.mjs +17 -0
  878. package/locale/angular/ff-Latn-GM.mjs +17 -0
  879. package/locale/angular/ff-Latn-GN.mjs +17 -0
  880. package/locale/angular/ff-Latn-GW.mjs +17 -0
  881. package/locale/angular/ff-Latn-LR.mjs +17 -0
  882. package/locale/angular/ff-Latn-MR.mjs +17 -0
  883. package/locale/angular/ff-Latn-NE.mjs +17 -0
  884. package/locale/angular/ff-Latn-NG.mjs +17 -0
  885. package/locale/angular/ff-Latn-SL.mjs +17 -0
  886. package/locale/angular/ff-Latn.mjs +17 -0
  887. package/locale/angular/ff-MR.mjs +64 -0
  888. package/locale/angular/ff.mjs +17 -0
  889. package/locale/angular/fi.mjs +17 -0
  890. package/locale/angular/fil.mjs +17 -0
  891. package/locale/angular/fo-DK.mjs +17 -0
  892. package/locale/angular/fo.mjs +17 -0
  893. package/locale/angular/fr-BE.mjs +19 -0
  894. package/locale/angular/fr-BF.mjs +19 -0
  895. package/locale/angular/fr-BI.mjs +19 -0
  896. package/locale/angular/fr-BJ.mjs +19 -0
  897. package/locale/angular/fr-BL.mjs +19 -0
  898. package/locale/angular/fr-CA.mjs +19 -0
  899. package/locale/angular/fr-CD.mjs +19 -0
  900. package/locale/angular/fr-CF.mjs +19 -0
  901. package/locale/angular/fr-CG.mjs +19 -0
  902. package/locale/angular/fr-CH.mjs +19 -0
  903. package/locale/angular/fr-CI.mjs +19 -0
  904. package/locale/angular/fr-CM.mjs +19 -0
  905. package/locale/angular/fr-DJ.mjs +19 -0
  906. package/locale/angular/fr-DZ.mjs +19 -0
  907. package/locale/angular/fr-GA.mjs +19 -0
  908. package/locale/angular/fr-GF.mjs +19 -0
  909. package/locale/angular/fr-GN.mjs +19 -0
  910. package/locale/angular/fr-GP.mjs +19 -0
  911. package/locale/angular/fr-GQ.mjs +19 -0
  912. package/locale/angular/fr-HT.mjs +19 -0
  913. package/locale/angular/fr-KM.mjs +19 -0
  914. package/locale/angular/fr-LU.mjs +19 -0
  915. package/locale/angular/fr-MA.mjs +19 -0
  916. package/locale/angular/fr-MC.mjs +19 -0
  917. package/locale/angular/fr-MF.mjs +19 -0
  918. package/locale/angular/fr-MG.mjs +19 -0
  919. package/locale/angular/fr-ML.mjs +19 -0
  920. package/locale/angular/fr-MQ.mjs +19 -0
  921. package/locale/angular/fr-MR.mjs +19 -0
  922. package/locale/angular/fr-MU.mjs +19 -0
  923. package/locale/angular/fr-NC.mjs +19 -0
  924. package/locale/angular/fr-NE.mjs +19 -0
  925. package/locale/angular/fr-PF.mjs +19 -0
  926. package/locale/angular/fr-PM.mjs +19 -0
  927. package/locale/angular/fr-RE.mjs +19 -0
  928. package/locale/angular/fr-RW.mjs +19 -0
  929. package/locale/angular/fr-SC.mjs +19 -0
  930. package/locale/angular/fr-SN.mjs +19 -0
  931. package/locale/angular/fr-SY.mjs +19 -0
  932. package/locale/angular/fr-TD.mjs +19 -0
  933. package/locale/angular/fr-TG.mjs +19 -0
  934. package/locale/angular/fr-TN.mjs +19 -0
  935. package/locale/angular/fr-VU.mjs +19 -0
  936. package/locale/angular/fr-WF.mjs +19 -0
  937. package/locale/angular/fr-YT.mjs +19 -0
  938. package/locale/angular/fr.mjs +19 -0
  939. package/locale/angular/fur.mjs +17 -0
  940. package/locale/angular/fy.mjs +17 -0
  941. package/locale/angular/ga-GB.mjs +23 -0
  942. package/locale/angular/ga.mjs +23 -0
  943. package/locale/angular/gd.mjs +21 -0
  944. package/locale/angular/gl.mjs +17 -0
  945. package/locale/angular/gsw-FR.mjs +17 -0
  946. package/locale/angular/gsw-LI.mjs +17 -0
  947. package/locale/angular/gsw.mjs +17 -0
  948. package/locale/angular/gu.mjs +17 -0
  949. package/locale/angular/guz.mjs +15 -0
  950. package/locale/angular/gv.mjs +23 -0
  951. package/locale/angular/ha-GH.mjs +17 -0
  952. package/locale/angular/ha-NE.mjs +17 -0
  953. package/locale/angular/ha.mjs +17 -0
  954. package/locale/angular/haw.mjs +17 -0
  955. package/locale/angular/he.mjs +21 -0
  956. package/locale/angular/hi-Latn.mjs +17 -0
  957. package/locale/angular/hi.mjs +17 -0
  958. package/locale/angular/hr-BA.mjs +19 -0
  959. package/locale/angular/hr.mjs +19 -0
  960. package/locale/angular/hsb.mjs +21 -0
  961. package/locale/angular/hu.mjs +17 -0
  962. package/locale/angular/hy.mjs +17 -0
  963. package/locale/angular/ia.mjs +17 -0
  964. package/locale/angular/id.mjs +15 -0
  965. package/locale/angular/ig.mjs +15 -0
  966. package/locale/angular/ii.mjs +15 -0
  967. package/locale/angular/is.mjs +17 -0
  968. package/locale/angular/it-CH.mjs +19 -0
  969. package/locale/angular/it-SM.mjs +19 -0
  970. package/locale/angular/it-VA.mjs +19 -0
  971. package/locale/angular/it.mjs +19 -0
  972. package/locale/angular/ja.mjs +15 -0
  973. package/locale/angular/jgo.mjs +17 -0
  974. package/locale/angular/jmc.mjs +17 -0
  975. package/locale/angular/jv.mjs +15 -0
  976. package/locale/angular/ka.mjs +17 -0
  977. package/locale/angular/kab.mjs +17 -0
  978. package/locale/angular/kam.mjs +15 -0
  979. package/locale/angular/kde.mjs +15 -0
  980. package/locale/angular/kea.mjs +15 -0
  981. package/locale/angular/kgp.mjs +15 -0
  982. package/locale/angular/khq.mjs +15 -0
  983. package/locale/angular/ki.mjs +15 -0
  984. package/locale/angular/kk.mjs +17 -0
  985. package/locale/angular/kkj.mjs +17 -0
  986. package/locale/angular/kl.mjs +17 -0
  987. package/locale/angular/kln.mjs +15 -0
  988. package/locale/angular/km.mjs +15 -0
  989. package/locale/angular/kn.mjs +17 -0
  990. package/locale/angular/ko-KP.mjs +15 -0
  991. package/locale/angular/ko.mjs +15 -0
  992. package/locale/angular/kok.mjs +15 -0
  993. package/locale/angular/ks-Arab.mjs +17 -0
  994. package/locale/angular/ks-Deva.mjs +15 -0
  995. package/locale/angular/ks.mjs +17 -0
  996. package/locale/angular/ksb.mjs +17 -0
  997. package/locale/angular/ksf.mjs +15 -0
  998. package/locale/angular/ksh.mjs +19 -0
  999. package/locale/angular/ku.mjs +17 -0
  1000. package/locale/angular/kw.mjs +25 -0
  1001. package/locale/angular/ky.mjs +17 -0
  1002. package/locale/angular/lag.mjs +19 -0
  1003. package/locale/angular/lb.mjs +17 -0
  1004. package/locale/angular/lg.mjs +17 -0
  1005. package/locale/angular/lkt.mjs +15 -0
  1006. package/locale/angular/ln-AO.mjs +17 -0
  1007. package/locale/angular/ln-CF.mjs +17 -0
  1008. package/locale/angular/ln-CG.mjs +17 -0
  1009. package/locale/angular/ln.mjs +17 -0
  1010. package/locale/angular/lo.mjs +15 -0
  1011. package/locale/angular/lrc-IQ.mjs +15 -0
  1012. package/locale/angular/lrc.mjs +15 -0
  1013. package/locale/angular/lt.mjs +21 -0
  1014. package/locale/angular/lu.mjs +15 -0
  1015. package/locale/angular/luo.mjs +15 -0
  1016. package/locale/angular/luy.mjs +15 -0
  1017. package/locale/angular/lv.mjs +19 -0
  1018. package/locale/angular/mai.mjs +15 -0
  1019. package/locale/angular/mas-TZ.mjs +17 -0
  1020. package/locale/angular/mas.mjs +17 -0
  1021. package/locale/angular/mer.mjs +15 -0
  1022. package/locale/angular/mfe.mjs +15 -0
  1023. package/locale/angular/mg.mjs +17 -0
  1024. package/locale/angular/mgh.mjs +15 -0
  1025. package/locale/angular/mgo.mjs +17 -0
  1026. package/locale/angular/mi.mjs +15 -0
  1027. package/locale/angular/mk.mjs +17 -0
  1028. package/locale/angular/ml.mjs +17 -0
  1029. package/locale/angular/mn.mjs +17 -0
  1030. package/locale/angular/mni-Beng.mjs +15 -0
  1031. package/locale/angular/mni.mjs +15 -0
  1032. package/locale/angular/mr.mjs +17 -0
  1033. package/locale/angular/ms-BN.mjs +15 -0
  1034. package/locale/angular/ms-ID.mjs +15 -0
  1035. package/locale/angular/ms-SG.mjs +15 -0
  1036. package/locale/angular/ms.mjs +15 -0
  1037. package/locale/angular/mt.mjs +21 -0
  1038. package/locale/angular/mua.mjs +15 -0
  1039. package/locale/angular/my.mjs +15 -0
  1040. package/locale/angular/mzn.mjs +15 -0
  1041. package/locale/angular/naq.mjs +19 -0
  1042. package/locale/angular/nb-SJ.mjs +17 -0
  1043. package/locale/angular/nb.mjs +17 -0
  1044. package/locale/angular/nd.mjs +17 -0
  1045. package/locale/angular/nds-NL.mjs +15 -0
  1046. package/locale/angular/nds.mjs +15 -0
  1047. package/locale/angular/ne-IN.mjs +17 -0
  1048. package/locale/angular/ne.mjs +17 -0
  1049. package/locale/angular/nl-AW.mjs +17 -0
  1050. package/locale/angular/nl-BE.mjs +17 -0
  1051. package/locale/angular/nl-BQ.mjs +17 -0
  1052. package/locale/angular/nl-CW.mjs +17 -0
  1053. package/locale/angular/nl-SR.mjs +17 -0
  1054. package/locale/angular/nl-SX.mjs +17 -0
  1055. package/locale/angular/nl.mjs +17 -0
  1056. package/locale/angular/nmg.mjs +15 -0
  1057. package/locale/angular/nn.mjs +17 -0
  1058. package/locale/angular/nnh.mjs +17 -0
  1059. package/locale/angular/no.mjs +17 -0
  1060. package/locale/angular/nus.mjs +15 -0
  1061. package/locale/angular/nyn.mjs +17 -0
  1062. package/locale/angular/om-KE.mjs +17 -0
  1063. package/locale/angular/om.mjs +17 -0
  1064. package/locale/angular/or.mjs +17 -0
  1065. package/locale/angular/os-RU.mjs +17 -0
  1066. package/locale/angular/os.mjs +17 -0
  1067. package/locale/angular/pa-Arab.mjs +15 -0
  1068. package/locale/angular/pa-Guru.mjs +17 -0
  1069. package/locale/angular/pa.mjs +17 -0
  1070. package/locale/angular/pcm.mjs +17 -0
  1071. package/locale/angular/pl.mjs +21 -0
  1072. package/locale/angular/ps-PK.mjs +17 -0
  1073. package/locale/angular/ps.mjs +17 -0
  1074. package/locale/angular/pt-AO.mjs +19 -0
  1075. package/locale/angular/pt-CH.mjs +19 -0
  1076. package/locale/angular/pt-CV.mjs +19 -0
  1077. package/locale/angular/pt-GQ.mjs +19 -0
  1078. package/locale/angular/pt-GW.mjs +19 -0
  1079. package/locale/angular/pt-LU.mjs +19 -0
  1080. package/locale/angular/pt-MO.mjs +19 -0
  1081. package/locale/angular/pt-MZ.mjs +19 -0
  1082. package/locale/angular/pt-PT.mjs +19 -0
  1083. package/locale/angular/pt-ST.mjs +19 -0
  1084. package/locale/angular/pt-TL.mjs +19 -0
  1085. package/locale/angular/pt.mjs +19 -0
  1086. package/locale/angular/qu-BO.mjs +15 -0
  1087. package/locale/angular/qu-EC.mjs +15 -0
  1088. package/locale/angular/qu.mjs +15 -0
  1089. package/locale/angular/rm.mjs +17 -0
  1090. package/locale/angular/rn.mjs +15 -0
  1091. package/locale/angular/ro-MD.mjs +19 -0
  1092. package/locale/angular/ro.mjs +19 -0
  1093. package/locale/angular/rof.mjs +17 -0
  1094. package/locale/angular/ru-BY.mjs +21 -0
  1095. package/locale/angular/ru-KG.mjs +21 -0
  1096. package/locale/angular/ru-KZ.mjs +21 -0
  1097. package/locale/angular/ru-MD.mjs +21 -0
  1098. package/locale/angular/ru-UA.mjs +21 -0
  1099. package/locale/angular/ru.mjs +21 -0
  1100. package/locale/angular/rw.mjs +15 -0
  1101. package/locale/angular/rwk.mjs +17 -0
  1102. package/locale/angular/sa.mjs +15 -0
  1103. package/locale/angular/sah.mjs +15 -0
  1104. package/locale/angular/saq.mjs +17 -0
  1105. package/locale/angular/sat-Olck.mjs +19 -0
  1106. package/locale/angular/sat.mjs +19 -0
  1107. package/locale/angular/sbp.mjs +15 -0
  1108. package/locale/angular/sc.mjs +17 -0
  1109. package/locale/angular/sd-Arab.mjs +17 -0
  1110. package/locale/angular/sd-Deva.mjs +15 -0
  1111. package/locale/angular/sd.mjs +17 -0
  1112. package/locale/angular/se-FI.mjs +19 -0
  1113. package/locale/angular/se-SE.mjs +19 -0
  1114. package/locale/angular/se.mjs +19 -0
  1115. package/locale/angular/seh.mjs +17 -0
  1116. package/locale/angular/ses.mjs +15 -0
  1117. package/locale/angular/sg.mjs +15 -0
  1118. package/locale/angular/shi-Latn.mjs +15 -0
  1119. package/locale/angular/shi-Tfng.mjs +19 -0
  1120. package/locale/angular/shi.mjs +19 -0
  1121. package/locale/angular/si.mjs +17 -0
  1122. package/locale/angular/sk.mjs +21 -0
  1123. package/locale/angular/sl.mjs +21 -0
  1124. package/locale/angular/smn.mjs +19 -0
  1125. package/locale/angular/sn.mjs +17 -0
  1126. package/locale/angular/so-DJ.mjs +17 -0
  1127. package/locale/angular/so-ET.mjs +17 -0
  1128. package/locale/angular/so-KE.mjs +17 -0
  1129. package/locale/angular/so.mjs +17 -0
  1130. package/locale/angular/sq-MK.mjs +17 -0
  1131. package/locale/angular/sq-XK.mjs +17 -0
  1132. package/locale/angular/sq.mjs +17 -0
  1133. package/locale/angular/sr-Cyrl-BA.mjs +19 -0
  1134. package/locale/angular/sr-Cyrl-ME.mjs +19 -0
  1135. package/locale/angular/sr-Cyrl-XK.mjs +19 -0
  1136. package/locale/angular/sr-Cyrl.mjs +19 -0
  1137. package/locale/angular/sr-Latn-BA.mjs +15 -0
  1138. package/locale/angular/sr-Latn-ME.mjs +15 -0
  1139. package/locale/angular/sr-Latn-XK.mjs +15 -0
  1140. package/locale/angular/sr-Latn.mjs +15 -0
  1141. package/locale/angular/sr.mjs +19 -0
  1142. package/locale/angular/su-Latn.mjs +15 -0
  1143. package/locale/angular/su.mjs +15 -0
  1144. package/locale/angular/sv-AX.mjs +17 -0
  1145. package/locale/angular/sv-FI.mjs +17 -0
  1146. package/locale/angular/sv.mjs +17 -0
  1147. package/locale/angular/sw-CD.mjs +17 -0
  1148. package/locale/angular/sw-KE.mjs +17 -0
  1149. package/locale/angular/sw-UG.mjs +17 -0
  1150. package/locale/angular/sw.mjs +17 -0
  1151. package/locale/angular/ta-LK.mjs +17 -0
  1152. package/locale/angular/ta-MY.mjs +17 -0
  1153. package/locale/angular/ta-SG.mjs +17 -0
  1154. package/locale/angular/ta.mjs +17 -0
  1155. package/locale/angular/te.mjs +17 -0
  1156. package/locale/angular/teo-KE.mjs +17 -0
  1157. package/locale/angular/teo.mjs +17 -0
  1158. package/locale/angular/tg.mjs +15 -0
  1159. package/locale/angular/th.mjs +15 -0
  1160. package/locale/angular/ti-ER.mjs +17 -0
  1161. package/locale/angular/ti.mjs +17 -0
  1162. package/locale/angular/tk.mjs +17 -0
  1163. package/locale/angular/to.mjs +15 -0
  1164. package/locale/angular/tr-CY.mjs +17 -0
  1165. package/locale/angular/tr.mjs +17 -0
  1166. package/locale/angular/tt.mjs +15 -0
  1167. package/locale/angular/twq.mjs +15 -0
  1168. package/locale/angular/tzm.mjs +17 -0
  1169. package/locale/angular/ug.mjs +17 -0
  1170. package/locale/angular/uk.mjs +21 -0
  1171. package/locale/angular/und.mjs +17 -0
  1172. package/locale/angular/ur-IN.mjs +17 -0
  1173. package/locale/angular/ur.mjs +17 -0
  1174. package/locale/angular/uz-Arab.mjs +15 -0
  1175. package/locale/angular/uz-Cyrl.mjs +15 -0
  1176. package/locale/angular/uz-Latn.mjs +17 -0
  1177. package/locale/angular/uz.mjs +17 -0
  1178. package/locale/angular/vai-Latn.mjs +15 -0
  1179. package/locale/angular/vai-Vaii.mjs +15 -0
  1180. package/locale/angular/vai.mjs +15 -0
  1181. package/locale/angular/vi.mjs +15 -0
  1182. package/locale/angular/vun.mjs +17 -0
  1183. package/locale/angular/wae.mjs +17 -0
  1184. package/locale/angular/wo.mjs +15 -0
  1185. package/locale/angular/xh.mjs +17 -0
  1186. package/locale/angular/xog.mjs +17 -0
  1187. package/locale/angular/yav.mjs +15 -0
  1188. package/locale/angular/yi.mjs +17 -0
  1189. package/locale/angular/yo-BJ.mjs +15 -0
  1190. package/locale/angular/yo.mjs +15 -0
  1191. package/locale/angular/yrl-CO.mjs +15 -0
  1192. package/locale/angular/yrl-VE.mjs +15 -0
  1193. package/locale/angular/yrl.mjs +15 -0
  1194. package/locale/angular/yue-Hans.mjs +15 -0
  1195. package/locale/angular/yue-Hant.mjs +15 -0
  1196. package/locale/angular/yue.mjs +15 -0
  1197. package/locale/angular/zgh.mjs +15 -0
  1198. package/locale/angular/zh-Hans-HK.mjs +15 -0
  1199. package/locale/angular/zh-Hans-MO.mjs +15 -0
  1200. package/locale/angular/zh-Hans-SG.mjs +15 -0
  1201. package/locale/angular/zh-Hans.mjs +15 -0
  1202. package/locale/angular/zh-Hant-HK.mjs +15 -0
  1203. package/locale/angular/zh-Hant-MO.mjs +15 -0
  1204. package/locale/angular/zh-Hant.mjs +15 -0
  1205. package/locale/angular/zh.mjs +15 -0
  1206. package/locale/angular/zu.mjs +17 -0
  1207. package/locale/dayjs/af.js +1 -0
  1208. package/locale/dayjs/am.js +1 -0
  1209. package/locale/dayjs/ar-dz.js +1 -0
  1210. package/locale/dayjs/ar-iq.js +1 -0
  1211. package/locale/dayjs/ar-kw.js +1 -0
  1212. package/locale/dayjs/ar-ly.js +1 -0
  1213. package/locale/dayjs/ar-ma.js +1 -0
  1214. package/locale/dayjs/ar-sa.js +1 -0
  1215. package/locale/dayjs/ar-tn.js +1 -0
  1216. package/locale/dayjs/ar.js +1 -0
  1217. package/locale/dayjs/az.js +1 -0
  1218. package/locale/dayjs/be.js +1 -0
  1219. package/locale/dayjs/bg.js +1 -0
  1220. package/locale/dayjs/bi.js +1 -0
  1221. package/locale/dayjs/bm.js +1 -0
  1222. package/locale/dayjs/bn-bd.js +1 -0
  1223. package/locale/dayjs/bn.js +1 -0
  1224. package/locale/dayjs/bo.js +1 -0
  1225. package/locale/dayjs/br.js +1 -0
  1226. package/locale/dayjs/bs.js +1 -0
  1227. package/locale/dayjs/ca.js +1 -0
  1228. package/locale/dayjs/cs.js +1 -0
  1229. package/locale/dayjs/cv.js +1 -0
  1230. package/locale/dayjs/cy.js +1 -0
  1231. package/locale/dayjs/da.js +1 -0
  1232. package/locale/dayjs/de-at.js +1 -0
  1233. package/locale/dayjs/de-ch.js +1 -0
  1234. package/locale/dayjs/de.js +1 -0
  1235. package/locale/dayjs/dv.js +1 -0
  1236. package/locale/dayjs/el.js +1 -0
  1237. package/locale/dayjs/en-au.js +1 -0
  1238. package/locale/dayjs/en-ca.js +1 -0
  1239. package/locale/dayjs/en-gb.js +1 -0
  1240. package/locale/dayjs/en-ie.js +1 -0
  1241. package/locale/dayjs/en-il.js +1 -0
  1242. package/locale/dayjs/en-in.js +1 -0
  1243. package/locale/dayjs/en-nz.js +1 -0
  1244. package/locale/dayjs/en-sg.js +1 -0
  1245. package/locale/dayjs/en-tt.js +1 -0
  1246. package/locale/dayjs/en.js +1 -0
  1247. package/locale/dayjs/eo.js +1 -0
  1248. package/locale/dayjs/es-do.js +1 -0
  1249. package/locale/dayjs/es-mx.js +1 -0
  1250. package/locale/dayjs/es-pr.js +1 -0
  1251. package/locale/dayjs/es-us.js +1 -0
  1252. package/locale/dayjs/es.js +1 -0
  1253. package/locale/dayjs/et.js +1 -0
  1254. package/locale/dayjs/eu.js +1 -0
  1255. package/locale/dayjs/fa.js +1 -0
  1256. package/locale/dayjs/fi.js +1 -0
  1257. package/locale/dayjs/fo.js +1 -0
  1258. package/locale/dayjs/fr-ca.js +1 -0
  1259. package/locale/dayjs/fr-ch.js +1 -0
  1260. package/locale/dayjs/fr.js +1 -0
  1261. package/locale/dayjs/fy.js +1 -0
  1262. package/locale/dayjs/ga.js +1 -0
  1263. package/locale/dayjs/gd.js +1 -0
  1264. package/locale/dayjs/gl.js +1 -0
  1265. package/locale/dayjs/gom-latn.js +1 -0
  1266. package/locale/dayjs/gu.js +1 -0
  1267. package/locale/dayjs/he.js +1 -0
  1268. package/locale/dayjs/hi.js +1 -0
  1269. package/locale/dayjs/hr.js +1 -0
  1270. package/locale/dayjs/ht.js +1 -0
  1271. package/locale/dayjs/hu.js +1 -0
  1272. package/locale/dayjs/hy-am.js +1 -0
  1273. package/locale/dayjs/id.js +1 -0
  1274. package/locale/dayjs/is.js +1 -0
  1275. package/locale/dayjs/it-ch.js +1 -0
  1276. package/locale/dayjs/it.js +1 -0
  1277. package/locale/dayjs/ja.js +1 -0
  1278. package/locale/dayjs/jv.js +1 -0
  1279. package/locale/dayjs/ka.js +1 -0
  1280. package/locale/dayjs/kk.js +1 -0
  1281. package/locale/dayjs/km.js +1 -0
  1282. package/locale/dayjs/kn.js +1 -0
  1283. package/locale/dayjs/ko.js +1 -0
  1284. package/locale/dayjs/ku.js +1 -0
  1285. package/locale/dayjs/ky.js +1 -0
  1286. package/locale/dayjs/lb.js +1 -0
  1287. package/locale/dayjs/lo.js +1 -0
  1288. package/locale/dayjs/lt.js +1 -0
  1289. package/locale/dayjs/lv.js +1 -0
  1290. package/locale/dayjs/me.js +1 -0
  1291. package/locale/dayjs/mi.js +1 -0
  1292. package/locale/dayjs/mk.js +1 -0
  1293. package/locale/dayjs/ml.js +1 -0
  1294. package/locale/dayjs/mn.js +1 -0
  1295. package/locale/dayjs/mr.js +1 -0
  1296. package/locale/dayjs/ms-my.js +1 -0
  1297. package/locale/dayjs/ms.js +1 -0
  1298. package/locale/dayjs/mt.js +1 -0
  1299. package/locale/dayjs/my.js +1 -0
  1300. package/locale/dayjs/nb.js +1 -0
  1301. package/locale/dayjs/ne.js +1 -0
  1302. package/locale/dayjs/nl-be.js +1 -0
  1303. package/locale/dayjs/nl.js +1 -0
  1304. package/locale/dayjs/nn.js +1 -0
  1305. package/locale/dayjs/oc-lnc.js +1 -0
  1306. package/locale/dayjs/pa-in.js +1 -0
  1307. package/locale/dayjs/pl.js +1 -0
  1308. package/locale/dayjs/pt-br.js +1 -0
  1309. package/locale/dayjs/pt.js +1 -0
  1310. package/locale/dayjs/rn.js +1 -0
  1311. package/locale/dayjs/ro.js +1 -0
  1312. package/locale/dayjs/ru.js +1 -0
  1313. package/locale/dayjs/rw.js +1 -0
  1314. package/locale/dayjs/sd.js +1 -0
  1315. package/locale/dayjs/se.js +1 -0
  1316. package/locale/dayjs/si.js +1 -0
  1317. package/locale/dayjs/sk.js +1 -0
  1318. package/locale/dayjs/sl.js +1 -0
  1319. package/locale/dayjs/sq.js +1 -0
  1320. package/locale/dayjs/sr-cyrl.js +1 -0
  1321. package/locale/dayjs/sr.js +1 -0
  1322. package/locale/dayjs/ss.js +1 -0
  1323. package/locale/dayjs/sv-fi.js +1 -0
  1324. package/locale/dayjs/sv.js +1 -0
  1325. package/locale/dayjs/sw.js +1 -0
  1326. package/locale/dayjs/ta.js +1 -0
  1327. package/locale/dayjs/te.js +1 -0
  1328. package/locale/dayjs/tet.js +1 -0
  1329. package/locale/dayjs/tg.js +1 -0
  1330. package/locale/dayjs/th.js +1 -0
  1331. package/locale/dayjs/tk.js +1 -0
  1332. package/locale/dayjs/tl-ph.js +1 -0
  1333. package/locale/dayjs/tlh.js +1 -0
  1334. package/locale/dayjs/tr.js +1 -0
  1335. package/locale/dayjs/tzl.js +1 -0
  1336. package/locale/dayjs/tzm-latn.js +1 -0
  1337. package/locale/dayjs/tzm.js +1 -0
  1338. package/locale/dayjs/ug-cn.js +1 -0
  1339. package/locale/dayjs/uk.js +1 -0
  1340. package/locale/dayjs/ur.js +1 -0
  1341. package/locale/dayjs/uz-latn.js +1 -0
  1342. package/locale/dayjs/uz.js +1 -0
  1343. package/locale/dayjs/vi.js +1 -0
  1344. package/locale/dayjs/x-pseudo.js +1 -0
  1345. package/locale/dayjs/yo.js +1 -0
  1346. package/locale/dayjs/zh-cn.js +1 -0
  1347. package/locale/dayjs/zh-hk.js +1 -0
  1348. package/locale/dayjs/zh-tw.js +1 -0
  1349. package/locale/dayjs/zh.js +1 -0
  1350. package/locale/messages.da-DK.json +207 -0
  1351. package/locale/messages.json +196 -2
  1352. package/main-4BEVKJSI.js +1 -0
  1353. package/package.json +1 -1
  1354. package/chunk-2E5G54LG.js +0 -1
  1355. package/chunk-3TOIJ5WO.js +0 -2
  1356. package/chunk-4MFVXV2P.js +0 -1
  1357. package/chunk-53HMBWP5.js +0 -2
  1358. package/chunk-6RDPRL5W.js +0 -7
  1359. package/chunk-7CGTOI24.js +0 -1
  1360. package/chunk-7ORKNESW.js +0 -1
  1361. package/chunk-AALCXW7G.js +0 -1
  1362. package/chunk-BDZSXP7I.js +0 -1
  1363. package/chunk-COO43JXP.js +0 -1
  1364. package/chunk-FDJMCHX2.js +0 -1
  1365. package/chunk-GE6ONX6N.js +0 -1
  1366. package/chunk-H4PL4MX5.js +0 -1
  1367. package/chunk-HEQYI7XZ.js +0 -1
  1368. package/chunk-HIVOGYJW.js +0 -1
  1369. package/chunk-IDL47L54.js +0 -1
  1370. package/chunk-IVCLLJMP.js +0 -1
  1371. package/chunk-LDUHEMHJ.js +0 -1
  1372. package/chunk-MACZO675.js +0 -1
  1373. package/chunk-MULBVD44.js +0 -1
  1374. package/chunk-N3IZHBC5.js +0 -1
  1375. package/chunk-OL3XQXPO.js +0 -1
  1376. package/chunk-OOBDPKP5.js +0 -1
  1377. package/chunk-PT7ISA6M.js +0 -1
  1378. package/chunk-PV7FMVA7.js +0 -1
  1379. package/chunk-QLL2CMCZ.js +0 -1
  1380. package/chunk-R4XFPOM7.js +0 -6
  1381. package/chunk-RB7TVPQZ.js +0 -1
  1382. package/chunk-SLC2RVWO.js +0 -1
  1383. package/chunk-TTHH64Z5.js +0 -1
  1384. package/chunk-UROUYC5A.js +0 -1
  1385. package/chunk-V2FTYSCJ.js +0 -1
  1386. package/chunk-XYLW6QJG.js +0 -1
  1387. package/chunk-YBKFPTAU.js +0 -1
  1388. package/chunk-ZJNMXPO2.js +0 -1
  1389. package/main-RUKECFB7.js +0 -2
package/chunk-N3IZHBC5.js DELETED
@@ -1 +0,0 @@
1
- import{U as it}from"./chunk-6RDPRL5W.js";var at=60,ot=at*60,ut=ot*24,yt=ut*7,_=1e3,Y=at*_,x=ot*_,H=ut*_,z=yt*_,b="millisecond",g="second",E="minute",N="hour",y="day",k="week",S="month",V="quarter",p="year",w="date",ct="YYYY-MM-DDTHH:mm:ssZ",tt="Invalid Date",ft=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Z=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;var ht={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var r=["th","st","nd","rd"],e=t%100;return"["+t+(r[(e-20)%10]||r[e]||r[0])+"]"}};var et=function(t,r,e){var s=String(t);return!s||s.length>=r?t:""+Array(r+1-s.length).join(e)+t},pt=function(t){var r=-t.utcOffset(),e=Math.abs(r),s=Math.floor(e/60),n=e%60;return(r<=0?"+":"-")+et(s,2,"0")+":"+et(n,2,"0")},_t=function u(t,r){if(t.date()<r.date())return-u(r,t);var e=(r.year()-t.year())*12+(r.month()-t.month()),s=t.clone().add(e,S),n=r-s<0,i=t.clone().add(e+(n?-1:1),S);return+(-(e+(r-s)/(n?s-i:i-s))||0)},Ot=function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},It=function(t){var r={M:S,y:p,w:k,d:y,D:w,h:N,m:E,s:g,ms:b,Q:V};return r[t]||String(t||"").toLowerCase().replace(/s$/,"")},gt=function(t){return t===void 0},dt={s:et,z:pt,m:_t,a:Ot,p:It,u:gt};var P="en",U={};U[P]=ht;var lt="$isDayjsObject",st=function(t){return t instanceof B||!!(t&&t[lt])},X=function u(t,r,e){var s;if(!t)return P;if(typeof t=="string"){var n=t.toLowerCase();U[n]&&(s=n),r&&(U[n]=r,s=n);var i=t.split("-");if(!s&&i.length>1)return u(i[0])}else{var a=t.name;U[a]=t,s=a}return!e&&s&&(P=s),s||!e&&P},v=function(t,r){if(st(t))return t.clone();var e=typeof r=="object"?r:{};return e.date=t,e.args=arguments,new B(e)},Et=function(t,r){return v(t,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})},h=dt;h.l=X;h.i=st;h.w=Et;var Nt=function(t){var r=t.date,e=t.utc;if(r===null)return new Date(NaN);if(h.u(r))return new Date;if(r instanceof Date)return new Date(r);if(typeof r=="string"&&!/Z$/i.test(r)){var s=r.match(ft);if(s){var n=s[2]-1||0,i=(s[7]||"0").substring(0,3);return e?new Date(Date.UTC(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,i)):new Date(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,i)}}return new Date(r)},B=function(){function u(r){this.$L=X(r.locale,null,!0),this.parse(r),this.$x=this.$x||r.x||{},this[lt]=!0}var t=u.prototype;return t.parse=function(e){this.$d=Nt(e),this.init()},t.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},t.$utils=function(){return h},t.isValid=function(){return this.$d.toString()!==tt},t.isSame=function(e,s){var n=v(e);return this.startOf(s)<=n&&n<=this.endOf(s)},t.isAfter=function(e,s){return v(e)<this.startOf(s)},t.isBefore=function(e,s){return this.endOf(s)<v(e)},t.$g=function(e,s,n){return h.u(e)?this[s]:this.set(n,e)},t.unix=function(){return Math.floor(this.valueOf()/1e3)},t.valueOf=function(){return this.$d.getTime()},t.startOf=function(e,s){var n=this,i=h.u(s)?!0:s,a=h.p(e),o=function(I,m){var l=h.w(n.$u?Date.UTC(n.$y,m,I):new Date(n.$y,m,I),n);return i?l:l.endOf(y)},c=function(I,m){var l=[0,0,0,0],D=[23,59,59,999];return h.w(n.toDate()[I].apply(n.toDate("s"),(i?l:D).slice(m)),n)},f=this.$W,$=this.$M,d=this.$D,M="set"+(this.$u?"UTC":"");switch(a){case p:return i?o(1,0):o(31,11);case S:return i?o(1,$):o(0,$+1);case k:{var C=this.$locale().weekStart||0,L=(f<C?f+7:f)-C;return o(i?d-L:d+(6-L),$)}case y:case w:return c(M+"Hours",0);case N:return c(M+"Minutes",1);case E:return c(M+"Seconds",2);case g:return c(M+"Milliseconds",3);default:return this.clone()}},t.endOf=function(e){return this.startOf(e,!1)},t.$set=function(e,s){var n,i=h.p(e),a="set"+(this.$u?"UTC":""),o=(n={},n[y]=a+"Date",n[w]=a+"Date",n[S]=a+"Month",n[p]=a+"FullYear",n[N]=a+"Hours",n[E]=a+"Minutes",n[g]=a+"Seconds",n[b]=a+"Milliseconds",n)[i],c=i===y?this.$D+(s-this.$W):s;if(i===S||i===p){var f=this.clone().set(w,1);f.$d[o](c),f.init(),this.$d=f.set(w,Math.min(this.$D,f.daysInMonth())).$d}else o&&this.$d[o](c);return this.init(),this},t.set=function(e,s){return this.clone().$set(e,s)},t.get=function(e){return this[h.p(e)]()},t.add=function(e,s){var n=this,i;e=Number(e);var a=h.p(s),o=function(d){var M=v(n);return h.w(M.date(M.date()+Math.round(d*e)),n)};if(a===S)return this.set(S,this.$M+e);if(a===p)return this.set(p,this.$y+e);if(a===y)return o(1);if(a===k)return o(7);var c=(i={},i[E]=Y,i[N]=x,i[g]=_,i)[a]||1,f=this.$d.getTime()+e*c;return h.w(f,this)},t.subtract=function(e,s){return this.add(e*-1,s)},t.format=function(e){var s=this,n=this.$locale();if(!this.isValid())return n.invalidDate||tt;var i=e||ct,a=h.z(this),o=this.$H,c=this.$m,f=this.$M,$=n.weekdays,d=n.months,M=n.meridiem,C=function(l,D,T,W){return l&&(l[D]||l(s,i))||T[D].slice(0,W)},L=function(l){return h.s(o%12||12,l,"0")},O=M||function(m,l,D){var T=m<12?"AM":"PM";return D?T.toLowerCase():T},I=function(l){switch(l){case"YY":return String(s.$y).slice(-2);case"YYYY":return h.s(s.$y,4,"0");case"M":return f+1;case"MM":return h.s(f+1,2,"0");case"MMM":return C(n.monthsShort,f,d,3);case"MMMM":return C(d,f);case"D":return s.$D;case"DD":return h.s(s.$D,2,"0");case"d":return String(s.$W);case"dd":return C(n.weekdaysMin,s.$W,$,2);case"ddd":return C(n.weekdaysShort,s.$W,$,3);case"dddd":return $[s.$W];case"H":return String(o);case"HH":return h.s(o,2,"0");case"h":return L(1);case"hh":return L(2);case"a":return O(o,c,!0);case"A":return O(o,c,!1);case"m":return String(c);case"mm":return h.s(c,2,"0");case"s":return String(s.$s);case"ss":return h.s(s.$s,2,"0");case"SSS":return h.s(s.$ms,3,"0");case"Z":return a;default:break}return null};return i.replace(Z,function(m,l){return l||I(m)||a.replace(":","")})},t.utcOffset=function(){return-Math.round(this.$d.getTimezoneOffset()/15)*15},t.diff=function(e,s,n){var i=this,a=h.p(s),o=v(e),c=(o.utcOffset()-this.utcOffset())*Y,f=this-o,$=function(){return h.m(i,o)},d;switch(a){case p:d=$()/12;break;case S:d=$();break;case V:d=$()/3;break;case k:d=(f-c)/z;break;case y:d=(f-c)/H;break;case N:d=f/x;break;case E:d=f/Y;break;case g:d=f/_;break;default:d=f;break}return n?d:h.a(d)},t.daysInMonth=function(){return this.endOf(S).$D},t.$locale=function(){return U[this.$L]},t.locale=function(e,s){if(!e)return this.$L;var n=this.clone(),i=X(e,s,!0);return i&&(n.$L=i),n},t.clone=function(){return h.w(this.$d,this)},t.toDate=function(){return new Date(this.valueOf())},t.toJSON=function(){return this.isValid()?this.toISOString():null},t.toISOString=function(){return this.$d.toISOString()},t.toString=function(){return this.$d.toUTCString()},u}(),vt=B.prototype;v.prototype=vt;[["$ms",b],["$s",g],["$m",E],["$H",N],["$W",y],["$M",S],["$y",p],["$D",w]].forEach(function(u){vt[u[1]]=function(t){return this.$g(t,u[0],u[1])}});v.extend=function(u,t){return u.$i||(u(t,B,v),u.$i=!0),v};v.locale=X;v.isDayjs=st;v.unix=function(u){return v(u*1e3)};v.en=U[P];v.Ls=U;v.p={};var K=v;var q=H*365,nt=q/12,At=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,j={years:q,months:nt,days:H,hours:x,minutes:Y,seconds:_,milliseconds:1,weeks:z},Q=function(t){return t instanceof St},mt,A,G=function(t,r,e){return new St(t,e,r.$l)},J=function(t){return A.p(t)+"s"},Mt=function(t){return t<0},F=function(t){return Mt(t)?Math.ceil(t):Math.floor(t)},Lt=function(t){return Math.abs(t)},R=function(t,r){return t?Mt(t)?{negative:!0,format:""+Lt(t)+r}:{negative:!1,format:""+t+r}:{negative:!1,format:""}},St=function(){function u(r,e,s){var n=this;if(this.$d={},this.$l=s,r===void 0&&(this.$ms=0,this.parseFromMilliseconds()),e)return G(r*j[J(e)],this);if(typeof r=="number")return this.$ms=r,this.parseFromMilliseconds(),this;if(typeof r=="object")return Object.keys(r).forEach(function(c){n.$d[J(c)]=r[c]}),this.calMilliseconds(),this;if(typeof r=="string"){var i=r.match(At);if(i){var a=i.slice(2),o=a.map(function(c){return c!=null?Number(c):0});return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var t=u.prototype;return t.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce(function(s,n){return s+(e.$d[n]||0)*j[n]},0)},t.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=F(e/q),e%=q,this.$d.months=F(e/nt),e%=nt,this.$d.days=F(e/H),e%=H,this.$d.hours=F(e/x),e%=x,this.$d.minutes=F(e/Y),e%=Y,this.$d.seconds=F(e/_),e%=_,this.$d.milliseconds=e},t.toISOString=function(){var e=R(this.$d.years,"Y"),s=R(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=this.$d.weeks*7);var i=R(n,"D"),a=R(this.$d.hours,"H"),o=R(this.$d.minutes,"M"),c=this.$d.seconds||0;this.$d.milliseconds&&(c+=this.$d.milliseconds/1e3,c=Math.round(c*1e3)/1e3);var f=R(c,"S"),$=e.negative||s.negative||i.negative||a.negative||o.negative||f.negative,d=a.format||o.format||f.format?"T":"",M=$?"-":"",C=M+"P"+e.format+s.format+i.format+d+a.format+o.format+f.format;return C==="P"||C==="-P"?"P0D":C},t.toJSON=function(){return this.toISOString()},t.format=function(e){var s=e||"YYYY-MM-DDTHH:mm:ss",n={Y:this.$d.years,YY:A.s(this.$d.years,2,"0"),YYYY:A.s(this.$d.years,4,"0"),M:this.$d.months,MM:A.s(this.$d.months,2,"0"),D:this.$d.days,DD:A.s(this.$d.days,2,"0"),H:this.$d.hours,HH:A.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:A.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:A.s(this.$d.seconds,2,"0"),SSS:A.s(this.$d.milliseconds,3,"0")};return s.replace(Z,function(i,a){return a||String(n[i])})},t.as=function(e){return this.$ms/j[J(e)]},t.get=function(e){var s=this.$ms,n=J(e);return n==="milliseconds"?s%=1e3:n==="weeks"?s=F(s/j[n]):s=this.$d[n],s||0},t.add=function(e,s,n){var i;return s?i=e*j[J(s)]:Q(e)?i=e.$ms:i=G(e,this).$ms,G(this.$ms+i*(n?-1:1),this)},t.subtract=function(e,s){return this.add(e,s,!0)},t.locale=function(e){var s=this.clone();return s.$l=e,s},t.clone=function(){return G(this.$ms,this)},t.humanize=function(e){return mt().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},t.valueOf=function(){return this.asMilliseconds()},t.milliseconds=function(){return this.get("milliseconds")},t.asMilliseconds=function(){return this.as("milliseconds")},t.seconds=function(){return this.get("seconds")},t.asSeconds=function(){return this.as("seconds")},t.minutes=function(){return this.get("minutes")},t.asMinutes=function(){return this.as("minutes")},t.hours=function(){return this.get("hours")},t.asHours=function(){return this.as("hours")},t.days=function(){return this.get("days")},t.asDays=function(){return this.as("days")},t.weeks=function(){return this.get("weeks")},t.asWeeks=function(){return this.as("weeks")},t.months=function(){return this.get("months")},t.asMonths=function(){return this.as("months")},t.years=function(){return this.get("years")},t.asYears=function(){return this.as("years")},u}(),$t=function(t,r,e){return t.add(r.years()*e,"y").add(r.months()*e,"M").add(r.days()*e,"d").add(r.hours()*e,"h").add(r.minutes()*e,"m").add(r.seconds()*e,"s").add(r.milliseconds()*e,"ms")},Ct=function(u,t,r){mt=r,A=r().$utils(),r.duration=function(n,i){var a=r.locale();return G(n,{$l:a},i)},r.isDuration=Q;var e=t.prototype.add,s=t.prototype.subtract;t.prototype.add=function(n,i){return Q(n)?$t(this,n,1):e.bind(this)(n,i)},t.prototype.subtract=function(n,i){return Q(n)?$t(this,n,-1):s.bind(this)(n,i)}};var Dt=function(u,t,r){u=u||{};var e=t.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};r.en.relativeTime=s,e.fromToBase=function(a,o,c,f,$){for(var d=c.$locale().relativeTime||s,M=u.thresholds||[{l:"s",r:44,d:g},{l:"m",r:89},{l:"mm",r:44,d:E},{l:"h",r:89},{l:"hh",r:21,d:N},{l:"d",r:35},{l:"dd",r:25,d:y},{l:"M",r:45},{l:"MM",r:10,d:S},{l:"y",r:17},{l:"yy",d:p}],C=M.length,L,O,I,m=0;m<C;m+=1){var l=M[m];l.d&&(L=f?r(a).diff(c,l.d,!0):c.diff(a,l.d,!0));var D=(u.rounding||Math.round)(Math.abs(L));if(I=L>0,D<=l.r||!l.r){D<=1&&m>0&&(l=M[m-1]);var T=d[l.l];$&&(D=$(""+D)),typeof T=="string"?O=T.replace("%d",D):O=T(D,o,l.l,I);break}}if(o)return O;var W=I?d.future:d.past;return typeof W=="function"?W(O):W.replace("%s",O)};function n(a,o,c,f){return e.fromToBase(a,o,c,f)}e.to=function(a,o){return n(a,o,this,!0)},e.from=function(a,o){return n(a,o,this)};var i=function(o){return o.$u?r.utc():r()};e.toNow=function(a){return this.to(i(this),a)},e.fromNow=function(a){return this.from(i(this),a)}};var Tt=new it("Dayjs"),Gt={provide:Tt,useFactory:()=>(K.extend(Dt),K.extend(Ct),K)};export{Tt as a,Gt as b};
package/chunk-OL3XQXPO.js DELETED
@@ -1 +0,0 @@
1
- import{a as C}from"./chunk-WMMDCNQV.js";import"./chunk-M6JAWID7.js";import"./chunk-QAOE722P.js";import{g as b}from"./chunk-K3Y54FPO.js";import"./chunk-VN5Y4LY2.js";import"./chunk-DUQTXUOP.js";import"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import{Ab as f,Eb as e,Fb as o,Gb as c,Ra as m,Vb as h,Wb as l,X as p,fb as s,fc as i,lb as u}from"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";var y=["*",[["","footer",""]]],_=["*","[footer]"],r=class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=s({type:t,selectors:[["app-custom-card"]],ngContentSelectors:_,decls:11,vars:0,consts:[[1,"card"],["src","/assets/noise/auth-noise.svg",1,"noise"],[1,"header-title"],["src","/assets/duplicati/duplicati.svg","alt",""],[1,"bg"]],template:function(n,d){n&1&&(h(y),e(0,"div",0),c(1,"img",1),e(2,"header")(3,"div",2),c(4,"img",3),i(5," Duplicati "),o()(),e(6,"main"),l(7),e(8,"footer"),l(9,1),o()()(),c(10,"div",4))},styles:['[_nghost-%COMP%]{height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;background-color:var(--base-level-20)}body.dark [_nghost-%COMP%] .card[_ngcontent-%COMP%]:before{background:radial-gradient(rgba(var(--primary-rgb-900),1),#0000 60%)}.card[_ngcontent-%COMP%]{max-width:480px;width:100%;position:relative;z-index:100;background-color:var(--base-level-10);border-radius:var(--shape-5);box-shadow:var(--box-shadow-40);border:1px solid var(--base-level-30);overflow:hidden}.card[_ngcontent-%COMP%]:before{content:"";position:absolute;height:480px;transform:translateY(-285px);left:0;right:0;z-index:-2;background:radial-gradient(rgba(var(--primary-rgb-100),1),#0000 60%)}.card[_ngcontent-%COMP%] img.noise[_ngcontent-%COMP%]{position:absolute;height:480px;width:100%;transform:translateY(-285px);left:0;right:0;z-index:-1;mask-image:radial-gradient(#000,#0000 60%)}header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:2rem 2rem 0;gap:12px;position:relative;z-index:10}.header-title[_ngcontent-%COMP%]{font:var(--title-30);display:flex;align-items:center;gap:10px}.header-title[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:28px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.3))}main[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:2rem;gap:2.5rem;position:relative;z-index:10}main[_ngcontent-%COMP%] footer[_ngcontent-%COMP%]{font:var(--paragraph-40);color:var(--base-level-60R);text-align:center;text-wrap:balance}.bg[_ngcontent-%COMP%]{position:fixed;inset:0;width:100vw;height:100vh;background-image:url(/assets/backgrounds/base-bg.svg);background-size:cover;background-position:center;background-repeat:no-repeat}body.dark[_ngcontent-%COMP%] .bg[_ngcontent-%COMP%]{opacity:1}footer[_ngcontent-%COMP%]:empty{display:none}'],changeDetection:0})};function M(t,a){t&1&&(e(0,"h3"),i(1,"Logging out..."),o())}function O(t,a){t&1&&(e(0,"h3"),i(1,"You have successfully logged out your being redirected to login page."),o(),e(2,"button",0),i(3,"Go to login page"),o())}var g=class t{#e=p(C);isLoggingOut=this.#e.isLoggingOut;ngOnInit(){this.#e.logout()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=s({type:t,selectors:[["app-logout"]],decls:3,vars:1,consts:[["spk-button","","routerLink","/",1,"raised","primary"]],template:function(n,d){n&1&&(e(0,"app-custom-card"),u(1,M,2,0,"h3")(2,O,4,0),o()),n&2&&(m(),f(d.isLoggingOut()?1:2))},dependencies:[r,b],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})};export{g as default};
package/chunk-OOBDPKP5.js DELETED
@@ -1 +0,0 @@
1
- import{j as a,k as b}from"./chunk-R4XFPOM7.js";import"./chunk-FDJMCHX2.js";import"./chunk-DNHLTHLR.js";import"./chunk-PT7ISA6M.js";import"./chunk-WFFR6X5F.js";import"./chunk-2VFGTKQ3.js";import"./chunk-QAOE722P.js";import"./chunk-K3Y54FPO.js";import"./chunk-VN5Y4LY2.js";import"./chunk-DUQTXUOP.js";import"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";export{a as createScheduleForm,b as default};
package/chunk-PT7ISA6M.js DELETED
@@ -1 +0,0 @@
1
- import{b as p}from"./chunk-WFFR6X5F.js";import{a as f}from"./chunk-QAOE722P.js";import{E as s,Hc as l,N as i,R as n,X as a,Za as o}from"./chunk-6RDPRL5W.js";var m=class t{#e=a(f);isLoaded=o(!1);systemInfo=o(null);filterGroups=p(this.#e.getApiV1SysteminfoFiltergroups());backendModules=l(()=>this.systemInfo()?.BackendModules??[]);preload(r=!1){let e=this.#e.getApiV1Systeminfo().pipe(i(c=>this.systemInfo.set(c)),s(()=>this.isLoaded.set(!0)));if(r)return e;e.subscribe()}static \u0275fac=function(e){return new(e||t)};static \u0275prov=n({token:t,factory:t.\u0275fac,providedIn:"root"})};export{m as a};
package/chunk-PV7FMVA7.js DELETED
@@ -1 +0,0 @@
1
- import"./chunk-7CGTOI24.js";function M($){let a=$,e=Math.floor(Math.abs($)),r=$.toString().replace(/^[^.]*\.?/,"").length,u=parseInt($.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return e===0||e===1?1:u===0&&e!==0&&e%1e6===0&&r===0||!(u>=0&&u<=5)?4:5}var i=["fr",[["AM","PM"],void 0,void 0],void 0,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xE9vr.","mars","avr.","mai","juin","juil.","ao\xFBt","sept.","oct.","nov.","d\xE9c."],["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant J\xE9sus-Christ","apr\xE8s J\xE9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}","{1} '\xE0' {0}",void 0],[",","\u202F",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[void 0,"\u0440."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[void 0,"\xA5"],COP:["$CO","$"],CYP:["\xA3CY"],EGP:[void 0,"\xA3E"],FJD:["$FJ","$"],FKP:["\xA3FK","\xA3"],FRF:["F"],GBP:["\xA3GB","\xA3"],GIP:["\xA3GI","\xA3"],HKD:[void 0,"$"],IEP:["\xA3IE"],ILP:["\xA3IL"],ITL:["\u20A4IT"],JPY:[void 0,"\xA5"],KMF:[void 0,"FC"],LBP:["\xA3LB","\xA3L"],MTP:["\xA3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[void 0,"$C"],NZD:["$NZ","$"],PHP:[void 0,"\u20B1"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[void 0,"$T"],TTD:["$TT","$"],TWD:[void 0,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[void 0,"$"],XPF:["FCFP"],ZMW:[void 0,"Kw"]},"ltr",M];export{i as default};
package/chunk-QLL2CMCZ.js DELETED
@@ -1 +0,0 @@
1
- import{b as _}from"./chunk-WFFR6X5F.js";import{a as S}from"./chunk-QAOE722P.js";import{n as b}from"./chunk-K3Y54FPO.js";import{c as h}from"./chunk-DUQTXUOP.js";import"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import{Ab as C,E as m,Eb as o,Fb as r,Gb as u,Ra as c,X as i,Za as g,fb as f,fc as a,gc as v,lb as d,p as l}from"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";function y(e,t){e&1&&u(0,"spk-progress-bar",0)}var s=class e{#t=i(h);#e=i(S);isLoading=g(!0);generalInfo=_(this.#e.getApiV1Acknowledgements().pipe(l(t=>t.Acknowledgements),m(()=>this.isLoading.set(!1))));static \u0275fac=function(n){return new(n||e)};static \u0275cmp=f({type:e,selectors:[["app-general"]],decls:6,vars:2,consts:[[1,"indeterminate","primary"]],template:function(n,p){n&1&&(d(0,y,1,0,"spk-progress-bar",0),o(1,"section")(2,"h3"),a(3,"General"),r(),o(4,"div"),a(5),r()()),n&2&&(C(p.isLoading()?0:-1),c(5),v(p.generalInfo()))},dependencies:[b],styles:["[_nghost-%COMP%]{display:block;position:relative}h3[_ngcontent-%COMP%]{font:var(--title-30);margin:0 0 1.25rem}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}section[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{white-space:pre-wrap}spk-progress-bar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0}"],changeDetection:0})};export{s as default};
package/chunk-R4XFPOM7.js DELETED
@@ -1,6 +0,0 @@
1
- import{a as Me,b as ve}from"./chunk-FDJMCHX2.js";import{a as ht,b as Bt}from"./chunk-DNHLTHLR.js";import{a as tt}from"./chunk-PT7ISA6M.js";import{b as M}from"./chunk-WFFR6X5F.js";import{a as xe,b as q,c as _e,d as K,e as se,f as nt,g as Gt,h as pe,i as ye,k as it,l as me,m as we,n as Mt,o as ce,p as Q,q as Y,r as L,s as ot,t as de}from"./chunk-2VFGTKQ3.js";import{a as Ie}from"./chunk-QAOE722P.js";import{a as Z,b as rt,d as $t,e as At,g as Se,i as at,k as J,m as lt,n as Rt,p as st,q as X,v as ke,w as Ge}from"./chunk-K3Y54FPO.js";import{H as le,X as j}from"./chunk-VN5Y4LY2.js";import{c as It}from"./chunk-RFOUEAO7.js";import{ia as et}from"./chunk-FL23VQIJ.js";import{Ab as _,Bb as T,Cb as V,Db as b,E as Le,Eb as a,Fb as o,Gb as f,Hb as k,Hc as G,Ib as v,Jb as Ve,Jc as Xe,Kb as w,R as he,Ra as s,Tb as C,Ub as p,X as y,Xb as P,Yb as I,Za as S,Zb as N,_a as ie,cc as oe,dc as re,ea as h,ec as ae,fa as x,fb as H,fc as l,gc as E,hc as D,ic as bt,ja as Vt,jc as Dt,kc as Ot,lb as d,lc as Et,oc as Nt,p as He,pc as be,qa as We,qc as Pt,ra as Ze,rc as ze,vb as c,vc as Je,xb as fe}from"./chunk-6RDPRL5W.js";import{a as U,c as Tt}from"./chunk-7CGTOI24.js";function Yt(n,i){if(n&1&&(a(0,"p"),l(1),o()),n&2){let e=p();s(),E(e._data().message)}}var Zt={title:"Are you sure?",confirmText:"Confirm",cancelText:"Cancel"},De=class n{data=Ze();_data=G(()=>U(U({},Zt),this.data()));closed=We();close(i="confirm"){this.closed.emit(i==="confirm")}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=H({type:n,selectors:[["app-confirm-dialog"]],inputs:{data:[1,"data"]},outputs:{closed:"closed"},decls:10,vars:4,consts:[["header",""],["content",""],["footer",""],["spk-button","",1,"",3,"click"],["spk-button","",1,"raised","primary",3,"click"]],template:function(e,t){e&1&&(a(0,"header",0)(1,"h3"),l(2),o()(),a(3,"div",1),d(4,Yt,2,1,"p"),o(),a(5,"footer",2)(6,"button",3),C("click",function(){return t.close("cancel")}),l(7),o(),a(8,"button",4),C("click",function(){return t.close("confirm")}),l(9),o()()),e&2&&(s(2),E(t._data().title),s(2),_(t._data().message?4:-1),s(3),E(t._data().cancelText),s(2),E(t._data().confirmText))},styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})};var pt=class n{fromString(i){if(!i)return null;let e=i.match(/(\d+)([smhDWMY])/);return e&&{value:parseInt(e[1]),unit:e[2]}}toString(i,e){return`${i}${e}`}static \u0275fac=function(e){return new(e||n)};static \u0275prov=he({token:n,factory:n.\u0275fac,providedIn:"root"})};var Oe=class n{#e=y(Ie);s3Providers=M(this.getS3Config("Providers"));s3Regions=M(this.getS3Config("Regions"));s3RegionHosts=M(this.getS3Config("RegionHosts"));s3StorageClasses=M(this.getS3Config("StorageClasses"));storjSatellites=M(this.getStorjConfig("Satellites"));storjAuthenticationMethods=M(this.getStorjConfig("AuthenticationMethods"));openstackProviders=M(this.getOpenstackConfig("Providers"));openstackVersions=M(this.getOpenstackConfig("Versions"));gcsLocations=M(this.getGcsConfig("Locations"));gcsStorageClasses=M(this.getGcsConfig("StorageClasses"));getS3Config(i){return this.#e.postApiV1WebmoduleByModulekey({modulekey:"s3-getconfig",requestBody:{"s3-config":i}}).pipe(He(e=>this.#n(e)))}createS3IamUser(i,e){return this.#e.postApiV1WebmoduleByModulekey({modulekey:"s3-iamconfig",requestBody:{"s3-operation":"CanCreateUser","s3-username":i,"s3-password":e}})}createS3PolicyIAM(i){return this.#e.postApiV1WebmoduleByModulekey({modulekey:"s3-iamconfig",requestBody:{"s3-operation":"GetPolicyDoc",path:i}})}getStorjConfig(i){return this.#e.postApiV1WebmoduleByModulekey({modulekey:"storj-getconfig",requestBody:{"storj-config":i}}).pipe(He(e=>this.#n(e)))}getOpenstackConfig(i){return this.#e.postApiV1WebmoduleByModulekey({modulekey:"openstack-getconfig",requestBody:{"openstack-config":i}}).pipe(He(e=>this.#n(e)))}getGcsConfig(i){return this.#e.postApiV1WebmoduleByModulekey({modulekey:"gcs-getconfig",requestBody:{"gcs-config":i}}).pipe(He(e=>this.#n(e)))}#n(i){return(i.Result&&typeof i.Result=="object"&&Object.entries(i.Result).map(([e,t])=>({key:e,value:t})))??[]}static \u0275fac=function(e){return new(e||n)};static \u0275prov=he({token:n,factory:n.\u0275fac,providedIn:"root"})};var Fe=new L,je={file:{customFields:{path:{type:"FolderTree",name:"path",shortDescription:"File path",longDescription:"The path to store the backup",formElement:n=>Fe.control(n??"")}}},ssh:{customFields:{server:{type:"String",name:"server",shortDescription:"Server",longDescription:"The server to connect to",formElement:n=>Fe.control(n??"")},port:{type:"Integer",name:"port",shortDescription:"Port",longDescription:"The port to connect to",formElement:n=>Fe.control(n??"",[_e.required,_e.max(65535)])},path:{type:"Path",name:"path",shortDescription:"Folder path",longDescription:"Folder path",formElement:n=>Fe.control(n??"")}},dynamicFields:["auth-username"],advancedFields:[{type:"FileTree",name:"ssh-keyfile",accepts:".key,",shortDescription:"This is a path to a private key file locally on the machine",longDescription:"This is a path to a private key file locally on the machine"}]},s3:{customFields:{bucket:{type:"String",name:"bucket",shortDescription:"Bucket name",longDescription:"Bucket name",formElement:n=>Fe.control(n??"")},path:{type:"Path",name:"path",shortDescription:"Folder path",longDescription:"Folder path",formElement:n=>Fe.control(n??"")}},dynamicFields:[{name:"s3-server-name",shortDescription:"Server",type:"NonValidatedSelectableString",loadOptions:n=>n.get(Oe).s3Providers},"use-ssl","auth-username","auth-password"],advancedFields:[{name:"s3-client",type:"Enumeration",options:["aws","minio"]},{name:"s3-storage-class",type:"NonValidatedSelectableString",loadOptions:n=>n.get(Oe).s3StorageClasses}]},gcs:{oauthField:"authid",customFields:{path:{type:"Path",name:"path",shortDescription:"Bucket name",longDescription:"Bucket name",formElement:n=>Fe.control(n??"")}},dynamicFields:[{name:"gcs-location",type:"NonValidatedSelectableString",loadOptions:n=>n.get(Oe).gcsLocations},{name:"gcs-storage-class",type:"NonValidatedSelectableString",loadOptions:n=>n.get(Oe).gcsStorageClasses},"authid"]},googledrive:{oauthField:"authid",customFields:{path:{type:"Path",name:"path",shortDescription:"Folder path",longDescription:"Folder path",formElement:n=>Fe.control(n??"")}},dynamicFields:["authid"]}};function Ae(n,i){let e={},t={};return i.searchParams.forEach((r,m)=>{je[n].dynamicFields?.includes(m)?t[m]=decodeURIComponent(r):e[m]=decodeURIComponent(r)}),{advanced:e,dynamic:t}}function qe(n){let i=n.map(([e,t])=>`${e}=${t?encodeURIComponent(t.toString()):""}`).join("&");return i?"?"+i:""}var Re={file:{to:n=>{let i=qe([...Object.entries(n.advanced),...Object.entries(n.dynamic)]);return`${n.destinationType}://${n.custom.path}${i}`},from:(n,i,e)=>{let t=e.indexOf("file:///")===0,r=e.split(t?"///":"//")[1].substring(0,1)+i.hostname.substring(1);return U({destinationType:n,custom:{path:`${t?"/":""}${r}${i.pathname}`}},Ae(n,i))}},ssh:{to:n=>{let i=qe([...Object.entries(n.advanced),...Object.entries(n.dynamic)]);return`${n.destinationType}://${n.custom.server}${n.custom.port?":"+n.custom.port:""}${n.custom.path.startsWith("/")?n.custom.path:"/"+n.custom.path}${i}`},from:(n,i,e)=>U({destinationType:n,custom:{server:i.hostname,port:i.port,path:i.pathname}},Ae(n,i))},s3:{to:n=>{let i=qe([...Object.entries(n.advanced),...Object.entries(n.dynamic)]);return`${n.destinationType}://${n.custom.bucket}${n.custom.path.startsWith("/")?n.custom.path:"/"+n.custom.path}${i}`},from:(n,i,e)=>U({destinationType:n,custom:{path:i.pathname,bucket:i.hostname}},Ae(n,i))},gcs:{to:n=>{let i=qe([...Object.entries(n.advanced),...Object.entries(n.dynamic)]);return`${n.destinationType}://${n.custom.path}${i}`},from:(n,i,e)=>{let{advanced:t,dynamic:r}=Ae(n,i);return{destinationType:n,custom:{path:i.hostname+i.pathname},dynamic:r,advanced:t}}},googledrive:{to:n=>{let i=n.custom.path,e=qe([...Object.entries(n.advanced),...Object.entries(n.dynamic)]);return`${n.destinationType}://${i}${e}`},from:(n,i,e)=>{let{advanced:t,dynamic:r}=Ae(n,i);return{destinationType:n,custom:{path:i.hostname+i.pathname},dynamic:r,advanced:t}}},fallbackMapper:{to:n=>"",from:(n,i,e)=>U({destinationType:n},Ae(n,i))}};function mt(n){let i=n.destinationType;return!i||!Re.hasOwnProperty(i)?Re.fallbackMapper.to(n)??"":Re[i].to(n)??""}function xt(n){let i=URL.canParse(n),e=n.split("://")[0],t="http://"+n.split("://")[1],r=new URL(t);if(!Re.hasOwnProperty(e))return Re.fallbackMapper.from(e,r);if(!i)throw new Error("Invalid target path");return Re[e].from(e,r,n)}var Ut=/[a-zA-Z0-9_\-\+\.!@#$%^&*?_~()-]/,ct=class n{generate(i,e=Ut){let t;do t=this.generatePassword(i,e);while(this.calculatePasswordStrength(t)<5);return t}generatePassword(i,e=Ut){let t=this;return Array.apply(null,{length:i}).map(()=>{let r;for(;;)if(r=String.fromCharCode(t.#e()),e.test(r))return r},this).join("")}calculatePasswordStrength(i){let e=1;return i.length>=8&&e++,i.match(/[a-z]/)&&i.match(/[A-Z]/)&&e++,i.match(/\d+/)&&e++,i.match(/.[!,@,#,$,%,^,&,*,?,_,~,(,),-]/)&&e++,Math.min(e,5)}#e(){if(window.crypto&&window.crypto.getRandomValues){let i=new Uint8Array(1);return window.crypto.getRandomValues(i),i[0]}else if(window.msCrypto&&window.msCrypto.getRandomValues){let i=new Uint8Array(1);return window.msCrypto.getRandomValues(i),i[0]}else return Math.floor(Math.random()*256)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=he({token:n,factory:n.\u0275fac,providedIn:"root"})};var Jt=["formRef"];function Xt(n,i){if(n&1&&(a(0,"option",14),l(1),o()),n&2){let e=i.$implicit;c("value",e.Key),s(),E(e.DisplayName)}}function en(n,i){if(n&1&&f(0,"spk-progress-bar",25),n&2){let e=p(3);fe("warn",e.calculatePasswordStrength()===1)("tertiary",e.calculatePasswordStrength()===2)("primary",e.calculatePasswordStrength()===4)("success",e.calculatePasswordStrength()===5),c("value",e.calculatePasswordStrength()*(100/5))}}function tn(n,i){n&1&&(a(0,"span",20),l(1,"Passwords do not match"),o())}function nn(n,i){n&1&&(a(0,"spk-icon"),l(1,"eye-slash"),o(),l(2," hide "))}function on(n,i){n&1&&(a(0,"spk-icon"),l(1,"eye"),o(),l(2," show "))}function rn(n,i){n&1&&(a(0,"spk-icon",27),l(1,"check"),o())}function an(n,i){n&1&&(a(0,"spk-icon"),l(1,"copy"),o())}function ln(n,i){if(n&1){let e=w();a(0,"button",26),C("click",function(){h(e);let r=p(3);return x(r.copyPassword())}),d(1,rn,2,0,"spk-icon",27)(2,an,2,0,"spk-icon"),l(3),o()}if(n&2){let e=p(3);s(),_(e.copiedPassword()?1:2),s(2),D(" ",e.copiedPassword()?"Copied":"Copy"," password ")}}function sn(n,i){n&1&&(a(0,"spk-alert",24),l(1," Tip: Be sure to save your password. If you loose it you will lose access to your backups. "),o())}function pn(n,i){if(n&1){let e=w();a(0,"div",15)(1,"spk-form-field")(2,"label",16),l(3," Create a password "),a(4,"sup"),l(5,"*"),o()(),f(6,"input",17),o(),d(7,en,1,9,"spk-progress-bar",18),a(8,"spk-form-field"),f(9,"input",19),d(10,tn,2,0,"span",20),o(),a(11,"div",21)(12,"button",22),C("click",function(){h(e);let r=p(2);return x(r.showPassword.set(!r.showPassword()))}),d(13,nn,3,0)(14,on,3,0),o(),a(15,"button",22),C("click",function(){h(e);let r=p(2);return x(r.generatePassword())}),a(16,"spk-icon"),l(17,"password"),o(),l(18," Generate password "),o(),d(19,ln,4,2,"button",23),o(),d(20,sn,2,0,"spk-alert",24),o()}if(n&2){let e=p(2);s(6),c("type",e.showPassword()?"text":"password"),s(),_(e.generalForm.value.password?7:-1),s(2),c("type",e.showPassword()?"text":"password"),s(),_(e.generalForm.value.repeatPassword&&e.generalForm.value.repeatPassword!==e.generalForm.value.password?10:-1),s(3),_(e.showPassword()?13:14),s(6),_(e.showCopyPassword()?19:-1),s(),_(e.generalForm.value.password&&e.generalForm.value.password===e.generalForm.value.repeatPassword?20:-1)}}function mn(n,i){if(n&1&&(a(0,"spk-select",11)(1,"label",12),l(2,"Encryption"),o(),f(3,"input",13),V(4,Xt,2,2,"option",14,T),o(),d(6,pn,21,7,"div",15)),n&2){let e=p();c("displayFn",e.displayFn()),s(4),b(e.encryptionOptions()),s(2),_(e.encryptionFieldSignal()!==""?6:-1)}}function cn(n,i){if(n&1&&(a(0,"button",9),l(1," Continue "),a(2,"spk-icon"),l(3,"arrow-right"),o()()),n&2){let e=p();c("disabled",e.generalForm.invalid)}}function dn(n,i){if(n&1&&(a(0,"spk-tooltip",10)(1,"button",9),l(2," Continue "),a(3,"spk-icon"),l(4,"arrow-right"),o()()()),n&2){let e=p();c("disabled",!(e.showCopyPassword()&&!e.copiedPassword())),s(),c("disabled",e.generalForm.invalid||e.showCopyPassword()&&!e.copiedPassword())}}var Be=new L,Ht=(n={name:"",description:"",encryption:"",password:"",repeatPassword:""})=>Be.group({name:Be.control(n.name,[_e.required]),description:Be.control(n.description),encryption:Be.control(n.encryption,[Bt()]),password:Be.control(n.password,[ht(i=>i?.value.encryption!=="",[_e.required])]),repeatPassword:Be.control(n.repeatPassword,[ht(i=>i?.value.encryption!=="",[_e.required])])}),wt={Key:"",DisplayName:"None"},yt=class n{#e=y(j);#n=y(le);#i=y(ct);#o=y(ee);#t=y(tt);formRef=ie.required("formRef");generalForm=this.#o.generalForm;generalFormSignal=this.#o.generalFormSignal;encryptionFieldSignal=this.#o.encryptionFieldSignal;encryptionOptions=this.#o.encryptionOptions;isNew=this.#o.isNew;showPassword=S(!1);copiedPassword=S(!1);showCopyPassword=S(!1);encryptionEffect=Xe(()=>{this.encryptionFieldSignal()===""&&(this.copiedPassword.set(!1),this.showCopyPassword.set(!1))});calculatePasswordStrength=G(()=>{let e=this.generalFormSignal()?.password??"";return this.#i.calculatePasswordStrength(e)});ngOnInit(){this.formRef().nativeElement.focus()}exit(){this.#o.exit()}async copyPassword(){let i=this.generalForm.controls.password.value;await this.#r(i??""),this.copiedPassword.set(!0)}async#r(i){try{await navigator.clipboard.writeText(i)}catch{try{let t=document.createElement("textarea");t.value=i,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}catch(t){console.error("Failed to copy text: ",t)}}}displayFn(){let i=this.#t.systemInfo()?.EncryptionModules??[];return e=>{let t=[wt,...i].find(r=>r.Key===e);return t?`${t.DisplayName}`:""}}generatePassword(){this.copiedPassword.set(!1);let i=this.#i.generate(16);this.generalForm.controls.password.setValue(i),this.generalForm.controls.repeatPassword.setValue(i),this.showCopyPassword.set(!0)}next(){this.#e.navigate(["destination"],{relativeTo:this.#n.parent})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=H({type:n,selectors:[["app-general"]],viewQuery:function(e,t){e&1&&oe(t.formRef,Jt,5),e&2&&re()},decls:22,vars:3,consts:[["formRef",""],["autocomplete","off",3,"submit","formGroup"],[1,"title-30"],["for","backupName"],["type","text","tabindex","1","placeholder","Your backup name","formControlName","name"],["for","backupDescription"],["id","backupDescription","tabindex","2","placeholder","Your backup description","formControlName","description"],[1,"form-actions"],["type","button","spk-button","",3,"click"],["spk-button","","type","submit",1,"raised","primary",3,"disabled"],["message","Remember to copy the password",1,"primary",3,"disabled"],[3,"displayFn"],["for","encryption"],["type","text","id","encryption","tabindex","3","placeholder","Encryption","formControlName","encryption"],[3,"value"],[1,"passwords"],["for","password"],["id","password","tabindex","4","autocomplete","off","placeholder","Password","formControlName","password",3,"type"],[1,"raised",3,"warn","tertiary","primary","success","value"],["id","repeatPassword","tabindex","5","autocomplete","off","placeholder","Repeat password","formControlName","repeatPassword",3,"type"],["error",""],[1,"password-actions"],["spk-button","","type","button",1,"small",3,"click"],["spk-button","","type","button",1,"small","copy"],["type","primary"],[1,"raised",3,"value"],["spk-button","","type","button",1,"small","copy",3,"click"],[1,"spk-success"]],template:function(e,t){if(e&1){let r=w();a(0,"form",1,0),C("submit",function(){return h(r),x(t.next())}),a(2,"h3",2),l(3,"General backup settings"),o(),a(4,"spk-form-field")(5,"label",3),l(6," Backup name "),a(7,"sup"),l(8,"*"),o()(),f(9,"input",4),o(),a(10,"spk-form-field")(11,"label",5),l(12,"Backup description"),o(),f(13,"textarea",6),o(),d(14,mn,7,2),a(15,"div",7)(16,"button",8),C("click",function(){return h(r),x(t.exit())}),a(17,"spk-icon"),l(18,"arrow-left"),o(),l(19," Exit "),o(),d(20,cn,4,1,"button",9)(21,dn,5,2,"spk-tooltip",10),o()()}e&2&&(c("formGroup",t.generalForm),s(14),_(t.isNew()?14:-1),s(6),_(t.encryptionFieldSignal()===""?20:21))},dependencies:[de,pe,Q,Y,q,K,se,me,ce,J,X,Se,Z,Rt,rt,Ge],styles:["[_nghost-%COMP%]{display:block;width:100%;max-width:32.5rem;padding:2.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}sup[_ngcontent-%COMP%]{padding:0 .125rem;color:var(--warn-500)}.passwords[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.password-actions[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.copy[_ngcontent-%COMP%] spk-icon.spk-success[_ngcontent-%COMP%]{color:var(--success-500)}"],changeDetection:0})};var un=["formRef"],fn=(n,i)=>({index:n,formView:i,formGroupName:"advancedOptions",destinationType:null,oauthField:null}),_n=n=>({$implicit:n});function gn(n,i){if(n&1&&(a(0,"option",11),l(1),o()),n&2){let e=i.$implicit;c("value",e),s(),E(e)}}function Cn(n,i){if(n&1&&(a(0,"option",11),l(1),o()),n&2){let e=i.$implicit;c("value",e.value),s(),E(e.name)}}function hn(n,i){if(n&1){let e=w();a(0,"button",23,2),C("click",function(){let r=h(e).$implicit,m=p();return x(m.addNewOption(r))}),l(2),o()}if(n&2){let e=i.$implicit;s(2),E(e.name)}}function xn(n,i){n&1&&Ve(0)}function yn(n,i){if(n&1&&d(0,xn,1,0,"ng-container",24),n&2){let e=i.$implicit,t=i.$index;p();let r=ae(39);c("ngTemplateOutlet",r)("ngTemplateOutletContext",be(5,_n,Pt(2,fn,t,e)))}}function wn(n,i){if(n&1&&(a(0,"spk-tooltip",34)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function Sn(n,i){if(n&1&&(a(0,"app-file-tree",27)(1,"label",33),l(2),d(3,wn,3,1,"spk-tooltip",34),o(),f(4,"input",35),o()),n&2){let e,t=p().$implicit,r=p();c("startingPath",r.getFormFieldValue(0,t.formGroupName,t.formView.name))("accepts",t.formView.accepts)("showFiles",!0)("showHiddenNodes",!0)("selectFiles",!0),s(),I("for","destination-",t.formGroupName,"-",t.index,""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),I("id","destination-",t.formGroupName,"-",t.index,""),P("formControlName",t.formView.name)}}function kn(n,i){if(n&1&&(a(0,"spk-tooltip",34)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function vn(n,i){if(n&1&&(a(0,"app-file-tree",28)(1,"label",33),l(2),d(3,kn,3,1,"spk-tooltip",34),o(),f(4,"input",35),o()),n&2){let e,t=p().$implicit,r=p();c("startingPath",r.getFormFieldValue(0,t.formGroupName,t.formView.name)),s(),I("for","destination-",t.formGroupName,"-",t.index,""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),I("id","destination-",t.formGroupName,"-",t.index,""),P("formControlName",t.formView.name)}}function Fn(n,i){if(n&1&&(a(0,"spk-tooltip",34)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function Tn(n,i){n&1&&(a(0,"spk-icon",36),l(1,"link"),o())}function Vn(n,i){n&1&&(a(0,"spk-icon",36),l(1,"textbox"),o())}function bn(n,i){if(n&1&&(a(0,"spk-form-field")(1,"label",33),l(2),d(3,Fn,3,1,"spk-tooltip",34),o(),f(4,"input",35),d(5,Tn,2,0,"spk-icon",36)(6,Vn,2,0,"spk-icon",36),o()),n&2){let e,t=p().$implicit;s(),I("for","destination-",t.formGroupName,"-",t.index,""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),I("id","destination-",t.formGroupName,"-",t.index,""),P("formControlName",t.formView.name),s(),_(t.formView.type==="Path"?5:6)}}function Dn(n,i){if(n&1){let e=w();a(0,"span",40),C("click",function(){h(e);let r=p(2).$implicit,m=p();return x(m.oauthStartTokenCreation(r.formViewType))}),l(1,"AuthID"),o()}}function On(n,i){n&1&&(a(0,"spk-icon",36),l(1,"password"),o())}function En(n,i){if(n&1){let e=w();a(0,"spk-icon",41),C("click",function(){h(e);let r=p(2).$implicit;return x(r.formView.showPassword=!r.formView.showPassword)}),l(1," eye "),o()}}function Nn(n,i){if(n&1){let e=w();a(0,"spk-icon",41),C("click",function(){h(e);let r=p(2).$implicit;return x(r.formView.showPassword=!r.formView.showPassword)}),l(1," eye-slash "),o()}}function Pn(n,i){if(n&1&&(a(0,"spk-form-field")(1,"label",33),l(2),o(),f(3,"input",37),d(4,Dn,2,0,"span",38)(5,On,2,0,"spk-icon",36)(6,En,2,0,"spk-icon",39)(7,Nn,2,0,"spk-icon",39),o()),n&2){let e,t=p().$implicit;s(),I("for","destination-",t.formGroupName,"-",t.index,""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),I("id","destination-",t.formGroupName,"-",t.index,""),P("formControlName",t.formView.name),c("type",t.formView.showPassword?"text":"password"),s(),_(t.oauthField===t.formView.name?4:5),s(2),_(t.formView.showPassword?6:7)}}function In(n,i){if(n&1&&(a(0,"spk-tooltip",34)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function Gn(n,i){if(n&1&&(a(0,"option",11),l(1),o()),n&2){let e=i.$implicit;c("value",e),s(),E(e)}}function Mn(n,i){if(n&1&&(a(0,"spk-select")(1,"label",33),l(2),d(3,In,3,1,"spk-tooltip",34),o(),f(4,"input",42),k(5,10),V(6,Gn,2,2,"option",11,T),v(),o()),n&2){let e,t=p().$implicit;s(),I("for","destination-",t.formGroupName,"-",t.index,""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),I("id","destination-",t.formGroupName,"-",t.index,""),P("formControlName",t.formView.name),s(2),b(t.formView.options)}}function $n(n,i){if(n&1&&(a(0,"spk-tooltip",34)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function An(n,i){if(n&1&&(a(0,"option",11),l(1),o()),n&2){let e=i.$implicit;c("value",e),s(),E(e)}}function Rn(n,i){if(n&1&&(a(0,"div",29)(1,"label",33),l(2),d(3,$n,3,1,"spk-tooltip",34),o(),a(4,"div",43)(5,"spk-form-field"),f(6,"input",44),a(7,"spk-icon",36),l(8,"resize"),o()(),a(9,"spk-select"),f(10,"label")(11,"input",45),k(12,10),V(13,An,2,2,"option",11,T),v(),o()()()),n&2){let e,t=p().$implicit,r=p();c("formGroupName",t.formView.name),s(),I("for","destination-",t.formGroupName,"-",t.index,""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(3),I("id","destination-",t.formGroupName,"-",t.index,""),s(7),b(r.sizeOptions())}}function Bn(n,i){if(n&1&&(a(0,"spk-tooltip",34)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function Un(n,i){if(n&1&&(a(0,"spk-form-field")(1,"label",33),l(2),d(3,Bn,3,1,"spk-tooltip",34),o(),f(4,"input",46),a(5,"spk-icon",36),l(6,"numpad"),o()()),n&2){let e,t=p().$implicit;s(),I("for","destination-",t.formGroupName,"-",t.index,""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),I("id","destination-",t.formGroupName,"-",t.index,""),P("formControlName",t.formView.name)}}function Hn(n,i){if(n&1&&(a(0,"spk-tooltip",34)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function Ln(n,i){if(n&1&&(a(0,"spk-toggle",30)(1,"label",33),l(2),d(3,Hn,3,1,"spk-tooltip",34),o(),f(4,"input",47),o()),n&2){let e,t=p().$implicit;s(),I("for","destination-",t.formGroupName,"-",t.index,""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),I("id","destination-",t.formGroupName,"-",t.index,""),P("formControlName",t.formView.name)}}function Wn(n,i){if(n&1&&(a(0,"spk-tooltip",34)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function zn(n,i){n&1&&(a(0,"spk-option",49),l(1,"None"),o()),n&2&&c("value","None")}function jn(n,i){if(n&1&&(a(0,"spk-option",11),l(1),f(2,"spk-checkbox",50),o()),n&2){let e=p().$implicit;c("value",e),s(),D(" ",e," ")}}function qn(n,i){if(n&1&&d(0,zn,2,1,"spk-option",49)(1,jn,3,2,"spk-option",11),n&2){let e=i.$implicit;_(e==="None"?0:1)}}function Kn(n,i){if(n&1&&(a(0,"spk-select",31)(1,"label",33),l(2),d(3,Wn,3,1,"spk-tooltip",34),o(),f(4,"input",48),k(5,10),V(6,qn,2,1,null,null,T),v(),o()),n&2){let e,t=p().$implicit;c("selectMultiple",!0),s(),I("for","destination-",t.formGroupName,"-",t.index,""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),P("formControlName",t.formView.name),s(2),b(t.formView.options)}}function Qn(n,i){if(n&1&&(a(0,"spk-tooltip",34)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function Yn(n,i){if(n&1&&(a(0,"spk-form-field")(1,"label",33),l(2),d(3,Qn,3,1,"spk-tooltip",34),o(),f(4,"input",35),o()),n&2){let e,t=p().$implicit;s(),I("for","destination-",t.formGroupName,"-",t.index,""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),I("id","destination-",t.formGroupName,"-",t.index,""),P("formControlName",t.formView.name)}}function Zn(n,i){if(n&1){let e=w();a(0,"div",25),k(1,26),d(2,Sn,5,14,"app-file-tree",27)(3,vn,5,10,"app-file-tree",28)(4,bn,7,10,"spk-form-field")(5,Pn,8,11,"spk-form-field")(6,Mn,8,9,"spk-select")(7,Rn,15,9,"div",29)(8,Un,7,9,"spk-form-field")(9,Ln,5,9,"spk-toggle",30)(10,Kn,8,7,"spk-select",31)(11,Yn,5,9,"spk-form-field"),v(),a(12,"button",32),C("click",function(){let r=h(e).$implicit,m=p();return x(m.removeFormView(r.formView,0))}),a(13,"spk-icon"),l(14,"x-circle"),o()()()}if(n&2){let e=i.$implicit;s(),c("formGroupName",e.formGroupName),s(),_(e.formView.type==="FileTree"?2:e.formView.type==="FolderTree"?3:e.formView.type==="String"||e.formView.type==="Path"?4:e.formView.type==="Password"?5:e.formView.type==="Enumeration"?6:e.formView.type==="Size"?7:e.formView.type==="Integer"?8:e.formView.type==="Boolean"?9:e.formView.type==="Flags"?10:e.formView.type==="Timespan"?11:-1)}}var ge=new L,Jn=["Bytes","KB","MB","GB","TB","PB"],Xn=[{value:"",name:"Keep all backups"},{value:"time",name:"Delete backups that are older than"},{value:"versions",name:"Keep a specific number of backups"},{value:"smart",name:"Smart backup retention"},{value:"custom",name:"Custom backup retention"}],Lt=(n={remoteVolumeSize:50,size:"MB",backupRetention:"",advancedOptions:[]})=>ge.group({remoteVolumeSize:ge.group({size:ge.control(n.remoteVolumeSize),unit:ge.control(n.size)}),backupRetention:ge.control(n.backupRetention),advancedOptions:ge.group({})}),mr=(n,i)=>ge.group({name:ge.control(n),value:ge.control(i)}),St=class n{#e=y(ee);#n=y(j);#i=y(le);formRef=ie.required("formRef");optionsForm=this.#e.optionsForm;selectedOptions=this.#e.selectedOptions;nonSelectedOptions=this.#e.nonSelectedOptions;isSubmitting=this.#e.isSubmitting;sizeOptions=S(Jn);rentationOptions=S(Xn);oauthStartTokenCreation(i){}getFormFieldValue(i,e,t){return this.optionsForm.controls.advancedOptions.controls[t].value}removeFormView(i,e){this.#e.removeOptionFromFormGroup(i)}addNewOption(i){this.#e.addOptionToFormGroup(i)}retentionOptionDisplayFn(){let i=this.rentationOptions();return e=>{let t=i.find(r=>r.value===e);return t?t.name:""}}displayFn(){let i=this.#e.advancedOptions();return e=>{let t=i.find(r=>r.name===e);return t?`${t.name}`:""}}goBack(){this.#n.navigate(["schedule"],{relativeTo:this.#i.parent})}submit(){this.#e.submit()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=H({type:n,selectors:[["app-options"]],viewQuery:function(e,t){e&1&&oe(t.formRef,un,5),e&2&&re()},decls:49,vars:5,consts:[["formRef",""],["fieldTemplate",""],["option",""],[3,"submit","formGroup"],[1,"title-30"],[1,"remote-volume-wrap"],["formGroupName","remoteVolumeSize",1,"row-inputs"],["for","size"],["type","number","id","size","formControlName","size"],["type","text","placeholder","Select an option...","formControlName","unit"],["options",""],[3,"value"],["href","#",1,"spk-primary"],[3,"displayFn"],["type","text","formControlName","backupRetention"],[3,"disallowToggle"],["title",""],["spk-button","","type","button",1,"outlined","small"],["menu",""],["type","button"],[1,"form-actions"],["spk-button","","type","button",3,"click"],["spk-button","","type","submit",1,"raised","primary"],["type","button",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"field-row"],[3,"formGroupName"],[3,"startingPath","accepts","showFiles","showHiddenNodes","selectFiles"],[3,"startingPath"],[1,"form-column",3,"formGroupName"],[1,"primary","raised"],[1,"primary",3,"selectMultiple"],["spk-button","","type","button",1,"outlined",3,"click"],[3,"for"],[1,"primary",3,"message"],["type","text",3,"id","formControlName"],["prefix",""],["autocomplete","off",3,"type","id","formControlName"],["prefix","",1,"link"],["suffix","",1,"clickable"],["prefix","",1,"link",3,"click"],["suffix","",1,"clickable",3,"click"],["type","search",3,"id","formControlName"],[1,"form-row"],["type","number","formControlName","size",3,"id"],["type","search","formControlName","unit"],["type","number",3,"id","formControlName"],["type","checkbox",3,"id","formControlName"],["type","text","id","text",3,"formControlName"],["deselect","",3,"value"],[1,"raised","primary"]],template:function(e,t){if(e&1){let r=w();a(0,"form",3,0),C("submit",function(){return h(r),x(t.submit())}),a(2,"h3",4),l(3,"Options"),o(),a(4,"div",5)(5,"div",6)(6,"spk-form-field")(7,"label",7),l(8,"Remote volume size"),o(),f(9,"input",8),o(),a(10,"spk-select"),f(11,"input",9),k(12,10),V(13,gn,2,2,"option",11,T),v(),o()(),a(15,"p"),l(16," The backups will be split up into multiple files called volumes. Here you can set the maximum size of the individual volume files. "),a(17,"a",12),l(18,"Read more"),o()()(),a(19,"spk-select",13)(20,"label",7),l(21,"Backup retention"),o(),f(22,"input",14),V(23,Cn,2,2,"option",11,T),o(),a(25,"app-toggle-card",15),k(26,16),l(27," Advanced options "),a(28,"spk-menu")(29,"button",17),l(30," Add advanced option "),a(31,"spk-icon"),l(32,"plus"),o()(),k(33,18),V(34,hn,3,1,"button",19,T),v(),o(),v(),V(36,yn,1,7,"ng-container",null,T),o(),d(38,Zn,15,2,"ng-template",null,1,Je),a(40,"div",20)(41,"button",21),C("click",function(){return h(r),x(t.goBack())}),a(42,"spk-icon"),l(43,"arrow-left"),o(),l(44," Go back "),o(),a(45,"button",22)(46,"spk-icon"),l(47,"arrow-right"),o(),l(48," Submit "),o()()()}e&2&&(c("formGroup",t.optionsForm),s(13),b(t.sizeOptions()),s(6),c("displayFn",t.retentionOptionDisplayFn()),s(4),b(t.rentationOptions()),s(2),c("disallowToggle",!0),s(9),b(t.nonSelectedOptions()),s(2),b(t.selectedOptions()),s(9),fe("loader",t.isSubmitting()))},dependencies:[de,pe,Q,Y,q,ye,xe,K,se,me,ce,we,et,lt,X,Se,Z,J,ke,at,st,Ge,Me,ve],styles:["[_nghost-%COMP%]{display:block;width:100%;max-width:32.5rem;padding:2.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.form-column[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}.form-column[_ngcontent-%COMP%] spk-icon[_ngcontent-%COMP%]{font-size:1rem}.field-row[_ngcontent-%COMP%]{display:grid;align-items:flex-end;grid-template-columns:1fr 2.5rem;gap:.5rem}.form-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:3fr 1fr;gap:.5rem;align-items:flex-end}.form-wrap[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 2.5rem;gap:.5rem;align-items:flex-end}.remote-volume-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.row-inputs[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:.5rem}.row-inputs[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0}.advanced-option[_ngcontent-%COMP%]{display:grid;gap:.5rem;grid-template-columns:1fr 1fr 40px;align-items:flex-end}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})};var ei=["formRef"];function ti(n,i){if(n&1&&(a(0,"option",24),l(1),o()),n&2){let e=i.$implicit;c("value",e.key),s(),E(e.label)}}function ni(n,i){if(n&1){let e=w();a(0,"div",11)(1,"spk-form-field")(2,"label",12),l(3,"Next time"),o(),a(4,"input",13,1),C("focus",function(){h(e);let r=ae(5);return x(r.showPicker())}),o(),a(6,"spk-icon",14),l(7,"clock"),o()(),a(8,"spk-form-field"),f(9,"label",15),a(10,"input",16,2),C("focus",function(){h(e);let r=ae(11);return x(r.showPicker())}),o(),a(12,"spk-icon",14),l(13,"calendar"),o()()(),k(14,17),a(15,"div",18)(16,"spk-form-field")(17,"label",19),l(18,"Run again every"),o(),f(19,"input",20),o(),a(20,"spk-select",21),f(21,"input",22),k(22,23),V(23,ti,2,2,"option",24,T),v(),o()(),a(25,"app-toggle-card",25),k(26,26),l(27,"Allowed days"),v(),a(28,"div",27)(29,"spk-toggle",6),l(30," Monday "),f(31,"input",28),o(),a(32,"spk-toggle",6),l(33," Tuesday "),f(34,"input",29),o(),a(35,"spk-toggle",6),l(36," Wednesday "),f(37,"input",30),o(),a(38,"spk-toggle",6),l(39," Thursday "),f(40,"input",31),o(),a(41,"spk-toggle",6),l(42," Friday "),f(43,"input",32),o(),a(44,"spk-toggle",6),l(45," Saturday "),f(46,"input",33),o(),a(47,"spk-toggle",6),l(48," Sunday "),f(49,"input",34),o()()(),v()}if(n&2){let e=p();s(20),c("displayFn",e.displayFn),s(3),b(e.unitOptions),s(2),c("disallowToggle",!0)}}var A=new L,Wt=[{key:"s",label:"Seconds"},{key:"m",label:"Minutes"},{key:"h",label:"Hours"},{key:"D",label:"Days"},{key:"W",label:"Weeks"},{key:"M",label:"Months"},{key:"Y",label:"Years"}],zt=(n={autoRun:!1,nextTime:{time:"13:00",date:new Date().toISOString().split("T")[0]},runAgain:{repeatValue:1,repeatUnit:"D",allowedDays:{mon:!1,tue:!1,wed:!1,thu:!1,fri:!1,sat:!1,sun:!1}}})=>A.group({autoRun:A.control(n.autoRun),nextTime:A.group({time:A.control(n.nextTime.time),date:A.control(n.nextTime.date)}),runAgain:A.group({repeatValue:A.control(n.runAgain.repeatValue),repeatUnit:A.control(n.runAgain.repeatUnit),allowedDays:A.group({mon:A.control(n.runAgain.allowedDays.mon),tue:A.control(n.runAgain.allowedDays.tue),wed:A.control(n.runAgain.allowedDays.wed),thu:A.control(n.runAgain.allowedDays.thu),fri:A.control(n.runAgain.allowedDays.fri),sat:A.control(n.runAgain.allowedDays.sat),sun:A.control(n.runAgain.allowedDays.sun)})})}),kt=class n{#e=y(ee);#n=y(j);#i=y(le);formRef=ie.required("formRef");scheduleForm=this.#e.scheduleForm;scheduleFormSignal=this.#e.scheduleFormSignal;unitOptions=Wt;displayFn(i){let e=Wt.find(t=>t.key===i);return e?`${e.label}`:""}goBack(){this.#n.navigate(["source-data"],{relativeTo:this.#i.parent})}next(){this.#n.navigate(["options"],{relativeTo:this.#i.parent})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=H({type:n,selectors:[["app-schedule"]],viewQuery:function(e,t){e&1&&oe(t.formRef,ei,5),e&2&&re()},decls:20,vars:2,consts:[["formRef",""],["timeRef",""],["dateRef",""],[3,"submit","formGroup"],[1,"title-30"],[1,"toggle-wrap"],[1,"raised","primary"],["type","checkbox","formControlName","autoRun"],[1,"form-actions"],["spk-button","","type","button",3,"click"],["spk-button","","type","submit",1,"raised","primary"],["formGroupName","nextTime",1,"row-inputs"],["for","time"],["type","time","id","time","formControlName","time",3,"focus"],["suffix",""],["for","date"],["type","date","id","date","formControlName","date",3,"focus"],["formGroupName","runAgain"],[1,"row-inputs"],["for","repeatValue"],["type","number","id","repeatValue","formControlName","repeatValue"],[3,"displayFn"],["type","text","id","repeatUnit","formControlName","repeatUnit"],["options",""],[3,"value"],["formGroupName","allowedDays",3,"disallowToggle"],["title",""],[1,"days-wrap"],["type","checkbox","formControlName","mon"],["type","checkbox","formControlName","tue"],["type","checkbox","formControlName","wed"],["type","checkbox","formControlName","thu"],["type","checkbox","formControlName","fri"],["type","checkbox","formControlName","sat"],["type","checkbox","formControlName","sun"]],template:function(e,t){if(e&1){let r=w();a(0,"form",3,0),C("submit",function(){return h(r),x(t.next())}),a(2,"h3",4),l(3,"Schedule"),o(),a(4,"div",5)(5,"spk-toggle",6),l(6," Automatically run backups "),f(7,"input",7),o(),a(8,"p"),l(9,"If a date was missed, the job will run as soon as possible."),o()(),d(10,ni,50,2),a(11,"div",8)(12,"button",9),C("click",function(){return h(r),x(t.goBack())}),a(13,"spk-icon"),l(14,"arrow-left"),o(),l(15," Go back "),o(),a(16,"button",10)(17,"spk-icon"),l(18,"arrow-right"),o(),l(19," Continue "),o()()()}if(e&2){let r;c("formGroup",t.scheduleForm),s(10),_((r=t.scheduleFormSignal())!=null&&r.autoRun?10:-1)}},dependencies:[de,pe,Q,Y,q,ye,xe,K,se,me,ce,we,J,X,ke,Z,Se,ve],styles:["[_nghost-%COMP%]{display:block;width:100%;max-width:32.5rem;padding:2.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.toggle-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.row-inputs[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:.5rem}.row-inputs[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0}.days-wrap[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})};function ii(n,i){if(n&1&&(a(0,"option",3),l(1),o()),n&2){let e=i.$implicit;c("value",e.value),s(),E(e.key)}}function oi(n,i){if(n&1&&(a(0,"option",3),l(1),o()),n&2){let e=i.$implicit;c("value",e.value),s(),E(e.key)}}function ri(n,i){if(n&1){let e=w();a(0,"spk-select",0)(1,"input",6),C("ngModelChange",function(r){h(e);let m=p(2);return x(m.updateStateExpression(r))}),o(),V(2,oi,2,2,"option",3,T),o()}if(n&2){let e,t=p(2);c("hideClearButton",!0)("displayFn",t.displayFn),s(),c("ngModel",(e=t.pathState())==null?null:e.expression),s(),b(t.fileGroupOptions())}}function ai(n,i){if(n&1){let e=w();a(0,"spk-form-field")(1,"input",6),C("ngModelChange",function(r){h(e);let m=p(2);return x(m.updateStateExpression(r))}),o()()}if(n&2){let e,t=p(2);s(),c("ngModel",(e=t.pathState())==null?null:e.expression)}}function li(n,i){if(n&1){let e=w();a(0,"spk-select",0)(1,"input",1),C("ngModelChange",function(r){h(e);let m=p();return x(m.updateStateType(r))}),o(),k(2,2),V(3,ii,2,2,"option",3,T),v(),o(),d(5,ri,4,3,"spk-select",0)(6,ai,2,1,"spk-form-field"),a(7,"div",4),C("click",function(){h(e);let r=p();return x(r.removeFilter())}),a(8,"spk-icon",5),l(9,"x-circle"),o()()}if(n&2){let e,t,r=p();c("hideClearButton",!0)("displayFn",r.displayFn),s(),c("ngModel",(e=r.pathState())==null?null:e.type),s(2),b(r.expressionOptions()),s(2),_(((t=r.pathState())==null?null:t.type)==="-FileGroup"||((t=r.pathState())==null?null:t.type)==="+FileGroup"?5:6)}}var jt=[{key:"Excludes folders where name contains",value:"-FolderNameIncludes"},{key:"Excludes folder",value:"-Folder"},{key:"Excludes files where name contains",value:"-FileNameIncludes"},{key:"Excludes file extension",value:"-Extension"},{key:"Excludes files where name matches regex",value:"-Regex"},{key:"Includes files where name matches regex",value:"+Regex"},{key:"Excludes file group",value:"-FileGroup"},{key:"Includes expression",value:"+Expression"},{key:"Excludes expression",value:"-Expression"}],si=[{key:"Applications",value:"Applications"},{key:"CacheFiles",value:"Cache Files"},{key:"TemporaryFiles",value:"Temporary Files"},{key:"OperatingSystem",value:"Operating System"},{key:"SystemFiles",value:"System Files"},{key:"DefaultExcludes",value:"Standard Excludes"}],dt=class n{path=Ze.required();pathChange=We();remove=We();expressionOptions=S(jt);fileGroupOptions=S(si);pathState=S(null);pathEffect=Xe(()=>{let i=this.path(),e=i.slice(1),t=i.startsWith("-")?"-":"+";return e.startsWith("/")&&e.endsWith("/")?this.pathState.set({type:`${t}Folder`,path:e,expression:e}):e.startsWith("*")&&e.endsWith("*/")?this.pathState.set({type:`${t}FolderNameIncludes`,path:e,expression:e.slice(1,-2)}):e.startsWith("[.*")&&e.endsWith("[^\\/]*]")?this.pathState.set({type:`${t}FileNameIncludes`,path:e,expression:e.slice(3,-7)}):e.startsWith("{")&&e.endsWith("}")?this.pathState.set({type:`${t}FileGroup`,path:e,expression:e.slice(1,-1)}):e.startsWith("[")&&e.endsWith("]")?this.pathState.set({type:`${t}Regex`,path:e,expression:e.slice(1,-1)}):e.startsWith("*.")?this.pathState.set({type:`${t}Extension`,path:e,expression:e.slice(2)}):this.pathState.set({type:`${t}Expression`,path:e,expression:e})});updateStateType(i){this.pathState.update(e=>(e.type=i,e.path=this.#e(e),e)),this.pathChange.emit(this.pathState().path)}updateStateExpression(i){this.pathState.update(e=>(e.expression=i,e.path=this.#e(e),e)),this.pathChange.emit(this.pathState().path)}#e(i){let e=i.type.slice(0,1),t=i.type.slice(1);if(t==="Folder"){let r=i.expression.endsWith("/"),m=i.expression.startsWith("/");return r&&m?`${e}${i.expression}`:r?`${e}${i.expression}/`:m?`${e}/${i.expression}`:`${e}/${i.expression}/`}return t==="FolderNameIncludes"?`${e}*${i.expression}*/`:t==="FileNameIncludes"?`${e}[.*${i.expression}[^\\/]*]`:t==="FileGroup"?`${e}{${i.expression}}`:t==="Regex"?`${e}[${i.expression}]`:t==="Extension"?`${e}*.${i.expression}`:`${e}${i.expression}`}removeFilter(){this.remove.emit()}displayFn(i){let e=jt.find(t=>t.value===i);return e?e.key:""}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=H({type:n,selectors:[["app-filter"]],inputs:{path:[1,"path"]},outputs:{pathChange:"pathChange",remove:"remove"},decls:1,vars:1,consts:[[3,"hideClearButton","displayFn"],["type","text","placeholder","Select an option...",3,"ngModelChange","ngModel"],["options",""],[3,"value"],[1,"filter-removal",3,"click"],[1,"spk-primary"],["type","text",3,"ngModelChange","ngModel"]],template:function(e,t){e&1&&d(0,li,10,4),e&2&&_(t.pathState()?0:-1)},dependencies:[ot,Q,Y,q,K,Gt,X,Z,J],styles:["[_nghost-%COMP%]{display:grid;grid-template-columns:13.125rem 1fr 1.875rem;gap:.5rem;align-items:flex-end}[_nghost-%COMP%] spk-select[_ngcontent-%COMP%]{--miw: initial}[_nghost-%COMP%] .filter-removal[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center;justify-content:center;height:2.5rem;flex:0 0}"],changeDetection:0})};var pi=["formRef"];function mi(n,i){if(n&1){let e=w();a(0,"app-filter",26),C("pathChange",function(r){let m=h(e).$index,u=p();return x(u.patchPathAt(r,m))})("remove",function(){let r=h(e).$index,m=p();return x(m.removePathAt(r))}),o()}if(n&2){let e=i.$implicit;c("path",e)}}function ci(n,i){if(n&1&&(a(0,"option",30),l(1),o()),n&2){let e=i.$implicit;c("value",e),s(),E(e)}}function di(n,i){if(n&1&&(a(0,"div",25)(1,"spk-form-field"),f(2,"input",27),o(),a(3,"spk-select"),f(4,"input",28),k(5,29),V(6,ci,2,2,"option",30,T),v(),o()()),n&2){let e=p();s(6),b(e.sizeOptions())}}var Ce=new L,ui=["Bytes","KB","MB","GB","TB","PB"],qt=(n={path:"",filters:[],excludes:{hidden:!1,system:!1,temporary:!1,filesLargerThan:null}})=>Ce.group({path:Ce.control(n.path),excludes:Ce.group({hidden:Ce.control(n.excludes.hidden),system:Ce.control(n.excludes.system),temporary:Ce.control(n.excludes.temporary),filesLargerThan:Ce.group({size:Ce.control(null),unit:Ce.control(null)})})}),vt=class n{#e=y(ee);#n=y(j);#i=y(le);formRef=ie.required("formRef");sourceDataForm=this.#e.sourceDataForm;sourceDataFormSignal=this.#e.sourceDataFormSignal;newPathCtrl=new nt("");filesLargerThan=G(()=>this.sourceDataFormSignal()?.excludes?.filesLargerThan?.size!==null);sizeOptions=S(ui);pathSignal=M(this.sourceDataForm.controls.path.valueChanges);pathArray=G(()=>this.pathSignal()?.split("\0").filter(i=>i.startsWith("-")||i.startsWith("+"))??[]);addFilter(i="-*"){let e=this.sourceDataForm.controls.path.value;this.sourceDataForm.controls.path.setValue(`${e}\0${i}`)}patchPathAt(i,e){let r=this.sourceDataForm.controls.path.value.split("\0").filter(u=>!u.startsWith("-")&&!u.startsWith("+")).join("\0"),m=this.pathArray().map((u,$)=>$===e?`${i}`:`${u}`).join("\0");this.sourceDataForm.controls.path.setValue(`${r}\0${m}`)}removePathAt(i){let t=this.sourceDataForm.controls.path.value.split("\0").filter(m=>!m.startsWith("-")&&!m.startsWith("+")).join("\0"),r=this.pathArray().filter((m,u)=>u!==i).join("\0");this.sourceDataForm.controls.path.setValue(`${t}\0${r}`)}getPath(){return this.sourceDataForm.value.path??null}toggleFilesLargerThan(){this.sourceDataForm.controls.excludes.value.filesLargerThan?.size===null?this.sourceDataForm.controls.excludes.controls.filesLargerThan.setValue({size:50,unit:"MB"}):this.sourceDataForm.controls.excludes.controls.filesLargerThan.setValue({size:null,unit:null})}addNewPath(){let i=this.sourceDataForm.controls.path.value;this.sourceDataForm.controls.path.setValue(`${i}\0${this.newPathCtrl.value}`),this.newPathCtrl.setValue("")}goBack(){this.#n.navigate(["destination"],{relativeTo:this.#i.parent})}next(){this.#n.navigate(["schedule"],{relativeTo:this.#i.parent})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=H({type:n,selectors:[["app-source-data"]],viewQuery:function(e,t){e&1&&oe(t.formRef,pi,5),e&2&&re()},decls:58,vars:11,consts:[["formRef",""],[3,"submit","formGroup"],[1,"left"],[1,"title-30"],[1,"fill",3,"multiSelect","startingPath","showFiles"],["for","path"],["type","text","id","path","tabindex","4","placeholder","Path","formControlName","path"],[1,"form-actions"],["spk-button","","type","button",3,"click"],["spk-button","","type","submit",1,"raised","primary"],[1,"right"],[3,"disallowToggle"],["title",""],["description",""],[1,"row-inputs"],["type","text","placeholder","Add a direct path",3,"formControl"],["spk-button","","type","button",1,"raised","primary",3,"click"],["type","button","spk-button","","action","",3,"click"],[3,"path"],["formGroupName","excludes",3,"disallowToggle"],[1,"raised","primary"],["type","checkbox","placeholder","Hidden files","formControlName","hidden"],["type","checkbox","placeholder","System files","formControlName","system"],["type","checkbox","placeholder","Temporary files","formControlName","temporary"],[1,"raised","primary",3,"click"],["formGroupName","filesLargerThan",1,"row-inputs"],[3,"pathChange","remove","path"],["type","number","formControlName","size"],["type","text","formControlName","unit","placeholder","Select an option..."],["options",""],[3,"value"]],template:function(e,t){if(e&1){let r=w();a(0,"form",1,0),C("submit",function(){return h(r),x(t.next())}),a(2,"div",2)(3,"h3",3),l(4,"Source Data"),o(),a(5,"app-file-tree",4)(6,"label",5),l(7,"Folder path"),o(),f(8,"input",6),o(),a(9,"div",7)(10,"button",8),C("click",function(){return h(r),x(t.goBack())}),a(11,"spk-icon"),l(12,"arrow-left"),o(),l(13," Go back "),o(),a(14,"button",9)(15,"spk-icon"),l(16,"arrow-right"),o(),l(17," Continue "),o()()(),a(18,"div",10)(19,"h3",3),l(20,"Source Data"),o(),a(21,"app-toggle-card",11),k(22,12),l(23,"Add Path"),v(),a(24,"p",13),l(25,"Add a path directly from your machine."),o(),a(26,"div",14)(27,"spk-form-field"),f(28,"input",15),o(),a(29,"button",16),C("click",function(){return h(r),x(t.addNewPath())}),a(30,"spk-icon"),l(31,"plus"),o()()()(),a(32,"app-toggle-card",11),k(33,12),l(34,"Filters"),v(),a(35,"p",13),l(36,"Customize your filters."),o(),a(37,"button",17),C("click",function(){return h(r),x(t.addFilter())}),l(38,"Add filter"),o(),V(39,mi,1,1,"app-filter",18,T),o(),a(41,"app-toggle-card",19),k(42,12),l(43,"Exclude"),v(),a(44,"p",13),l(45,"Choose if there\u2019s any files you want to exclude."),o(),a(46,"spk-toggle",20),l(47," Hidden files "),f(48,"input",21),o(),a(49,"spk-toggle",20),l(50," System files "),f(51,"input",22),o(),a(52,"spk-toggle",20),l(53," Temporary files "),f(54,"input",23),o(),a(55,"spk-toggle",24),C("click",function(){return h(r),x(t.toggleFilesLargerThan())}),l(56," Files larger than "),o(),d(57,di,8,0,"div",25),o()()()}e&2&&(c("formGroup",t.sourceDataForm),s(5),c("multiSelect",!0)("startingPath",t.getPath())("showFiles",!0),s(16),c("disallowToggle",!0),s(7),c("formControl",t.newPathCtrl),s(4),c("disallowToggle",!0),s(7),b(t.pathArray()),s(2),c("disallowToggle",!0),s(14),fe("active",t.filesLargerThan()),s(2),_(t.filesLargerThan()?57:-1))},dependencies:[ot,pe,Q,Y,q,ye,xe,K,se,de,it,me,ce,we,J,Z,Se,X,ke,Me,ve,dt],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;flex:1 0;overflow:hidden}form[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;flex:1 0;overflow:hidden}.right[_ngcontent-%COMP%], .left[_ngcontent-%COMP%]{flex:1 0;display:flex;flex-direction:column;gap:1.5rem}.left[_ngcontent-%COMP%]{padding:2.5rem;overflow:hidden;border-right:1px solid var(--base-level-40)}.right[_ngcontent-%COMP%]{padding:2.5rem 1.5rem;overflow:auto}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.row-inputs[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr min-content;gap:.5rem}"],changeDetection:0})};var te=new L,ee=class n{#e=y(j);#n=y(tt);#i=y(Ie);#o=y(pt);generalForm=Ht();sourceDataForm=qt();scheduleForm=zt();destinationForm=Kt();optionsForm=Lt();isDraft=S(!1);backupId=S(null);isSubmitting=S(!1);finishedLoading=S(!1);backupDefaults=S(null);isNew=G(()=>this.backupId()==="new");selectedOptions=S([]);selectedAdvancedFormPair=S([]);destinationFormPair=S({oauthField:null,custom:[],dynamic:[],advanced:[]});notSelectedAdvancedFormPair=G(()=>{let i=this.destinationFormPair()?.advanced??[],e=this.selectedAdvancedFormPair()??[];return i.filter(t=>e.findIndex(r=>r.name===t.name)===-1)});selectedHttpOptions=S([]);notSelectedHttpOptions=G(()=>{let i=this.httpOptions(),e=this.selectedHttpOptions()??[];return i.filter(t=>e.findIndex(r=>r.name===t.name)===-1)});sourceDataFormSignal=M(this.sourceDataForm.valueChanges);destinationFormSignal=M(this.destinationForm.valueChanges);generalFormSignal=M(this.generalForm.valueChanges);encryptionFieldSignal=M(this.generalForm.controls.encryption.valueChanges);scheduleFormSignal=M(this.scheduleForm.valueChanges);destinationOptions=G(()=>this.#n.backendModules()??[]);httpOptions=G(()=>this.#n.systemInfo()?.GenericModules?.find(i=>i.Key==="http-options")?.Options?.map(this.#t)??[]);advancedOptions=G(()=>this.#n.systemInfo()?.Options?.map(this.#t)??[]);#t(i){return{name:i.Name,type:i.Type,shortDescription:i.ShortDescription??void 0,longDescription:i.LongDescription??void 0,options:i.ValidValues}}encryptionOptions=G(()=>{let i=this.#n.systemInfo()?.EncryptionModules??[];return[wt,...i]});nonSelectedOptions=G(()=>this.advancedOptions().sort((i,e)=>i?.name&&e?.name?i?.name.localeCompare(e?.name):0).filter(i=>this.selectedOptions()?.findIndex(e=>e.name===i.name)===-1));addAdvancedFormPairByName(i,e,t){let r=this.notSelectedAdvancedFormPair().find(m=>m.name===i);r&&this.addAdvancedFormPair(r,e,t)}addHttpOptionByName(i,e,t){let r=this.notSelectedHttpOptions().find(m=>m.name===i);r&&this.addHttpOption(r,e,t)}addAdvancedFormPair(i,e,t){let r=this.destinationForm.controls.destinations.controls.at(e)?.controls.advanced,m=t??i.defaultValue;this.createFormField(r,i,m),this.selectedAdvancedFormPair.set([...this.selectedAdvancedFormPair(),i])}addHttpOption(i,e,t){let r=this.destinationForm.controls.destinations.controls.at(e)?.controls.advanced,m=t??i.defaultValue;this.createFormField(r,i,m),this.selectedHttpOptions.set([...this.selectedHttpOptions(),i])}removeAdvancedFormPair(i,e){this.destinationForm.controls.destinations.controls.at(e)?.controls.advanced.removeControl(i.name),this.selectedAdvancedFormPair().findIndex(r=>r.name===i.name)!==-1?this.selectedAdvancedFormPair.update(r=>(r=r.filter(m=>m.name!==i.name),r)):this.selectedHttpOptions.update(r=>(r=r.filter(m=>m.name!==i.name),r))}removeHttpOption(i,e){this.destinationForm.controls.destinations.controls.at(e)?.controls.advanced.removeControl(i.name),this.selectedHttpOptions.update(t=>(t=t.filter(r=>r.name!==i.name),t))}submit(){this.isSubmitting.set(!0);let i=this.#s(),e=this.backupId();e==="new"||!e||this.isDraft()?this.#i.postApiV1Backups({requestBody:i}).pipe(Le(()=>this.isSubmitting.set(!1))).subscribe({next:t=>{console.log("submitted res",t),this.exit()},error:t=>{console.error("submitted error",t)}}):this.#i.putApiV1BackupById({id:e,requestBody:i}).pipe(Le(()=>this.isSubmitting.set(!1))).subscribe({next:t=>{console.log("submitted res",t),this.exit()},error:t=>{console.error("submitted error",t)}})}exit(){this.#m(),this.#e.navigate(["/"])}updateFieldsFromTargetUrl(i){this.#r(),setTimeout(()=>{this.#l(i)})}#r(){this.destinationFormPair.set({oauthField:null,custom:[],dynamic:[],advanced:[]}),this.selectedAdvancedFormPair.set([]),this.selectedHttpOptions.set([]),this.destinationForm.controls.destinations.clear(),this.destinationForm.reset()}mapSourceDataToForm(i){let e=i.Sources??"",t=i.Filters?.map(R=>`${R.Include?"":"-"}${R.Expression}`)??[],r=i.Settings?.find(R=>R.Name==="--exclude-files-attributes")?.Value??"",m=i.Settings?.find(R=>R.Name==="--skip-files-larger-than")??null,u=m?.Value.replace(/[0-9]/g,"")??null,$=m?.Value.replace(/[^0-9]/g,"")??null,B={path:[...e,...t].join("\0"),excludes:{hiddenFiles:r.includes("hidden"),systemFiles:r.includes("system"),tempFiles:r.includes("temporary"),filesLargerThan:u&&$?{size:parseInt($),unit:u.toUpperCase()}:null}};this.sourceDataForm.patchValue(B)}mapDestinationToForm(i){let e=i.TargetURL?xt(i.TargetURL):null;e&&this.addDestinationFormGroup(e.destinationType,{custom:e.custom,dynamic:e.dynamic,advanced:e.advanced},!0)}#l(i){let e=xt(i);e&&this.addDestinationFormGroup(e.destinationType,{custom:e.custom,dynamic:e.dynamic,advanced:e.advanced},!0)}mapGeneralToForm(i){let e=i.Settings?.find(m=>m.Name==="encryption-module"),t=e?.Value&&e.Value.length?e.Value:"",r={name:i.Name??"",description:i.Description??""};t&&t!==""&&(r.encryption=t),this.generalForm.patchValue(r)}mapScheduleToForm(i){if(!i){this.scheduleForm.patchValue({autoRun:!0});return}let e=this.#o.fromString(i.Repeat)??null,r={nextTime:this.#p(i.Time),runAgain:{repeatValue:e?.value??1,repeatUnit:e?.unit??"D",allowedDays:{mon:i.AllowedDays?.includes("mon")??!1,tue:i.AllowedDays?.includes("tue")??!1,wed:i.AllowedDays?.includes("wed")??!1,thu:i.AllowedDays?.includes("thu")??!1,fri:i.AllowedDays?.includes("fri")??!1,sat:i.AllowedDays?.includes("sat")??!1,sun:i.AllowedDays?.includes("sun")??!1}}};this.scheduleForm.patchValue(r)}mapOptionsToForms(i){let e=["--no-encryption","--exclude-files-attributes","--skip-files-larger-than"],t=this.advancedOptions();i.Settings?.forEach(r=>{if(r.Name==="encryption-module")return this.generalForm.controls.encryption.setValue(r.Value??"");if(!(r.Name&&e.includes(r.Name))){if(r.Name==="dblock-size"){let m=r.Value?.replace(/[^0-9]/g,""),u=r.Value?.replace(/[0-9]/g,"");return this.optionsForm.controls.remoteVolumeSize.setValue({size:m?parseInt(m):null,unit:u?u.toUpperCase():null})}if(r.Name&&r.Value){let m=t.find(u=>u.name===r.Name);if(!m)return;this.addOptionToFormGroup(m,r.Value)}}})}getCurrentTargetUrl(){return this.#a(this.destinationForm.controls.destinations)}#s(){let i=this.generalForm.value,e=this.optionsForm.value,t=this.scheduleForm.value,r=this.sourceDataForm.value,u=this.destinationForm.value.destinations?.length?this.#a(this.destinationForm.controls.destinations):[],$=null;t.runAgain?.repeatUnit&&t.runAgain?.repeatValue&&($=this.#o.toString(t.runAgain.repeatValue,t.runAgain.repeatUnit));let B=t.runAgain?.allowedDays?Object.entries(t.runAgain?.allowedDays).filter(([g,F])=>F).map(([g,F])=>g):[],R=r.path?.split("\0")??[],_t=i.encryption===""?{Name:"--no-encryption",Value:"True"}:{Name:"encryption-module",Value:i.encryption??null},gt=this.advancedOptions(),Qe=Object.entries(e.advancedOptions??{}).filter(([g,F])=>g&&F).map(([g,F])=>{let W=gt.find(z=>z.name===g);return W?.type==="Size"?{Name:g,Value:`${F.size}${F.unit.toLowerCase()}`}:W?.type==="Integer"?{Name:g,Value:F.toString()}:W?.type==="Boolean"?{Name:g,Value:F.toString()}:{Name:g,Value:F}}),Ee=[_t,...Qe],Ne=Object.entries(r.excludes??{}).filter(([g,F])=>F&&g!=="filesLargerThan").map(([g])=>g),O=r.excludes?.filesLargerThan;return Ne.length&&Ee.push({Name:"--exclude-files-attributes",Value:Ne.join(",")}),O&&O.size!==null&&O.unit!==null&&Ee.push({Name:"--skip-files-larger-than",Value:`${O.size}${O.unit}`}),{Backup:{Name:i.name,Description:i.description,TargetURL:u[0]??null,Sources:R.filter(g=>!g.startsWith("-")),Settings:Ee,Filters:R.filter(g=>g.startsWith("-")).map((g,F)=>({Order:F,Include:!1,Expression:g.slice(1)}))},Schedule:t.autoRun?{Repeat:$,Time:t.nextTime?.date?new Date(`${t.nextTime.date}T${t.nextTime?.time||"00:00:00"}`).toISOString():null,AllowedDays:B}:null}}#a(i){return i.controls.map(e=>mt(e.value))}#p(i){if(!i||i?.indexOf("T")===-1)return{time:i??"13:00"};let e=new Date(i),t={time:`${(""+e.getHours()).padStart(2,"0")}:${(""+e.getMinutes()).padStart(2,"0")}`};return i.indexOf("T")!==-1&&(t.date=e.toISOString().split("T")[0]),t}removeOptionFromFormGroup(i){let e=i.name;e&&(this.optionsForm.controls.advancedOptions.removeControl(e),this.selectedOptions.update(t=>(t=t.filter(r=>r.name!==e),t)))}addOptionToFormGroup(i,e){let t=this.optionsForm.controls.advancedOptions;this.createFormField(t,i,e??i.defaultValue),this.selectedOptions.update(r=>(r.push(i),r))}createFormField(i,e,t){if(e.type==="String"||e.type==="FileTree"||e.type==="FolderTree"||e.type==="Password"||e.type==="Enumeration"||e.type==="NonValidatedSelectableString"||e.type==="Path"){i.addControl(e.name,te.control(t));return}if(e.type==="Size"){let r=t.replace(/[0-9]/g,""),m=t.replace(/[^0-9]/g,"");i.addControl(e.name,te.group({size:te.control(m?parseInt(m):50),unit:te.control(r?r.toUpperCase():"MB")}));return}if(e.type==="Integer"){i.addControl(e.name,te.control(t?parseInt(t):0));return}if(e.type==="Boolean"){i.addControl(e.name,te.control(t==="true"));return}if(e.type==="Flags"){i.addControl(e.name,te.control(t??""));return}if(e.type==="Timespan"){i.addControl(e.name,te.control(t,[_e.pattern(/([-+]?\d{1,3}[smhDWMY])+/)]));return}}addDestinationFormGroup(i,e,t=!1){let r=this.destinationOptions().find(O=>O.Key===i),m=this.httpOptions();if(!r||!r.Options)return;let u=je.hasOwnProperty(i)&&je[i],$=u&&u.oauthField?u.oauthField:null,B=u&&u.customFields?u.customFields:{},R=u&&u.dynamicFields?u.dynamicFields:[],_t=u&&u.advancedFields?u.advancedFields:[],gt=u&&u.ignoredAdvancedFields?u.ignoredAdvancedFields:[];this.destinationFormPair.set({oauthField:$,custom:[],dynamic:[],advanced:[]});let Qe=te.group({}),Ee=te.group({}),Ne=te.group({});B&&Object.entries(B).forEach(([O,g],F)=>{let Te=g,{formElement:W}=Te,z=Tt(Te,["formElement"]);Qe.addControl(O,W(e?.custom[O])),this.destinationFormPair.update(Pe=>(Pe.custom.push(U({order:900+F},z)),Pe))});for(let O=0;O<r.Options.length;O++){let g=r.Options[O];if(g.Deprecated)continue;let F=R.find(W=>W===g.Name||W.name===g.Name);if(F){let W=F&&typeof F!="string",z={name:g.Name,type:g.Type,shortDescription:g.ShortDescription??void 0,longDescription:g.LongDescription??void 0,options:g.ValidValues,order:900+O},Te=W?U(U({},z),F):z,Ye=e?.dynamic[g.Name]??g.DefaultValue;this.createFormField(Ee,Te,Ye),this.destinationFormPair.update(Ue=>(Ue.dynamic.push(Te),Ue))}else{if(gt.find(ne=>ne===g.Name))continue;let z=_t.find(ne=>ne===g.Name||ne.name===g.Name),Te=z&&typeof z!="string",Pe=e?.advanced[g.Name],Ye=Pe??g.DefaultValue,Ue={name:g.Name,type:g.Type,shortDescription:g.ShortDescription??void 0,longDescription:g.LongDescription??void 0,options:g.ValidValues,defaultValue:Ye,order:900+O},Ct=Te?U(U({},Ue),z):Ue;t&&Pe&&(this.createFormField(Ne,Ct,Ye),this.selectedAdvancedFormPair.update(ne=>(ne.push(Ct),ne))),this.destinationFormPair.update(ne=>(ne.advanced.push(Ct),ne))}}for(let O=0;O<m.length;O++){let g=m[O],F=e?.advanced[g.name],W=F??g.defaultValue;t&&F&&(this.createFormField(Ne,g,W),this.selectedHttpOptions.update(z=>(z.push(g),z)))}this.destinationFormPair.update(O=>({oauthField:O.oauthField,custom:O.custom.sort((g,F)=>g.order-F.order),dynamic:O.dynamic.sort((g,F)=>g.order-F.order),advanced:O.advanced.sort((g,F)=>g.order-F.order)})),this.destinationForm.controls.destinations.push(Qt({key:r.Key,customGroup:Qe,dynamicGroup:Ee,advancedGroup:Ne}))}#m(){this.generalForm.reset(),this.destinationForm.controls.destinations.clear(),this.destinationForm.reset(),this.sourceDataForm.reset(),this.scheduleForm.reset(),this.optionsForm.reset()}static \u0275fac=function(e){return new(e||n)};static \u0275prov=he({token:n,factory:n.\u0275fac,providedIn:"root"})};var fi=["formRef"],_i=(n,i,e,t)=>({index:n,formView:i,formGroupName:"custom",destinationType:e,oauthField:t}),ft=n=>({$implicit:n}),gi=(n,i,e,t)=>({index:n,formView:i,formGroupName:"dynamic",destinationType:e,oauthField:t}),Ci=(n,i,e,t)=>({index:n,formView:i,formGroupName:"advanced",destinationType:e,oauthField:t}),hi=(n,i,e,t)=>({index:n,formView:i,formGroupName:"advanced",asHttpOptions:!0,destinationType:e,oauthField:t}),xi=()=>({maxWidth:"700px",width:"100%"});function yi(n,i){n&1&&(l(0," Connected "),a(1,"spk-icon"),l(2,"check"),o())}function wi(n,i){n&1&&l(0," Test destination ")}function Si(n,i){if(n&1){let e=w();a(0,"button",8),C("click",function(){h(e);let r=p();return x(r.testDestination())}),d(1,yi,3,0)(2,wi,1,0),o()}if(n&2){let e=p();fe("success",e.successfulTest()),s(),_(e.successfulTest()?1:2)}}function ki(n,i){if(n&1){let e=w();a(0,"p",14),C("click",function(){h(e);let r=p();return x(r.removeDestinationFormGroup(r.destinationCount()-1))}),l(1," Want to select another destination? "),a(2,"span",15),l(3,"Click here"),o()()}}function vi(n,i){if(n&1){let e=w();a(0,"div",16)(1,"div",17),C("click",function(){h(e);let r=p();return x(r.addDestinationFormGroup("file"))}),a(2,"h3"),l(3,"File system"),o(),a(4,"p"),l(5,"Store backups on your local file system."),o()(),a(6,"div",17),C("click",function(){h(e);let r=p();return x(r.addDestinationFormGroup("gcs"))}),a(7,"h3"),l(8,"Google Cloud Storage"),o(),a(9,"p"),l(10,"Store backups in Google Cloud Storage."),o()(),a(11,"div",17),C("click",function(){h(e);let r=p();return x(r.addDestinationFormGroup("s3"))}),a(12,"h3"),l(13,"S3 compatible bucket"),o(),a(14,"p"),l(15,"Store backups in any S3 compatible bucket."),o()(),a(16,"div",17),C("click",function(){h(e);let r=p();return x(r.addDestinationFormGroup("ssh"))}),a(17,"h3"),l(18,"SSH"),o(),a(19,"p"),l(20,"Store backups in SSH."),o()(),a(21,"div",17),C("click",function(){h(e);let r=p();return x(r.addDestinationFormGroup("googledrive"))}),a(22,"h3"),l(23,"Google Drive"),o(),a(24,"p"),l(25,"Store backups in Google Drive."),o()()(),a(26,"p"),l(27,"More destinations are coming soon."),o()}}function Fi(n,i){n&1&&Ve(0)}function Ti(n,i){if(n&1&&d(0,Fi,1,0,"ng-container",23),n&2){let e,t=i.$implicit,r=i.$index;p();let m=ae(33),u=p();c("ngTemplateOutlet",m)("ngTemplateOutletContext",be(7,ft,ze(2,_i,r,t,(e=u.destinationFormSignal())==null||e.destinations==null||e.destinations[0]==null?null:e.destinations[0].destinationType,u.destinationFormPair().oauthField)))}}function Vi(n,i){n&1&&Ve(0)}function bi(n,i){if(n&1&&d(0,Vi,1,0,"ng-container",23),n&2){let e,t=i.$implicit,r=i.$index;p();let m=ae(33),u=p();c("ngTemplateOutlet",m)("ngTemplateOutletContext",be(7,ft,ze(2,gi,r,t,(e=u.destinationFormSignal())==null||e.destinations==null||e.destinations[0]==null?null:e.destinations[0].destinationType,u.destinationFormPair().oauthField)))}}function Di(n,i){if(n&1){let e=w();a(0,"button",24),C("click",function(){let r=h(e).$implicit,m=p(2);return x(m.addAdvancedFormPair(r,0))}),l(1),o()}if(n&2){let e=i.$implicit;s(),D(" ",e.name," ")}}function Oi(n,i){n&1&&Ve(0)}function Ei(n,i){if(n&1&&d(0,Oi,1,0,"ng-container",23),n&2){let e,t=i.$implicit,r=i.$index;p();let m=ae(33),u=p();c("ngTemplateOutlet",m)("ngTemplateOutletContext",be(7,ft,ze(2,Ci,r,t,(e=u.destinationFormSignal())==null||e.destinations==null||e.destinations[0]==null?null:e.destinations[0].destinationType,u.destinationFormPair().oauthField)))}}function Ni(n,i){if(n&1){let e=w();a(0,"button",24),C("click",function(){let r=h(e).$implicit,m=p(2);return x(m.addHttpOption(r,0))}),l(1),o()}if(n&2){let e=i.$implicit;s(),D(" ",e.name," ")}}function Pi(n,i){n&1&&Ve(0)}function Ii(n,i){if(n&1&&d(0,Pi,1,0,"ng-container",23),n&2){let e,t=i.$implicit,r=i.$index;p();let m=ae(33),u=p();c("ngTemplateOutlet",m)("ngTemplateOutletContext",be(7,ft,ze(2,hi,r,t,(e=u.destinationFormSignal())==null||e.destinations==null||e.destinations[0]==null?null:e.destinations[0].destinationType,u.destinationFormPair().oauthField)))}}function Gi(n,i){if(n&1&&(a(0,"spk-tooltip",35)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function Mi(n,i){if(n&1&&(a(0,"app-file-tree",27)(1,"label",34),l(2),d(3,Gi,3,1,"spk-tooltip",35),o(),f(4,"input",36),o()),n&2){let e,t=p().$implicit,r=p(2);c("startingPath",r.getFormFieldValue(0,t.formGroupName,t.formView.name))("accepts",t.formView.accepts)("showFiles",!0)("showHiddenNodes",!0)("selectFiles",!0),s(),N("for","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),N("id","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),P("formControlName",t.formView.name)}}function $i(n,i){if(n&1&&(a(0,"spk-tooltip",35)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function Ai(n,i){if(n&1&&(a(0,"app-file-tree",28)(1,"label",34),l(2),d(3,$i,3,1,"spk-tooltip",35),o(),f(4,"input",36),o()),n&2){let e,t=p().$implicit,r=p(2);c("startingPath",r.getFormFieldValue(0,t.formGroupName,t.formView.name)),s(),N("for","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),N("id","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),P("formControlName",t.formView.name)}}function Ri(n,i){if(n&1&&(a(0,"spk-tooltip",35)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function Bi(n,i){n&1&&(a(0,"spk-icon",37),l(1,"link"),o())}function Ui(n,i){n&1&&(a(0,"spk-icon",37),l(1,"textbox"),o())}function Hi(n,i){if(n&1&&(a(0,"spk-form-field")(1,"label",34),l(2),d(3,Ri,3,1,"spk-tooltip",35),o(),f(4,"input",36),d(5,Bi,2,0,"spk-icon",37)(6,Ui,2,0,"spk-icon",37),o()),n&2){let e,t=p().$implicit;s(),N("for","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),N("id","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),P("formControlName",t.formView.name),s(),_(t.formView.type==="Path"?5:6)}}function Li(n,i){if(n&1){let e=w();a(0,"span",41),C("click",function(){h(e);let r=p(2).$implicit,m=p(2);return x(m.oauthStartTokenCreation(r.destinationType))}),l(1,"AuthID"),o()}}function Wi(n,i){n&1&&(a(0,"spk-icon",37),l(1,"password"),o())}function zi(n,i){if(n&1){let e=w();a(0,"spk-icon",42),C("click",function(){h(e);let r=p(2).$implicit;return x(r.formView.showPassword=!r.formView.showPassword)}),l(1," eye "),o()}}function ji(n,i){if(n&1){let e=w();a(0,"spk-icon",42),C("click",function(){h(e);let r=p(2).$implicit;return x(r.formView.showPassword=!r.formView.showPassword)}),l(1," eye-slash "),o()}}function qi(n,i){if(n&1&&(a(0,"spk-form-field")(1,"label",34),l(2),o(),f(3,"input",38),d(4,Li,2,0,"span",39)(5,Wi,2,0,"spk-icon",37)(6,zi,2,0,"spk-icon",40)(7,ji,2,0,"spk-icon",40),o()),n&2){let e,t=p().$implicit;s(),N("for","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),N("id","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),P("formControlName",t.formView.name),c("type",t.formView.showPassword?"text":"password"),s(),_(t.oauthField===t.formView.name?4:5),s(2),_(t.formView.showPassword?6:7)}}function Ki(n,i){if(n&1&&(a(0,"spk-tooltip",35)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function Qi(n,i){if(n&1&&(a(0,"option",45),l(1),o()),n&2){let e=i.$implicit;c("value",e),s(),E(e)}}function Yi(n,i){if(n&1&&(a(0,"spk-select")(1,"label",34),l(2),d(3,Ki,3,1,"spk-tooltip",35),o(),f(4,"input",43),k(5,44),V(6,Qi,2,2,"option",45,T),v(),o()),n&2){let e,t=p().$implicit;s(),N("for","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),N("id","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),P("formControlName",t.formView.name),s(2),b(t.formView.options)}}function Zi(n,i){if(n&1&&(a(0,"spk-tooltip",35)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function Ji(n,i){if(n&1&&(a(0,"option",45),l(1),o()),n&2){let e=i.$implicit;c("value",e.value),s(),bt(" ",e.key," ",e.value?"("+e.value+")":""," ")}}function Xi(n,i){if(n&1&&(a(0,"spk-select",29)(1,"label",34),l(2),d(3,Zi,3,1,"spk-tooltip",35),o(),f(4,"input",43),k(5,44),V(6,Ji,2,3,"option",45,T),v(),o()),n&2){let e,t=p().$implicit,r=p(2);c("isFreeText",!0),s(),N("for","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),N("id","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),P("formControlName",t.formView.name),s(2),b(t.formView.loadOptions(r.injector)())}}function eo(n,i){if(n&1&&(a(0,"spk-tooltip",35)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function to(n,i){if(n&1&&(a(0,"option",45),l(1),o()),n&2){let e=i.$implicit;c("value",e),s(),E(e)}}function no(n,i){if(n&1&&(a(0,"div",30)(1,"label",34),l(2),d(3,eo,3,1,"spk-tooltip",35),o(),a(4,"div",46)(5,"spk-form-field"),f(6,"input",47),a(7,"spk-icon",37),l(8,"resize"),o()(),a(9,"spk-select"),f(10,"label")(11,"input",48),k(12,44),V(13,to,2,2,"option",45,T),v(),o()()()),n&2){let e,t=p().$implicit,r=p(2);c("formGroupName",t.formView.name),s(),N("for","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(3),N("id","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),s(7),b(r.sizeOptions())}}function io(n,i){if(n&1&&(a(0,"spk-tooltip",35)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function oo(n,i){if(n&1&&(a(0,"spk-form-field")(1,"label",34),l(2),d(3,io,3,1,"spk-tooltip",35),o(),f(4,"input",49),a(5,"spk-icon",37),l(6,"numpad"),o()()),n&2){let e,t=p().$implicit;s(),N("for","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),N("id","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),P("formControlName",t.formView.name)}}function ro(n,i){if(n&1&&(a(0,"spk-tooltip",35)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function ao(n,i){if(n&1&&(a(0,"spk-toggle",31)(1,"label",34),l(2),d(3,ro,3,1,"spk-tooltip",35),o(),f(4,"input",50),o()),n&2){let e,t=p().$implicit;s(),N("for","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),N("id","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),P("formControlName",t.formView.name)}}function lo(n,i){if(n&1&&(a(0,"spk-tooltip",35)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function so(n,i){n&1&&(a(0,"spk-option",52),l(1,"None"),o()),n&2&&c("value","None")}function po(n,i){if(n&1&&(a(0,"spk-option",45),l(1),f(2,"spk-checkbox",53),o()),n&2){let e=p().$implicit;c("value",e),s(),D(" ",e," ")}}function mo(n,i){if(n&1&&d(0,so,2,1,"spk-option",52)(1,po,3,2,"spk-option",45),n&2){let e=i.$implicit;_(e==="None"?0:1)}}function co(n,i){if(n&1&&(a(0,"spk-select",32)(1,"label",34),l(2),d(3,lo,3,1,"spk-tooltip",35),o(),f(4,"input",51),k(5,44),V(6,mo,2,1,null,null,T),v(),o()),n&2){let e,t=p().$implicit;c("selectMultiple",!0),s(),N("for","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),P("formControlName",t.formView.name),s(2),b(t.formView.options)}}function uo(n,i){if(n&1&&(a(0,"spk-tooltip",35)(1,"spk-icon"),l(2,"question"),o()()),n&2){let e=p(2).$implicit;c("message",e.formView.longDescription)}}function fo(n,i){if(n&1&&(a(0,"spk-form-field")(1,"label",34),l(2),d(3,uo,3,1,"spk-tooltip",35),o(),f(4,"input",36),o()),n&2){let e,t=p().$implicit;s(),N("for","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),s(),D(" ",(e=t.formView.shortDescription)!==null&&e!==void 0?e:t.formView.name," "),s(),_(t.formView.longDescription?3:-1),s(),N("id","destination-",t.formGroupName,"-",t.index,"-",t.asHttpOptions?"http":"other",""),P("formControlName",t.formView.name)}}function _o(n,i){if(n&1){let e=w();a(0,"button",54),C("click",function(){h(e);let r=p().$implicit,m=p(2);return x(m.removeFormView(r.formView,0))}),a(1,"spk-icon"),l(2,"x-circle"),o()()}}function go(n,i){if(n&1&&(a(0,"div",25),k(1,26),d(2,Mi,5,16,"app-file-tree",27)(3,Ai,5,12,"app-file-tree",28)(4,Hi,7,12,"spk-form-field")(5,qi,8,13,"spk-form-field")(6,Yi,8,11,"spk-select")(7,Xi,8,12,"spk-select",29)(8,no,15,11,"div",30)(9,oo,7,11,"spk-form-field")(10,ao,5,11,"spk-toggle",31)(11,co,8,8,"spk-select",32)(12,fo,5,11,"spk-form-field"),v(),d(13,_o,3,0,"button",33),o()),n&2){let e=i.$implicit;fe("single-field",e.formGroupName!=="advanced"),s(),c("formGroupName",e.formGroupName),s(),_(e.formView.type==="FileTree"?2:e.formView.type==="FolderTree"?3:e.formView.type==="String"||e.formView.type==="Path"?4:e.formView.type==="Password"?5:e.formView.type==="Enumeration"?6:e.formView.type==="NonValidatedSelectableString"?7:e.formView.type==="Size"?8:e.formView.type==="Integer"?9:e.formView.type==="Boolean"?10:e.formView.type==="Flags"?11:e.formView.type==="Timespan"?12:-1),s(11),_(e.formGroupName==="advanced"?13:-1)}}function Co(n,i){if(n&1&&(k(0,9)(1,18),V(2,Ti,1,9,"ng-container",null,T),V(4,bi,1,9,"ng-container",null,T),a(6,"app-toggle-card",19),k(7,20),l(8," Advanced options "),a(9,"spk-menu")(10,"button",21),l(11," Add advanced option "),a(12,"spk-icon"),l(13,"plus"),o()(),k(14,7),V(15,Di,2,1,"button",22,T),v(),o(),v(),V(17,Ei,1,9,"ng-container",null,T),o(),a(19,"app-toggle-card",19),k(20,20),l(21," Http options "),a(22,"spk-menu")(23,"button",21),l(24," Add http option "),a(25,"spk-icon"),l(26,"plus"),o()(),k(27,7),V(28,Ni,2,1,"button",22,T),v(),o(),v(),V(30,Ii,1,9,"ng-container",null,T),o(),d(32,go,14,5,"ng-template",null,1,Je),v()()),n&2){let e=p();s(2),b(e.destinationFormPair().custom),s(2),b(e.destinationFormPair().dynamic),s(2),c("disallowToggle",!0),s(4),c("disabled",e.notSelectedAdvancedFormPair().length===0),s(5),b(e.notSelectedAdvancedFormPair()),s(2),b(e.selectedAdvancedFormPair()),s(2),c("disallowToggle",!0),s(4),c("disabled",e.notSelectedHttpOptions().length===0),s(5),b(e.notSelectedHttpOptions()),s(2),b(e.selectedHttpOptions())}}function ho(n,i){if(n&1){let e=w();a(0,"spk-dialog",55),Et("isOpenChange",function(r){h(e);let m=p();return Ot(m.targetUrlDialogOpen,r)||(m.targetUrlDialogOpen=r),x(r)}),a(1,"header",56)(2,"h2"),l(3,"Edit target URL"),o(),a(4,"spk-alert",57),l(5,"Be careful, this will overwrite everything you have in your destination."),o()(),a(6,"div",58)(7,"spk-form-field"),f(8,"textarea",59),o()(),a(9,"footer",60)(10,"button",11),C("click",function(){h(e);let r=p();return x(r.closeTargetUrlDialog(!1))}),l(11,"Cancel"),o(),a(12,"button",61),C("click",function(){h(e);let r=p();return x(r.closeTargetUrlDialog(!0))}),l(13," Override target URLc "),a(14,"spk-icon"),l(15,"swap"),o()()()()}if(n&2){let e=p();Dt("isOpen",e.targetUrlDialogOpen),c("options",Nt(3,xi)),s(8),c("formControl",e.targetUrlCtrl)}}var xo=["Bytes","KB","MB","GB","TB","PB"],ut=new L,Kt=(n={destinations:[]})=>ut.group({destinations:ut.array(n.destinations)}),Qt=({key:n,customGroup:i,dynamicGroup:e,advancedGroup:t})=>ut.group({destinationType:ut.control(n),custom:i,dynamic:e,advanced:t}),Ft=class n{#e=y(j);#n=y(le);#i=y(It);#o=y(Ie);#t=y(ee);#r=y(At);injector=y(Vt);formRef=ie.required("formRef");destinationForm=this.#t.destinationForm;destinationFormPair=this.#t.destinationFormPair;selectedAdvancedFormPair=this.#t.selectedAdvancedFormPair;notSelectedAdvancedFormPair=this.#t.notSelectedAdvancedFormPair;selectedHttpOptions=this.#t.selectedHttpOptions;notSelectedHttpOptions=this.#t.notSelectedHttpOptions;destinationOptions=this.#t.destinationOptions;destinationFormSignal=this.#t.destinationFormSignal;destinationCount=G(()=>this.destinationFormSignal()?.destinations?.length??0);sizeOptions=S(xo);successfulTest=S(!1);getFormFieldValue(i,e,t){return((this.destinationForm.controls.destinations.controls?.[i]).controls?.[e]).controls[t].value}addDestinationFormGroup(i){this.#t.addDestinationFormGroup(i)}addAdvancedFormPair(i,e){this.#t.addAdvancedFormPair(i,e)}removeFormView(i,e){this.#t.removeAdvancedFormPair(i,e)}addHttpOption(i,e){this.#t.addHttpOption(i,e)}targetUrl=G(()=>this.#t.getCurrentTargetUrl()[0]);targetUrlCtrl=new nt;targetUrlInitial=S(null);targetUrlDialogOpen=S(!1);openTargetUrlDialog(){let e=this.#t.getCurrentTargetUrl()[0];this.targetUrlCtrl.setValue(e),this.targetUrlInitial.set(e),this.targetUrlDialogOpen.set(!0)}closeTargetUrlDialog(i=!1){this.targetUrlDialogOpen.set(!1);let e=this.targetUrlCtrl.value,t=this.targetUrlInitial();!i||e===t||this.#t.updateFieldsFromTargetUrl(this.targetUrlCtrl.value)}testDestination(i=0){let t=this.#t.getCurrentTargetUrl()[i];t&&this.#o.postApiV1RemoteoperationTest({requestBody:{path:t}}).subscribe({next:()=>{this.successfulTest.set(!0),setTimeout(()=>{this.successfulTest.set(!1)},3e3)},error:r=>{let m=r.error.error.Error;if(m==="missing-folder"&&this.#r.open(De,{data:{title:"Create folder",message:"The remote destination folder does not exist, do you want to create it?"},closed:u=>{u&&this.#o.postApiV1RemoteoperationCreate({requestBody:{path:t}}).subscribe()}}),m.startsWith("incorrect-cert:")){let u=m.split("incorrect-cert:")[1];this.#r.open(De,{maxWidth:"500px",data:{title:"Trust the certificate",message:`The server is using a certificate that is not trusted.
2
- If this is a self-signed certificate, you can choose to trust this certificate.
3
- The server reported the certificate hash: ${u}`,confirmText:"Trust the certificate",cancelText:"Cancel"},closed:$=>{$&&this.#t.addHttpOptionByName("accept-specified-ssl-hash",u)}})}if(m.startsWith("incorrect-host-key:")){let u=m.split('incorrect-host-key:"')[1].split('",')[0],$=m.split('accepted-host-key:"')[1].split('",')[0];$?this.#r.open(De,{maxWidth:"500px",data:{title:"The host key has changed",message:`The host key has changed, please check with the server administrator if this is correct,
4
- otherwise you could be the victim of a MAN-IN-THE-MIDDLE attack.
5
- Do you want to REPLACE your CURRENT host key ${$}
6
- with the REPORTED host key: ${u}?`,confirmText:"Approve",cancelText:"Cancel"},closed:B=>{B&&this.#t.addAdvancedFormPairByName("ssh-fingerprint",i,u)}}):this.#r.open(De,{maxWidth:"500px",data:{title:"Approve host key?",message:`No certificate was specified, please verify that the reported host key is correct: ${u}`,confirmText:"Approve",cancelText:"Cancel"},closed:B=>{B&&this.#t.addAdvancedFormPairByName("ssh-fingerprint",i,u)}})}}})}mapToTargetUrl(i){return mt(i.value)}removeDestinationFormGroup(i){this.destinationForm.controls.destinations.removeAt(i)}displayFn(i){let e=this.destinationOptions().find(t=>t.Key===i);return e?`${e.DisplayName}`:""}goBack(){this.#e.navigate(["general"],{relativeTo:this.#n.parent})}next(){this.#e.navigate(["source-data"],{relativeTo:this.#n.parent})}#l=S("https://duplicati-oauth-handler.appspot.com/").asReadonly();#s=S(Math.random().toString(36).substring(2)+Math.random().toString(36).substring(2)).asReadonly();#a=S(!1);#p=S(null);keyCreation(){}oauthStartTokenCreation(i){this.#a.set(!0);let e=450,t=600,r=this.#l()+"?type="+i+"&token="+this.#s(),m=screen.width/2-e/2,u=screen.height/2-t/2,$=window.open(r,"_blank","height="+t+",width="+e+",menubar=0,status=0,titlebar=0,toolbar=0,left="+m+",top="+u);$?.addEventListener("blur",B=>{console.log("event blur",B)}),$?.addEventListener("beforeunload",B=>{console.log("event beforeunload",B),this.#i.get(this.#l()+"fetch?callback=JSON_CALLBACK",{params:{token:this.#s()}}).pipe(Le(()=>this.#a.set(!1))).subscribe({next:R=>{console.log("res",R),R?.authid&&this.#p.set(R.authid)}})})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=H({type:n,selectors:[["app-destination"]],viewQuery:function(e,t){e&1&&oe(t.formRef,fi,5),e&2&&re()},decls:29,vars:6,consts:[["formRef",""],["fieldTemplate",""],[3,"submit","formGroup"],[1,"title-30"],[1,"actions"],["spk-button","","type","button",1,"small",3,"success"],["spk-button","","type","button",1,"small"],["menu",""],["spk-button","","type","button",1,"small",3,"click"],["formArrayName","destinations"],[1,"form-actions"],["spk-button","","type","button",3,"click"],["spk-button","","type","submit",1,"raised","primary"],[3,"isOpen","options"],[3,"click"],[1,"spk-primary"],[1,"most-common-destinations"],[1,"tile",3,"click"],["formGroupName","0"],[3,"disallowToggle"],["title",""],["spk-button","","type","button",1,"outlined","small",3,"disabled"],["item","","type","button"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["item","","type","button",3,"click"],[1,"field-row"],[3,"formGroupName"],[3,"startingPath","accepts","showFiles","showHiddenNodes","selectFiles"],[3,"startingPath"],[3,"isFreeText"],[1,"form-column",3,"formGroupName"],[1,"primary","raised"],[1,"primary",3,"selectMultiple"],["spk-button","","type","button",1,"outlined"],[3,"for"],[1,"primary",3,"message"],["type","text",3,"id","formControlName"],["prefix",""],["autocomplete","off",3,"type","id","formControlName"],["prefix","",1,"link"],["suffix","",1,"clickable"],["prefix","",1,"link",3,"click"],["suffix","",1,"clickable",3,"click"],["type","search",3,"id","formControlName"],["options",""],[3,"value"],[1,"form-row"],["type","number","formControlName","size",3,"id"],["type","search","formControlName","unit"],["type","number",3,"id","formControlName"],["type","checkbox",3,"id","formControlName"],["type","text","id","text",3,"formControlName"],["deselect","",3,"value"],[1,"raised","primary"],["spk-button","","type","button",1,"outlined",3,"click"],[3,"isOpenChange","isOpen","options"],["header",""],[1,"warning"],["content",""],["id","targetUrl","autocomplete","off",3,"formControl"],["footer",""],["spk-button","","type","submit",1,"raised","primary",3,"click"]],template:function(e,t){if(e&1){let r=w();a(0,"form",2,0),C("submit",function(){return h(r),x(t.next())}),a(2,"header")(3,"h3",3),l(4," Backup destination "),a(5,"div",4),d(6,Si,3,3,"button",5),a(7,"spk-menu")(8,"button",6)(9,"spk-icon"),l(10,"dots-three-vertical"),o()(),k(11,7),a(12,"button",8),C("click",function(){return h(r),x(t.openTargetUrlDialog())}),a(13,"spk-icon"),l(14,"link"),o(),l(15," Edit target URL "),o(),v(),o()()(),d(16,ki,4,0,"p"),o(),d(17,vi,28,0)(18,Co,34,4,"ng-container",9),a(19,"div",10)(20,"button",11),C("click",function(){return h(r),x(t.goBack())}),a(21,"spk-icon"),l(22,"arrow-left"),o(),l(23," Go back "),o(),a(24,"button",12)(25,"spk-icon"),l(26,"arrow-right"),o(),l(27," Continue "),o()()(),d(28,ho,16,4,"spk-dialog",13)}if(e&2){let r;c("formGroup",t.destinationForm),s(6),_(t.destinationCount()>0?6:-1),s(10),_(t.destinationCount()>0?16:-1),s(),_(t.destinationCount()===0?17:-1),s(),_(!((r=t.destinationFormSignal())==null||r.destinations==null)&&r.destinations.length?18:-1),s(10),_(t.targetUrlDialogOpen()?28:-1)}},dependencies:[de,pe,Q,Y,q,ye,xe,K,se,it,me,ce,we,Mt,et,J,X,lt,at,st,Z,ke,Ge,$t,rt,ve,Me],styles:["[_nghost-%COMP%]{display:block;width:100%;max-width:32.5rem;padding:2.5rem}header[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], header[_ngcontent-%COMP%] spk-alert[_ngcontent-%COMP%]{width:100%}header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:.5rem}header[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline}header[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}pre[_ngcontent-%COMP%]{white-space:pre-wrap}.field-row[_ngcontent-%COMP%]{display:grid;align-items:flex-end;grid-template-columns:1fr 2.5rem;gap:.5rem}.field-row.single-field[_ngcontent-%COMP%]{display:block}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.form-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.form-column[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}.form-column[_ngcontent-%COMP%] spk-icon[_ngcontent-%COMP%]{font-size:1rem}.form-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 1fr;gap:.5rem;align-items:flex-end}.clickable[_ngcontent-%COMP%]{cursor:pointer;color:var(--primary-500)}.most-common-destinations[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.most-common-destinations[_ngcontent-%COMP%] .tile[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;padding:1rem;border:1px solid var(--base-level-40);border-radius:var(--shape-3);box-shadow:var(--shadow-1);background-color:var(--base-level-20);cursor:pointer}.most-common-destinations[_ngcontent-%COMP%] .tile[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:var(--paragraph-10);margin:0}[prefix].link[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline;color:var(--primary-500)}textarea[_ngcontent-%COMP%] ~ grammarly-extension[_ngcontent-%COMP%]{display:none}"],changeDetection:0})};export{Kt as a,Qt as b,Ft as c,Ht as d,wt as e,yt as f,Lt as g,mr as h,St as i,zt as j,kt as k,qt as l,vt as m,ee as n};
package/chunk-RB7TVPQZ.js DELETED
@@ -1 +0,0 @@
1
- import{a as se}from"./chunk-NKKY2IML.js";import{a as $}from"./chunk-PT7ISA6M.js";import{b as L}from"./chunk-WFFR6X5F.js";import{a as le}from"./chunk-Y33NQYRN.js";import{b as q,d as z,e as W,h as j,j as H,l as J,m as K,o as Q,p as X,q as Y,r as Z,s as ee,t as te}from"./chunk-2VFGTKQ3.js";import"./chunk-M6JAWID7.js";import{a as ae}from"./chunk-2E5G54LG.js";import"./chunk-QXWUZ7QN.js";import{a as G}from"./chunk-QAOE722P.js";import{g as ne,k as ie,o as oe,q as re}from"./chunk-K3Y54FPO.js";import"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import"./chunk-N3IZHBC5.js";import{Ab as d,Bb as x,Cb as T,Db as R,Eb as n,Fb as o,Gb as p,Hb as I,Hc as A,Ib as D,Jc as B,K as v,Kb as h,Oa as U,Ra as s,Tb as m,Ub as c,X as y,Xb as N,Za as S,c as P,ea as C,fa as _,fb as F,fc as r,gc as k,hc as b,lb as E,p as V,vb as u,xb as w}from"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";function ce(a,e){if(a&1){let t=h();n(0,"spk-form-field",30),p(1,"input",31),o(),n(2,"button",32),m("click",function(){C(t);let l=c(2);return _(l.beginRemoteRegistration())}),r(3," Register for remote control "),o()}}function ue(a,e){if(a&1&&(n(0,"div",28)(1,"label"),r(2,"Machine is now registered, open this link to add it to your account:"),o(),n(3,"a",33),r(4),o()()),a&2){let t=c(2);s(3),N("href",t.remoteControlClaimUrl(),U),s(),k(t.remoteControlClaimUrl())}}function de(a,e){a&1&&(n(0,"div",28)(1,"label"),r(2,"Registering, please wait..."),o()())}function ge(a,e){if(a&1){let t=h();n(0,"button",32),m("click",function(){C(t);let l=c(2);return _(l.cancelRemoteRegistration())}),r(1," Cancel registration "),o()}}function Ce(a,e){if(a&1){let t=h();n(0,"button",32),m("click",function(){C(t);let l=c(2);return _(l.disableRemoteControl())}),r(1," Disable remote control "),o()}}function _e(a,e){if(a&1){let t=h();n(0,"button",32),m("click",function(){C(t);let l=c(2);return _(l.enableRemoteControl())}),r(1," Enable remote control "),o(),n(2,"button",34),m("click",function(){C(t);let l=c(2);return _(l.deleteRemoteControl())}),r(3," Delete remote control setup "),o()}}function fe(a,e){if(a&1&&(n(0,"div",5),E(1,ce,4,0)(2,ue,5,2,"div",28)(3,de,3,0,"div",28)(4,ge,2,0,"button",29)(5,Ce,2,0,"button",29)(6,_e,4,0),o()),a&2){let t=c();s(),d(t.remoteControlState()==="inactive"?1:-1),s(),d(t.remoteControlState()==="registered"?2:-1),s(),d(t.remoteControlState()==="registering"?3:-1),s(),d(t.remoteControlState()==="registering"||t.remoteControlState()==="registeringfaulted"||t.remoteControlState()==="registered"?4:-1),s(),d(t.remoteControlState()==="connected"||t.remoteControlState()==="enabled"?5:-1),s(),d(t.remoteControlState()==="disabled"?6:-1)}}function Se(a,e){if(a&1&&(n(0,"option",10),r(1),o()),a&2){let t=e.$implicit;u("value",t),s(),k(t)}}function he(a,e){if(a&1){let t=h();n(0,"option",35),m("click",function(){let l=C(t).$implicit,f=c();return _(f.pauseSettings.controls.timeType.setValue(l.value))}),r(1),o()}if(a&2){let t=e.$implicit;u("value",t.value),s(),b(" ",t.label," ")}}function be(a,e){if(a&1&&(n(0,"option",10),r(1),o()),a&2){let t=e.$implicit;u("value",t.value),s(),b(" ",t.label," ")}}var g=new Z,me=[{value:"s",label:"Seconds"},{value:"m",label:"Minutes"},{value:"h",label:"Hours"}],O=[{value:"en",label:"English"},{value:"fr",label:"French"},{value:"de",label:"German"},{value:"es",label:"Spanish"},{value:"it",label:"Italian"}],pe=[{value:"",label:"System default (information)"},{value:"information",label:"Usage statistics, warnings, errors, and crashes"},{value:"warning",label:"Warnings, errors and crashes"},{value:"error",label:"Errors and crashes"},{value:"crash",label:"Crashes only"},{value:"none",label:"None / disabled"}],M=class a{#i=y(le);#o=y($);#e=y(G);sysinfo=this.#o.systemInfo;isDarkMode=this.#i.isDarkMode;editAs=S("list");settingsForm=g.group({pauseSettings:g.group({time:g.control(0),timeType:g.control("s")}),language:g.control("en"),usageStatistics:g.control(""),updateChannel:g.control(""),remoteControlRegisterUrl:g.control("")});remoteControlState=S("unknown");remoteControlClaimUrl=S(null);sysInfoEffect=B(()=>{this.settingsForm.controls.remoteControlRegisterUrl.patchValue(this.sysinfo()?.RemoteControlRegistrationUrl??"")});get pauseSettings(){return this.settingsForm.controls.pauseSettings}langSignal=L(this.settingsForm.controls.language.valueChanges);timeTypeOptions=S(me);timeOptions=se([this.pauseSettings.controls.timeType.valueChanges.pipe(v("s")),this.pauseSettings.controls.time.valueChanges.pipe(v(null))],P(V(([e,t])=>{let i=this.#r(e);return t!==null?i.filter(l=>l.toString().includes(t.toString())):i}),v([])));languageOptions=A(()=>this.langSignal()?O.filter(e=>e.value===this.langSignal()):O);usageStatisticsOptions=S(pe);ngOnInit(){this.refreshRemoteControlStatus(),this.getServerSettings()}submit(){let e=`${this.pauseSettings.controls.time.value}${this.pauseSettings.controls.timeType.value}`;this.#e.patchApiV1Serversettings({requestBody:{"usage-reporter-level":this.settingsForm.controls.usageStatistics.value,"startup-delay":e==="0s"?"":e,"update-channel":this.settingsForm.controls.updateChannel.value}}).subscribe({next:t=>{console.log("res",t)},error:t=>{console.error("err",t)}})}getServerSettings(){return this.#e.getApiV1Serversettings().subscribe({next:e=>{let t=e["startup-delay"],i=t.slice(-1),l=t.slice(0,-1),f=["s","m","h"];this.settingsForm.patchValue({pauseSettings:{time:parseInt(l==""?"0":l),timeType:f.includes(i)?i:"s"},usageStatistics:e["usage-reporter-level"],updateChannel:e["update-channel"]})}})}languageDisplay(e){return e?O.find(t=>t.value===e)?.label??null:null}typeDisplay(){let e=this;return()=>{let t=e.settingsForm.value.pauseSettings?.timeType;return t==null?null:me.find(i=>i.value===t)?.label??null}}usageDisplay(){let e=this;return()=>{let t=e.settingsForm.value.usageStatistics;return t==null?null:pe.find(i=>i.value===t)?.label??null}}setDarkMode(){this.#i.setDarkMode()}setLightMode(){this.#i.setLightMode()}#r(e){let t=e==="h"?25:61;return new Array(t).fill(0).map((i,l)=>l)}repeatRegisterTimer=null;#t(e){e.RegistrationUrl&&this.remoteControlClaimUrl.set(e.RegistrationUrl),console.log(e),e.IsConnected?this.remoteControlState.set("connected"):e.IsEnabled?this.remoteControlState.set("enabled"):e.CanEnable?this.remoteControlState.set("disabled"):e.IsRegisteringFaulted?this.remoteControlState.set("registeringfaulted"):e.IsRegistering?e.RegistrationUrl!=null&&e.RegistrationUrl.trim().length>0?this.remoteControlState.set("registered"):this.remoteControlState.set("registering"):this.remoteControlState.set("inactive");let t=this.remoteControlState();console.log(t),this.repeatRegisterTimer!==null&&(clearTimeout(this.repeatRegisterTimer),this.repeatRegisterTimer=null),t==="registering"&&(this.repeatRegisterTimer=setTimeout(()=>{this.#e.postApiV1RemotecontrolRegister({requestBody:{RegistrationUrl:""}}).subscribe({next:i=>{this.#t(i)},error:i=>{this.#n(i)}})},5e3)),(t==="enabled"||t==="registered")&&(this.repeatRegisterTimer=setTimeout(()=>{this.#e.getApiV1RemotecontrolStatus().subscribe({next:i=>{this.#t(i)},error:i=>{this.#n(i)}})},5e3)),e.IsRegistering&&e.CanEnable&&this.#e.deleteApiV1RemotecontrolRegister().subscribe({next:i=>{this.#t(i)}})}#n(e){this.#e.getApiV1RemotecontrolStatus().subscribe({next:t=>{this.#t(t)}})}refreshRemoteControlStatus(){this.#e.getApiV1RemotecontrolStatus().subscribe({next:e=>{this.#t(e)},error:e=>{this.#n(e)}})}beginRemoteRegistration(){this.remoteControlState.set("registering");let e=this.settingsForm.controls.remoteControlRegisterUrl.value;this.#e.postApiV1RemotecontrolRegister({requestBody:{RegistrationUrl:e}}).subscribe({next:t=>{this.#t(t)},error:t=>{this.#n(t)}})}cancelRemoteRegistration(){this.#e.deleteApiV1RemotecontrolRegister().subscribe({next:e=>{this.#t(e)},error:e=>{this.#n(e)}})}enableRemoteControl(){this.#e.postApiV1RemotecontrolEnable().subscribe({next:e=>{this.#t(e)},error:e=>{this.#n(e)}})}disableRemoteControl(){this.#e.postApiV1RemotecontrolDisable().subscribe({next:e=>{this.#t(e)},error:e=>{this.#n(e)}})}deleteRemoteControl(){let e=this;confirm("Are you sure you want to delete the remote control registration?")&&e.#e.deleteApiV1RemotecontrolRegistration().subscribe({next:t=>{e.#t(t)},error:t=>{e.#n(t)}})}getRemoteControlStatusText(){let e=this.remoteControlState();return e==="enabled"?"Remote control is enabled but not connected":e==="connected"?"Remote control is connected":e==="registering"?"Registering machine...":e==="registeringfaulted"?"Registration failed":e==="registered"?"Registered, waiting for accept":e==="disabled"?"Remote control is configured but not enabled":e==="unknown"?"...loading...":"Remote control is not set up"}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=F({type:a,selectors:[["app-settings"]],decls:98,vars:13,consts:[[1,"content",3,"submit","formGroup"],[1,"title"],["type","submit","spk-button","",1,"raised","primary"],[1,"left"],[1,"right","remote-control"],[1,"field-row"],[1,"right"],["formGroupName","pauseSettings",1,"field-row"],[3,"hideClearButton"],["type","search","formControlName","time"],[3,"value"],[3,"displayFn","hideClearButton"],["type","text","formControlName","timeType"],["options",""],[1,"themes"],["src","assets/images/light-theme.png","alt","light theme",3,"click"],["src","assets/images/dark-theme.png","alt","dark theme",3,"click"],[1,"right","radios"],[1,"radio-option",3,"click"],[1,"outlined","primary"],["type","radio","name","updateChannel","value","","formControlName","updateChannel"],["type","radio","name","updateChannel","value","stable","formControlName","updateChannel"],["type","radio","name","updateChannel","value","beta","formControlName","updateChannel"],["type","radio","name","updateChannel","value","experimental","formControlName","updateChannel"],["type","radio","name","updateChannel","value","canary","formControlName","updateChannel"],["href","#"],[3,"displayFn"],["type","text","formControlName","usageStatistics"],[1,"field-col"],["type","button","spk-button","",1,"raised"],["label","Registration URL","for","remoteControlRegisterUrl"],["type","text","spk-input","","id","remoteControlRegisterUrl","name","remoteControlRegisterUrl","formControlName","remoteControlRegisterUrl"],["type","button","spk-button","",1,"raised",3,"click"],["target","_blank",3,"href"],["type","button","spk-button","",1,"raised","warn",3,"click"],[3,"click","value"]],template:function(t,i){if(t&1&&(p(0,"app-status-bar"),n(1,"form",0),m("submit",function(){return i.submit()}),n(2,"header")(3,"div",1)(4,"h2"),r(5,"Settings"),o(),n(6,"p"),r(7,"Configure your backup settings."),o()(),n(8,"button",2),r(9,"Save changes"),o()(),n(10,"section")(11,"div",3)(12,"h3"),r(13,"Remote access control"),o(),n(14,"p"),r(15),o()(),n(16,"div",4),E(17,fe,7,6,"div",5),o()(),n(18,"section")(19,"div",3)(20,"h3"),r(21,"Pause after startup or hibernation"),o(),n(22,"p"),r(23," Duplicati will run when started, but will remain in paused state for the duration. Duplicati will occupy minimal system resources and no backups will be run. "),o()(),n(24,"div",6)(25,"div",7)(26,"spk-select",8),p(27,"input",9),T(28,Se,2,2,"option",10,x),o(),n(30,"spk-select",11),p(31,"input",12),I(32,13),T(33,he,2,2,"option",10,x),D(),o()()()(),n(35,"section")(36,"div",3)(37,"h3"),r(38,"Color theme"),o(),n(39,"p"),r(40,"Customize your application theme"),o()(),n(41,"div",6)(42,"div",14)(43,"img",15),m("click",function(){return i.setLightMode()}),o(),n(44,"img",16),m("click",function(){return i.setDarkMode()}),o()()()(),n(45,"section")(46,"div",3)(47,"h3"),r(48,"Update channel"),o(),n(49,"p"),r(50,"Update channel selection is not implemented yet."),o()(),n(51,"div",17)(52,"div",18),m("click",function(){return i.settingsForm.controls.updateChannel.setValue("")}),n(53,"spk-radio",19),r(54),p(55,"input",20),o(),n(56,"p"),r(57),o()(),n(58,"div",18),m("click",function(){return i.settingsForm.controls.updateChannel.setValue("stable")}),n(59,"spk-radio",19),r(60," Stable "),p(61,"input",21),o(),n(62,"p"),r(63,"Official releases"),o()(),n(64,"div",18),m("click",function(){return i.settingsForm.controls.updateChannel.setValue("beta")}),n(65,"spk-radio",19),r(66," Beta "),p(67,"input",22),o(),n(68,"p"),r(69," Try out the new features that we are working on. Currently the most stable version available. Test Restore data before using this in production environments. "),o()(),n(70,"div",18),m("click",function(){return i.settingsForm.controls.updateChannel.setValue("experimental")}),n(71,"spk-radio",19),r(72," Experimental "),p(73,"input",23),o(),n(74,"p"),r(75,"Specific builds for developers only. Not for use with important data."),o()(),n(76,"div",18),m("click",function(){return i.settingsForm.controls.updateChannel.setValue("canary")}),n(77,"spk-radio",19),r(78," Canary "),p(79,"input",24),o(),n(80,"p"),r(81,"Individual builds for developers only. Not for use with important data."),o()()()(),n(82,"section")(83,"div",3)(84,"h3"),r(85,"Usage statistics"),o(),n(86,"p"),r(87," Usage reports help us improve the user experience and evaluate impact of new features. We use them to generate "),n(88,"a",25),r(89,"public usage statistics."),o(),p(90,"br")(91,"br"),r(92," All usage reports are sent anonymously and do not contain any personal information. They contain information about hardware and operating system, the type of backend, backup duration, overall size of source data and similar data. They do not contain paths, filenames, usernames, passwords or similar sensitive information. "),o()(),n(93,"div",6)(94,"spk-select",26),p(95,"input",27),T(96,be,2,2,"option",10,x),o()()()()),t&2){let l,f;s(),u("formGroup",i.settingsForm),s(14),k(i.getRemoteControlStatusText()),s(2),d(i.remoteControlState()!=="unknown"?17:-1),s(9),u("hideClearButton",!0),s(2),R(i.timeOptions()),s(2),u("displayFn",i.typeDisplay())("hideClearButton",!0),s(3),R(i.timeTypeOptions()),s(10),w("active",!i.isDarkMode()),s(),w("active",i.isDarkMode()),s(10),b(" Default (",(l=i.sysinfo())==null?null:l.DefaultUpdateChannel,") "),s(3),b("Same as the base install version: ",(f=i.sysinfo())==null?null:f.ServerVersionType,""),s(37),u("displayFn",i.usageDisplay()),s(2),R(i.usageStatisticsOptions())}},dependencies:[ee,j,X,Y,q,H,z,W,te,J,Q,K,ae,ne,oe,ie,re],styles:["[_nghost-%COMP%]{display:block}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 2rem 2rem}header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:2rem 0}header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}section[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:2rem 0;border-top:1px solid var(--base-level-40)}section[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;align-items:flex-start}section[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] spk-button-group[_ngcontent-%COMP%]{margin-top:.25rem}section[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-wrap:balance;width:50%}.themes[_ngcontent-%COMP%]{display:flex;gap:.5rem}.themes[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:240px;border-radius:var(--shape-3);cursor:pointer}.themes[_ngcontent-%COMP%] img.active[_ngcontent-%COMP%]{border:2px solid var(--primary-500)}.radios[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.radio-option[_ngcontent-%COMP%]{cursor:pointer}.radio-option[_ngcontent-%COMP%] spk-radio[_ngcontent-%COMP%]{color:var(--base-level-60);margin-bottom:.25rem}.radio-option[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-wrap:balance;color:var(--base-level-60R)}.field-col[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.field-row[_ngcontent-%COMP%]{display:flex;gap:.5rem;width:100%}.field-row[_ngcontent-%COMP%] spk-form-field[_ngcontent-%COMP%], .field-row[_ngcontent-%COMP%] spk-select[_ngcontent-%COMP%]{flex:1 0}.remote-control[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{white-space:nowrap}"],changeDetection:0})};export{M as default};
package/chunk-SLC2RVWO.js DELETED
@@ -1 +0,0 @@
1
- import{a as be}from"./chunk-NKKY2IML.js";import{a as M,b as Ce}from"./chunk-FDJMCHX2.js";import{b as q}from"./chunk-WFFR6X5F.js";import{a as me,b as O,d as V,e as E,h as T,i as ce,j as ue,l as P,o as R,p as de,q as fe,r as N,t as I}from"./chunk-2VFGTKQ3.js";import{a as w}from"./chunk-QAOE722P.js";import{a as B,g as D,n as ge,o as he,q as Fe,v as Se}from"./chunk-K3Y54FPO.js";import{H as _,X as C}from"./chunk-VN5Y4LY2.js";import{pa as x}from"./chunk-FL23VQIJ.js";import{Ab as $,B as X,Bb as ie,Cb as oe,Db as ne,E as G,Eb as o,Fb as n,Gb as m,Hb as h,Hc as pe,Ib as F,K as Y,Kb as y,L as Z,R as ee,Ra as c,Tb as S,Ub as W,X as p,Za as d,c as J,ea as f,fa as g,fb as k,fc as r,ic as re,l as K,lb as j,nc as se,p as Q,sc as le,uc as ae,v as U,vb as u,xb as te}from"./chunk-6RDPRL5W.js";function we(l,t){l&1&&m(0,"spk-progress-bar",3)}function Oe(l,t){if(l&1&&(o(0,"option",10),r(1),le(2,"date"),n()),l&2){let e=t.$implicit;u("value",e.Version),c(),re("",e.Version,": ",ae(2,3,e.Time,"d MMM y, h:mm"),"")}}function Ve(l,t){if(l&1&&(o(0,"app-file-tree",11)(1,"label",12),r(2,"Path"),n(),m(3,"input",13),n()),l&2){let e=W(2);u("rootPath",e.rootPath())("backupSettings",e.backupSettings())("multiSelect",!0)("showFiles",!0)}}function Ee(l,t){if(l&1&&(o(0,"spk-select",7),m(1,"input",8),h(2,9),oe(3,Oe,3,6,"option",10,ie),F(),n(),j(5,Ve,4,4,"app-file-tree",11)),l&2){let e=W();u("displayFn",e.displayFn()),c(3),ne(e.versionOptions()),c(2),$(e.rootPathLoaded()?5:-1)}}var L=new N,ke=()=>L.group({filesToRestore:L.control(""),selectedOption:L.control(null),passphrase:L.control(null)}),z=class l{#t=p(w);#e=p(b);#i=p(C);#o=p(_);#n=p(x);selectFilesForm=this.#e.selectFilesForm;selectFilesFormSignal=this.#e.selectFilesFormSignal;backupId=this.#e.backupId;versionOptionsLoading=this.#e.versionOptionsLoading;versionOptions=this.#e.versionOptions;backupSettings=pe(()=>{let t=this.backupId(),e=this.selectFilesFormSignal()?.selectedOption;if(typeof e!="number"||!t)return null;let s=this.versionOptions()?.find(a=>a.Version===e)?.Time??null;return s?{id:t,time:s}:null});rootPathLoaded=d(!1);rootPath=be([this.selectFilesFormSignal,this.backupId],J(Y([null,null]),Z(([t,e])=>{let i=t?.selectedOption,s=e;if(typeof i!="number"||!s)return K("/");let a=this.versionOptions()?.find(A=>A.Version===i);return this.#t.getApiV1BackupByIdFiles({id:s,time:a?.Time??"",prefixOnly:!1,folderContents:!0}).pipe(Q(A=>(this.rootPathLoaded.set(!0),A.Files[0].Path)))})));displayFn(){let t=this.versionOptions();return e=>{if(!e)return"";let i=t?.find(s=>s.Version?.toString()===e);return i?`${i.Version}: ${this.#n.transform(i.Time,"d MMM y, h:mm")}`:""}}next(){this.#i.navigate(["options"],{relativeTo:this.#o.parent})}exit(){this.#e.exit()}static \u0275fac=function(e){return new(e||l)};static \u0275cmp=k({type:l,selectors:[["app-select-files"]],features:[se([x])],decls:15,vars:2,consts:[["formRef",""],[3,"submit","formGroup"],[1,"title-30"],[1,"indeterminate","primary"],[1,"form-actions"],["spk-button","","type","button",3,"click"],["spk-button","","type","submit",1,"raised","primary"],[3,"displayFn"],["type","number","placeholder","Select an option...","formControlName","selectedOption"],["options",""],[3,"value"],[3,"rootPath","backupSettings","multiSelect","showFiles"],["for","path"],["type","text","id","path","formControlName","filesToRestore"]],template:function(e,i){if(e&1){let s=y();o(0,"form",1,0),S("submit",function(){return f(s),g(i.next())}),o(2,"h3",2),r(3,"Select files"),n(),j(4,we,1,0,"spk-progress-bar",3)(5,Ee,6,2),o(6,"div",4)(7,"button",5),S("click",function(){return f(s),g(i.exit())}),o(8,"spk-icon"),r(9,"arrow-left"),n(),r(10," Exit "),n(),o(11,"button",6)(12,"spk-icon"),r(13,"arrow-right"),n(),r(14," Continue "),n()()()}e&2&&(u("formGroup",i.selectFilesForm),c(4),$(i.versionOptionsLoading()?4:5))},dependencies:[I,T,de,fe,O,ce,V,E,P,R,x,M,D,B,Fe,ge],styles:["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})};var b=class l{#t=p(C);#e=p(w);backupId=d(null);backup=d(null);selectFilesForm=ke();optionsForm=ye();optionsFormSignal=q(this.optionsForm.valueChanges);selectFilesFormSignal=q(this.selectFilesForm.valueChanges);versionOptionsLoading=d(!1);versionOptions=d([]);isSubmitting=d(!1);init(t){this.backupId.set(t),this.#i(t,!0)}submit(){this.isSubmitting.set(!0);let t=this.backupId(),e=this.optionsForm.value,i=this.selectFilesForm.value,s=this.versionOptions()?.find(a=>a.Version===i.selectedOption);this.#e.postApiV1BackupByIdRestore({id:t??"",requestBody:{paths:i.filesToRestore?.split("\0").map(a=>`${a}*`)??[],passphrase:i.passphrase??null,time:s?.Time,restore_path:e.restoreFromPath,overwrite:e.handleExisting==="overwrite",permissions:e.permissions,skip_metadata:!0}}).pipe(G(()=>this.isSubmitting.set(!1))).subscribe({next:()=>this.exit(),error:a=>{console.error("restore error",a)}})}exit(){this.#o(),this.#t.navigate(["/"])}getVersionOptions(){this.versionOptions()}#i(t,e=!1){this.versionOptionsLoading.set(!0),U([this.#e.getApiV1BackupById({id:t}),this.#e.getApiV1BackupByIdFilesets({id:t})]).pipe(X(1),G(()=>this.versionOptionsLoading.set(!1))).subscribe({next:([i,s])=>{this.versionOptions.set(s),this.backup.set(i),e&&this.selectFilesForm.controls.selectedOption.setValue(s[0].Version)}})}#o(){this.selectFilesForm.reset(),this.optionsForm.reset()}static \u0275fac=function(e){return new(e||l)};static \u0275prov=ee({token:l,factory:l.\u0275fac,providedIn:"root"})};var v=new N,ye=()=>v.group({restoreFrom:v.control("orignal"),restoreFromPath:v.control(""),handleExisting:v.control("overwrite"),permissions:v.control(!1)}),H=class l{#t=p(b);#e=p(C);#i=p(_);optionsForm=this.#t.optionsForm;optionsFormSignal=this.#t.optionsFormSignal;isSubmitting=this.#t.isSubmitting;goBack(){this.#e.navigate(["select-files"],{relativeTo:this.#i.parent})}submit(){this.#t.submit()}static \u0275fac=function(e){return new(e||l)};static \u0275cmp=k({type:l,selectors:[["app-options"]],decls:41,vars:6,consts:[["formRef",""],[3,"submit","formGroup"],[1,"title-30"],[3,"disallowToggle"],["title",""],[1,"raised","primary"],["type","radio","name","restoreFrom","value","orignal","formControlName","restoreFrom"],["type","radio","name","restoreFrom","value","pickLocation","formControlName","restoreFrom"],[3,"disabled"],["for","path"],["type","text","id","path","formControlName","restoreFromPath"],["type","radio","name","handleExisting","value","overwrite","formControlName","handleExisting"],["type","radio","name","handleExisting","value","saveTimestamp","formControlName","handleExisting"],[1,"primary","raised"],["type","checkbox","formControlName","permissions"],[1,"form-actions"],["spk-button","","type","button",3,"click"],["spk-button","","type","submit",1,"raised","primary"]],template:function(e,i){if(e&1){let s=y();o(0,"form",1,0),S("submit",function(){return f(s),g(i.submit())}),o(2,"h3",2),r(3,"Restore options"),n(),o(4,"app-toggle-card",3),h(5,4),r(6,"Where do you want to restore files from?"),F(),o(7,"spk-radio",5),r(8," Original location "),m(9,"input",6),n(),o(10,"spk-radio",5),r(11," Pick location "),m(12,"input",7),n(),o(13,"app-file-tree",8)(14,"label",9),r(15,"Path"),n(),m(16,"input",10),n()(),o(17,"app-toggle-card",3),h(18,4),r(19,"How do you want to handle existing files?"),F(),o(20,"spk-radio",5),r(21," Overwrite "),m(22,"input",11),n(),o(23,"spk-radio",5),r(24," Save different versions with timestamp in file name "),m(25,"input",12),n()(),o(26,"app-toggle-card"),h(27,4),r(28,"Permissions"),F(),o(29,"spk-toggle",13),r(30," Restore read/write permissions "),m(31,"input",14),n()(),o(32,"div",15)(33,"button",16),S("click",function(){return f(s),g(i.goBack())}),o(34,"spk-icon"),r(35,"arrow-left"),n(),r(36," Go back "),n(),o(37,"button",17)(38,"spk-icon"),r(39,"arrow-right"),n(),r(40," Submit "),n()()()}if(e&2){let s;u("formGroup",i.optionsForm),c(4),u("disallowToggle",!0),c(9),u("disabled",((s=i.optionsFormSignal())==null?null:s.restoreFrom)!=="pickLocation"),c(4),u("disallowToggle",!0),c(20),te("loader",i.isSubmitting())}},dependencies:[I,T,O,me,ue,V,E,P,R,Ce,M,Se,he,D,B],styles:["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})};export{ye as a,H as b,ke as c,z as d,b as e};
package/chunk-TTHH64Z5.js DELETED
@@ -1 +0,0 @@
1
- import{e as v}from"./chunk-SLC2RVWO.js";import"./chunk-NKKY2IML.js";import"./chunk-FDJMCHX2.js";import"./chunk-PT7ISA6M.js";import"./chunk-WFFR6X5F.js";import"./chunk-2VFGTKQ3.js";import"./chunk-QAOE722P.js";import{o as g,s as C}from"./chunk-K3Y54FPO.js";import{H as d,L as f,Y as k,Z as w}from"./chunk-VN5Y4LY2.js";import"./chunk-DUQTXUOP.js";import"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import{Eb as o,Fb as n,Gb as i,Ra as s,X as r,fb as u,fc as a,pc as c,vb as p}from"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";var S=e=>["/restore-flow",e,"select-files"],R=e=>["/restore-flow",e,"options"],m=class e{#t=r(d);#e=r(v);backupId=this.#e.backupId;ngOnInit(){this.#e.init(this.#t.snapshot.params.id)}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=u({type:e,selectors:[["app-restore-flow"]],decls:9,vars:6,consts:[["step","","routerLinkActive","active",3,"routerLink"]],template:function(t,l){t&1&&(o(0,"spk-stepper")(1,"div",0),i(2,"spk-radio"),a(3," Select files "),n(),o(4,"div",0),i(5,"spk-radio"),a(6," Options "),n()(),o(7,"section"),i(8,"router-outlet"),n()),t&2&&(s(),p("routerLink",c(2,S,l.backupId())),s(3),p("routerLink",c(4,R,l.backupId())))},dependencies:[C,g,f,k,w],styles:["[_nghost-%COMP%]{display:block}spk-stepper[_ngcontent-%COMP%]{max-width:31.25rem;margin:2.5rem auto}section[_ngcontent-%COMP%]{max-width:31.25rem;margin:0 auto 2.5rem}"],changeDetection:0})};export{m as default};
package/chunk-UROUYC5A.js DELETED
@@ -1 +0,0 @@
1
- import{g as a,h as b,i as c}from"./chunk-R4XFPOM7.js";import"./chunk-FDJMCHX2.js";import"./chunk-DNHLTHLR.js";import"./chunk-PT7ISA6M.js";import"./chunk-WFFR6X5F.js";import"./chunk-2VFGTKQ3.js";import"./chunk-QAOE722P.js";import"./chunk-K3Y54FPO.js";import"./chunk-VN5Y4LY2.js";import"./chunk-DUQTXUOP.js";import"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";export{b as createAdvancedOption,a as createOptionsForm,c as default};
package/chunk-V2FTYSCJ.js DELETED
@@ -1 +0,0 @@
1
- import{a as y}from"./chunk-PT7ISA6M.js";import"./chunk-WFFR6X5F.js";import"./chunk-QAOE722P.js";import"./chunk-RFOUEAO7.js";import{sa as l}from"./chunk-FL23VQIJ.js";import{Eb as t,Fb as n,Ra as p,X as m,fb as a,fc as o,gc as f,sc as r,tc as c}from"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";var i=class s{#e=m(y);systemInfo=this.#e.systemInfo;static \u0275fac=function(e){return new(e||s)};static \u0275cmp=a({type:s,selectors:[["app-system-info"]],decls:5,vars:3,template:function(e,g){e&1&&(t(0,"h3"),o(1,"System info"),n(),t(2,"pre"),o(3),r(4,"json"),n()),e&2&&(p(3),f(c(4,1,g.systemInfo())))},dependencies:[l],styles:["[_nghost-%COMP%]{display:block}h3[_ngcontent-%COMP%]{font:var(--title-30);margin:p2r(0 0 20)}"],changeDetection:0})};export{i as default};
package/chunk-XYLW6QJG.js DELETED
@@ -1 +0,0 @@
1
- import"./chunk-7CGTOI24.js";function e(M){let t=M,u=Math.floor(Math.abs(M)),r=M.toString().replace(/^[^.]*\.?/,"").length;return u===1&&r===0?1:5}var a=["de",[["AM","PM"],void 0,void 0],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],void 0,void 0],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} 'um' {0}",void 0],[",",".",";","%","+","-","E","\xB7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","Euro",{ATS:["\xF6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"\u0440."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl\xA3"],GHS:[void 0,"\u20B5"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],RWF:[void 0,"F.Rw"],SYP:[],THB:["\u0E3F"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",e];export{a as default};
package/chunk-YBKFPTAU.js DELETED
@@ -1 +0,0 @@
1
- import"./chunk-7CGTOI24.js";var o=[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-MACZO675.js")},{path:"destination",loadComponent:()=>import("./chunk-LDUHEMHJ.js")},{path:"source-data",loadComponent:()=>import("./chunk-ZJNMXPO2.js")},{path:"schedule",loadComponent:()=>import("./chunk-OOBDPKP5.js")},{path:"options",loadComponent:()=>import("./chunk-UROUYC5A.js")}];export{o as default};
package/chunk-ZJNMXPO2.js DELETED
@@ -1 +0,0 @@
1
- import{l as a,m as b}from"./chunk-R4XFPOM7.js";import"./chunk-FDJMCHX2.js";import"./chunk-DNHLTHLR.js";import"./chunk-PT7ISA6M.js";import"./chunk-WFFR6X5F.js";import"./chunk-2VFGTKQ3.js";import"./chunk-QAOE722P.js";import"./chunk-K3Y54FPO.js";import"./chunk-VN5Y4LY2.js";import"./chunk-DUQTXUOP.js";import"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";export{a as createSourceDataForm,b as default};
package/main-RUKECFB7.js DELETED
@@ -1,2 +0,0 @@
1
- import{a as ce}from"./chunk-PT7ISA6M.js";import"./chunk-WFFR6X5F.js";import{a as $}from"./chunk-WMMDCNQV.js";import{a as A}from"./chunk-M6JAWID7.js";import{d as ae}from"./chunk-QAOE722P.js";import{c as le}from"./chunk-K3Y54FPO.js";import{H as oe,L as re,X as w,ca as se,ma as ie}from"./chunk-VN5Y4LY2.js";import{a as ne}from"./chunk-DUQTXUOP.js";import{a as Z,b as Q,d as X,e as ee,f as te}from"./chunk-RFOUEAO7.js";import{W as Y}from"./chunk-FL23VQIJ.js";import{b as pe}from"./chunk-N3IZHBC5.js";import{E as R,Gb as K,J as V,Jc as G,L as z,Mc as q,N as F,R as v,U as H,X as c,Za as d,d as D,fb as W,m as N,x as P,y as k,yc as J,zc as _}from"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";var U=":",$e="|",ge="@@",Me="\u241F",ue;function de(e){ue??=new TextEncoder;let t=ue.encode(e),n=new DataView(t.buffer,t.byteOffset,t.byteLength),o=fe(n,t.length,0),s=fe(n,t.length,102072);return o==0&&(s==0||s==1)&&(o=o^319790063,s=s^-1801410264),BigInt.asUintN(32,BigInt(o))<<BigInt(32)|BigInt.asUintN(32,BigInt(s))}function xe(e,t=""){let n=de(e);return t&&(n=BigInt.asUintN(64,n<<BigInt(1))|n>>BigInt(63)&BigInt(1),n+=de(t)),BigInt.asUintN(63,n).toString()}function fe(e,t,n){let o=2654435769,s=2654435769,r=0,l=t-12;for(;r<=l;r+=12){o+=e.getUint32(r,!0),s+=e.getUint32(r+4,!0),n+=e.getUint32(r+8,!0);let a=me(o,s,n);o=a[0],s=a[1],n=a[2]}let i=t-r;return n+=t,i>=4?(o+=e.getUint32(r,!0),r+=4,i>=8?(s+=e.getUint32(r,!0),r+=4,i>=9&&(n+=e.getUint8(r++)<<8),i>=10&&(n+=e.getUint8(r++)<<16),i===11&&(n+=e.getUint8(r++)<<24)):(i>=5&&(s+=e.getUint8(r++)),i>=6&&(s+=e.getUint8(r++)<<8),i===7&&(s+=e.getUint8(r++)<<16))):(i>=1&&(o+=e.getUint8(r++)),i>=2&&(o+=e.getUint8(r++)<<8),i===3&&(o+=e.getUint8(r++)<<16)),me(o,s,n)[2]}function me(e,t,n){return e-=t,e-=n,e^=n>>>13,t-=n,t-=e,t^=e<<8,n-=e,n-=t,n^=t>>>13,e-=t,e-=n,e^=n>>>12,t-=n,t-=e,t^=e<<16,n-=e,n-=t,n^=t>>>5,e-=t,e-=n,e^=n>>>3,t-=n,t-=e,t^=e<<10,n-=e,n-=t,n^=t>>>15,[e,t,n]}function Ee(e,t,n,o,s=[]){let r={},l={},i={},a=Oe(e[0],e.raw[0]),p=[a.text],m=[],f=a.text;for(let u=1;u<e.length;u++){let{messagePart:T,placeholderName:C=ke(u),associatedMessageId:B}=Ne(e[u],e.raw[u]);f+=`{$${C}}${T}`,t!==void 0&&(r[C]=t[u-1],l[C]=s[u-1]),m.push(C),B!==void 0&&(i[C]=B),p.push(T)}let h=a.customId||xe(f,a.meaning||""),I=a.legacyIds?a.legacyIds.filter(u=>u!==h):[];return{id:h,legacyIds:I,substitutions:r,substitutionLocations:l,text:f,customId:a.customId,meaning:a.meaning||"",description:a.description||"",messageParts:p,messagePartLocations:o,placeholderNames:m,associatedMessageIds:i,location:n}}function Oe(e,t){let{text:n,block:o}=ye(e,t);if(o===void 0)return{text:n};{let[s,...r]=o.split(Me),[l,i]=s.split(ge,2),[a,p]=l.split($e,2);return p===void 0&&(p=a,a=void 0),p===""&&(p=void 0),{text:n,meaning:a,description:p,customId:i,legacyIds:r}}}function Ne(e,t){let{text:n,block:o}=ye(e,t);if(o===void 0)return{messagePart:n};{let[s,r]=o.split(ge);return{messagePart:n,placeholderName:s,associatedMessageId:r}}}function ye(e,t){if(t.charAt(0)!==U)return{text:e};{let n=Ie(e,t);return{block:e.substring(1,n),text:e.substring(n+1)}}}function ke(e){return e===1?"PH":`PH_${e-1}`}function Ie(e,t){for(let n=1,o=1;n<e.length;n++,o++)if(t[o]==="\\")o++;else if(e[n]===U)return n;throw new Error(`Unterminated $localize metadata block in "${t}".`)}var L=class extends Error{parsedMessage;type="MissingTranslationError";constructor(t){super(`No translation found for ${ve(t)}.`),this.parsedMessage=t}};function Le(e,t,n){let o=Ee(t,n),s=e[o.id];if(o.legacyIds!==void 0)for(let r=0;r<o.legacyIds.length&&s===void 0;r++)s=e[o.legacyIds[r]];if(s===void 0)throw new L(o);return[s.messageParts,s.placeholderNames.map(r=>{if(o.substitutions.hasOwnProperty(r))return o.substitutions[r];throw new Error(`There is a placeholder name mismatch with the translation provided for the message ${ve(o)}.
2
- The translation contains a placeholder with name ${r}, which does not exist in the message.`)})]}function Ue(e){let t=e.split(/{\$([^}]*)}/),n=[t[0]],o=[];for(let r=1;r<t.length-1;r+=2)o.push(t[r]),n.push(`${t[r+1]}`);let s=n.map(r=>r.charAt(0)===U?"\\"+r:r);return{text:e,messageParts:je(n,s),placeholderNames:o}}function je(e,t){return Object.defineProperty(e,"raw",{value:t}),e}function ve(e){let t=e.meaning&&` - "${e.meaning}"`,n=e.legacyIds&&e.legacyIds.length>0?` [${e.legacyIds.map(o=>`"${o}"`).join(", ")}]`:"";return`"${e.id}"${n} ("${e.text}"${t})`}function be(e){$localize.translate||($localize.translate=Be),$localize.TRANSLATIONS||($localize.TRANSLATIONS={}),Object.keys(e).forEach(t=>{$localize.TRANSLATIONS[t]=Ue(e[t])})}function Be(e,t){try{return Le($localize.TRANSLATIONS,e,t)}catch(n){return console.warn(n.message),[e,t]}}var y=function(e,...t){if(y.translate){let o=y.translate(e,t);e=o[0],t=o[1]}let n=he(e[0],e.raw[0]);for(let o=1;o<e.length;o++)n+=t[o-1]+he(e[o],e.raw[o]);return n},De=":";function he(e,t){return t.charAt(0)===De?e.substring(Ie(e,t)+1):e}globalThis.$localize=y;var b=class e{#n=d(null);config=this.#n.asReadonly();parentIframeListner=null;parentOrigin="*";fetchConfig(){this.#e(),this.parentIframeListner=new AbortController,this.#o("connected"),window.addEventListener("message",t=>{if(t.data.startsWith("access:")){let n=t.data.replace("access:",""),o=JSON.parse(n);if(!o?.accessToken||!o?.clientId){this.#o("error:invalid-config");return}if(typeof o.clientId!="string"){this.#o("error:invalid-config");return}if(typeof o.accessToken!="string"){this.#o("error:invalid-config");return}console.info("postMessage config set"),this.#n.set(o)}},{signal:this.parentIframeListner.signal})}#o(t){window.parent.postMessage(t,"*")}#e(){this.parentIframeListner&&(this.parentIframeListner.abort(),this.parentIframeListner=null)}setConfig(t){this.#n.set(t)}clearConfig(){this.#n.set(null)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var M=class e{#n=c(A);#o=c(oe);#e=c(b);sub=null;ngOnInit(){this.#e.fetchConfig(),this.sub=this.#o.queryParams.subscribe(({accessToken:t,clientId:n})=>{t?.length&&n?.length&&this.#e.setConfig({accessToken:t,clientId:n})}),this.#n.clearAllNotCurrentVersion()}ngOnDestroy(){this.sub?.unsubscribe()}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=W({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(n,o){n&1&&K(0,"router-outlet")},dependencies:[re],encapsulation:2})};var Te={production:!0,baseUrl:"/api",machineServerUrl:"${WS_URL}",defaultTimeout:3e4};var g=new H("ENVIRONMENT");var x=class e{#n=c(ae);isLoaded=d(!1);webmodules=d(null);preload(t=!1){let n=this.#n.getApiV1Webmodules().pipe(F(o=>this.webmodules.set(o)),R(()=>this.isLoaded.set(!0)));if(t)return n;n.subscribe()}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var Ce=[{path:"",children:[{path:"login",canActivate:[()=>c($).token()!==null?c(w).navigate(["/"]):!0],loadComponent:()=>import("./chunk-7ORKNESW.js")},{path:"logout",loadComponent:()=>import("./chunk-OL3XQXPO.js")},{path:"",canActivate:[()=>P(c(ce).preload(!0),c(x).preload(!0))],loadComponent:()=>import("./chunk-MULBVD44.js"),children:[{path:"",loadComponent:()=>import("./chunk-IVCLLJMP.js")},{path:"add-backup",loadComponent:()=>import("./chunk-BDZSXP7I.js")},{path:"backup/:id/export",loadComponent:()=>import("./chunk-HEQYI7XZ.js")},{path:"backup/import",loadComponent:()=>import("./chunk-H4PL4MX5.js")},{path:"backup-draft/:id",loadComponent:()=>import("./chunk-COO43JXP.js"),loadChildren:()=>import("./chunk-YBKFPTAU.js")},{path:"backup/:id",loadComponent:()=>import("./chunk-COO43JXP.js"),loadChildren:()=>import("./chunk-YBKFPTAU.js")},{path:"restore",loadComponent:()=>import("./chunk-GE6ONX6N.js")},{path:"restore-flow/:id",loadComponent:()=>import("./chunk-TTHH64Z5.js"),children:[{path:"",redirectTo:"select-files",pathMatch:"full"},{path:"select-files",loadComponent:()=>import("./chunk-IDL47L54.js")},{path:"options",loadComponent:()=>import("./chunk-HIVOGYJW.js")}]},{path:"settings",loadComponent:()=>import("./chunk-RB7TVPQZ.js")},{path:"about",loadComponent:()=>import("./chunk-4MFVXV2P.js"),children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-QLL2CMCZ.js")},{path:"changelog",loadComponent:()=>import("./chunk-X7IF472Q.js")},{path:"libraries",loadComponent:()=>import("./chunk-3TOIJ5WO.js")},{path:"system-info",loadComponent:()=>import("./chunk-V2FTYSCJ.js")},{path:"logs",loadComponent:()=>import("./chunk-53HMBWP5.js")}]}]}]}];var E=null,Se=(e,t)=>{let n=c($),o=c(w),s=c(g),r=c(le),l=e;return n.token()&&e.url.startsWith(s.baseUrl)&&(l=e.clone({headers:e.headers.set("Authorization",`Bearer ${n.token()}`)})),t(l).pipe(k(i=>{if(r.error(i.message),i.status===401&&!E&&(E=n.refreshToken().pipe(V())),i.status===401)return E.pipe(z(()=>t(e.clone({headers:e.headers.set("Authorization",`Bearer ${n.token()}`)}))),k(p=>(o.navigate(["/logout"]),N(()=>p))),R(()=>E=null));let a=`Error Code: ${i.status}, Message: ${i.message}`;return N(()=>({error:i,message:a}))}))};var Pe="1.0.0",Re="portal-proxy-client",Ve=1,O=class e{#n=1e3;#o=c(g);#e=d("disconnected");#p=d(this.#n);#i=d(!1);#r=d(!1);#a=d(null);isConnectedToMachineServer=this.#r.asReadonly();wsState=this.#e.asReadonly();#c=[];#s={};#t=null;#u=new TextDecoder("utf-8");#l=null;#d=G(()=>{let t=this.#i(),n=this.#p(),o=this.#a();if(!o||!t||!n||n<this.#n){this.#l&&window.clearInterval(this.#l);return}this.#l=window.setInterval(()=>{this.connectToMachineServer(o)},n)});utf8Atob(t){let n=Uint8Array.from(atob(t),s=>s.charCodeAt(0)),o=this.#u.decode(n);return o?JSON.parse(o):null}connectToMachineServer(t,n){let o=n?.reconnect??!1;this.#t&&this.wsState()==="authenticated"&&!o||(this.#t&&this.wsState()!=="authenticated"&&this.#t.close(),this.#t=new WebSocket(this.#o.machineServerUrl),this.#t.onopen=()=>{this.#e.set("connect"),this.#r.set(!0),this.#i.set(!1),this.#a.set(null)},this.#t.onclose=()=>{this.#e.set("disconnected"),this.#r.set(!1),this.#a.set(t),this.#i.set(!0)},this.#t.onerror=()=>{this.#e.set("error")},this.#t.onmessage=s=>{let r=JSON.parse(s.data);if(this.wsState()==="connect"){if(r.type!=="welcome"){this.disconnectFromMachineServer(`Unexpected message type, expected 'welcome' but got '${r.type}'`);return}let i={token:t,publicKey:"",clientVersion:Pe,protocolVersion:Ve},a=this.createResponse(r,"authportal",i);this.#e.set("welcome"),this.#t?.send(a)}else if(this.wsState()==="welcome"){if(r.type!=="authportal"){this.disconnectFromMachineServer(`Unexpected message type, expected 'authportal' but got '${r.type}'`);return}var l=JSON.parse(r.payload??"");if(l.accepted===!1){this.disconnectFromMachineServer("Authentication failed");return}for(this.#e.set("authenticated"),this.#r.set(!0);this.#c.length>0;){let i=this.#c.pop();i&&this.#s[i.messageId]&&this.activateCommand(i)}}else if(this.wsState()==="authenticated"){if(r.type!=="command"){console.warn(`Unexpected message type, expected 'command' but got '${r.type}'`);return}let i=this.#s[r.messageId];if(i){if(r.errorMessage){i.reject(r.errorMessage);return}else{let a=JSON.parse(r.payload??"");a.body=a?.body==null?null:this.utf8Atob(a.body),i.resolve(a)}delete this.#s[r.messageId],window.clearTimeout(i.timer)}}})}disconnectFromMachineServer(t=null){t&&console.error(t),this.#t?.close(),this.#t=null,this.#e.set("disconnected"),this.#r.set(!1)}createResponse(t,n,o){let s={from:Re,to:t.from,type:n,messageId:t.messageId,payload:JSON.stringify(o)};return JSON.stringify(s)}sendCommand(t,n,o,s,r,l,i=5e3){return(this.wsState()==="disconnected"||this.wsState()==="error")&&this.connectToMachineServer(t),new Promise((a,p)=>{let m=crypto.randomUUID(),h={from:Re,to:n,type:"command",messageId:m,payload:JSON.stringify({method:o,path:s,body:r,headers:l})},I={resolve:a,reject:p,timer:window.setTimeout(()=>{let u=this.#s[m];u&&(delete this.#s[m],u.reject("Timeout"))},i)};this.#s[m]=I,this.#r()?this.activateCommand(h):this.#c.push(h)})}activateCommand(t){this.#t?.send(JSON.stringify(t))}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};function ze(e){if(typeof e!="string")return null;let n=new TextEncoder().encode(e);return window.btoa(String.fromCharCode(...n))}var we=(e,t)=>{let o=c(b).config(),s=c(g);if(o===null)return t(e);let r=c(O),l=ze(e.body),i={};e.headers.keys().forEach(f=>{i[f]=e.headers.get(f)??""});let a=e.headers.get("timeout"),p=a!==null?parseInt(a):s.defaultTimeout,m=r.sendCommand(o.accessToken,o.clientId,e.method,e.url,l,i,p);return new D(f=>{m.then(h=>{let I=new Z;i!=null&&Object.keys(i).forEach(T=>{I.set(T,i[T])});let u=new Q({body:h.body,status:h.code,statusText:"OK",headers:I});f.next(u),f.complete()})})};var Ae={providers:[J(),se(Ce,ie()),X(te(),ee([we,Se])),A,{provide:g,useValue:Te},pe]};var Fe=["en-US","de-DE","fr-FR"],S="en-US",He=localStorage.getItem("locale")||S,We=Fe.find(e=>e===He)??S;Ke(We).then(e=>{let n=q(Ae,{providers:[{provide:_,useValue:e}]});return ne(M,n)}).catch(e=>console.error(e));async function Ke(e){if(e===S)return S;let t=`/locale/messages.${e}.json`,n=await fetch(t).then(s=>{if(s.status===404)throw new Error(`Translation file not found for (locale: ${e})`);return s.json()}).catch(s=>{console.error("Error loading translation file",s)});if(!n)return S;be(n.translations),y.locale=e;let o;return e==="de-DE"&&(o=await import("./chunk-XYLW6QJG.js")),e==="fr-FR"&&(o=await import("./chunk-PV7FMVA7.js")),o?(Y(o.default),e):(console.error(`Locale module not found for (locale: ${e})`),e)}