@duplicati/ngclient 0.0.130 → 0.0.131

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 (187) hide show
  1. package/chunk-3IRKJXHE.js +6 -0
  2. package/chunk-3KIPRGE2.js +1 -0
  3. package/chunk-3PYBMCOB.js +1 -0
  4. package/{chunk-WBCTOQOO.js → chunk-4D2NUH5S.js} +1 -1
  5. package/chunk-5PEBIF7G.js +1 -0
  6. package/chunk-5ZODA7EN.js +1 -0
  7. package/{chunk-XUPWJEL7.js → chunk-76QLZQIX.js} +1 -1
  8. package/chunk-7LEXBIXG.js +1 -0
  9. package/{chunk-HAATVFD4.js → chunk-ABF3SFY5.js} +1 -1
  10. package/chunk-AGU2PEL5.js +1 -0
  11. package/{chunk-M7A6IY7W.js → chunk-B5FKLIHW.js} +1 -1
  12. package/chunk-BISTLAYK.js +1 -0
  13. package/chunk-CPQOWCF6.js +2 -0
  14. package/chunk-CTRHZCKS.js +1 -0
  15. package/chunk-CYLI6ZJ3.js +1 -0
  16. package/chunk-D6CQCWWK.js +1 -0
  17. package/chunk-DDV32SDB.js +1 -0
  18. package/chunk-DM2VSIZA.js +1 -0
  19. package/chunk-E4Z6XEMU.js +1 -0
  20. package/chunk-EKZRKTLM.js +1 -0
  21. package/chunk-EUDKD2JW.js +1 -0
  22. package/{chunk-OQPUBCLB.js → chunk-F74MXVWD.js} +1 -1
  23. package/chunk-FLMFEFKM.js +1 -0
  24. package/chunk-FO4W6SOP.js +1 -0
  25. package/{chunk-LWIINXS7.js → chunk-FPLBURO5.js} +1 -1
  26. package/chunk-FWVOVJCG.js +2 -0
  27. package/chunk-FWZV4DTQ.js +2 -0
  28. package/chunk-GGT3NXAX.js +1 -0
  29. package/chunk-GU7U3EFF.js +1 -0
  30. package/chunk-GW37Y5Z7.js +1 -0
  31. package/{chunk-S75WBVE3.js → chunk-HWCTRSCV.js} +1 -1
  32. package/chunk-IAE5MH6W.js +1 -0
  33. package/{chunk-DLJSVAM2.js → chunk-JWFYA3TO.js} +1 -1
  34. package/{chunk-4V45XF67.js → chunk-K5AQUIEE.js} +1 -1
  35. package/{chunk-KPH4ZAFT.js → chunk-K5P3KNHL.js} +1 -1
  36. package/chunk-K6EZTPNQ.js +7 -0
  37. package/chunk-KA4H3PM5.js +1 -0
  38. package/{chunk-HZQEM2P7.js → chunk-KQAO2YHR.js} +1 -1
  39. package/chunk-KU6D4KVX.js +1 -0
  40. package/{chunk-GQGMGFDX.js → chunk-KV7SEZ24.js} +1 -1
  41. package/chunk-LPSXYSH2.js +1 -0
  42. package/{chunk-QUOBR5MG.js → chunk-LQ2PCH6Q.js} +1 -1
  43. package/chunk-LXOONGVP.js +1 -0
  44. package/chunk-LZGUK3CQ.js +2 -0
  45. package/chunk-MHALSLG3.js +1 -0
  46. package/chunk-MXNLMTFY.js +1 -0
  47. package/{chunk-HIW2CN45.js → chunk-N334RUEQ.js} +1 -1
  48. package/chunk-OMZ3W4RW.js +1 -0
  49. package/chunk-P45GAY6A.js +1 -0
  50. package/chunk-P4ZYFRD3.js +1 -0
  51. package/{chunk-T3WJQ544.js → chunk-Q3ILJYED.js} +1 -1
  52. package/chunk-Q5QHAGHB.js +1 -0
  53. package/chunk-R3TWV35H.js +4 -0
  54. package/chunk-R43ZLOB3.js +1 -0
  55. package/chunk-RFBJR3ZC.js +1 -0
  56. package/chunk-RVLLX2SW.js +1 -0
  57. package/{chunk-ZQ4ACNVT.js → chunk-RZWJA6W3.js} +3 -3
  58. package/chunk-TOP2X7ZJ.js +1 -0
  59. package/chunk-TUOSYDUU.js +1 -0
  60. package/chunk-U4OAPG74.js +2 -0
  61. package/chunk-UFZFKKK7.js +1 -0
  62. package/chunk-UHRBTTCA.js +1 -0
  63. package/chunk-UIC4BWTY.js +1 -0
  64. package/chunk-UUG7G5LZ.js +1 -0
  65. package/chunk-UVLJAD66.js +1 -0
  66. package/chunk-UYWLCW5G.js +1 -0
  67. package/chunk-VKD4Y3YQ.js +1 -0
  68. package/chunk-VNYGRDVP.js +1 -0
  69. package/chunk-W2XSKJJ5.js +1 -0
  70. package/chunk-WIDMAJIO.js +1 -0
  71. package/{chunk-A6RETV76.js → chunk-WIJ3HW7I.js} +1 -1
  72. package/chunk-WWHML7QK.js +56 -0
  73. package/chunk-WY2KPAVB.js +1 -0
  74. package/{chunk-SF5ML7OT.js → chunk-XD26KCAE.js} +1 -1
  75. package/chunk-XHQO75TB.js +1 -0
  76. package/chunk-XOZRQBBW.js +1 -0
  77. package/chunk-YBFTPRR5.js +1 -0
  78. package/chunk-YFRT24NZ.js +1 -0
  79. package/chunk-YXIITZFM.js +1 -0
  80. package/{chunk-TCEYGZ6D.js → chunk-Z24H5QI5.js} +2 -2
  81. package/chunk-Z2VKXGKY.js +1 -0
  82. package/chunk-ZE5QAS4M.js +1 -0
  83. package/index.html +2 -2
  84. package/main-JMFOP3Z7.js +1 -0
  85. package/package.json +1 -1
  86. package/polyfills-COBLRUJG.js +1 -0
  87. package/{styles-6RBLRF5E.css → styles-ORRIWQJ5.css} +1 -1
  88. package/chunk-4KE2I7OA.js +0 -7
  89. package/chunk-4PFSFVY6.js +0 -1
  90. package/chunk-5FTLFTEB.js +0 -1
  91. package/chunk-5LL2GNEZ.js +0 -1
  92. package/chunk-5S46PDX2.js +0 -2
  93. package/chunk-6LCXRM3A.js +0 -1
  94. package/chunk-74DADXEI.js +0 -1
  95. package/chunk-77O3NTSI.js +0 -1
  96. package/chunk-7CGTOI24.js +0 -1
  97. package/chunk-7XUQAQXF.js +0 -1
  98. package/chunk-A2ITER5E.js +0 -1
  99. package/chunk-AACOYUOE.js +0 -1
  100. package/chunk-ABANCAM5.js +0 -1
  101. package/chunk-AIKD43P2.js +0 -1
  102. package/chunk-AOXPIWSW.js +0 -1
  103. package/chunk-APVPH7MJ.js +0 -1
  104. package/chunk-B37C3RGG.js +0 -1
  105. package/chunk-BI4O7WRG.js +0 -1
  106. package/chunk-BLKMQJR5.js +0 -1
  107. package/chunk-BMMOMXWX.js +0 -6
  108. package/chunk-BRR5YAJ3.js +0 -1
  109. package/chunk-BUZTB5NB.js +0 -1
  110. package/chunk-BZCM226U.js +0 -1
  111. package/chunk-C44Q3YIF.js +0 -1
  112. package/chunk-CTTB3CC2.js +0 -1
  113. package/chunk-CZATLVNN.js +0 -1
  114. package/chunk-DSS4UZWD.js +0 -1
  115. package/chunk-DUQHFE6L.js +0 -1
  116. package/chunk-DWAT342U.js +0 -1
  117. package/chunk-DYTQQHMA.js +0 -1
  118. package/chunk-EBXJGPRA.js +0 -1
  119. package/chunk-FEYAUW6J.js +0 -1
  120. package/chunk-GQCUCL25.js +0 -1
  121. package/chunk-GUKBMCIX.js +0 -1
  122. package/chunk-H5MGVT7B.js +0 -1
  123. package/chunk-HBYWSSYK.js +0 -1
  124. package/chunk-HTTPTGMU.js +0 -1
  125. package/chunk-IQTQJ64J.js +0 -2
  126. package/chunk-IVGY6D4N.js +0 -56
  127. package/chunk-JMQGVDAK.js +0 -1
  128. package/chunk-LUKUBN2Z.js +0 -1
  129. package/chunk-LZXYGCPQ.js +0 -1
  130. package/chunk-MES3HY3J.js +0 -1
  131. package/chunk-MNE4XQ7S.js +0 -1
  132. package/chunk-MZZJNTYI.js +0 -1
  133. package/chunk-N5FH4YAX.js +0 -2
  134. package/chunk-NZXQIYE5.js +0 -4
  135. package/chunk-PFZ7N6QO.js +0 -1
  136. package/chunk-PG4O7JZ2.js +0 -1
  137. package/chunk-QLHQ5NDE.js +0 -1
  138. package/chunk-QMFHJSCY.js +0 -1
  139. package/chunk-QNXSBZTY.js +0 -1
  140. package/chunk-QQAATZNB.js +0 -1
  141. package/chunk-T7QZL5YJ.js +0 -2
  142. package/chunk-U7YVVKGQ.js +0 -1
  143. package/chunk-UEYPJIJG.js +0 -1
  144. package/chunk-VAR5LIG7.js +0 -2
  145. package/chunk-VN4TP2ED.js +0 -1
  146. package/chunk-WRKRV6RQ.js +0 -1
  147. package/chunk-X4XF46C3.js +0 -1
  148. package/chunk-ZWC5VRTB.js +0 -1
  149. package/chunk-ZY4E4VC3.js +0 -1
  150. package/locale/angular/cs.mjs +0 -21
  151. package/locale/angular/da.mjs +0 -17
  152. package/locale/angular/de.mjs +0 -17
  153. package/locale/angular/en-GB.mjs +0 -17
  154. package/locale/angular/es.mjs +0 -19
  155. package/locale/angular/extra/cs.mjs +0 -11
  156. package/locale/angular/extra/da.mjs +0 -11
  157. package/locale/angular/extra/de.mjs +0 -11
  158. package/locale/angular/extra/en-GB.mjs +0 -11
  159. package/locale/angular/extra/es.mjs +0 -11
  160. package/locale/angular/extra/fi.mjs +0 -11
  161. package/locale/angular/extra/fr.mjs +0 -11
  162. package/locale/angular/extra/hu.mjs +0 -11
  163. package/locale/angular/extra/it.mjs +0 -11
  164. package/locale/angular/extra/ja.mjs +0 -11
  165. package/locale/angular/extra/nl.mjs +0 -11
  166. package/locale/angular/extra/pl.mjs +0 -11
  167. package/locale/angular/extra/pt.mjs +0 -11
  168. package/locale/angular/extra/ru.mjs +0 -11
  169. package/locale/angular/extra/sr.mjs +0 -11
  170. package/locale/angular/extra/sv.mjs +0 -11
  171. package/locale/angular/extra/zh-Hans.mjs +0 -11
  172. package/locale/angular/extra/zh-Hant.mjs +0 -11
  173. package/locale/angular/fi.mjs +0 -17
  174. package/locale/angular/fr.mjs +0 -19
  175. package/locale/angular/hu.mjs +0 -17
  176. package/locale/angular/it.mjs +0 -19
  177. package/locale/angular/ja.mjs +0 -15
  178. package/locale/angular/nl.mjs +0 -17
  179. package/locale/angular/pl.mjs +0 -21
  180. package/locale/angular/pt.mjs +0 -19
  181. package/locale/angular/ru.mjs +0 -21
  182. package/locale/angular/sr.mjs +0 -19
  183. package/locale/angular/sv.mjs +0 -17
  184. package/locale/angular/zh-Hans.mjs +0 -15
  185. package/locale/angular/zh-Hant.mjs +0 -15
  186. package/main-WENCV2S5.js +0 -1
  187. package/polyfills-6QHLTIIN.js +0 -1
@@ -0,0 +1 @@
1
+ import{a as M}from"./chunk-Q3ILJYED.js";import"./chunk-4D2NUH5S.js";import"./chunk-XD26KCAE.js";import"./chunk-KQAO2YHR.js";import"./chunk-3PYBMCOB.js";import"./chunk-RHW5QVAY.js";import"./chunk-FPLBURO5.js";import"./chunk-JWFYA3TO.js";import"./chunk-3KIPRGE2.js";import"./chunk-UVLJAD66.js";import{c as O,e as C,f as S}from"./chunk-7LEXBIXG.js";import"./chunk-P4ZYFRD3.js";import{y as d}from"./chunk-MHALSLG3.js";import"./chunk-FWVOVJCG.js";import"./chunk-KV7SEZ24.js";import"./chunk-VKD4Y3YQ.js";import"./chunk-WIDMAJIO.js";import"./chunk-LQ2PCH6Q.js";import{Jb as n,_a as c,vb as e,wb as t,xb as l}from"./chunk-K6EZTPNQ.js";import"./chunk-EUDKD2JW.js";var s=class a{static \u0275fac=function(o){return new(o||a)};static \u0275cmp=c({type:a,selectors:[["app-about"]],decls:19,vars:0,consts:()=>{let _;_=$localize`General`;let o;o=$localize`Changelog`;let r;r=$localize`Libraries`;let u;u=$localize`System info`;let g;g=$localize`Server settings`;let T;T=$localize`Logs`;let A;return A=$localize`Crash log`,[_,o,r,u,g,T,A,[1,"content"],[1,"primary"],["tab","","routerLink","/about/general","routerLinkActive","active"],["tab","","routerLink","/about/changelog","routerLinkActive","active"],["tab","","routerLink","/about/libraries","routerLinkActive","active"],["tab","","routerLink","/about/system-info","routerLinkActive","active"],["tab","","routerLink","/about/server-settings","routerLinkActive","active"],["tab","","routerLink","/about/logs","routerLinkActive","active"],["tab","","routerLink","/about/crashlogs","routerLinkActive","active"]]},template:function(o,r){o&1&&(l(0,"app-status-bar"),e(1,"div",7)(2,"spk-tabs",8)(3,"button",9),n(4,0),t(),e(5,"button",10),n(6,1),t(),e(7,"button",11),n(8,2),t(),e(9,"button",12),n(10,3),t(),e(11,"button",13),n(12,4),t(),e(13,"button",14),n(14,5),t(),e(15,"button",15),n(16,6),t()(),e(17,"section"),l(18,"router-outlet"),t()())},dependencies:[M,d,O,C,S],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:0}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1rem 0}.content[_ngcontent-%COMP%] spk-tabs[_ngcontent-%COMP%]{margin:0 2rem}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:2rem 0}"],changeDetection:0})};export{s as default};
@@ -0,0 +1 @@
1
+ import{a as Le,b as Re}from"./chunk-DDV32SDB.js";import{a as $e}from"./chunk-ABF3SFY5.js";import{a as x}from"./chunk-B5FKLIHW.js";import"./chunk-4D2NUH5S.js";import{a as fe}from"./chunk-XD26KCAE.js";import"./chunk-KQAO2YHR.js";import"./chunk-3PYBMCOB.js";import"./chunk-RHW5QVAY.js";import"./chunk-FPLBURO5.js";import"./chunk-JWFYA3TO.js";import{a as Ie}from"./chunk-HWCTRSCV.js";import{c as Pe,d as Oe,e as he,h as De,r as ke,s as Ne,t as Me}from"./chunk-3KIPRGE2.js";import{b as de,d as Ee}from"./chunk-UVLJAD66.js";import{c as ce,e as pe,f as ue}from"./chunk-7LEXBIXG.js";import"./chunk-P4ZYFRD3.js";import{C as Te,a as M,b as G,c as Se,e as ge,g as w,k as Fe,l as Ae,n as Ce,u as me}from"./chunk-MHALSLG3.js";import{h as H}from"./chunk-FWVOVJCG.js";import"./chunk-VKD4Y3YQ.js";import"./chunk-WIDMAJIO.js";import{Bb as f,F as V,Gc as re,Hb as p,Hc as j,Ib as u,Jb as O,Lc as le,Mb as R,Nb as g,Nc as _e,Oa as r,Ob as c,Pc as Q,Wb as ne,X as A,Xb as oe,_a as N,_b as v,ac as $,ba as C,bc as F,ca as m,cc as X,dc as K,gc as z,hc as W,ic as q,jc as ie,kc as ae,la as E,lc as y,pb as d,qb as S,rb as Z,rc as se,sb as ee,tb as te,ub as h,vb as a,wb as i,xb as l}from"./chunk-K6EZTPNQ.js";import{a as Y,b as B}from"./chunk-EUDKD2JW.js";var Ge=["scroller"];function we(n,o){n&1&&(a(0,"spk-icon"),F(1,"bell-ringing"),i())}function He(n,o){n&1&&(a(0,"spk-icon"),F(1,"bell"),i())}function xe(n,o){if(n&1&&l(0,"app-notification",8),n&2){c(2);let e=y(6);h("index",0)("notification",e.content)}}function Ue(n,o){if(n&1&&(a(0,"div",11),F(1),i()),n&2){c(3);let e=y(6);r(),K(" ",e.content.content," ")}}function Ye(n,o){if(n&1&&(a(0,"spk-alert")(1,"div",10),F(2),i(),d(3,Ue,2,1,"div",11),i()),n&2){c(2);let e=y(6);$(e.content.type||"error"),r(2),X(e.content.title),r(),S(e.content.content?3:-1)}}function Be(n,o){if(n&1&&(a(0,"div",6),d(1,xe,1,2,"app-notification",8)(2,Ye,4,4,"spk-alert",9),i()),n&2){c();let e=y(6);r(),S(e.type==="notification"?1:2)}}function Ve(n,o){if(n&1){let e=f();a(0,"div",7)(1,"div",12)(2,"h6",13),p(3,2),a(4,"button",5),g("click",function(){C(e);let s=c();return m(s.toggleNotifications())}),l(5,"spk-icon"),i(),u(),i(),a(6,"div",14,0)(8,"div",15),l(9,"app-notifications"),i()()()()}}function Xe(n,o){if(n&1&&(a(0,"div",20),F(1),i()),n&2){let e=c().$implicit;r(),K(" ",e.content," ")}}function Ke(n,o){if(n&1){let e=f();a(0,"spk-alert",18,1),g("click",function(){let s=C(e).$implicit,_=c(2);return m(_.deleteAlertByIndex(s.id))}),a(2,"div",19),F(3),i(),d(4,Xe,2,1,"div",20),i()}if(n&2){let e=o.$implicit;$(e.type),h("id",e.id),r(3),X(e.title),r(),S(e.content?4:-1)}}function ze(n,o){n&1&&(a(0,"p",17),O(1,4),i())}function We(n,o){if(n&1){let e=f();a(0,"div",7)(1,"div",12)(2,"h6",13),p(3,3),a(4,"button",5),g("click",function(){C(e);let s=c();return m(s.toggleAlerts())}),l(5,"spk-icon"),i(),u(),i(),a(6,"div",14,0)(8,"div",15),ee(9,Ke,5,5,"spk-alert",16,Z,!1,ze,2,0,"p",17),i()()()()}if(n&2){let e=c();r(9),te(e.alertHistory())}}var ye=new ke,b=class n{#e=A(Se);#t=A(x);isSubmitting=E(!1);messageSent=E(!1);form=ye.group({message:ye.control("",[Oe.required])});notifications=this.#t.notifications;shownMessage=E(null);shownMessageInterval=null;alertHistory=this.#e.alertHistory;alertHistoryIsOpen=this.#e.alertHistoryIsOpen;alertHistoryIsHidden=this.#e.alertHistoryIsHidden;numberOfOpenAlerts=re(()=>this.alertHistory().filter(o=>o.isOpen).length);scroller=_e("scroller");isAlertsOpen=Q(!1);isNotificationsOpen=Q(!1);previousHistoryCount=E(null);previousNotificationsCount=E(null);constructor(){j(()=>{let o=this.alertHistory(),e=this.notifications();e.length&&this.previousHistoryCount()!==o.length&&!this.isNotificationsOpen()?(this.shownMessage.set({content:e[0],countDown:3,type:"notification"}),this.previousHistoryCount.set(o.length),this.shownMessageInterval=setInterval(()=>{let t=this.shownMessage();if(t?.countDown===0){this.shownMessage.set(null),this.shownMessageInterval=null;return}t!==null&&this.shownMessage.update(s=>B(Y({},s),{countDown:s.countDown-1}))},1e3)):o.length&&this.previousHistoryCount()!==o.length&&!this.isAlertsOpen()&&(this.shownMessage.set({content:o[0],countDown:3,type:"alert"}),this.previousHistoryCount.set(o.length),this.shownMessageInterval=setInterval(()=>{let t=this.shownMessage();if(t?.countDown===0){this.shownMessage.set(null),this.shownMessageInterval=null;return}t!==null&&this.shownMessage.update(s=>B(Y({},s),{countDown:s.countDown-1}))},1e3))}),j(()=>{this.alertHistoryIsOpen(),this.scrollToBottom()})}resetPreviewMessage(){this.shownMessage.set(null),this.shownMessageInterval=null}toggleAlerts(){this.isAlertsOpen()?this.isAlertsOpen.set(!1):(this.isAlertsOpen.set(!0),this.isNotificationsOpen.set(!1),this.resetPreviewMessage())}toggleNotifications(){this.isNotificationsOpen.set(!this.isNotificationsOpen()),this.isAlertsOpen()&&this.isAlertsOpen.set(!1)}deleteAlertByIndex(o){this.#e.removeAlert(o)}scrollToBottom(){this.scroller()&&this.scroller()?.nativeElement&&this.scroller().nativeElement.scrollTo(0,this.scroller().nativeElement.scrollHeight)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=N({type:n,selectors:[["app-service-hub"]],viewQuery:function(e,t){e&1&&ne(t.scroller,Ge,5),e&2&&oe()},inputs:{isAlertsOpen:[1,"isAlertsOpen"],isNotificationsOpen:[1,"isNotificationsOpen"]},outputs:{isAlertsOpen:"isAlertsOpenChange",isNotificationsOpen:"isNotificationsOpenChange"},decls:10,vars:9,consts:()=>{let o;o=$localize` Notifications ${"\uFFFD#4\uFFFD"}:START_TAG_BUTTON:${"\uFFFD#5\uFFFD"}:START_TAG_SPK_ICON:x-circle${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SPK_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_BUTTON:`;let e;e=$localize` Alerts ${"\uFFFD#4\uFFFD"}:START_TAG_BUTTON:${"\uFFFD#5\uFFFD"}:START_TAG_SPK_ICON:x-circle${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SPK_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_BUTTON:`;let t;return t=$localize`No alerts yet`,[["scroller",""],["alerts",""],o,e,t,["spk-button","",3,"click"],[1,"preview-alert-wrap"],[1,"alert-stream-modal"],[3,"index","notification"],[3,"class"],["sparkle-alert-title",""],["sparkle-alert-content",""],[1,"alert-stream-modal-content"],[1,"paragraph-20"],[1,"alert-stream-modal-list-scroller"],[1,"alert-stream-modal-list"],[3,"class","id"],[1,"no-alerts"],[3,"click","id"],["title",""],["content",""]]},template:function(e,t){if(e&1){let s=f();a(0,"button",5),g("click",function(){return C(s),m(t.toggleAlerts())}),a(1,"spk-icon"),F(2,"info"),i()(),a(3,"button",5),g("click",function(){return C(s),m(t.toggleNotifications())}),d(4,we,2,0,"spk-icon")(5,He,2,0,"spk-icon"),i(),ie(6),d(7,Be,3,1,"div",6),d(8,Ve,10,0,"div",7),d(9,We,12,1,"div",7)}if(e&2){$(t.alertHistory().length?"error":""),r(3),$(t.notifications().length?"error":""),r(),S(t.notifications().length?4:5),r(2);let s=ae(t.shownMessage());r(),S(s?7:-1),r(),S(t.isNotificationsOpen()?8:-1),r(),S(t.isAlertsOpen()?9:-1)}},dependencies:[Me,G,M,w,Re,Le],styles:["[_nghost-%COMP%]{display:flex;position:fixed;gap:.5rem;bottom:1.5rem;right:1.5rem;z-index:5000}@media only screen and (max-width: 768px){[_nghost-%COMP%]{bottom:1rem;right:1rem}}[_nghost-%COMP%] h6[_ngcontent-%COMP%]{margin:0}.preview-alert-wrap[_ngcontent-%COMP%]{position:absolute;bottom:2.6875rem;right:0;display:flex;flex-direction:column;min-width:15.625rem}.helpdesk-modal[_ngcontent-%COMP%]{position:absolute;bottom:2.6875rem;right:0;display:flex;flex-direction:column}@media only screen and (max-width: 768px){.helpdesk-modal[_ngcontent-%COMP%]{bottom:2.6875rem}}.helpdesk-modal-content[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;gap:1rem;min-width:20rem;border:1px solid var(--base-4);background-color:var(--base-1);border-radius:var(--shape-2)}.helpdesk-modal-content[_ngcontent-%COMP%] .message-sent[_ngcontent-%COMP%]{padding:0 1rem 1rem;text-wrap:pretty}.helpdesk-modal-content[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{padding:1rem;border-bottom:1px solid var(--base-4);display:flex;align-items:center;justify-content:space-between}.helpdesk-modal-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{padding:0 1rem 1rem;display:flex;flex-direction:column;align-items:flex-end;gap:1rem}.helpdesk-modal-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{width:100%;text-wrap:pretty}.helpdesk-modal-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.alert-stream-modal[_ngcontent-%COMP%]{position:absolute;bottom:2.6875rem;right:0;display:flex;flex-direction:column}@media only screen and (max-width: 768px){.alert-stream-modal[_ngcontent-%COMP%]{bottom:2.6875rem}}.alert-stream-modal-list-scroller[_ngcontent-%COMP%]{overflow-y:auto;max-height:18.75rem}.alert-stream-modal-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:1rem;border-radius:var(--shape-2)}.alert-stream-modal-content[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;min-width:20rem;border:1px solid var(--base-4);background-color:var(--base-1);border-radius:var(--shape-2)}.alert-stream-modal-content[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{padding:1rem;border-bottom:1px solid var(--base-4);display:flex;align-items:center;justify-content:space-between}.no-alerts[_ngcontent-%COMP%]{padding:1rem;display:flex;flex-direction:column;gap:1rem;text-align:center}"],changeDetection:0})};function qe(n,o){n&1&&(a(0,"spk-icon",14),F(1,"check"),i())}function je(n,o){n&1&&(a(0,"spk-icon",15),F(1,"prohibit"),i())}function Qe(n,o){if(n&1){let e=f();a(0,"button",20),g("click",function(){C(e);let s=c();return m(s.updatePassphrase())}),O(1,5),i()}if(n&2){let e=c();v("loader",e.isUpdating())}}function Je(n,o){if(n&1){let e=f();a(0,"button",21),g("click",function(){C(e);let s=c();return m(s.updatePassphrase())}),O(1,6),i()}if(n&2){let e=c();v("loader",e.isUpdating()),h("disabled",!0)}}var U=class n{#e=A(H);closed=le();isUpdating=E(!1);passphrase=E("");repeatPassphrase=E("");updatePassphrase(){this.passphrase()===this.repeatPassphrase()&&(this.isUpdating.set(!0),this.#e.patchApiV1Serversettings({requestBody:{"server-passphrase":this.passphrase()}}).pipe(V(()=>this.isUpdating.set(!1))).subscribe({next:()=>this.closed.emit()}))}cancel(){this.isUpdating.set(!0),this.#e.patchApiV1Serversettings({requestBody:{"has-asked-for-password-change":"True"}}).pipe(V(()=>this.isUpdating.set(!1))).subscribe({next:()=>this.closed.emit()})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=N({type:n,selectors:[["app-change-passphrase-alert-dialog"]],outputs:{closed:"closed"},decls:23,vars:7,consts:()=>{let o;o=$localize`Enter new password`;let e;e=$localize`Repeat password`;let t;t=$localize`Password have to be filled and have to match`;let s;s=$localize`Change passphrase`;let _;_=$localize` Duplicati needs to be secured with a passphrase and a random passphrase has been generated for you. ${"[\uFFFD#6\uFFFD\uFFFD/#6\uFFFD|\uFFFD#7\uFFFD\uFFFD/#7\uFFFD]"}:LINE_BREAK:${"[\uFFFD#6\uFFFD\uFFFD/#6\uFFFD|\uFFFD#7\uFFFD\uFFFD/#7\uFFFD]"}:LINE_BREAK: If you open Duplicati from the tray icon, you do not need a passphrase, but if you plan to open it from another location you need to set a passphrase you know. Do you want to set a passphrase now? `,_=R(_);let D;D=$localize`Passphrase`;let k;k=$localize`Repeat passphrase`;let I;I=$localize`Not now thanks`;let L;L=$localize` Yes, update passphrase now `;let T;return T=$localize` Yes, update passphrase now `,[s,_,D,k,I,L,T,["header",""],["content",""],["type","warning"],["for","password"],["type","password","name","password","autocomplete","disabled","placeholder",o,"tabindex","1",3,"ngModelChange","ngModel"],["for","repeatPassword"],["type","password","name","repeatPassword","autocomplete","disabled","placeholder",e,"tabindex","2",3,"ngModelChange","disabled","ngModel"],["suffix","",1,"spk-success"],["suffix",""],["footer",""],["spk-button","",3,"click"],["spk-button","",1,"raised","primary",3,"loader"],["spk-button","","spkTooltip",t,1,"raised","primary",3,"loader","disabled"],["spk-button","",1,"raised","primary",3,"click"],["spk-button","","spkTooltip",t,1,"raised","primary",3,"click","disabled"]]},template:function(e,t){e&1&&(a(0,"header",7)(1,"h3"),O(2,0),i()(),a(3,"div",8)(4,"spk-alert",9),p(5,1),l(6,"br")(7,"br"),u(),i(),a(8,"spk-form-field")(9,"label",10),O(10,2),i(),a(11,"input",11),q("ngModelChange",function(_){return W(t.passphrase,_)||(t.passphrase=_),_}),i()(),a(12,"spk-form-field")(13,"label",12),O(14,3),i(),a(15,"input",13),q("ngModelChange",function(_){return W(t.repeatPassphrase,_)||(t.repeatPassphrase=_),_}),i(),d(16,qe,2,0,"spk-icon",14)(17,je,2,0,"spk-icon",15),i()(),a(18,"footer",16)(19,"button",17),g("click",function(){return t.cancel()}),O(20,4),i(),d(21,Qe,2,2,"button",18)(22,Je,2,3,"button",19),i()),e&2&&(r(11),z("ngModel",t.passphrase),r(4),h("disabled",t.passphrase().length===0),z("ngModel",t.repeatPassphrase),r(),S(t.passphrase().length!==0&&t.passphrase()===t.repeatPassphrase()?16:17),r(3),v("loader",t.isUpdating()),r(2),S(t.passphrase().length!==0&&t.passphrase()===t.repeatPassphrase()?21:22))},dependencies:[Ne,Pe,he,De,G,Ae,M,Te],styles:["[_nghost-%COMP%]{display:block;--dialog-p: 1.5rem}[content][_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}"],changeDetection:0})};var Ze=()=>({exact:!0});function et(n,o){n&1&&(a(0,"spk-icon"),F(1,"sun"),i())}function tt(n,o){n&1&&(a(0,"spk-icon"),F(1,"moon"),i())}function nt(n,o){if(n&1){let e=f();a(0,"button",22),g("click",function(){C(e);let s=c();return m(s.changeDefaultClientTo("ngax"))}),p(1,7),l(2,"spk-icon"),u(),i(),a(3,"button",22),g("click",function(){C(e);let s=c();return m(s.logout())}),p(4,8),l(5,"spk-icon"),u(),i()}}var J=class n{#e=A($e);#t=A(H);#n=A(fe);#o=A(de);#i=A(ge);#a=A(x);#s=A(Ee);relayIsEnabled=this.#o.relayIsEnabled;isDarkMode=this.#e.isDarkMode;ngOnInit(){return this.#a.init(),this.#n.getBackups(!0),this.#t.getApiV1Serversettings().subscribe({next:o=>{let e=o["autogenerated-passphrase"]==="True",t=o["has-asked-for-password-change"]==="True";e&&!t&&this.#i.open(U,{maxWidth:"500px"})}})}toggleBodyClass(){this.#e.toggleBodyClass()}changeDefaultClientTo(o){this.#r(o),window.location.replace(`/${o}`)}logout(){this.#s.logout()}#r(o){var e=new Date;e.setTime(e.getTime()+90*24*60*60*1e3),document.cookie="default-client="+o+"; expires="+e.toUTCString()+"; path=/"}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=N({type:n,selectors:[["app-layout"]],decls:37,vars:4,consts:()=>{let o;o=$localize`${"\uFFFD#10\uFFFD"}:START_TAG_SPK_ICON:house${"\uFFFD/#10\uFFFD"}:CLOSE_TAG_SPK_ICON: Home `;let e;e=$localize`${"\uFFFD#13\uFFFD"}:START_TAG_SPK_ICON:database${"\uFFFD/#13\uFFFD"}:CLOSE_TAG_SPK_ICON: Add backup `;let t;t=$localize`${"\uFFFD#16\uFFFD"}:START_TAG_SPK_ICON:clock-counter-clockwise${"\uFFFD/#16\uFFFD"}:CLOSE_TAG_SPK_ICON: Restore `;let s;s=$localize`${"\uFFFD#19\uFFFD"}:START_TAG_SPK_ICON:gear${"\uFFFD/#19\uFFFD"}:CLOSE_TAG_SPK_ICON: Settings `;let _;_=$localize`${"\uFFFD#26\uFFFD"}:START_TAG_SPK_ICON:info${"\uFFFD/#26\uFFFD"}:CLOSE_TAG_SPK_ICON: About Duplicati `;let D;D=$localize`${"\uFFFD#29\uFFFD"}:START_TAG_SPK_ICON:files${"[\uFFFD/#29\uFFFD|\uFFFD/#30\uFFFD]"}:CLOSE_TAG_SPK_ICON: Documentation ${"\uFFFD#30\uFFFD"}:START_TAG_SPK_ICON_1:arrow-square-out${"[\uFFFD/#29\uFFFD|\uFFFD/#30\uFFFD]"}:CLOSE_TAG_SPK_ICON:`,D=R(D);let k;k=$localize`${"\uFFFD#33\uFFFD"}:START_TAG_SPK_ICON:chats-circle${"[\uFFFD/#33\uFFFD|\uFFFD/#34\uFFFD]"}:CLOSE_TAG_SPK_ICON: Visit forum ${"\uFFFD#34\uFFFD"}:START_TAG_SPK_ICON_1:arrow-square-out${"[\uFFFD/#33\uFFFD|\uFFFD/#34\uFFFD]"}:CLOSE_TAG_SPK_ICON:`,k=R(k);let I;I=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SPK_ICON:skip-back${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SPK_ICON: Use old UI `;let L;return L=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SPK_ICON:sign-out${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SPK_ICON: Log out `,[o,e,t,s,_,D,k,I,L,["sidenav",""],["spk-button","",1,"icon","small",3,"click"],[1,"base-1","primary"],["action","","routerLink","/","routerLinkActive","active",3,"routerLinkActiveOptions"],["action","","routerLink","/add-backup","routerLinkActive","active"],["action","","routerLink","/restore","routerLinkActive","active"],["action","","routerLink","/settings","routerLinkActive","active"],[1,"spacer"],[1,"base-1l","primary"],["action","","routerLink","/about","routerLinkActive","active"],["href","https://docs.duplicati.com","target","_blank","action",""],["suffix",""],["href","https://forum.duplicati.com","target","_blank","action",""],["action","",3,"click"]]},template:function(e,t){e&1&&(a(0,"spk-sidenav")(1,"div",9)(2,"header"),l(3,"app-logo"),a(4,"button",10),g("click",function(){return t.toggleBodyClass()}),d(5,et,2,0,"spk-icon")(6,tt,2,0,"spk-icon"),i()(),a(7,"spk-list",11)(8,"button",12),p(9,0),l(10,"spk-icon"),u(),i(),a(11,"button",13),p(12,1),l(13,"spk-icon"),u(),i(),a(14,"button",14),p(15,2),l(16,"spk-icon"),u(),i(),a(17,"button",15),p(18,3),l(19,"spk-icon"),u(),i()(),l(20,"div",16),a(21,"spk-list",17),d(22,nt,6,0),l(23,"spk-divider"),a(24,"button",18),p(25,4),l(26,"spk-icon"),u(),i(),a(27,"a",19),p(28,5),l(29,"spk-icon")(30,"spk-icon",20),u(),i(),a(31,"a",21),p(32,6),l(33,"spk-icon")(34,"spk-icon",20),u(),i()()(),l(35,"router-outlet")(36,"app-service-hub"),i()),e&2&&(r(5),S(t.isDarkMode()?5:6),r(3),h("routerLinkActiveOptions",se(3,Ze)),r(14),S(t.relayIsEnabled()?-1:22))},dependencies:[ce,pe,ue,me,M,Ce,w,Fe,b,Ie],styles:["[_nghost-%COMP%]{height:100vh;width:100%;overflow:hidden}header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:1.25rem;gap:.75rem}h3[title][_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}div[sidenav][_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100vh}"],changeDetection:0})};export{J as default};