@duplicati/ngclient 0.0.144 → 0.0.145

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 (106) hide show
  1. package/{chunk-X3IA226Q.js → chunk-2F6NVETW.js} +1 -1
  2. package/{chunk-VC72SWC4.js → chunk-2QJC4PGQ.js} +1 -1
  3. package/{chunk-PT7UQJD4.js → chunk-2UCO57JQ.js} +1 -1
  4. package/chunk-2UGURIOT.js +1 -0
  5. package/{chunk-4YL5DZVH.js → chunk-43JMN2ZY.js} +1 -1
  6. package/{chunk-LZUM5XKC.js → chunk-4TDUWDRL.js} +1 -1
  7. package/{chunk-SCOG2I64.js → chunk-62QANGOE.js} +1 -1
  8. package/{chunk-XNVRJH42.js → chunk-6LTGTS6B.js} +1 -1
  9. package/{chunk-73RDJP55.js → chunk-6OPAGPKF.js} +1 -1
  10. package/{chunk-LEXA637O.js → chunk-7B43LCPI.js} +1 -1
  11. package/{chunk-KOVQRACM.js → chunk-7EBTJOD7.js} +1 -1
  12. package/{chunk-6GC5VKTI.js → chunk-7IQY6U5W.js} +1 -1
  13. package/chunk-A6VGO6B5.js +1 -0
  14. package/{chunk-GHFYBZHQ.js → chunk-AJTK6HBC.js} +1 -1
  15. package/chunk-B2D4QGDJ.js +1 -0
  16. package/chunk-BPJCKQYP.js +1 -0
  17. package/{chunk-UACX27D3.js → chunk-DDWLL7XA.js} +1 -1
  18. package/{chunk-GUH5TMOS.js → chunk-DELLEGXW.js} +1 -1
  19. package/{chunk-IHNX6WZQ.js → chunk-DFMGS3IN.js} +1 -1
  20. package/chunk-DFMPWF6R.js +1 -0
  21. package/chunk-DKTUN7FF.js +1 -0
  22. package/{chunk-KGJAK6OP.js → chunk-DLMKZACT.js} +1 -1
  23. package/{chunk-FFY3NRCC.js → chunk-DNDTLTUM.js} +1 -1
  24. package/{chunk-3UN32GIC.js → chunk-DVDTYV66.js} +1 -1
  25. package/{chunk-IGOZJJE3.js → chunk-E66CBA5F.js} +1 -1
  26. package/{chunk-JA7OQSO3.js → chunk-EBIM5FBM.js} +1 -1
  27. package/{chunk-GO22DJ44.js → chunk-ESUPNSKH.js} +1 -1
  28. package/{chunk-OTMW34HV.js → chunk-FCRM5DER.js} +1 -1
  29. package/chunk-FDCY62KM.js +1 -0
  30. package/chunk-FFEDQIYN.js +1 -0
  31. package/{chunk-XQ4CAUD4.js → chunk-FUOS2UGQ.js} +1 -1
  32. package/{chunk-BIETD4DI.js → chunk-FZHTJSDJ.js} +1 -1
  33. package/{chunk-BXRW2LGW.js → chunk-GB3UMYUD.js} +1 -1
  34. package/chunk-H7K35UUX.js +1 -0
  35. package/chunk-HI4XLHO3.js +1 -0
  36. package/{chunk-QDFCX6XE.js → chunk-HNWRQABR.js} +3 -3
  37. package/{chunk-J2MHNGNQ.js → chunk-IFW3O4YJ.js} +1 -1
  38. package/{chunk-CTEFMU6N.js → chunk-J3ONM4TQ.js} +1 -1
  39. package/{chunk-CDRDYQEV.js → chunk-KDYD6LMI.js} +1 -1
  40. package/{chunk-GCZWFRPZ.js → chunk-KGKIF5H4.js} +1 -1
  41. package/chunk-KLW6HEOS.js +1 -0
  42. package/{chunk-K3ZQ67VT.js → chunk-L6CWVBZ6.js} +1 -1
  43. package/chunk-LVP2TPMO.js +1 -0
  44. package/{chunk-5PSLWJTF.js → chunk-M6WWZKV7.js} +1 -1
  45. package/chunk-MAQO5X5Q.js +1 -0
  46. package/{chunk-GDBU3Z7P.js → chunk-MSLKIHQQ.js} +1 -1
  47. package/{chunk-UT6XGEMV.js → chunk-MVNLSG6Z.js} +1 -1
  48. package/{chunk-USU2EHJV.js → chunk-N5SC4SKW.js} +1 -1
  49. package/{chunk-QY6E755W.js → chunk-N6ABN43N.js} +1 -1
  50. package/{chunk-WWFNG47J.js → chunk-NJEX2N4Q.js} +1 -1
  51. package/{chunk-JIHMT35A.js → chunk-NJZSEKTD.js} +1 -1
  52. package/{chunk-J3BBLPAD.js → chunk-NOPMCS2Z.js} +1 -1
  53. package/{chunk-ACH476VA.js → chunk-NQ27E6KP.js} +1 -1
  54. package/{chunk-QGFC5ZUR.js → chunk-O64ZZGQZ.js} +1 -1
  55. package/{chunk-CZLLEVMJ.js → chunk-OMMUXRXE.js} +1 -1
  56. package/{chunk-AO4O42CM.js → chunk-OWDKOVPL.js} +1 -1
  57. package/{chunk-TJOWPBPB.js → chunk-PN3U7MRX.js} +1 -1
  58. package/{chunk-CFNP4FBG.js → chunk-POMLWQHO.js} +1 -1
  59. package/{chunk-BGUKMOKY.js → chunk-QDFDQHU3.js} +1 -1
  60. package/{chunk-7AMBMWZP.js → chunk-QHC3CY43.js} +1 -1
  61. package/{chunk-ARXKB7WH.js → chunk-QITXA3NT.js} +1 -1
  62. package/chunk-QYI4IMJE.js +8 -0
  63. package/{chunk-J5PSMGKZ.js → chunk-R5RIFWZO.js} +1 -1
  64. package/chunk-RPU4AJBK.js +1 -0
  65. package/chunk-RUFE3SMI.js +1 -0
  66. package/{chunk-WJPLJKPQ.js → chunk-RUXCS4ZK.js} +1 -1
  67. package/{chunk-7X7K5IXS.js → chunk-SFSB73YO.js} +1 -1
  68. package/{chunk-B5FUQFEQ.js → chunk-TDKBGGNK.js} +1 -1
  69. package/{chunk-6XBSQDXR.js → chunk-TIWH4NKT.js} +1 -1
  70. package/{chunk-XHUUCB2W.js → chunk-TKO3OH2C.js} +1 -1
  71. package/chunk-U5C62E46.js +1 -0
  72. package/chunk-UIIHBXLB.js +1 -0
  73. package/{chunk-OXOOR7I4.js → chunk-UIJYCGKA.js} +1 -1
  74. package/{chunk-ETCRT3EV.js → chunk-UKQFDBNO.js} +1 -1
  75. package/{chunk-CWBEE627.js → chunk-UP5EOICU.js} +1 -1
  76. package/{chunk-6WWCFRZ5.js → chunk-VHE3K2F5.js} +1 -1
  77. package/{chunk-66BSPEOQ.js → chunk-VTSUHAP5.js} +1 -1
  78. package/chunk-W6DRPPZU.js +1 -0
  79. package/{chunk-UW4GBMEP.js → chunk-WS76KLII.js} +1 -1
  80. package/{chunk-T4TFHAZT.js → chunk-XJZ5GM36.js} +1 -1
  81. package/{chunk-ZGAC2JKG.js → chunk-Z3EPZZGY.js} +1 -1
  82. package/{chunk-FVE45QKX.js → chunk-ZNWZFRFW.js} +1 -1
  83. package/index.html +2 -2
  84. package/{main-SUSCPR3H.js → main-Z5T5HH5Q.js} +1 -1
  85. package/package.json +1 -1
  86. package/styles-LRXGHWCZ.css +1 -0
  87. package/chunk-2CTSAUUN.js +0 -1
  88. package/chunk-2NU5Y4V7.js +0 -1
  89. package/chunk-2RB5RKNM.js +0 -1
  90. package/chunk-74NKDA4G.js +0 -1
  91. package/chunk-7WD3AN66.js +0 -1
  92. package/chunk-AB2L3URR.js +0 -1
  93. package/chunk-B7NRTB6T.js +0 -1
  94. package/chunk-C2L3SQU3.js +0 -1
  95. package/chunk-ERKYRXHP.js +0 -8
  96. package/chunk-HKZX6OB5.js +0 -1
  97. package/chunk-L2EO4M4B.js +0 -1
  98. package/chunk-ODVCGM2O.js +0 -1
  99. package/chunk-QFU6VJXV.js +0 -1
  100. package/chunk-QNOIURSX.js +0 -1
  101. package/chunk-UGLRUY6T.js +0 -1
  102. package/chunk-UUODEERG.js +0 -1
  103. package/chunk-WHKW5IYF.js +0 -1
  104. package/chunk-WRNQOX5R.js +0 -1
  105. package/chunk-ZVIRETHC.js +0 -1
  106. package/styles-EZGVWHZF.css +0 -1
@@ -1 +1 @@
1
- import{a as Ke}from"./chunk-WWFNG47J.js";import{a as ze}from"./chunk-UACX27D3.js";import{b as Xe,c as de}from"./chunk-QGFC5ZUR.js";import"./chunk-XNVRJH42.js";import{a as Ue}from"./chunk-3UN32GIC.js";import"./chunk-OXOOR7I4.js";import"./chunk-GUH5TMOS.js";import"./chunk-RHW5QVAY.js";import"./chunk-66BSPEOQ.js";import{a as Z}from"./chunk-CWBEE627.js";import"./chunk-USU2EHJV.js";import"./chunk-ZGAC2JKG.js";import"./chunk-ETCRT3EV.js";import{b as ye,e as Be}from"./chunk-L2EO4M4B.js";import"./chunk-4YL5DZVH.js";import{a as W,g as se,j as xe,k as be,p as Fe,y as ke}from"./chunk-WRNQOX5R.js";import{h as ue}from"./chunk-J3BBLPAD.js";import"./chunk-B5FUQFEQ.js";import{la as H,oa as re}from"./chunk-WJPLJKPQ.js";import"./chunk-FPPZ4BUR.js";import{a as ee}from"./chunk-IHNX6WZQ.js";import"./chunk-73RDJP55.js";import{Ab as a,Bb as i,Cb as s,Dc as c,Ec as T,Fc as A,Gb as N,Gc as h,Hb as G,Jb as U,Oc as ve,Qb as L,Ra as l,Rb as S,Sb as _,Tb as u,Ub as d,Uc as _e,Vb as D,Wb as $,Yb as E,_ as B,bb as z,ea as M,fa as R,ic as f,lc as g,mc as K,nc as I,oa as P,oc as $e,pc as fe,r as X,tc as Ie,ub as C,uc as he,vb as m,vc as V,wb as x,xb as b,yb as k,zb as w}from"./chunk-QDFCX6XE.js";import{a as le}from"./chunk-EUDKD2JW.js";function He(n,t){n&1&&s(0,"sh-progress-bar",32)}function We(n,t){n&1&&s(0,"div",35)}function je(n,t){n&1&&s(0,"div",35)}function Je(n,t){n&1&&s(0,"div",36)}function qe(n,t){n&1&&s(0,"div",37)}function Qe(n,t){if(n&1&&(a(0,"details",46)(1,"summary"),L(2,15),s(3,"sh-icon"),a(4,"div",47),s(5,"sh-icon",40),i(),S(),i(),a(6,"div",48)(7,"p"),_(8,16),c(9,"date"),i(),a(10,"p"),_(11,17),c(12,"date"),i(),a(13,"p"),_(14,18),c(15,"durationFormat"),i(),a(16,"p"),_(17,19),i(),s(18,"sh-divider"),a(19,"p"),_(20,20),i(),a(21,"p"),_(22,21),i()()(),a(23,"details",46)(24,"summary"),L(25,22),s(26,"sh-icon"),a(27,"div",47),s(28,"sh-icon",40),i(),S(),i(),a(29,"div",48)(30,"p"),_(31,23),c(32,"date"),i(),a(33,"p"),_(34,24),c(35,"date"),i(),a(36,"p"),_(37,25),c(38,"durationFormat"),i(),s(39,"sh-divider"),a(40,"p"),_(41,26),c(42,"bytes"),i(),a(43,"p"),_(44,27),c(45,"bytes"),i(),a(46,"p"),_(47,28),c(48,"bytes"),i(),s(49,"sh-divider"),a(50,"p"),_(51,29),i(),a(52,"p"),_(53,30),i()()()),n&2){let e=E(2).$implicit;l(9),u(A(9,17,e.data==null||e.data.TestResults==null?null:e.data.TestResults.BeginTime,"medium")),d(8),l(3),u(A(12,20,e.data==null||e.data.TestResults==null?null:e.data.TestResults.EndTime,"medium")),d(11),l(3),u(T(15,23,e.data==null||e.data.TestResults==null?null:e.data.TestResults.Duration)),d(14),l(2),u(e.data==null||e.data.TestResults==null?null:e.data.TestResults.VerificationsActualLength),d(17),l(3),u(e.data==null||e.data.TestResults==null?null:e.data.TestResults.WarningsActualLength),d(20),l(2),u(e.data==null||e.data.TestResults==null?null:e.data.TestResults.ErrorsActualLength),d(22),l(10),u(A(32,25,e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.BeginTime,"medium")),d(31),l(3),u(A(35,28,e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.EndTime,"medium")),d(34),l(3),u(T(38,31,e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.Duration)),d(37),l(4),u(e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.DeletedFileCount)(h(42,33,e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.DeletedFileSize,!0,!0)),d(41),l(3),u(e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.DownloadedFileCount)(h(45,37,e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.DownloadedFileSize,!0,!0)),d(44),l(3),u(e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.UploadedFileCount)(h(48,41,e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.UploadedFileSize,!0,!0)),d(47),l(3),u(e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.WarningsActualLength),d(51),l(2),u(e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.ErrorsActualLength),d(53)}}function Ye(n,t){if(n&1&&(a(0,"code"),g(1),c(2,"json"),i()),n&2){let e=t.$implicit;l(),K(T(2,1,e))}}function Ze(n,t){if(n&1&&(a(0,"details",46)(1,"summary"),L(2,31),s(3,"sh-icon"),a(4,"div",47),s(5,"sh-icon",40),i(),S(),i(),a(6,"div",48),b(7,Ye,3,3,"code",null,x),i()()),n&2){let e=E(2).$implicit;l(5),u(e.data.VerificationsActualLength),d(2),l(2),k(e.data.Verifications)}}function en(n,t){if(n&1&&(a(0,"code"),g(1),c(2,"json"),i()),n&2){let e=t.$implicit;l(),K(T(2,1,e))}}function nn(n,t){n&1&&(a(0,"p"),g(1,"No errors"),i())}function tn(n,t){if(n&1&&(a(0,"code"),g(1),c(2,"json"),i()),n&2){let e=t.$implicit;l(),K(T(2,1,e))}}function on(n,t){if(n&1&&(a(0,"section",41)(1,"app-toggle-card",42),N(2,43),a(3,"h3"),_(4,0),i(),G(),N(5,44),a(6,"p"),_(7,1),c(8,"date"),i(),a(9,"p"),_(10,2),c(11,"date"),i(),a(12,"p"),_(13,3),c(14,"durationFormat"),i(),G(),i(),a(15,"app-toggle-card",42),N(16,43),a(17,"h3"),_(18,4),i(),G(),N(19,44),a(20,"p"),_(21,5),c(22,"bytes"),i(),a(23,"p"),_(24,6),c(25,"bytes"),i(),a(26,"p"),_(27,7),c(28,"bytes"),i(),a(29,"p"),_(30,8),c(31,"bytes"),i(),a(32,"p"),_(33,9),i(),a(34,"p"),_(35,10),i(),a(36,"p"),_(37,11),i(),G(),i(),a(38,"div",45),s(39,"sh-divider"),C(40,Qe,54,45),C(41,Ze,9,1,"details",46),a(42,"details",46)(43,"summary"),L(44,12),s(45,"sh-icon"),a(46,"div",47),s(47,"sh-icon",40),i(),S(),i(),a(48,"div",48),b(49,en,3,3,"code",null,x),i()(),a(51,"details",46)(52,"summary"),L(53,13),s(54,"sh-icon"),a(55,"div",47),s(56,"sh-icon",40),i(),S(),i(),a(57,"div",48),C(58,nn,2,0,"p"),b(59,tn,3,3,"code",null,x),i()(),s(61,"sh-divider"),a(62,"details")(63,"summary"),L(64,14),s(65,"sh-icon"),a(66,"div",47),s(67,"sh-icon",40),i(),S(),i(),a(68,"code")(69,"button",49),g(70,"Copy"),i(),g(71),c(72,"json"),i()()()()),n&2){let e=E().$implicit;l(),w("disallowToggle",!0),l(7),u(A(8,22,e.data==null?null:e.data.BeginTime,"medium")),d(7),l(3),u(A(11,25,e.data==null?null:e.data.EndTime,"medium")),d(10),l(3),u(T(14,28,e.data==null?null:e.data.Duration)),d(13),l(),w("disallowToggle",!0),l(7),u(e.data==null?null:e.data.ExaminedFiles)(h(22,30,e.data==null?null:e.data.SizeOfExaminedFiles,!0,!0)),d(21),l(3),u(e.data==null?null:e.data.OpenedFiles)(h(25,34,e.data==null?null:e.data.SizeOfOpenedFiles,!0,!0)),d(24),l(3),u(e.data==null?null:e.data.AddedFiles)(h(28,38,e.data==null?null:e.data.SizeOfAddedFiles,!0,!0)),d(27),l(3),u(e.data==null?null:e.data.ModifiedFiles)(h(31,42,e.data==null?null:e.data.SizeOfModifiedFiles,!0,!0)),d(30),l(2),u(e.data==null?null:e.data.DeletedFiles),d(33),l(2),u(e.data==null?null:e.data.TooLargeFiles),d(35),l(2),u(e.data==null?null:e.data.FilesWithError),d(37),l(3),m(e.data!=null&&e.data.TestResults?40:-1),l(),m((e.data==null?null:e.data.MainOperation)==="Test"?41:-1),l(6),u(e.data==null?null:e.data.WarningsActualLength),d(44),l(2),k(e.data==null?null:e.data.Warnings),l(7),u(e.data==null?null:e.data.ErrorsActualLength),d(53),l(2),m((e.data==null||e.data.Errors==null?null:e.data.Errors.length)===0?58:-1),l(),k(e.data==null?null:e.data.Errors),l(12),I(" ",T(72,46,e.data)," ")}}function an(n,t){if(n&1){let e=U();a(0,"article",33)(1,"header",34),$("click",function(){let r=M(e).$implicit,p=E();return R(p.toggleOpenEntry(r.id))}),C(2,We,1,0,"div",35)(3,je,1,0,"div",35)(4,Je,1,0,"div",36)(5,qe,1,0,"div",37),a(6,"h3"),g(7),c(8,"date"),i(),a(9,"p"),g(10),i(),s(11,"div",38),a(12,"div",39)(13,"sh-icon",40),g(14,"caret-down"),i()()(),C(15,on,73,48,"section",41),i()}if(n&2){let e=t.$implicit,o=E(),r=(e.data==null?null:e.data.ParsedResult)||"Unknown";l(2),m(r=="Fatal"?2:r=="Error"?3:r=="Warning"?4:5),l(5),K(A(8,7,e.timestamp,"medium")),l(3),$e(" ",e.data==null?null:e.data.MainOperation," ",o.getLocalizedSummary(e)," "),l(3),f("open",e.id===o.openEntry()),l(2),m(e.id===o.openEntry()?15:-1)}}var ce=class n{#e=B(ue);#n=new Z;#t=new ee;backupId=_e.required();openEntry=P(null);pagination=P({offset:0,pagesize:100});resource=de({params:()=>le({id:this.backupId()},this.pagination()),stream:({params:t})=>this.#e.getApiV1BackupByIdLog({id:t.id,pagesize:100}).pipe(X(e=>e.map(o=>({id:o.ID,operationId:o.OperationID,timestamp:o.Timestamp*1e3,type:o.Type,data:JSON.parse(o.Message),exception:JSON.stringify(o.Exception)==="{}"?null:o.Exception}))))});getLocalizedSummary(t){let e=t.data?.ErrorsActualLength??0,o=t.data?.WarningsActualLength??0,r=[];if(t.data?.MainOperation=="Backup"){if(t.data?.Duration){let p=this.#t.transform(t.data?.Duration,!0);p.startsWith("0h ")&&(p=p.slice(3)),p.startsWith("0m ")&&(p=p.slice(3)),r.push($localize`took ${p}`)}t.data?.BackendStatistics?.BytesUploaded&&r.push($localize`uploaded ${this.#n.transform(t.data?.BackendStatistics?.BytesUploaded)}`),t.data?.BackendStatistics?.KnownFileSize&&r.push($localize`backup size ${this.#n.transform(t.data?.BackendStatistics?.KnownFileSize)}`)}return e!==0&&r.push($localize`:@@errorCount:${e} error${e===1?"":"s"}`),o!==0&&r.push($localize`:@@warningCount:${o} warning${o===1?"":"s"}`),r.length===0?"":`(${r.join(", ")})`}toggleOpenEntry(t){if(this.openEntry()===t){this.openEntry.set(null);return}this.openEntry.set(t)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=z({type:n,selectors:[["app-general-log"]],inputs:{backupId:[1,"backupId"]},decls:3,vars:1,consts:()=>{let t;t=$localize`Time`;let e;e=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let o;o=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let r;r=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let p;p=$localize`Source files`;let v;v=$localize` Evaluated: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let y;y=$localize`Opened: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:)`;let j;j=$localize`Added: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:)`;let J;J=$localize` Modified: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let q;q=$localize`Deleted: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Q;Q=$localize`Too large: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Y;Y=$localize`Files with error: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let O;O=$localize`${"\uFFFD#45\uFFFD"}:START_TAG_SH_ICON:warning-circle${"[\uFFFD/#45\uFFFD|\uFFFD/#47\uFFFD]"}:CLOSE_TAG_SH_ICON: Warnings ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#46\uFFFD"}:START_TAG_DIV:${"\uFFFD#47\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#45\uFFFD|\uFFFD/#47\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#46\uFFFD"}:CLOSE_TAG_DIV:`,O=D(O);let ne;ne=$localize`${"\uFFFD#54\uFFFD"}:START_TAG_SH_ICON:warning${"[\uFFFD/#54\uFFFD|\uFFFD/#56\uFFFD]"}:CLOSE_TAG_SH_ICON: Errors ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#55\uFFFD"}:START_TAG_DIV:${"\uFFFD#56\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#54\uFFFD|\uFFFD/#56\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#55\uFFFD"}:CLOSE_TAG_DIV:`,ne=D(ne);let te;te=$localize`${"\uFFFD#65\uFFFD"}:START_TAG_SH_ICON:notepad${"[\uFFFD/#65\uFFFD|\uFFFD/#67\uFFFD]"}:CLOSE_TAG_SH_ICON: Complete log ${"\uFFFD#66\uFFFD"}:START_TAG_DIV:${"\uFFFD#67\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#65\uFFFD|\uFFFD/#67\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#66\uFFFD"}:CLOSE_TAG_DIV:`,te=D(te);let ie;ie=$localize`${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:circle-half-tilt${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON: Test phase ${"\uFFFD#4\uFFFD"}:START_TAG_DIV:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_DIV:`,ie=D(ie);let Ee;Ee=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ce;Ce=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let me;me=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Oe;Oe=$localize`Verifications: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Te;Te=$localize`Warnings: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Le;Le=$localize`Errors: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let oe;oe=$localize`${"\uFFFD#26\uFFFD"}:START_TAG_SH_ICON:file-archive${"[\uFFFD/#26\uFFFD|\uFFFD/#28\uFFFD]"}:CLOSE_TAG_SH_ICON: Compact phase ${"\uFFFD#27\uFFFD"}:START_TAG_DIV:${"\uFFFD#28\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#26\uFFFD|\uFFFD/#28\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#27\uFFFD"}:CLOSE_TAG_DIV:`,oe=D(oe);let Se;Se=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ae;Ae=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ne;Ne=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ge;Ge=$localize` Deleted files: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let Pe;Pe=$localize` Downloaded files: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let De;De=$localize` Uploaded files: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let Me;Me=$localize`Warnings: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Re;Re=$localize`Errors: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let ae;return ae=$localize`${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:warning-circle${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON: Verifications ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#4\uFFFD"}:START_TAG_DIV:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_DIV:`,ae=D(ae),[t,e,o,r,p,v,y,j,J,q,Q,Y,O,ne,te,ie,Ee,Ce,me,Oe,Te,Le,oe,Se,Ae,Ne,Ge,Pe,De,Me,Re,ae,[1,"indeterminate","primary"],[1,"log-entry"],[3,"click"],[1,"status","error"],[1,"status","warn"],[1,"status"],[1,"spacer"],[1,"action"],[1,"toggle-indicator"],[1,"log-content"],[3,"disallowToggle"],["title",""],["content",""],[1,"extra-info"],["name","details"],[1,"actions"],[1,"content"],["shButton","",1,"small"]]},template:function(e,o){e&1&&(C(0,He,1,0,"sh-progress-bar",32),b(1,an,16,10,"article",33,x)),e&2&&(m(o.resource.isLoading()?0:-1),l(),k(o.resource.value()))},dependencies:[ze,be,Fe,se,W,Z,H,ee,re],styles:["[_nghost-%COMP%]{display:block}.log-entry[_ngcontent-%COMP%]{display:flex;flex-direction:column;cursor:pointer}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:1rem;border-bottom:1px solid var(--base-4);background-color:var(--base-1);cursor:pointer}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]:hover{background-color:var(--base-2)}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:var(--paragraph-30);margin:0}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.toggle-indicator[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:1.25rem;transition:transform 125ms linear}.toggle-indicator.open[_ngcontent-%COMP%]{transform:rotate(180deg)}details[_ngcontent-%COMP%]{display:flex;flex-direction:column}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center;gap:.5rem;padding:.75rem;border-radius:var(--shape-2);background-color:var(--base-2)}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]:focus{outline:none}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]:hover{background-color:var(--base-3)}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]::marker{font-size:0}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;flex:1 0;gap:.5rem;-webkit-user-select:none;user-select:none}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:2rem;transition:transform 125ms linear}details[open][_ngcontent-%COMP%] summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}details[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:.75rem 1rem 0;display:flex;flex-direction:column;gap:.75rem}details[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}details[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{margin-top:.75rem;position:relative}details[_ngcontent-%COMP%] code[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem}.extra-info[_ngcontent-%COMP%]{grid-column:1/-1;display:flex;flex-direction:column;gap:1rem}.extra-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.extra-info[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{white-space:pre-wrap;padding:1rem;display:block;border-radius:var(--shape-2);background-color:var(--base-2)}.log-content[_ngcontent-%COMP%]{padding:1rem;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.status[_ngcontent-%COMP%]{display:block;width:1rem;height:1rem;background-color:var(--success-8);border-radius:50%}.status.error[_ngcontent-%COMP%]{background-color:var(--error-8)}.status.warn[_ngcontent-%COMP%]{background-color:var(--warn-8)}"],changeDetection:0})};function ln(n,t){n&1&&s(0,"sh-progress-bar",1)}function _n(n,t){n&1&&(L(0,0,1),s(1,"sh-icon"),S())}function rn(n,t){n&1&&(L(0,0,2),s(1,"sh-icon"),S())}function sn(n,t){if(n&1){let e=U();a(0,"section",6)(1,"button",7),$("click",function(){M(e);let r=E(),p=r.$implicit,v=r.$index,y=E();return R(y.copyToClipboard(p.data,v))}),L(2,0),C(3,_n,2,0)(4,rn,2,0),S(),i(),a(5,"code"),g(6),c(7,"json"),i()()}if(n&2){let e=E(),o=e.$implicit,r=e.$index,p=E();l(),f("success",p.copiedFromIndex()===r),l(2),m(p.copiedFromIndex()===r?3:4),l(3),K(T(7,4,o.data))}}function Fn(n,t){if(n&1){let e=U();a(0,"article",2)(1,"header",3),$("click",function(){let r=M(e).$implicit,p=E();return R(p.toggleOpenEntry(r.id))}),a(2,"h3"),g(3),c(4,"date"),i(),a(5,"div",4)(6,"sh-icon",5),g(7,"caret-down"),i()()(),C(8,sn,8,6,"section",6),i()}if(n&2){let e=t.$implicit,o=E();l(3),fe("",A(4,6,e.timestamp,"medium"),": ",e.operation," ",e.path),l(3),f("open",e.id===o.openEntry()),l(2),m(e.id===o.openEntry()?8:-1)}}var pe=class n{#e=B(ue);backupId=_e.required();openEntry=P(null);pagination=P({offset:0,pagesize:100});copiedFromIndex=P(null);resource=de({params:()=>le({id:this.backupId()},this.pagination()),stream:({params:t})=>this.#e.getApiV1BackupByIdRemotelog({id:t.id,pagesize:100}).pipe(X(e=>e.map((o,r)=>({id:o.ID,operationId:o.OperationID,timestamp:o.Timestamp*1e3,operation:o.Operation,path:o.Path,data:typeof o.Data=="string"?JSON.parse(o.Data):null}))))});toggleOpenEntry(t){if(this.openEntry()===t){this.openEntry.set(null);return}this.openEntry.set(t)}copyToClipboard(t,e){let o=JSON.stringify(t,null,2);navigator.clipboard.writeText(o),this.copiedFromIndex.set(e),setTimeout(()=>{this.copiedFromIndex.set(null)},3e3)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=z({type:n,selectors:[["app-remote-log"]],inputs:{backupId:[1,"backupId"]},decls:3,vars:1,consts:()=>{let t;return t=$localize`${"\uFFFD*3:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Copied ${"\uFFFD/*3:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*4:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Copy to clipboard ${"\uFFFD/*4:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,t=D(t),[t,[1,"indeterminate","primary"],[1,"log-entry"],[3,"click"],[1,"actions"],[1,"toggle-indicator"],[1,"log-content"],["shButton","",1,"small",3,"click"]]},template:function(e,o){e&1&&(C(0,ln,1,0,"sh-progress-bar",1),b(1,Fn,9,9,"article",2,x)),e&2&&(m(o.resource.isLoading()?0:-1),l(),k(o.resource.value()))},dependencies:[Fe,W,re,H],styles:["[_nghost-%COMP%]{display:block}.log-entry[_ngcontent-%COMP%]{display:flex;flex-direction:column}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:1rem;border-bottom:1px solid var(--base-4);background-color:var(--base-1);cursor:pointer}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]:hover{background-color:var(--base-2)}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:var(--paragraph-30);margin:0;-webkit-user-select:none;user-select:none}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.toggle-indicator[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:1.25rem;transition:transform 125ms linear}.toggle-indicator.open[_ngcontent-%COMP%]{transform:rotate(180deg)}.log-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1rem;position:relative}.log-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;top:2rem;right:2rem;background:transparent}code[_ngcontent-%COMP%]{white-space:pre-wrap;padding:1rem;display:block;border-radius:var(--shape-2);background-color:var(--base-2)}"],changeDetection:0})};function un(n,t){if(n&1&&(g(0," - "),N(1),_(2,6),G(),g(3),c(4,"durationFormat")),n&2){E(2);let e=V(6);l(3),I(" ",T(4,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.LastBackupDuration)," ")}}function dn(n,t){n&1&&(N(0),_(1,7),G())}function cn(n,t){if(n&1&&(g(0),c(1,"bytes")),n&2){E(2);let e=V(6);I(" ",T(1,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.SourceFilesSize)," ")}}function pn(n,t){n&1&&(N(0),_(1,8),G())}function gn(n,t){if(n&1&&(g(0),c(1,"bytes")),n&2){E(2);let e=V(6);I(" ",T(1,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.TargetFilesSize)," ")}}function En(n,t){n&1&&(N(0),_(1,9),G())}function Cn(n,t){if(n&1&&(a(0,"sh-chip",19),_(1,10),i()),n&2){E(2);let e=V(6);l(),u(e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.BackupListCount),d(1)}}function mn(n,t){n&1&&(a(0,"sh-chip",20),_(1,11),i())}function On(n,t){if(n&1&&(a(0,"div",14)(1,"div",18)(2,"h3"),g(3),a(4,"sh-icon"),g(5,"database"),i()(),a(6,"p")(7,"span"),_(8,3),i(),g(9),c(10,"date"),C(11,un,5,3)(12,dn,2,0,"ng-container"),i(),a(13,"p")(14,"span"),_(15,4),i(),C(16,cn,2,3)(17,pn,2,0,"ng-container"),i(),a(18,"p")(19,"span"),_(20,5),i(),C(21,gn,2,3)(22,En,2,0,"ng-container"),i()(),C(23,Cn,2,1,"sh-chip",19)(24,mn,2,0,"sh-chip",20),i()),n&2){let e=E(),o=V(6);l(3),I(" ",(o.Backup==null?null:o.Backup.Name)??e.MISSING_BACKUP_NAME," "),l(6),I(" ",A(10,6,o.Backup==null||o.Backup.Metadata==null?null:o.Backup.Metadata.LastBackupDate,"short")," "),l(2),m(!(o.Backup==null||o.Backup.Metadata==null)&&o.Backup.Metadata.LastBackupDuration?11:12),l(5),m(!(o.Backup==null||o.Backup.Metadata==null)&&o.Backup.Metadata.SourceFilesSize?16:17),l(5),m(!(o.Backup==null||o.Backup.Metadata==null)&&o.Backup.Metadata.TargetFilesSize?21:22),l(2),m(!(o.Backup==null||o.Backup.Metadata==null)&&o.Backup.Metadata.BackupListCount?23:24)}}function Tn(n,t){if(n&1&&s(0,"app-general-log",17),n&2){let e=E();w("backupId",e.backupId())}}function Ln(n,t){if(n&1&&s(0,"app-remote-log",17),n&2){let e=E();w("backupId",e.backupId())}}var ge=class n{#e=B(ye);#n=B(Ue);MISSING_BACKUP_NAME=$localize`Backup name missing`;activeTab=P("general");backupId=Xe(this.#e.params.pipe(X(t=>t.id)));backup=ve(()=>{let t=this.backupId();return t?this.#n.getBackupById(t):null});static \u0275fac=function(e){return new(e||n)};static \u0275cmp=z({type:n,selectors:[["app-log"]],decls:15,vars:8,consts:()=>{let t;t=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SH_ICON: Back `;let e;e=$localize`General`;let o;o=$localize` Destination `;let r;r=$localize`Last successful backup:`;let p;p=$localize`Source:`;let v;v=$localize`Destination:`;let y;y=$localize`took`;let j;j=$localize`N/A`;let J;J=$localize`N/A`;let q;q=$localize`N/A`;let Q;Q=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION: Version`;let Y;return Y=$localize`No version yet`,[t,e,o,r,p,v,y,j,J,q,Q,Y,[1,"back"],["type","button","shButton","","routerLink","/",1,"small"],[1,"backup"],[1,"primary"],["tab","",3,"click"],[3,"backupId"],[1,"text"],[1,"simple","success"],[1,"simple"]]},template:function(e,o){if(e&1){let r=U();s(0,"app-status-bar"),a(1,"section")(2,"div",12)(3,"button",13),L(4,0),s(5,"sh-icon"),S(),i()(),Ie(6),C(7,On,25,9,"div",14),a(8,"sh-tabs",15)(9,"button",16),$("click",function(){return M(r),R(o.activeTab.set("general"))}),_(10,1),i(),a(11,"button",16),$("click",function(){return M(r),R(o.activeTab.set("destination"))}),_(12,2),i()(),C(13,Tn,1,1,"app-general-log",17),C(14,Ln,1,1,"app-remote-log",17),i()}if(e&2){l(6);let r=he(o.backup());l(),m(r?7:-1),l(2),f("active",o.activeTab()==="general"),l(2),f("active",o.activeTab()==="destination"),l(2),m(o.activeTab()==="general"?13:-1),l(),m(o.activeTab()==="destination"?14:-1)}},dependencies:[ke,ce,pe,Be,Ke,W,se,xe,Z,ee,H],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1rem 1.5rem;gap:1rem}sh-tabs[_ngcontent-%COMP%]{margin-bottom:1rem}.backup[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:2rem;gap:1rem;border:1px solid var(--base-4);border-radius:var(--shape-3);box-shadow:var(--box-shadow-10)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;width:100%;max-width:40%}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{color:var(--base-8)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--base-12)}"],changeDetection:0})};export{ge as default};
1
+ import{a as Ke}from"./chunk-NJEX2N4Q.js";import{a as ze}from"./chunk-DDWLL7XA.js";import{b as Xe,c as de}from"./chunk-O64ZZGQZ.js";import"./chunk-6LTGTS6B.js";import{a as Ue}from"./chunk-DVDTYV66.js";import"./chunk-UIJYCGKA.js";import"./chunk-DELLEGXW.js";import"./chunk-RHW5QVAY.js";import"./chunk-VTSUHAP5.js";import{a as Z}from"./chunk-UP5EOICU.js";import"./chunk-N5SC4SKW.js";import"./chunk-Z3EPZZGY.js";import"./chunk-UKQFDBNO.js";import{b as ye,e as Be}from"./chunk-LVP2TPMO.js";import"./chunk-43JMN2ZY.js";import{a as W,g as se,j as xe,k as be,p as Fe,y as ke}from"./chunk-H7K35UUX.js";import{h as ue}from"./chunk-NOPMCS2Z.js";import"./chunk-TDKBGGNK.js";import{la as H,oa as re}from"./chunk-RUXCS4ZK.js";import"./chunk-FPPZ4BUR.js";import{a as ee}from"./chunk-DFMGS3IN.js";import"./chunk-6OPAGPKF.js";import{Ab as a,Bb as i,Cb as s,Dc as c,Ec as T,Fc as A,Gb as N,Gc as h,Hb as G,Jb as U,Oc as ve,Qb as L,Ra as l,Rb as S,Sb as _,Tb as u,Ub as d,Uc as _e,Vb as D,Wb as $,Yb as E,_ as B,bb as z,ea as M,fa as R,ic as f,lc as g,mc as K,nc as I,oa as P,oc as $e,pc as fe,r as X,tc as Ie,ub as C,uc as he,vb as m,vc as V,wb as x,xb as b,yb as k,zb as w}from"./chunk-HNWRQABR.js";import{a as le}from"./chunk-EUDKD2JW.js";function He(n,t){n&1&&s(0,"sh-progress-bar",32)}function We(n,t){n&1&&s(0,"div",35)}function je(n,t){n&1&&s(0,"div",35)}function Je(n,t){n&1&&s(0,"div",36)}function qe(n,t){n&1&&s(0,"div",37)}function Qe(n,t){if(n&1&&(a(0,"details",46)(1,"summary"),L(2,15),s(3,"sh-icon"),a(4,"div",47),s(5,"sh-icon",40),i(),S(),i(),a(6,"div",48)(7,"p"),_(8,16),c(9,"date"),i(),a(10,"p"),_(11,17),c(12,"date"),i(),a(13,"p"),_(14,18),c(15,"durationFormat"),i(),a(16,"p"),_(17,19),i(),s(18,"sh-divider"),a(19,"p"),_(20,20),i(),a(21,"p"),_(22,21),i()()(),a(23,"details",46)(24,"summary"),L(25,22),s(26,"sh-icon"),a(27,"div",47),s(28,"sh-icon",40),i(),S(),i(),a(29,"div",48)(30,"p"),_(31,23),c(32,"date"),i(),a(33,"p"),_(34,24),c(35,"date"),i(),a(36,"p"),_(37,25),c(38,"durationFormat"),i(),s(39,"sh-divider"),a(40,"p"),_(41,26),c(42,"bytes"),i(),a(43,"p"),_(44,27),c(45,"bytes"),i(),a(46,"p"),_(47,28),c(48,"bytes"),i(),s(49,"sh-divider"),a(50,"p"),_(51,29),i(),a(52,"p"),_(53,30),i()()()),n&2){let e=E(2).$implicit;l(9),u(A(9,17,e.data==null||e.data.TestResults==null?null:e.data.TestResults.BeginTime,"medium")),d(8),l(3),u(A(12,20,e.data==null||e.data.TestResults==null?null:e.data.TestResults.EndTime,"medium")),d(11),l(3),u(T(15,23,e.data==null||e.data.TestResults==null?null:e.data.TestResults.Duration)),d(14),l(2),u(e.data==null||e.data.TestResults==null?null:e.data.TestResults.VerificationsActualLength),d(17),l(3),u(e.data==null||e.data.TestResults==null?null:e.data.TestResults.WarningsActualLength),d(20),l(2),u(e.data==null||e.data.TestResults==null?null:e.data.TestResults.ErrorsActualLength),d(22),l(10),u(A(32,25,e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.BeginTime,"medium")),d(31),l(3),u(A(35,28,e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.EndTime,"medium")),d(34),l(3),u(T(38,31,e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.Duration)),d(37),l(4),u(e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.DeletedFileCount)(h(42,33,e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.DeletedFileSize,!0,!0)),d(41),l(3),u(e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.DownloadedFileCount)(h(45,37,e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.DownloadedFileSize,!0,!0)),d(44),l(3),u(e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.UploadedFileCount)(h(48,41,e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.UploadedFileSize,!0,!0)),d(47),l(3),u(e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.WarningsActualLength),d(51),l(2),u(e.data==null||e.data.CompactResults==null?null:e.data.CompactResults.ErrorsActualLength),d(53)}}function Ye(n,t){if(n&1&&(a(0,"code"),g(1),c(2,"json"),i()),n&2){let e=t.$implicit;l(),K(T(2,1,e))}}function Ze(n,t){if(n&1&&(a(0,"details",46)(1,"summary"),L(2,31),s(3,"sh-icon"),a(4,"div",47),s(5,"sh-icon",40),i(),S(),i(),a(6,"div",48),b(7,Ye,3,3,"code",null,x),i()()),n&2){let e=E(2).$implicit;l(5),u(e.data.VerificationsActualLength),d(2),l(2),k(e.data.Verifications)}}function en(n,t){if(n&1&&(a(0,"code"),g(1),c(2,"json"),i()),n&2){let e=t.$implicit;l(),K(T(2,1,e))}}function nn(n,t){n&1&&(a(0,"p"),g(1,"No errors"),i())}function tn(n,t){if(n&1&&(a(0,"code"),g(1),c(2,"json"),i()),n&2){let e=t.$implicit;l(),K(T(2,1,e))}}function on(n,t){if(n&1&&(a(0,"section",41)(1,"app-toggle-card",42),N(2,43),a(3,"h3"),_(4,0),i(),G(),N(5,44),a(6,"p"),_(7,1),c(8,"date"),i(),a(9,"p"),_(10,2),c(11,"date"),i(),a(12,"p"),_(13,3),c(14,"durationFormat"),i(),G(),i(),a(15,"app-toggle-card",42),N(16,43),a(17,"h3"),_(18,4),i(),G(),N(19,44),a(20,"p"),_(21,5),c(22,"bytes"),i(),a(23,"p"),_(24,6),c(25,"bytes"),i(),a(26,"p"),_(27,7),c(28,"bytes"),i(),a(29,"p"),_(30,8),c(31,"bytes"),i(),a(32,"p"),_(33,9),i(),a(34,"p"),_(35,10),i(),a(36,"p"),_(37,11),i(),G(),i(),a(38,"div",45),s(39,"sh-divider"),C(40,Qe,54,45),C(41,Ze,9,1,"details",46),a(42,"details",46)(43,"summary"),L(44,12),s(45,"sh-icon"),a(46,"div",47),s(47,"sh-icon",40),i(),S(),i(),a(48,"div",48),b(49,en,3,3,"code",null,x),i()(),a(51,"details",46)(52,"summary"),L(53,13),s(54,"sh-icon"),a(55,"div",47),s(56,"sh-icon",40),i(),S(),i(),a(57,"div",48),C(58,nn,2,0,"p"),b(59,tn,3,3,"code",null,x),i()(),s(61,"sh-divider"),a(62,"details")(63,"summary"),L(64,14),s(65,"sh-icon"),a(66,"div",47),s(67,"sh-icon",40),i(),S(),i(),a(68,"code")(69,"button",49),g(70,"Copy"),i(),g(71),c(72,"json"),i()()()()),n&2){let e=E().$implicit;l(),w("disallowToggle",!0),l(7),u(A(8,22,e.data==null?null:e.data.BeginTime,"medium")),d(7),l(3),u(A(11,25,e.data==null?null:e.data.EndTime,"medium")),d(10),l(3),u(T(14,28,e.data==null?null:e.data.Duration)),d(13),l(),w("disallowToggle",!0),l(7),u(e.data==null?null:e.data.ExaminedFiles)(h(22,30,e.data==null?null:e.data.SizeOfExaminedFiles,!0,!0)),d(21),l(3),u(e.data==null?null:e.data.OpenedFiles)(h(25,34,e.data==null?null:e.data.SizeOfOpenedFiles,!0,!0)),d(24),l(3),u(e.data==null?null:e.data.AddedFiles)(h(28,38,e.data==null?null:e.data.SizeOfAddedFiles,!0,!0)),d(27),l(3),u(e.data==null?null:e.data.ModifiedFiles)(h(31,42,e.data==null?null:e.data.SizeOfModifiedFiles,!0,!0)),d(30),l(2),u(e.data==null?null:e.data.DeletedFiles),d(33),l(2),u(e.data==null?null:e.data.TooLargeFiles),d(35),l(2),u(e.data==null?null:e.data.FilesWithError),d(37),l(3),m(e.data!=null&&e.data.TestResults?40:-1),l(),m((e.data==null?null:e.data.MainOperation)==="Test"?41:-1),l(6),u(e.data==null?null:e.data.WarningsActualLength),d(44),l(2),k(e.data==null?null:e.data.Warnings),l(7),u(e.data==null?null:e.data.ErrorsActualLength),d(53),l(2),m((e.data==null||e.data.Errors==null?null:e.data.Errors.length)===0?58:-1),l(),k(e.data==null?null:e.data.Errors),l(12),I(" ",T(72,46,e.data)," ")}}function an(n,t){if(n&1){let e=U();a(0,"article",33)(1,"header",34),$("click",function(){let r=M(e).$implicit,p=E();return R(p.toggleOpenEntry(r.id))}),C(2,We,1,0,"div",35)(3,je,1,0,"div",35)(4,Je,1,0,"div",36)(5,qe,1,0,"div",37),a(6,"h3"),g(7),c(8,"date"),i(),a(9,"p"),g(10),i(),s(11,"div",38),a(12,"div",39)(13,"sh-icon",40),g(14,"caret-down"),i()()(),C(15,on,73,48,"section",41),i()}if(n&2){let e=t.$implicit,o=E(),r=(e.data==null?null:e.data.ParsedResult)||"Unknown";l(2),m(r=="Fatal"?2:r=="Error"?3:r=="Warning"?4:5),l(5),K(A(8,7,e.timestamp,"medium")),l(3),$e(" ",e.data==null?null:e.data.MainOperation," ",o.getLocalizedSummary(e)," "),l(3),f("open",e.id===o.openEntry()),l(2),m(e.id===o.openEntry()?15:-1)}}var ce=class n{#e=B(ue);#n=new Z;#t=new ee;backupId=_e.required();openEntry=P(null);pagination=P({offset:0,pagesize:100});resource=de({params:()=>le({id:this.backupId()},this.pagination()),stream:({params:t})=>this.#e.getApiV1BackupByIdLog({id:t.id,pagesize:100}).pipe(X(e=>e.map(o=>({id:o.ID,operationId:o.OperationID,timestamp:o.Timestamp*1e3,type:o.Type,data:JSON.parse(o.Message),exception:JSON.stringify(o.Exception)==="{}"?null:o.Exception}))))});getLocalizedSummary(t){let e=t.data?.ErrorsActualLength??0,o=t.data?.WarningsActualLength??0,r=[];if(t.data?.MainOperation=="Backup"){if(t.data?.Duration){let p=this.#t.transform(t.data?.Duration,!0);p.startsWith("0h ")&&(p=p.slice(3)),p.startsWith("0m ")&&(p=p.slice(3)),r.push($localize`took ${p}`)}t.data?.BackendStatistics?.BytesUploaded&&r.push($localize`uploaded ${this.#n.transform(t.data?.BackendStatistics?.BytesUploaded)}`),t.data?.BackendStatistics?.KnownFileSize&&r.push($localize`backup size ${this.#n.transform(t.data?.BackendStatistics?.KnownFileSize)}`)}return e!==0&&r.push($localize`:@@errorCount:${e} error${e===1?"":"s"}`),o!==0&&r.push($localize`:@@warningCount:${o} warning${o===1?"":"s"}`),r.length===0?"":`(${r.join(", ")})`}toggleOpenEntry(t){if(this.openEntry()===t){this.openEntry.set(null);return}this.openEntry.set(t)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=z({type:n,selectors:[["app-general-log"]],inputs:{backupId:[1,"backupId"]},decls:3,vars:1,consts:()=>{let t;t=$localize`Time`;let e;e=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let o;o=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let r;r=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let p;p=$localize`Source files`;let v;v=$localize` Evaluated: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let y;y=$localize`Opened: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:)`;let j;j=$localize`Added: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:)`;let J;J=$localize` Modified: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let q;q=$localize`Deleted: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Q;Q=$localize`Too large: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Y;Y=$localize`Files with error: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let O;O=$localize`${"\uFFFD#45\uFFFD"}:START_TAG_SH_ICON:warning-circle${"[\uFFFD/#45\uFFFD|\uFFFD/#47\uFFFD]"}:CLOSE_TAG_SH_ICON: Warnings ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#46\uFFFD"}:START_TAG_DIV:${"\uFFFD#47\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#45\uFFFD|\uFFFD/#47\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#46\uFFFD"}:CLOSE_TAG_DIV:`,O=D(O);let ne;ne=$localize`${"\uFFFD#54\uFFFD"}:START_TAG_SH_ICON:warning${"[\uFFFD/#54\uFFFD|\uFFFD/#56\uFFFD]"}:CLOSE_TAG_SH_ICON: Errors ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#55\uFFFD"}:START_TAG_DIV:${"\uFFFD#56\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#54\uFFFD|\uFFFD/#56\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#55\uFFFD"}:CLOSE_TAG_DIV:`,ne=D(ne);let te;te=$localize`${"\uFFFD#65\uFFFD"}:START_TAG_SH_ICON:notepad${"[\uFFFD/#65\uFFFD|\uFFFD/#67\uFFFD]"}:CLOSE_TAG_SH_ICON: Complete log ${"\uFFFD#66\uFFFD"}:START_TAG_DIV:${"\uFFFD#67\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#65\uFFFD|\uFFFD/#67\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#66\uFFFD"}:CLOSE_TAG_DIV:`,te=D(te);let ie;ie=$localize`${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:circle-half-tilt${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON: Test phase ${"\uFFFD#4\uFFFD"}:START_TAG_DIV:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_DIV:`,ie=D(ie);let Ee;Ee=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ce;Ce=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let me;me=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Oe;Oe=$localize`Verifications: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Te;Te=$localize`Warnings: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Le;Le=$localize`Errors: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let oe;oe=$localize`${"\uFFFD#26\uFFFD"}:START_TAG_SH_ICON:file-archive${"[\uFFFD/#26\uFFFD|\uFFFD/#28\uFFFD]"}:CLOSE_TAG_SH_ICON: Compact phase ${"\uFFFD#27\uFFFD"}:START_TAG_DIV:${"\uFFFD#28\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#26\uFFFD|\uFFFD/#28\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#27\uFFFD"}:CLOSE_TAG_DIV:`,oe=D(oe);let Se;Se=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ae;Ae=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ne;Ne=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ge;Ge=$localize` Deleted files: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let Pe;Pe=$localize` Downloaded files: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let De;De=$localize` Uploaded files: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let Me;Me=$localize`Warnings: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Re;Re=$localize`Errors: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let ae;return ae=$localize`${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:warning-circle${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON: Verifications ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#4\uFFFD"}:START_TAG_DIV:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_DIV:`,ae=D(ae),[t,e,o,r,p,v,y,j,J,q,Q,Y,O,ne,te,ie,Ee,Ce,me,Oe,Te,Le,oe,Se,Ae,Ne,Ge,Pe,De,Me,Re,ae,[1,"indeterminate","primary"],[1,"log-entry"],[3,"click"],[1,"status","error"],[1,"status","warn"],[1,"status"],[1,"spacer"],[1,"action"],[1,"toggle-indicator"],[1,"log-content"],[3,"disallowToggle"],["title",""],["content",""],[1,"extra-info"],["name","details"],[1,"actions"],[1,"content"],["shButton","",1,"small"]]},template:function(e,o){e&1&&(C(0,He,1,0,"sh-progress-bar",32),b(1,an,16,10,"article",33,x)),e&2&&(m(o.resource.isLoading()?0:-1),l(),k(o.resource.value()))},dependencies:[ze,be,Fe,se,W,Z,H,ee,re],styles:["[_nghost-%COMP%]{display:block}.log-entry[_ngcontent-%COMP%]{display:flex;flex-direction:column;cursor:pointer}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:1rem;border-bottom:1px solid var(--base-4);background-color:var(--base-1);cursor:pointer}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]:hover{background-color:var(--base-2)}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:var(--paragraph-30);margin:0}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.toggle-indicator[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:1.25rem;transition:transform 125ms linear}.toggle-indicator.open[_ngcontent-%COMP%]{transform:rotate(180deg)}details[_ngcontent-%COMP%]{display:flex;flex-direction:column}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center;gap:.5rem;padding:.75rem;border-radius:var(--shape-2);background-color:var(--base-2)}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]:focus{outline:none}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]:hover{background-color:var(--base-3)}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]::marker{font-size:0}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;flex:1 0;gap:.5rem;-webkit-user-select:none;user-select:none}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:2rem;transition:transform 125ms linear}details[open][_ngcontent-%COMP%] summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}details[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:.75rem 1rem 0;display:flex;flex-direction:column;gap:.75rem}details[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}details[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{margin-top:.75rem;position:relative}details[_ngcontent-%COMP%] code[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem}.extra-info[_ngcontent-%COMP%]{grid-column:1/-1;display:flex;flex-direction:column;gap:1rem}.extra-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.extra-info[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{white-space:pre-wrap;padding:1rem;display:block;border-radius:var(--shape-2);background-color:var(--base-2)}.log-content[_ngcontent-%COMP%]{padding:1rem;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.status[_ngcontent-%COMP%]{display:block;width:1rem;height:1rem;background-color:var(--success-8);border-radius:50%}.status.error[_ngcontent-%COMP%]{background-color:var(--error-8)}.status.warn[_ngcontent-%COMP%]{background-color:var(--warn-8)}"],changeDetection:0})};function ln(n,t){n&1&&s(0,"sh-progress-bar",1)}function _n(n,t){n&1&&(L(0,0,1),s(1,"sh-icon"),S())}function rn(n,t){n&1&&(L(0,0,2),s(1,"sh-icon"),S())}function sn(n,t){if(n&1){let e=U();a(0,"section",6)(1,"button",7),$("click",function(){M(e);let r=E(),p=r.$implicit,v=r.$index,y=E();return R(y.copyToClipboard(p.data,v))}),L(2,0),C(3,_n,2,0)(4,rn,2,0),S(),i(),a(5,"code"),g(6),c(7,"json"),i()()}if(n&2){let e=E(),o=e.$implicit,r=e.$index,p=E();l(),f("success",p.copiedFromIndex()===r),l(2),m(p.copiedFromIndex()===r?3:4),l(3),K(T(7,4,o.data))}}function Fn(n,t){if(n&1){let e=U();a(0,"article",2)(1,"header",3),$("click",function(){let r=M(e).$implicit,p=E();return R(p.toggleOpenEntry(r.id))}),a(2,"h3"),g(3),c(4,"date"),i(),a(5,"div",4)(6,"sh-icon",5),g(7,"caret-down"),i()()(),C(8,sn,8,6,"section",6),i()}if(n&2){let e=t.$implicit,o=E();l(3),fe("",A(4,6,e.timestamp,"medium"),": ",e.operation," ",e.path),l(3),f("open",e.id===o.openEntry()),l(2),m(e.id===o.openEntry()?8:-1)}}var pe=class n{#e=B(ue);backupId=_e.required();openEntry=P(null);pagination=P({offset:0,pagesize:100});copiedFromIndex=P(null);resource=de({params:()=>le({id:this.backupId()},this.pagination()),stream:({params:t})=>this.#e.getApiV1BackupByIdRemotelog({id:t.id,pagesize:100}).pipe(X(e=>e.map((o,r)=>({id:o.ID,operationId:o.OperationID,timestamp:o.Timestamp*1e3,operation:o.Operation,path:o.Path,data:typeof o.Data=="string"?JSON.parse(o.Data):null}))))});toggleOpenEntry(t){if(this.openEntry()===t){this.openEntry.set(null);return}this.openEntry.set(t)}copyToClipboard(t,e){let o=JSON.stringify(t,null,2);navigator.clipboard.writeText(o),this.copiedFromIndex.set(e),setTimeout(()=>{this.copiedFromIndex.set(null)},3e3)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=z({type:n,selectors:[["app-remote-log"]],inputs:{backupId:[1,"backupId"]},decls:3,vars:1,consts:()=>{let t;return t=$localize`${"\uFFFD*3:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Copied ${"\uFFFD/*3:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*4:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Copy to clipboard ${"\uFFFD/*4:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,t=D(t),[t,[1,"indeterminate","primary"],[1,"log-entry"],[3,"click"],[1,"actions"],[1,"toggle-indicator"],[1,"log-content"],["shButton","",1,"small",3,"click"]]},template:function(e,o){e&1&&(C(0,ln,1,0,"sh-progress-bar",1),b(1,Fn,9,9,"article",2,x)),e&2&&(m(o.resource.isLoading()?0:-1),l(),k(o.resource.value()))},dependencies:[Fe,W,re,H],styles:["[_nghost-%COMP%]{display:block}.log-entry[_ngcontent-%COMP%]{display:flex;flex-direction:column}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:1rem;border-bottom:1px solid var(--base-4);background-color:var(--base-1);cursor:pointer}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]:hover{background-color:var(--base-2)}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:var(--paragraph-30);margin:0;-webkit-user-select:none;user-select:none}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.toggle-indicator[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:1.25rem;transition:transform 125ms linear}.toggle-indicator.open[_ngcontent-%COMP%]{transform:rotate(180deg)}.log-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1rem;position:relative}.log-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;top:2rem;right:2rem;background:transparent}code[_ngcontent-%COMP%]{white-space:pre-wrap;padding:1rem;display:block;border-radius:var(--shape-2);background-color:var(--base-2)}"],changeDetection:0})};function un(n,t){if(n&1&&(g(0," - "),N(1),_(2,6),G(),g(3),c(4,"durationFormat")),n&2){E(2);let e=V(6);l(3),I(" ",T(4,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.LastBackupDuration)," ")}}function dn(n,t){n&1&&(N(0),_(1,7),G())}function cn(n,t){if(n&1&&(g(0),c(1,"bytes")),n&2){E(2);let e=V(6);I(" ",T(1,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.SourceFilesSize)," ")}}function pn(n,t){n&1&&(N(0),_(1,8),G())}function gn(n,t){if(n&1&&(g(0),c(1,"bytes")),n&2){E(2);let e=V(6);I(" ",T(1,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.TargetFilesSize)," ")}}function En(n,t){n&1&&(N(0),_(1,9),G())}function Cn(n,t){if(n&1&&(a(0,"sh-chip",19),_(1,10),i()),n&2){E(2);let e=V(6);l(),u(e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.BackupListCount),d(1)}}function mn(n,t){n&1&&(a(0,"sh-chip",20),_(1,11),i())}function On(n,t){if(n&1&&(a(0,"div",14)(1,"div",18)(2,"h3"),g(3),a(4,"sh-icon"),g(5,"database"),i()(),a(6,"p")(7,"span"),_(8,3),i(),g(9),c(10,"date"),C(11,un,5,3)(12,dn,2,0,"ng-container"),i(),a(13,"p")(14,"span"),_(15,4),i(),C(16,cn,2,3)(17,pn,2,0,"ng-container"),i(),a(18,"p")(19,"span"),_(20,5),i(),C(21,gn,2,3)(22,En,2,0,"ng-container"),i()(),C(23,Cn,2,1,"sh-chip",19)(24,mn,2,0,"sh-chip",20),i()),n&2){let e=E(),o=V(6);l(3),I(" ",(o.Backup==null?null:o.Backup.Name)??e.MISSING_BACKUP_NAME," "),l(6),I(" ",A(10,6,o.Backup==null||o.Backup.Metadata==null?null:o.Backup.Metadata.LastBackupDate,"short")," "),l(2),m(!(o.Backup==null||o.Backup.Metadata==null)&&o.Backup.Metadata.LastBackupDuration?11:12),l(5),m(!(o.Backup==null||o.Backup.Metadata==null)&&o.Backup.Metadata.SourceFilesSize?16:17),l(5),m(!(o.Backup==null||o.Backup.Metadata==null)&&o.Backup.Metadata.TargetFilesSize?21:22),l(2),m(!(o.Backup==null||o.Backup.Metadata==null)&&o.Backup.Metadata.BackupListCount?23:24)}}function Tn(n,t){if(n&1&&s(0,"app-general-log",17),n&2){let e=E();w("backupId",e.backupId())}}function Ln(n,t){if(n&1&&s(0,"app-remote-log",17),n&2){let e=E();w("backupId",e.backupId())}}var ge=class n{#e=B(ye);#n=B(Ue);MISSING_BACKUP_NAME=$localize`Backup name missing`;activeTab=P("general");backupId=Xe(this.#e.params.pipe(X(t=>t.id)));backup=ve(()=>{let t=this.backupId();return t?this.#n.getBackupById(t):null});static \u0275fac=function(e){return new(e||n)};static \u0275cmp=z({type:n,selectors:[["app-log"]],decls:15,vars:8,consts:()=>{let t;t=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SH_ICON: Back `;let e;e=$localize`General`;let o;o=$localize` Destination `;let r;r=$localize`Last successful backup:`;let p;p=$localize`Source:`;let v;v=$localize`Destination:`;let y;y=$localize`took`;let j;j=$localize`N/A`;let J;J=$localize`N/A`;let q;q=$localize`N/A`;let Q;Q=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION: Version`;let Y;return Y=$localize`No version yet`,[t,e,o,r,p,v,y,j,J,q,Q,Y,[1,"back"],["type","button","shButton","","routerLink","/",1,"small"],[1,"backup"],[1,"primary"],["tab","",3,"click"],[3,"backupId"],[1,"text"],[1,"simple","success"],[1,"simple"]]},template:function(e,o){if(e&1){let r=U();s(0,"app-status-bar"),a(1,"section")(2,"div",12)(3,"button",13),L(4,0),s(5,"sh-icon"),S(),i()(),Ie(6),C(7,On,25,9,"div",14),a(8,"sh-tabs",15)(9,"button",16),$("click",function(){return M(r),R(o.activeTab.set("general"))}),_(10,1),i(),a(11,"button",16),$("click",function(){return M(r),R(o.activeTab.set("destination"))}),_(12,2),i()(),C(13,Tn,1,1,"app-general-log",17),C(14,Ln,1,1,"app-remote-log",17),i()}if(e&2){l(6);let r=he(o.backup());l(),m(r?7:-1),l(2),f("active",o.activeTab()==="general"),l(2),f("active",o.activeTab()==="destination"),l(2),m(o.activeTab()==="general"?13:-1),l(),m(o.activeTab()==="destination"?14:-1)}},dependencies:[ke,ce,pe,Be,Ke,W,se,xe,Z,ee,H],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1rem 1.5rem;gap:1rem}sh-tabs[_ngcontent-%COMP%]{margin-bottom:1rem}.backup[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:2rem;gap:1rem;border:1px solid var(--base-4);border-radius:var(--shape-3);box-shadow:var(--box-shadow-10)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;width:100%;max-width:40%}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{color:var(--base-8)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--base-12)}"],changeDetection:0})};export{ge as default};
@@ -0,0 +1,8 @@
1
+ import{a as nt}from"./chunk-7IQY6U5W.js";import{a as it,b as ot}from"./chunk-OMMUXRXE.js";import{a as H,b as Je,c as Ye}from"./chunk-KDYD6LMI.js";import{h as tt}from"./chunk-MSLKIHQQ.js";import{a as et}from"./chunk-N6ABN43N.js";import{a as B}from"./chunk-DELLEGXW.js";import{a as X}from"./chunk-VTSUHAP5.js";import{a as Qe,c as Ce,e as ge,i as fe,k as Ze,s as Te}from"./chunk-N5SC4SKW.js";import{A as je,C as qe,a as me,e as Be,g as ue,l as ze,o as Ke,p as Ue,t as Xe,z as He}from"./chunk-H7K35UUX.js";import{h as We}from"./chunk-NOPMCS2Z.js";import{ea as Re}from"./chunk-RUXCS4ZK.js";import{Ab as d,Ac as ce,Bb as _,Cb as U,Cc as pe,Gb as le,Hb as Z,Hc as ee,Ib as se,Jb as E,Oc as y,Pc as te,Qb as J,Ra as l,Rb as Y,Sb as Ae,Uc as Ie,V as G,Wb as x,Xc as ke,Y as ye,Yb as s,Zb as Oe,_ as v,_b as ve,ac as Fe,bb as re,bc as Me,cc as Ve,ea as S,f as ae,fa as h,gb as R,gc as z,ia as we,ic as de,lc as p,nc as F,oa as k,oc as _e,qc as Le,rc as be,sc as Pe,tc as b,ub as C,uc as A,vb as g,vc as c,wb as q,xb as W,yb as Q,yc as $e,zb as m,zc as Ge}from"./chunk-HNWRQABR.js";import{a as M,b as oe}from"./chunk-EUDKD2JW.js";var at=class n{#e=v(We);#t=v(Be);#n=v(X);testDestination(t,e,o,i){return this.#n.hasV2TestOperations()?this.testDestinationv2(t,e,o,i):this.testDestinationv1(t,e,o,i)}testDestinationv2(t,e,o,i){return new ae(a=>{this.#e.postApiV2DestinationTest({requestBody:{DestinationUrl:t,AutoCreate:!1,Options:null}}).subscribe({next:r=>{if(r.Success){this.emitSuccessV2(a,t,e,r);return}this.handleGenericError(a,t,e,r.Error??"Unknown error",i)},error:r=>{let u=r?.error?.body;if(u?.Data?.FolderExists===!1||u?.StatusCode==="missing-folder"){o?this.handleMissingFolder(a,t,e):this.handleGenericError(a,t,e,$localize`The remote destination folder does not exist.`,i);return}if(u?.Data?.HostCertificate){this.handleMissingCertificate(a,t,e,u.Data?.HostCertificate);return}if(u?.Data?.ReportedHostKey){this.handleIncorrectKey(a,t,e,u.Data.ReportedHostKey,u.Data.AcceptedHostKey??null);return}this.handleGenericError(a,t,e,r?.message??"Unknown error",i)}})})}testDestinationv1(t,e,o,i){return new ae(a=>{this.#e.postApiV1RemoteoperationTest({requestBody:{path:t}}).subscribe({next:r=>{a.next({action:"success",targetUrl:t,testAgain:!1,destinationIndex:e}),a.complete()},error:r=>{this.handleDestinationErrorv1(r.message,t,e,o,i).subscribe(u=>{a.next(u)})}})})}handleMissingFolder(t,e,o){this.#t.open(B,{data:{title:$localize`Create folder`,message:$localize`The remote destination folder does not exist, do you want to create it?`,confirmText:$localize`Create folder`,cancelText:$localize`Cancel`},closed:i=>{if(!i){this.reportNoAction(t,e,o,$localize`The remote folder does not exist.`);return}this.#n.hasV2TestOperations()?this.#e.postApiV2DestinationTest({requestBody:{DestinationUrl:e,AutoCreate:!0,Options:null}}).subscribe({next:a=>{if(a.Success){this.emitSuccessV2(t,e,o,a);return}else this.handleFolderCreateFailure(t,e,o,a.Error??$localize`Unknown error`)},error:a=>{this.handleFolderCreateFailure(t,e,o,a.message??$localize`Unknown error`)}}):this.#e.postApiV1RemoteoperationCreate({requestBody:{path:e}}).subscribe({next:()=>{this.handleFolderCreated(t,e,o)},error:a=>{this.handleFolderCreateFailure(t,e,o,a.message??$localize`Unknown error`)}})}})}handleFolderCreateFailure(t,e,o,i){this.#t.open(B,{data:{title:$localize`Error creating folder`,message:$localize`The remote destination folder could not be created. ${i}`,confirmText:$localize`OK`,cancelText:null},closed:()=>{t.next({action:"generic-error",targetUrl:e,testAgain:!1,destinationIndex:o}),t.complete()}})}emitSuccessV2(t,e,o,i){t.next({action:"success",targetUrl:e,testAgain:!1,destinationIndex:o,anyFilesFound:!i.Data?.FolderIsEmpty,containsBackup:i.Data?.FolderContainsBackupFiles??void 0,containsEncryptedBackupFiles:i.Data?.FolderContainsEncryptedBackupFiles??void 0}),t.complete()}handleFolderCreated(t,e,o){this.#t.open(B,{data:{title:$localize`Folder created`,message:$localize`The remote destination folder was created successfully.`,confirmText:$localize`OK`,cancelText:null},closed:()=>{t.next({action:"test-again",targetUrl:e,testAgain:!0,destinationIndex:o}),t.complete()}})}reportNoAction(t,e,o,i){t.next({action:"generic-error",targetUrl:e,errorMessage:i,testAgain:!1,destinationIndex:o}),t.complete()}handleMissingCertificate(t,e,o,i){this.#t.open(B,{maxWidth:"500px",data:{title:$localize`Trust the certificate`,message:$localize`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: ${i}`,confirmText:$localize`Trust the certificate`,cancelText:$localize`Cancel`},closed:a=>{if(!a){this.reportNoAction(t,e,o,$localize`The server certificate is not trusted.`);return}t.next({action:"trust-cert",targetUrl:e,testAgain:!0,certData:i,destinationIndex:o}),t.complete()}})}handleIncorrectKey(t,e,o,i,a){a?this.#t.open(B,{maxWidth:"500px",data:{title:$localize`The host key has changed`,message:$localize`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 ${a}
6
+ with the REPORTED host key: ${i}?`,confirmText:$localize`Approve`,cancelText:$localize`Cancel`},closed:r=>{if(!r){this.reportNoAction(t,e,o,$localize`The host key was not approved.`);return}t.next({action:"approve-host-key",targetUrl:e,testAgain:!0,reportedHostKey:i,destinationIndex:o}),t.complete()}}):this.#t.open(B,{maxWidth:"500px",data:{title:$localize`Approve host key?`,message:$localize`No certificate was specified, please verify that the reported host key is correct: ${i}`,confirmText:$localize`Approve`,cancelText:$localize`Cancel`},closed:r=>{if(!r){this.reportNoAction(t,e,o,$localize`The host key was not approved.`);return}t.next({action:"approve-host-key",targetUrl:e,testAgain:!0,reportedHostKey:i,destinationIndex:o}),t.complete()}})}handleGenericError(t,e,o,i,a){function r(){t.next({action:"generic-error",targetUrl:e,testAgain:!1,destinationIndex:o,errorMessage:i}),t.complete()}if(a){r();return}this.#t.open(B,{maxWidth:"500px",data:{title:$localize`Test connection failed`,message:i,cancelText:$localize`OK`},closed:u=>r()})}handleDestinationErrorv1(t,e,o,i,a){return new ae(r=>{if(t==="missing-folder"){i?this.handleMissingFolder(r,e,o):this.handleGenericError(r,e,o,$localize`The remote destination folder does not exist.`,a);return}if(t.startsWith("incorrect-cert:")){let u=t.split("incorrect-cert:")[1];this.handleMissingCertificate(r,e,o,u);return}if(t.startsWith("incorrect-host-key:")){let u=t.split('incorrect-host-key:"')[1].split('",')[0],N=t.split('accepted-host-key:"')[1].split('",')[0];this.handleIncorrectKey(r,e,o,u,N);return}this.handleGenericError(r,e,o,t,a)})}static \u0275fac=function(e){return new(e||n)};static \u0275prov=G({token:n,factory:n.\u0275fac,providedIn:"root"})};var Se=class n{#e=v(X);supportedDestinationTypes=y(()=>this.#e.backendModules().map(t=>{if(!t?.Key)return null;let e=H(t.Key);return e.isDefaultEntry===!0?oe(M({},e),{displayName:t.DisplayName||e.displayName||t.Key,description:t.Description||e.description||""}):e}).filter(t=>t!==null));destinationTypeOptions=y(()=>this.supportedDestinationTypes().map(t=>({key:t.customKey??t.key,customKey:t.customKey??null,displayName:t.displayName,description:t.description,icon:t.icon})));backendModules=y(()=>this.#e.backendModules()??[]);static \u0275fac=function(e){return new(e||n)};static \u0275prov=G({token:n,factory:n.\u0275fac,providedIn:"root"})};var rt=class n{#e=v(X);#t=v(tt);#n=v(nt);#i=v(Se);backendModules=y(()=>this.#i.backendModules());serverSettingsOverride=y(()=>this.#n.serverSettings()?.["--oauth-url"]);backupServerOverride=y(()=>{let t=this.#t.mapFormsToSettings().find(e=>e.Name==="--oauth-url")?.Value;if(t&&t.length>0)return t});oauthUrls=y(()=>{let t=this.#e.defaultOAuthUrl(),e=this.#e.defaultOAuthUrlV2();return{v1:t,v2:e}});static \u0275fac=function(e){return new(e||n)};static \u0275prov=G({token:n,factory:n.\u0275fac,providedIn:"root"})};var he=class n{backendModules=y(()=>[]);serverSettingsOverride=y(()=>{});backupServerOverride=y(()=>{});oauthUrls=y(()=>({v1:void 0,v2:void 0}));static \u0275fac=function(e){return new(e||n)};static \u0275prov=G({token:n,factory:n.\u0275fac,providedIn:"root"})};var lt=new ye("SingleDestinationState",{providedIn:"root",factory:()=>new he});var ct=["fileInput"],pt=[[["label"]]],mt=["label"],xe=class n{customId=Ie();content=k("");readonly=k(!1);placeholder=Ie("Drop a file here or use the browse button");fileInputRef;onFileSelected(t){let e=t.target;e.files&&e.files.length>0&&this.readFile(e.files[0])}onFileDrop(t){t.preventDefault(),t.dataTransfer?.files&&t.dataTransfer.files.length>0&&this.readFile(t.dataTransfer.files[0])}onDragOver(t){t.preventDefault()}readFile(t){let e=new FileReader;e.onload=()=>{this.content.set(e.result)},e.readAsText(t)}triggerBrowse(){return this.fileInputRef.nativeElement.click(),!1}onChange=()=>{};onTouched=()=>{};onChangeEffect=te(()=>{this.onChange(this.content())});writeValue(t){this.content.set(t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.readonly.set(t)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=re({type:n,selectors:[["app-file-drop-textarea"]],viewQuery:function(e,o){if(e&1&&Fe(ct,5),e&2){let i;Me(i=Ve())&&(o.fileInputRef=i.first)}},inputs:{customId:[1,"customId"],placeholder:[1,"placeholder"]},features:[$e([{provide:Qe,useExisting:n,multi:!0}])],ngContentSelectors:mt,decls:9,vars:3,consts:()=>{let t;return t=$localize`${"\uFFFD#4\uFFFD"}:START_TAG_SH_ICON:upload${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_SH_ICON:`,[["fileInput",""],t,[1,"browse-btn"],["shButton","","type","button",1,"small","outlined",3,"click"],[1,"textarea-container","textarea-wrap",3,"drop","dragover"],["rows","10",3,"ngModelChange","placeholder","ngModel","disabled"],["type","file",1,"hidden",3,"change"]]},template:function(e,o){if(e&1){let i=E();Oe(pt),ve(0,0,["ngProjectAs","label",5,["label"]]),d(1,"div",2)(2,"button",3),x("click",function(){return S(i),h(o.triggerBrowse())}),J(3,1),U(4,"sh-icon"),Y(),_()(),d(5,"div",4),x("drop",function(r){return S(i),h(o.onFileDrop(r))})("dragover",function(r){return S(i),h(o.onDragOver(r))}),d(6,"textarea",5),Pe("ngModelChange",function(r){return S(i),be(o.content,r)||(o.content=r),h(r)}),_()(),d(7,"input",6,0),x("change",function(r){return S(i),h(o.onFileSelected(r))}),_()}e&2&&(l(6),m("placeholder",o.placeholder()),Le("ngModel",o.content),m("disabled",o.readonly()))},dependencies:[Te,Ce,ge,fe,me,ue],styles:['[_nghost-%COMP%]{display:grid;grid-template-areas:"label browsebtn" "input input";grid-template-columns:8fr 1fr;gap:.5rem;align-items:flex-end}[_nghost-%COMP%] .browse-btn[_ngcontent-%COMP%]{grid-area:browsebtn}[_nghost-%COMP%] .label[_ngcontent-%COMP%]{grid-area:label;grid-column:1/-1}[_nghost-%COMP%] .textarea-wrap[_ngcontent-%COMP%]{grid-area:input;width:100%;border:none;font:var(--code-20)}[_nghost-%COMP%] .textarea-wrap[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%;color:var(--base-8);background-color:var(--base-1);border:1px solid var(--base-4);border-radius:var(--shape-3);padding:.5rem;resize:vertical;box-shadow:var(--box-shadow-10)}[_nghost-%COMP%] .textarea-wrap[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%] .dark[_ngcontent-%COMP%]{background-color:var(--base-2)}[_nghost-%COMP%] .hidden[_ngcontent-%COMP%]{display:none}'],changeDetection:0})};var ut=(n,t,e,o)=>({index:n,fieldGroup:"custom",formView:t,destinationType:e,oauthField:o}),De=n=>({$implicit:n}),Ct=(n,t,e,o)=>({index:n,fieldGroup:"dynamic",formView:t,destinationType:e,oauthField:o}),gt=()=>({updateOn:"blur"}),ft=(n,t,e,o)=>({index:n,formView:t,fieldGroup:"advanced",destinationType:e,oauthField:o});function Tt(n,t){n&1&&se(0)}function St(n,t){if(n&1&&R(0,Tt,1,0,"ng-container",13),n&2){let e=t.$implicit,o=t.$index;s();let i=z(15);s();let a=c(0),r=c(1);m("ngTemplateOutlet",i)("ngTemplateOutletContext",ce(7,De,pe(2,ut,o,e,a,r.oauthField)))}}function ht(n,t){n&1&&se(0)}function xt(n,t){if(n&1&&R(0,ht,1,0,"ng-container",13),n&2){let e=t.$implicit,o=t.$index;s();let i=z(15);s();let a=c(0),r=c(1);m("ngTemplateOutlet",i)("ngTemplateOutletContext",ce(7,De,pe(2,Ct,o,e,a,r.oauthField)))}}function Nt(n,t){if(n&1){let e=E();d(0,"button",14),x("click",function(){S(e);let i=s(2);return h(i.showTextArea.set(!1))}),J(1,6),U(2,"sh-icon"),Y(),_()}}function Et(n,t){if(n&1){let e=E();d(0,"button",21,1),x("click",function(){let i=S(e).$implicit,a=s(3);return h(a.addAdvancedOption(i))}),p(2),_()}if(n&2){let e=t.$implicit;l(2),F(" ",e.name," ")}}function It(n,t){if(n&1){let e=E();d(0,"div",11)(1,"sh-menu",15)(2,"button",16),J(3,7),U(4,"sh-icon"),Y(),_(),le(5,17),W(6,Et,3,1,"button",18,q),Z(),_(),d(8,"sh-menu")(9,"button",19)(10,"sh-icon"),p(11,"dots-three-vertical"),_()(),le(12,17),d(13,"button",20),x("click",function(){S(e);let i=s(2);return h(i.showTextArea.set(!0))}),d(14,"sh-icon"),p(15,"link"),_(),p(16," Edit contents as text "),_(),Z(),_()()}if(n&2){s();let e=c(9);l(),m("searchable",!0),l(),m("disabled",e.length===0),l(4),Q(e)}}function Dt(n,t){if(n&1){let e=E();d(0,"textarea",22),x("ngModelChange",function(i){S(e);let a=s(2);return h(a.updateSettingsFromText(i))}),_()}if(n&2){let e=s(2);m("ngModel",e.settingsAsText())("ngModelOptions",Ge(2,gt))}}function yt(n,t){n&1&&se(0)}function wt(n,t){if(n&1&&R(0,yt,1,0,"ng-container",13),n&2){let e=t.$implicit,o=t.$index;s(2);let i=z(15),a=s(),r=c(0),u=c(1),N=a.getFormView("advanced",e)??a.getDefaultFormView(e);m("ngTemplateOutlet",i)("ngTemplateOutletContext",ce(7,De,pe(2,ft,o,N,r,u.oauthField)))}}function At(n,t){if(n&1&&W(0,wt,1,9,"ng-container",null,q),n&2){let e=s(2);Q(e.advancedFormFieldNames())}}function Ot(n,t){n&1&&(d(0,"sup",31),p(1,"*"),_())}function vt(n,t){if(n&1&&(d(0,"sh-icon",32),p(1,"question"),_()),n&2){let e=s(2).$implicit;m("shTooltip",e.formView.longDescription)}}function Ft(n,t){if(n&1){let e=E();d(0,"app-file-tree",24)(1,"label",30),C(2,Ot,2,0,"sup",31),p(3),C(4,vt,2,1,"sh-icon",32),_(),d(5,"input",33),x("ngModelChange",function(i){S(e);let a=s().$implicit,r=s(2);return h(r.updateFieldValue(a.fieldGroup,a.formView.name,i))}),_()()}if(n&2){let e=s().$implicit,o=c(1),i=c(2),a=c(3),r=c(4),u=c(5);m("startingPath",a)("accepts",e.formView.accepts)("showFiles",!0)("hideShortcuts",!0)("showHiddenNodes",!0)("selectFiles",!0),l(),m("for",u),l(),g(e.formView.isMandatory&&r?2:-1),l(),F(" ",o," "),l(),g(e.formView.longDescription?4:-1),l(),m("id",u)("ngModel",i)}}function Mt(n,t){n&1&&(d(0,"sup",34),p(1,"*"),_())}function Vt(n,t){if(n&1&&(d(0,"sh-icon",32),p(1,"question"),_()),n&2){let e=s(2).$implicit;m("shTooltip",e.formView.longDescription)}}function Lt(n,t){if(n&1){let e=E();d(0,"app-file-tree",25)(1,"label",30),C(2,Mt,2,0,"sup",34),p(3),C(4,Vt,2,1,"sh-icon",32),_(),d(5,"input",33),x("ngModelChange",function(i){S(e);let a=s().$implicit,r=s(2);return h(r.updateFieldValue(a.fieldGroup,a.formView.name,i))}),_()()}if(n&2){let e=s().$implicit,o=c(1),i=c(2),a=c(3),r=c(4),u=c(5);m("hideShortcuts",!0)("enableCreateFolder",!0)("startingPath",a),l(),m("for",u),l(),g(e.formView.isMandatory&&r?2:-1),l(),F(" ",o," "),l(),g(e.formView.longDescription?4:-1),l(),m("id",u)("ngModel",i)}}function bt(n,t){n&1&&(d(0,"sup",35),p(1,"*"),_())}function Pt(n,t){if(n&1&&(d(0,"sh-icon",32),p(1,"question"),_()),n&2){let e=s(2).$implicit;m("shTooltip",e.formView.longDescription)}}function $t(n,t){n&1&&(d(0,"sh-icon",36),p(1," warning "),_())}function Gt(n,t){n&1&&(d(0,"sh-icon",37),p(1,"x-circle"),_())}function kt(n,t){n&1&&(d(0,"sh-icon",38),p(1,"warning"),_())}function Rt(n,t){if(n&1&&(d(0,"sh-icon",42),p(1," link "),_()),n&2){s();let e=c(9),o=c(10);de("error",e&&o==="error")("warn",e&&o==="warning"),m("shTooltip",e)}}function Bt(n,t){n&1&&(d(0,"sh-icon",41),p(1,"envelope"),_())}function zt(n,t){n&1&&(d(0,"sh-icon",41),p(1,"hard-drives"),_())}function Kt(n,t){n&1&&(d(0,"sh-icon",41),p(1,"jar"),_())}function Ut(n,t){n&1&&(d(0,"sh-icon",41),p(1,"textbox"),_())}function Xt(n,t){if(n&1){let e=E();d(0,"sh-form-field")(1,"label",30),C(2,bt,2,0,"sup",35),p(3),C(4,Pt,2,1,"sh-icon",32),C(5,$t,2,0,"sh-icon",36),C(6,Gt,2,0,"sh-icon",37),C(7,kt,2,0,"sh-icon",38),_(),d(8,"input",39),x("keydown",function(i){S(e);let a=s().$implicit,r=s(2);return h(r.onKeyDown(a.fieldGroup,a.formView.name,a.formView.type,i))})("ngModelChange",function(i){S(e);let a=s().$implicit,r=s(2);return h(r.updateFieldValue(a.fieldGroup,a.formView.name,i))}),_(),b(9)(10),C(11,Rt,2,5,"sh-icon",40)(12,Bt,2,0,"sh-icon",41)(13,zt,2,0,"sh-icon",41)(14,Kt,2,0,"sh-icon",41)(15,Ut,2,0,"sh-icon",41),_()}if(n&2){let e=s().$implicit,o=c(1),i=c(2),a=c(3),r=c(4),u=c(5),N=s(2);l(),m("for",u),l(),g(e.formView.isMandatory&&r?2:-1),l(),F(" ",o," "),l(),g(e.formView.longDescription?4:-1),l(),g(r&&e.formView.type==="Path"?5:-1),l(),g(e.formView.type=="Hostname"&&!r&&!N.isValidHostname(a)?6:-1),l(),g(e.formView.type=="Bucketname"&&!r&&!N.isValidBucketname(a)?7:-1),l(),m("type",e.formView.type==="Email"?"email":"text")("id",u)("ngModel",i);let V=a,O=N.hasLeadingSlash(V??"");l(),A(O&&(e.formView.doubleSlash==null?null:e.formView.doubleSlash.message)),l(),A(e.formView.doubleSlash==null?null:e.formView.doubleSlash.type),l(),g(e.formView.type==="Path"?11:e.formView.type==="Email"?12:e.formView.type==="Hostname"?13:e.formView.type==="Bucketname"?14:15)}}function Ht(n,t){n&1&&(d(0,"sup",43),p(1,"*"),_())}function jt(n,t){if(n&1&&(d(0,"sh-icon",32),p(1,"question"),_()),n&2){let e=s(2).$implicit;m("shTooltip",e.formView.longDescription)}}function qt(n,t){if(n&1){let e=E();d(0,"span",47),x("click",function(){S(e);let i=s(2).$implicit,a=s(2);return h(a.oauthStartTokenCreation(i.destinationType,i.fieldGroup,i.formView.name,i.formView.oauthVersion))}),p(1," AuthID "),_()}}function Wt(n,t){n&1&&(d(0,"sh-icon",41),p(1,"password"),_())}function Qt(n,t){if(n&1){let e=E();d(0,"sh-icon",48),x("click",function(){S(e);let i=s(2).$implicit;return h(i.formView.showPassword=!i.formView.showPassword)}),p(1," eye "),_()}}function Zt(n,t){if(n&1){let e=E();d(0,"sh-icon",48),x("click",function(){S(e);let i=s(2).$implicit;return h(i.formView.showPassword=!i.formView.showPassword)}),p(1," eye-slash "),_()}}function Jt(n,t){if(n&1){let e=E();d(0,"sh-form-field")(1,"label",30),C(2,Ht,2,0,"sup",43),p(3),C(4,jt,2,1,"sh-icon",32),_(),d(5,"input",44),x("ngModelChange",function(i){S(e);let a=s().$implicit,r=s(2);return h(r.updateFieldValue(a.fieldGroup,a.formView.name,i))}),_(),C(6,qt,2,0,"span",45)(7,Wt,2,0,"sh-icon",41),C(8,Qt,2,0,"sh-icon",46)(9,Zt,2,0,"sh-icon",46),_()}if(n&2){let e=s().$implicit,o=c(1),i=c(2),a=c(4),r=c(5);l(),m("for",r),l(),g(e.formView.isMandatory&&a?2:-1),l(),F(" ",o," "),l(),g(e.formView.longDescription?4:-1),l(),m("type",e.formView.showPassword?"text":"password")("id",r)("ngModel",i),l(),g(e.oauthField===e.formView.name?6:7),l(2),g(e.formView.showPassword?8:9)}}function Yt(n,t){n&1&&(d(0,"sup",50),p(1,"*"),_())}function en(n,t){if(n&1&&(d(0,"sh-icon",32),p(1,"question"),_()),n&2){let e=s(3).$implicit;m("shTooltip",e.formView.longDescription)}}function tn(n,t){if(n&1&&p(0),n&2){let e=t.$implicit;_e(" ",e.key," ",e.value&&e.value!=e.key?"("+e.value+")":""," ")}}function nn(n,t){if(n&1){let e=E();d(0,"sh-select",49)(1,"label",30),C(2,Yt,2,0,"sup",50),p(3),C(4,en,2,1,"sh-icon",32),_(),d(5,"input",33),x("ngModelChange",function(i){S(e);let a=s(2).$implicit,r=s(2);return h(r.updateFieldValue(a.fieldGroup,a.formView.name,i))}),_()(),R(6,tn,1,2,"ng-template",null,2,ee)}if(n&2){let e=z(7);s();let o=c(0),i=s().$implicit,a=c(1),r=c(2),u=c(4),N=c(5);m("options",o)("isClearable",!1)("optionTemplate",e),l(),m("for",N),l(),g(i.formView.isMandatory&&u?2:-1),l(),F(" ",a," "),l(),g(i.formView.longDescription?4:-1),l(),m("id",N)("ngModel",r)}}function on(n,t){if(n&1&&(b(0),C(1,nn,8,9)),n&2){let e=s().$implicit,o=A(s(2).mapOptions(e.formView));l(),g(o?1:-1)}}function an(n,t){n&1&&(d(0,"sup",53),p(1,"*"),_())}function rn(n,t){if(n&1&&(d(0,"sh-icon",32),p(1,"question"),_()),n&2){let e=s(3).$implicit;m("shTooltip",e.formView.longDescription)}}function ln(n,t){if(n&1&&p(0),n&2){let e=t.$implicit;_e(" ",e.key," ",e.value&&e.value!=e.key?"("+e.value+")":""," ")}}function sn(n,t){if(n&1){let e=E();d(0,"sh-select",52)(1,"label",30),C(2,an,2,0,"sup",53),p(3),C(4,rn,2,1,"sh-icon",32),_(),d(5,"input",33),x("ngModelChange",function(i){S(e);let a=s(2).$implicit,r=s(2);return h(r.updateFieldValue(a.fieldGroup,a.formView.name,i))}),_()(),R(6,ln,1,2,"ng-template",null,3,ee)}if(n&2){let e=z(7);s();let o=c(0),i=s().$implicit,a=c(1),r=c(2),u=c(4),N=c(5);m("options",o)("asFreeText",!0)("inlineSearch",!0)("optionTemplate",e),l(),m("for",N),l(),g(i.formView.isMandatory&&u?2:-1),l(),F(" ",a," "),l(),g(i.formView.longDescription?4:-1),l(),m("id",N)("ngModel",r)}}function dn(n,t){n&1&&U(0,"sh-progress-bar",51)}function _n(n,t){if(n&1&&(b(0),C(1,sn,8,10)(2,dn,1,0,"sh-progress-bar",51)),n&2){let e=s().$implicit,o=c(2),i=A(s(2).mapOptionsWithFreeText(e.formView,o));l(),g(i?1:2)}}function cn(n,t){n&1&&(d(0,"sup",55),p(1,"*"),_())}function pn(n,t){if(n&1&&(d(0,"sh-icon",32),p(1,"question"),_()),n&2){let e=s(2).$implicit;m("shTooltip",e.formView.longDescription)}}function mn(n,t){if(n&1){let e=E();d(0,"app-size",54),x("ngModelChange",function(i){S(e);let a=s().$implicit,r=s(2);return h(r.updateFieldValue(a.fieldGroup,a.formView.name,i))}),d(1,"label",30),C(2,cn,2,0,"sup",55),p(3),C(4,pn,2,1,"sh-icon",32),_()()}if(n&2){let e=s().$implicit,o=c(1),i=c(2),a=c(4),r=c(5);m("inputType",e.Name)("ngModel",i)("customId",r),l(),m("for",r),l(),g(e.formView.isMandatory&&a?2:-1),l(),F(" ",o," "),l(),g(e.formView.longDescription?4:-1)}}function un(n,t){n&1&&(d(0,"sup",56),p(1,"*"),_())}function Cn(n,t){if(n&1&&(d(0,"sh-icon",32),p(1,"question"),_()),n&2){let e=s(2).$implicit;m("shTooltip",e.formView.longDescription)}}function gn(n,t){if(n&1){let e=E();d(0,"sh-form-field")(1,"label",30),C(2,un,2,0,"sup",56),p(3),C(4,Cn,2,1,"sh-icon",32),_(),d(5,"input",57),x("ngModelChange",function(i){S(e);let a=s().$implicit,r=s(2);return h(r.updateFieldValue(a.fieldGroup,a.formView.name,i))}),_(),d(6,"sh-icon",41),p(7,"numpad"),_()()}if(n&2){let e=s().$implicit,o=c(1),i=c(2),a=c(4),r=c(5);l(),m("for",r),l(),g(e.formView.isMandatory&&a?2:-1),l(),F(" ",o," "),l(),g(e.formView.longDescription?4:-1),l(),m("id",r)("ngModel",i)}}function fn(n,t){if(n&1&&(d(0,"sh-icon",32),p(1,"question"),_()),n&2){let e=s(2).$implicit;m("shTooltip",e.formView.longDescription)}}function Tn(n,t){if(n&1){let e=E();d(0,"sh-toggle",58),x("click",function(){S(e);let i=s().$implicit,a=c(2),r=s(2);return h(r.updateFieldValue(i.fieldGroup,i.formView.name,r.isTrue(a)?"false":"true"))}),d(1,"label",30),p(2),C(3,fn,2,1,"sh-icon",32),_()()}if(n&2){let e=s().$implicit,o=c(1),i=c(2),a=c(5),r=s(2);de("active",r.isTrue(i)),l(),m("for",a),l(),F(" ",o," "),l(),g(e.formView.longDescription?3:-1)}}function Sn(n,t){n&1&&(d(0,"sup",60),p(1,"*"),_())}function hn(n,t){if(n&1&&(d(0,"sh-icon",32),p(1,"question"),_()),n&2){let e=s(3).$implicit;m("shTooltip",e.formView.longDescription)}}function xn(n,t){if(n&1&&p(0),n&2){let e=t.$implicit;_e(" ",e.key," ",e.value&&e.value!=e.key?"("+e.value+")":""," ")}}function Nn(n,t){if(n&1){let e=E();d(0,"sh-select",59)(1,"label",30),C(2,Sn,2,0,"sup",60),p(3),C(4,hn,2,1,"sh-icon",32),_(),d(5,"input",61),x("ngModelChange",function(i){S(e);let a=s(2).$implicit,r=s(2);return h(r.updateFieldValue(a.fieldGroup,a.formView.name,i))}),_()(),R(6,xn,1,2,"ng-template",null,4,ee)}if(n&2){let e=z(7);s();let o=c(0),i=s().$implicit,a=c(1),r=c(2),u=c(4),N=c(5);m("options",o)("selectMultiple",!0)("optionTemplate",e),l(),m("for",N),l(),g(i.formView.isMandatory&&u?2:-1),l(),F(" ",a," "),l(),g(i.formView.longDescription?4:-1),l(),m("ngModel",r)}}function En(n,t){if(n&1&&(b(0),C(1,Nn,8,8)),n&2){let e=s().$implicit,o=A(s(2).mapOptions(e.formView));l(),g(o?1:-1)}}function In(n,t){n&1&&(d(0,"sup",62),p(1,"*"),_())}function Dn(n,t){if(n&1&&(d(0,"sh-icon",32),p(1,"question"),_()),n&2){let e=s(2).$implicit;m("shTooltip",e.formView.longDescription)}}function yn(n,t){if(n&1){let e=E();d(0,"app-timespan",54),x("ngModelChange",function(i){S(e);let a=s().$implicit,r=s(2);return h(r.updateFieldValue(a.fieldGroup,a.formView.name,i))}),d(1,"label",30),C(2,In,2,0,"sup",62),p(3),C(4,Dn,2,1,"sh-icon",32),_()()}if(n&2){let e=s().$implicit,o=c(1),i=c(2),a=c(4),r=c(5);m("inputType",e.formView.name)("ngModel",i)("customId",r),l(),m("for",r),l(),g(e.formView.isMandatory&&a?2:-1),l(),F(" ",o," "),l(),g(e.formView.longDescription?4:-1)}}function wn(n,t){n&1&&(d(0,"sup",64),p(1,"*"),_())}function An(n,t){if(n&1&&(d(0,"sh-icon",32),p(1,"question"),_()),n&2){let e=s(2).$implicit;m("shTooltip",e.formView.longDescription)}}function On(n,t){if(n&1){let e=E();d(0,"app-file-drop-textarea",63),x("ngModelChange",function(i){S(e);let a=s().$implicit,r=s(2);return h(r.updateFieldValue(a.fieldGroup,a.formView.name,i))}),d(1,"label"),C(2,wn,2,0,"sup",64),p(3),C(4,An,2,1,"sh-icon",32),_()()}if(n&2){let e=s().$implicit,o=c(2),i=c(4),a=c(5);m("ngModel",o)("customId",a)("placeholder",e.formView.longDescription),l(2),g(e.formView.isMandatory&&i?2:-1),l(),F(" ",e.formView.shortDescription??e.formView.name," "),l(),g(e.formView.longDescription?4:-1)}}function vn(n,t){if(n&1){let e=E();d(0,"button",65),x("click",function(){S(e);let i=s().$implicit,a=s(2);return h(a.removeAdvancedOption(i.formView.name))}),d(1,"sh-icon"),p(2,"x-circle"),_()()}}function Fn(n,t){if(n&1&&(d(0,"div",23),b(1)(2)(3)(4)(5),C(6,Ft,6,12,"app-file-tree",24)(7,Lt,6,9,"app-file-tree",25)(8,Xt,16,13,"sh-form-field")(9,Jt,10,9,"sh-form-field")(10,on,2,2)(11,_n,3,2)(12,mn,5,7,"app-size",26)(13,gn,8,6,"sh-form-field")(14,Tn,4,5,"sh-toggle",27)(15,En,2,2)(16,yn,5,7,"app-timespan",26)(17,On,5,6,"app-file-drop-textarea",28),C(18,vn,3,0,"button",29),_()),n&2){let e=t.$implicit;s();let o=c(0),i=s();de("single-field",e.fieldGroup!=="advanced"),l(),A(e.formView.shortDescription??e.formView.name),l(),A(i.getFieldGroup(o,e.fieldGroup)[e.formView.name]),l();let a=A(i.getFieldValue(e.fieldGroup,e.formView.name));l(),A((a??"").toString().trim()===""),l(),A("destination-"+e.fieldGroup+"-"+e.index+"-"+(e.asHttpOptions?"http":"other")),l(),g(e.formView.type==="FileTree"?6:e.formView.type==="FolderTree"?7:e.formView.type==="String"||e.formView.type==="Path"||e.formView.type==="Email"||e.formView.type==="Hostname"||e.formView.type==="Bucketname"?8:e.formView.type==="Password"?9:e.formView.type==="Enumeration"?10:e.formView.type==="NonValidatedSelectableString"?11:e.formView.type==="Size"?12:e.formView.type==="Integer"?13:e.formView.type==="Boolean"?14:e.formView.type==="Flags"?15:e.formView.type==="Timespan"||e.formView.type==="DateTime"?16:e.formView.type==="FreeText"?17:-1),l(12),g(e.fieldGroup==="advanced"?18:-1)}}function Mn(n,t){if(n&1&&(b(0),W(1,St,1,9,"ng-container",null,q),W(3,xt,1,9,"ng-container",null,q),d(5,"sh-toggle-card",8),le(6,9)(7),Ae(8,5),Z(),b(9),C(10,Nt,3,0,"button",10)(11,It,17,2,"div",11),Z(),C(12,Dt,1,3,"textarea",12)(13,At,2,0),_(),R(14,Fn,19,9,"ng-template",null,0,ee)),n&2){let e=s(),o=c(1);A(e.destinationForm()),l(),Q(o.custom),l(2),Q(o.dynamic),l(2),m("disallowToggle",!0),l(4),A(e.nonSelectedAdvancedFormViews()),l(),g(e.showTextArea()?10:11),l(2),g(e.showTextArea()?12:13)}}var st=class n{#e=v(lt);injector=v(we);#t=null;targetUrl=ke.required();destinationType=y(()=>{let t=this.targetUrl();if(!t)return null;let e=H(t.split("://")[0]);return this.#t=e?.customKey??e?.key,this.#t});destinationForm=k({custom:{},dynamic:{},advanced:{}});advancedFormFieldNames=y(()=>Object.keys(this.destinationForm().advanced));destinationFormConfig=k(null);showTextArea=k(!1);nonSelectedAdvancedFormViews=y(()=>{let t=this.destinationFormConfig();if(!t)return[];let e=this.advancedFormFieldNames();return t.advanced.filter(o=>e.findIndex(i=>i===o.name)===-1)});destinationTypeEffect=te(()=>{let t=this.destinationType()??"",e=H(t),o=e?.key,i=this.#e.backendModules().find(I=>I.Key===o)??{Key:t,DisplayName:t,Description:H(t).description,Options:[]};if(!i||!i.Options||!t)return;let a=e&&e.oauthField?e.oauthField:null,r=e&&e.customFields?e.customFields:{},u=e&&e.dynamicFields?e.dynamicFields:[],N=e&&e.advancedFields?e.advancedFields:[],V=e&&e.ignoredAdvancedFields?e.ignoredAdvancedFields:[],O={destinationType:t,oauthField:a,custom:[],dynamic:[],advanced:[]};r&&Object.entries(r).forEach(([I,f],w)=>{let D=f.order??w;O.custom.push(M({order:900+D},f))});for(let I=0;I<i.Options.length;I++){let f=i.Options[I];if(f.Deprecated)continue;let w=u.find(D=>D===f.Name||f.Aliases?.includes(D.name)||D.name===f.Name);if(w){let D=f.Aliases?.indexOf(w.name)??-1,$=f.Aliases&&D>-1?f.Aliases[D]:f.Name,T=w&&typeof w!="string",K=T?w?.defaultValue??f.DefaultValue:f.DefaultValue,Ne=T&&w?.order!==void 0?w.order:I,j={name:$,type:f.Type,shortDescription:f.ShortDescription??void 0,longDescription:f.LongDescription??void 0,options:f.ValidValues,order:900+Ne},Ee=T?M(M({},j),w):j;O.dynamic.push(Ee)}else{let D=f.Name;if(V.find(ie=>ie===D))continue;let T=N.find(ie=>ie===D||ie.name===D),K=T&&typeof T!="string",Ne=K&&T?.order!==void 0?T.order:I,j={name:D,type:f.Type,shortDescription:f.ShortDescription??void 0,longDescription:f.LongDescription??void 0,options:f.ValidValues,defaultValue:f.DefaultValue,order:900+Ne},Ee=K?M(M({},j),T):j;O.advanced.push(Ee)}}O.custom.sort((I,f)=>I.order-f.order),O.dynamic.sort((I,f)=>I.order-f.order),O.advanced.sort((I,f)=>I.order-f.order),this.destinationFormConfig.set(O);let P=this.targetUrl();if(!P)return;let L=Ye(P);L&&this.destinationForm.set({custom:L.custom,dynamic:L.dynamic,advanced:L.advanced})});destinationFormEffect=te(()=>{let t=this.#t,e=this.destinationForm();if(!e||!t)return;let o=Je({destinationType:t,custom:e.custom,dynamic:e.dynamic,advanced:e.advanced});o&&this.targetUrl.set(o)});getFieldValue(t,e){let i=this.destinationForm()[t][e];return i||null}getFormView(t,e){let i=this.destinationFormConfig()?.[t].find(a=>a.name===e);return i||null}getDefaultFormView(t){return{name:t,type:"String",shortDescription:t,longDescription:$localize`This is an undocumented option.`}}getFieldGroup(t,e){return t[e]}hasLeadingSlash(t){return t?.startsWith("/")??!1}addAdvancedOption(t){let e=this.destinationForm();e.advanced[t.name]=t.defaultValue,this.destinationForm.set(M({},e))}isValidBucketname(t){if(!t)return!1;let e=t.length;return!(e<3||e>63||!/^[a-z0-9.-]+$/.test(t)||!/^[a-z0-9]/.test(t)||!/[a-z0-9]$/.test(t)||/^\d{1,3}(\.\d{1,3}){3}$/.test(t)||/(\.\.)|(\.-)|(-\.)/.test(t))}isValidHostname(t){if(!t||t.length>253)return!1;let e=t.split(".");for(let o of e)if(!o||o.length>63||!/^[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])?$/.test(o))return!1;return!0}isTrue(t){if(typeof t=="boolean")return t;if(typeof t=="string"){let e=t.toLowerCase();return e==="true"||e==="1"||e==="yes"||e==="on"}return!1}onKeyDown(t,e,o,i){if(o==="Hostname"||o==="Bucketname"){if(["Backspace","Delete","ArrowLeft","ArrowRight","Tab","Home","End"].includes(i.key))return;if(i.key=="/"||i.key=="\\"||i.key==":"){i.preventDefault();return}}}updateFieldValue(t,e,o){let i=this.destinationForm();i[t][e]=o,this.destinationForm.set(M({},i))}removeAdvancedOption(t){let e=this.destinationForm();delete e.advanced[t],this.destinationForm.set(M({},e))}mapOptions(t){let e=t.loadOptions;if(e)return e(this.injector)();let o=t.options;return o?o.map(i=>({key:i,value:i})):null}mapOptionsWithFreeText(t,e){let o=this.mapOptions(t);return o?(e&&e.length>0&&(o.find(a=>a.value===e)||o.push({key:e,value:e})),o):null}#n=k(!1);oauthStartTokenCreation(t,e,o,i){this.#n.set(!0);let a=this.#e.oauthUrls(),r=this.#e.backupServerOverride(),u=this.#e.serverSettingsOverride(),N=this.destinationForm().advanced["oauth-url"],V=(i??1)==2?a.v2:a.v1;u&&u.length>0&&(V=u),r&&r.length>0&&(V=r),N&&N.length>0&&(V=N);let O=`${V}?type=${t}`,P=450,L=600,I=screen.width/2-P/2,f=screen.height/2-L/2,w=window.open(O,"_blank","height="+L+",width="+P+",menubar=0,status=0,titlebar=0,toolbar=0,left="+I+",top="+f);return window.addEventListener("message",D=>{let $=D.data.startsWith("authid:"),T=$?D.data.replace("authid:",""):null;$&&(this.destinationForm.update(K=>(K[e][o]=T,K)),this.#n.set(!1),w?.close())}),!1}settingsAsText=y(()=>{let t=this.destinationForm().advanced;return Object.entries(t).map(([e,o])=>{let i=e??"",a="";return typeof o=="boolean"?a=this.isTrue(o)?"True":"False":(typeof o=="number"||o!=null)&&(a=o.toString()),`${i}=${a}`}).join(`
7
+ `)});updateSettingsFromText(t){if(typeof t!="string")return;let e=t.split(`
8
+ `).map(i=>i.trim()).filter(i=>i.length>0),o={};for(let i of e){let[a,r]=i.split("=").map(u=>u.trim());a&&a.trim().length>0&&r!==void 0&&(o[a]=r)}this.destinationForm.update(i=>oe(M({},i),{advanced:o}))}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=re({type:n,selectors:[["app-single-destination"]],inputs:{targetUrl:[1,"targetUrl"]},outputs:{targetUrl:"targetUrlChange"},decls:3,vars:3,consts:()=>{let t;t=$localize`Advanced options`;let e;e=$localize` Show editor ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:link${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let o;o=$localize` Add advanced option ${"\uFFFD#4\uFFFD"}:START_TAG_SH_ICON:plus${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_SH_ICON:`;let i;i=$localize`This field is mandatory`;let a;a=$localize`This field is mandatory`;let r;r=$localize`This field is mandatory`;let u;u=$localize`An empty path means storing data in the initial or root folder, which is not recommended`;let N;N=$localize`Hostname is invalid`;let V;V=$localize`Bucket name is invalid`;let O;O=$localize`This field is mandatory`;let P;P=$localize`This field is mandatory`;let L;L=$localize`This field is mandatory`;let I;I=$localize`This field is mandatory`;let f;f=$localize`This field is mandatory`;let w;w=$localize`This field is mandatory`;let D;D=$localize`This field is mandatory`;let $;return $=$localize`This field is mandatory`,[["fieldTemplate",""],["option",""],["enumOptionTemplate",""],["nonValidatedOptionTemplate",""],["optionTemplate",""],t,e,o,[1,"advanced-options",3,"disallowToggle"],["title",""],["shButton","","type","button",1,"outlined","small"],[1,"actions"],["wrap","off","placeholder","Paste advanced options here, one per line.",1,"raw-text-area",3,"ngModel","ngModelOptions"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["shButton","","type","button",1,"outlined","small",3,"click"],[3,"searchable"],["shButton","","type","button",1,"outlined","small",3,"disabled"],["menu",""],["type","button"],["shButton","","type","button",1,"small"],["shButton","","type","button",1,"small",3,"click"],["type","button",3,"click"],["wrap","off","placeholder","Paste advanced options here, one per line.",1,"raw-text-area",3,"ngModelChange","ngModel","ngModelOptions"],[1,"field-row"],[3,"startingPath","accepts","showFiles","hideShortcuts","showHiddenNodes","selectFiles"],[3,"hideShortcuts","enableCreateFolder","startingPath"],[3,"inputType","ngModel","customId"],[1,"primary","raised",3,"active"],[3,"ngModel","customId","placeholder"],["shButton","","type","button",1,"outlined"],[3,"for"],["shTooltip",i],[1,"primary",3,"shTooltip"],["type","text",3,"ngModelChange","id","ngModel"],["shTooltip",a],["shTooltip",r],["shTooltip",u,1,"warn"],["shTooltip",N,1,"error"],["shTooltip",V,1,"warn"],[3,"keydown","ngModelChange","type","id","ngModel"],["prefix","",3,"error","warn","shTooltip"],["prefix",""],["prefix","",3,"shTooltip"],["shTooltip",O],["autocomplete","off",3,"ngModelChange","type","id","ngModel"],["prefix","",1,"link"],["suffix","",1,"clickable"],["prefix","",1,"link",3,"click"],["suffix","",1,"clickable",3,"click"],["label","key","value","value",3,"options","isClearable","optionTemplate"],["shTooltip",P],[1,"indeterminate","primary"],["label","key","value","value",3,"options","asFreeText","inlineSearch","optionTemplate"],["shTooltip",L],[3,"ngModelChange","inputType","ngModel","customId"],["shTooltip",I],["shTooltip",f],["type","number",3,"ngModelChange","id","ngModel"],[1,"primary","raised",3,"click"],["key","key","value","value",1,"primary","raised",3,"options","selectMultiple","optionTemplate"],["shTooltip",w],["type","text","id","text",3,"ngModelChange","ngModel"],["shTooltip",D],[3,"ngModelChange","ngModel","customId","placeholder"],["shTooltip",$],["shButton","","type","button",1,"outlined",3,"click"]]},template:function(e,o){if(e&1&&(b(0)(1),C(2,Mn,16,5)),e&2){let i=A(o.destinationType());l();let a=A(o.destinationFormConfig());l(),g(i&&a?2:-1)}},dependencies:[Te,Ce,Ze,ge,fe,Re,et,it,ot,xe,ze,ue,me,He,Ke,Xe,qe,je,Ue],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.advanced-options[_ngcontent-%COMP%]{position:relative;z-index:1}textarea[_ngcontent-%COMP%] ~ grammarly-extension[_ngcontent-%COMP%]{display:none}sh-select[_ngcontent-%COMP%]{--miw: p2r(120)}[prefix].link[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline;color:var(--primary-8)}.clickable[_ngcontent-%COMP%]{cursor:pointer;color:var(--primary-8)}label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}label[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{font-size:1rem}.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}.actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.raw-text-area[_ngcontent-%COMP%]{min-height:12rem;white-space:pre}"],changeDetection:0})};export{at as a,Se as b,rt as c,lt as d,st as e};
@@ -1,2 +1,2 @@
1
- import{h as P}from"./chunk-J3BBLPAD.js";import"./chunk-FPPZ4BUR.js";import{Db as n,Eb as i,H as p,Oc as x,Ra as s,V as h,Yb as L,_ as r,bb as u,hc as E,lc as a,mc as M,oa as c,ub as f,vb as C,wb as _,xb as v,yb as b}from"./chunk-QDFCX6XE.js";import"./chunk-EUDKD2JW.js";var l=class e{#e=r(P);isLoaded=c(!1);crashLog=c(null);load(){this.isLoaded()||this.#e.getApiV1LogdataCrashlog().pipe(p(()=>this.isLoaded.set(!0))).subscribe({next:t=>{this.crashLog.set(t.Logdata??null)}})}static \u0275fac=function(o){return new(o||e)};static \u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"})};function O(e,t){e&1&&(n(0,"div",0),a(1,"Loading ..."),i())}function S(e,t){e&1&&(n(0,"div",0),a(1,"No crash log found"),i())}function w(e,t){if(e&1&&(n(0,"li"),a(1),i()),e&2){let o=t.$implicit;s(),M(o)}}function D(e,t){if(e&1&&(n(0,"div",2)(1,"code")(2,"ol",3),v(3,w,2,1,"li",null,_),i()()()),e&2){let o=L();E("grid-column","1 / -1")("height","auto"),s(3),b(o.breakIntoLines(o.crashLog()))}}var m=class e{#e=r(l);logsLoading=x(()=>!this.#e.isLoaded());crashLog=this.#e.crashLog;ngOnInit(){this.#e.load()}breakIntoLines(t){return t?t.split(`
1
+ import{h as P}from"./chunk-NOPMCS2Z.js";import"./chunk-FPPZ4BUR.js";import{Db as n,Eb as i,H as p,Oc as x,Ra as s,V as h,Yb as L,_ as r,bb as u,hc as E,lc as a,mc as M,oa as c,ub as f,vb as C,wb as _,xb as v,yb as b}from"./chunk-HNWRQABR.js";import"./chunk-EUDKD2JW.js";var l=class e{#e=r(P);isLoaded=c(!1);crashLog=c(null);load(){this.isLoaded()||this.#e.getApiV1LogdataCrashlog().pipe(p(()=>this.isLoaded.set(!0))).subscribe({next:t=>{this.crashLog.set(t.Logdata??null)}})}static \u0275fac=function(o){return new(o||e)};static \u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"})};function O(e,t){e&1&&(n(0,"div",0),a(1,"Loading ..."),i())}function S(e,t){e&1&&(n(0,"div",0),a(1,"No crash log found"),i())}function w(e,t){if(e&1&&(n(0,"li"),a(1),i()),e&2){let o=t.$implicit;s(),M(o)}}function D(e,t){if(e&1&&(n(0,"div",2)(1,"code")(2,"ol",3),v(3,w,2,1,"li",null,_),i()()()),e&2){let o=L();E("grid-column","1 / -1")("height","auto"),s(3),b(o.breakIntoLines(o.crashLog()))}}var m=class e{#e=r(l);logsLoading=x(()=>!this.#e.isLoaded());crashLog=this.#e.crashLog;ngOnInit(){this.#e.load()}breakIntoLines(t){return t?t.split(`
2
2
  `):[]}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=u({type:e,selectors:[["app-crashlogs"]],decls:5,vars:1,consts:[[1,"loading"],[2,"white-space","pre-wrap",3,"grid-column","height"],[2,"white-space","pre-wrap"],[1,"line-numbers-ol"]],template:function(o,d){if(o&1&&(n(0,"h3"),a(1,"Crash log"),i(),f(2,O,2,0,"div",0)(3,S,2,0,"div",0)(4,D,5,4,"div",1)),o&2){let g;s(2),C(d.logsLoading()?2:d.crashLog()==null||((g=d.crashLog())==null?null:g.length)===0?3:4)}},styles:["[_nghost-%COMP%]{display:block}h3[_ngcontent-%COMP%]{font:var(--title-30);margin:0 0 1.25rem}sh-table[_ngcontent-%COMP%]{--table-columns: auto auto 1fr auto}sh-table[_ngcontent-%COMP%] td.id[_ngcontent-%COMP%]{justify-content:center}sh-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:has(code){padding:1rem .75rem;overflow:hidden}sh-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:has(code) code[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--base-8),#000 70%);color:#fff;padding:2.5rem 2.5rem 2.5rem 1.5rem;border-radius:var(--shape-3);overflow:auto;white-space:pre}"],changeDetection:0})};export{m as default};
@@ -0,0 +1 @@
1
+ import{a,b}from"./chunk-PN3U7MRX.js";import"./chunk-L6CWVBZ6.js";import"./chunk-OMMUXRXE.js";import"./chunk-N6ABN43N.js";import"./chunk-DDWLL7XA.js";import"./chunk-O64ZZGQZ.js";import"./chunk-UIJYCGKA.js";import"./chunk-DELLEGXW.js";import"./chunk-VTSUHAP5.js";import"./chunk-UP5EOICU.js";import"./chunk-N5SC4SKW.js";import"./chunk-UKQFDBNO.js";import"./chunk-LVP2TPMO.js";import"./chunk-43JMN2ZY.js";import"./chunk-H7K35UUX.js";import"./chunk-NOPMCS2Z.js";import"./chunk-RUXCS4ZK.js";import"./chunk-FPPZ4BUR.js";import"./chunk-HNWRQABR.js";import"./chunk-EUDKD2JW.js";export{a as createRestoreOptionsForm,b as default};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-62QANGOE.js";import"./chunk-ESUPNSKH.js";import"./chunk-H7K35UUX.js";import"./chunk-NOPMCS2Z.js";import"./chunk-RUXCS4ZK.js";import"./chunk-FPPZ4BUR.js";import"./chunk-HNWRQABR.js";import"./chunk-EUDKD2JW.js";export{a as default};
@@ -1 +1 @@
1
- import{$a as rt,$c as ve,Aa as Qe,Ba as _e,Da as et,Kc as x,Lb as ut,Lc as ft,Mb as y,Nb as ct,Nc as be,Ob as dt,Pb as l,S as F,Sa as tt,T as Se,Ta as V,V as S,Va as Y,W as Ke,Wa as u,Xa as k,Y as P,Ya as nt,Yc as ht,Z as T,Za as it,Zc as se,_,_c as gt,bd as K,cb as ot,cd as Ie,db as b,eb as v,hc as lt,i as Ye,ia as Xe,ja as j,ma as qe,nb as st,ob as at,ra as Z,ta as Je,ua as W}from"./chunk-QDFCX6XE.js";import{a as re,b as oe}from"./chunk-EUDKD2JW.js";var mt=null;function ae(){return mt}function an(e){mt??=e}var Le=class{},X=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>_(Ct),providedIn:"platform"})}return e})(),un=new P(""),Ct=(()=>{class e extends X{_location;_history;_doc=_(j);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ae().getBaseHref(this._doc)}onPopState(t){let n=ae().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=ae().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",t,!1),()=>n.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,n,r){this._history.pushState(t,n,r)}replaceState(t,n,r){this._history.replaceState(t,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function ue(e,i){return e?i?e.endsWith("/")?i.startsWith("/")?e+i.slice(1):e+i:i.startsWith("/")?e+i:`${e}/${i}`:e:i}function Dt(e){let i=e.search(/#|\?|$/);return e[i-1]==="/"?e.slice(0,i-1)+e.slice(i):e}function O(e){return e&&e[0]!=="?"?`?${e}`:e}var G=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>_(yt),providedIn:"root"})}return e})(),ce=new P(""),yt=(()=>{class e extends G{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??_(j).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return ue(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+O(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${n}${r}`:n}pushState(t,n,r,o){let s=this.prepareExternalUrl(r+O(o));this._platformLocation.pushState(t,n,s)}replaceState(t,n,r,o){let s=this.prepareExternalUrl(r+O(o));this._platformLocation.replaceState(t,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(T(X),T(ce,8))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ft=(()=>{class e{_subject=new Ye;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=ln(Dt(pt(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+O(n))}normalize(t){return e.stripTrailingSlash(dn(this._basePath,pt(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",r=null){this._locationStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+O(n)),r)}replaceState(t,n="",r=null){this._locationStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+O(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(r=>r(t,n))}subscribe(t,n,r){return this._subject.subscribe({next:t,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=O;static joinWithSlash=ue;static stripTrailingSlash=Dt;static \u0275fac=function(n){return new(n||e)(T(G))};static \u0275prov=S({token:e,factory:()=>cn(),providedIn:"root"})}return e})();function cn(){return new Ft(T(G))}function dn(e,i){if(!e||!i.startsWith(e))return i;let t=i.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:i}function pt(e){return e.replace(/\/index.html$/,"")}function ln(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var fn=(()=>{class e extends G{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=ue(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,r,o){let s=this.prepareExternalUrl(r+O(o))||this._platformLocation.pathname;this._platformLocation.pushState(t,n,s)}replaceState(t,n,r,o){let s=this.prepareExternalUrl(r+O(o))||this._platformLocation.pathname;this._platformLocation.replaceState(t,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(T(X),T(ce,8))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Lt={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},ne=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(ne||{}),U=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}(U||{}),w=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(w||{}),d=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(d||{}),I=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(I||{}),m={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13},Mt=function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e}(Mt||{});function Tt(e){return y(e)[l.LocaleId]}function Ot(e,i,t){let n=y(e),r=[n[l.DayPeriodsFormat],n[l.DayPeriodsStandalone]],o=M(r,i);return M(o,t)}function Rt(e,i,t){let n=y(e),r=[n[l.DaysFormat],n[l.DaysStandalone]],o=M(r,i);return M(o,t)}function Bt(e,i,t){let n=y(e),r=[n[l.MonthsFormat],n[l.MonthsStandalone]],o=M(r,i);return M(o,t)}function Pt(e,i){let n=y(e)[l.Eras];return M(n,i)}function hn(e){return y(e)[l.FirstDayOfWeek]}function gn(e){return y(e)[l.WeekendRange]}function q(e,i){let t=y(e);return M(t[l.DateFormat],i)}function J(e,i){let t=y(e);return M(t[l.TimeFormat],i)}function Q(e,i){let n=y(e)[l.DateTimeFormat];return M(n,i)}function L(e,i){let t=y(e),n=t[l.NumberSymbols][i];if(typeof n>"u"){if(i===m.CurrencyDecimal)return t[l.NumberSymbols][m.Decimal];if(i===m.CurrencyGroup)return t[l.NumberSymbols][m.Group]}return n}function ye(e,i){return y(e)[l.NumberFormats][i]}function Dn(e){return y(e)[l.CurrencySymbol]||null}function pn(e){return y(e)[l.CurrencyName]||null}function mn(e){return ct(e)}function Cn(e){return y(e)[l.Currencies]}var Nt=dt;function kt(e){if(!e[l.ExtraData])throw new F(2303,!1)}function $t(e){let i=y(e);return kt(i),(i[l.ExtraData][2]||[]).map(n=>typeof n=="string"?Te(n):[Te(n[0]),Te(n[1])])}function xt(e,i,t){let n=y(e);kt(n);let r=[n[l.ExtraData][0],n[l.ExtraData][1]],o=M(r,i)||[];return M(o,t)||[]}function yn(e){return y(e)[l.Directionality]}function M(e,i){for(let t=i;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new F(2304,!1)}function Te(e){let[i,t]=e.split(":");return{hours:+i,minutes:+t}}function Ut(e,i,t="en"){let n=Cn(t)[e]||Lt[e]||[],r=n[1];return i==="narrow"&&typeof r=="string"?r:n[0]||e}var Fn=2;function zt(e){let i,t=Lt[e];return t&&(i=t[2]),typeof i=="number"?i:Fn}var En=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,de={},wn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function jt(e,i,t,n){let r=Tn(e);i=N(t,i)||i;let s=[],a;for(;i;)if(a=wn.exec(i),a){s=s.concat(a.slice(1));let g=s.pop();if(!g)break;i=g}else{s.push(i);break}let D=r.getTimezoneOffset();n&&(D=Gt(n,D),r=Mn(r,n));let h="";return s.forEach(g=>{let c=In(g);h+=c?c(r,t,D):g==="''"?"'":g.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}function De(e,i,t){let n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function N(e,i){let t=Tt(e);if(de[t]??={},de[t][i])return de[t][i];let n="";switch(i){case"shortDate":n=q(e,I.Short);break;case"mediumDate":n=q(e,I.Medium);break;case"longDate":n=q(e,I.Long);break;case"fullDate":n=q(e,I.Full);break;case"shortTime":n=J(e,I.Short);break;case"mediumTime":n=J(e,I.Medium);break;case"longTime":n=J(e,I.Long);break;case"fullTime":n=J(e,I.Full);break;case"short":let r=N(e,"shortTime"),o=N(e,"shortDate");n=le(Q(e,I.Short),[r,o]);break;case"medium":let s=N(e,"mediumTime"),a=N(e,"mediumDate");n=le(Q(e,I.Medium),[s,a]);break;case"long":let D=N(e,"longTime"),h=N(e,"longDate");n=le(Q(e,I.Long),[D,h]);break;case"full":let g=N(e,"fullTime"),c=N(e,"fullDate");n=le(Q(e,I.Full),[g,c]);break}return n&&(de[t][i]=n),n}function le(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return i!=null&&n in i?i[n]:t})),e}function R(e,i,t="-",n,r){let o="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,o=t));let s=String(e);for(;s.length<i;)s="0"+s;return n&&(s=s.slice(s.length-i)),o+s}function An(e,i){return R(e,3).substring(0,i)}function C(e,i,t=0,n=!1,r=!1){return function(o,s){let a=Sn(e,o);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return An(a,i);let D=L(s,m.MinusSign);return R(a,i,D,n,r)}}function Sn(e,i){switch(e){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new F(2301,!1)}}function f(e,i,t=w.Format,n=!1){return function(r,o){return _n(r,o,e,i,t,n)}}function _n(e,i,t,n,r,o){switch(t){case 2:return Bt(i,r,n)[e.getMonth()];case 1:return Rt(i,r,n)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(o){let h=$t(i),g=xt(i,r,n),c=h.findIndex(E=>{if(Array.isArray(E)){let[p,A]=E,H=s>=p.hours&&a>=p.minutes,$=s<A.hours||s===A.hours&&a<A.minutes;if(p.hours<A.hours){if(H&&$)return!0}else if(H||$)return!0}else if(E.hours===s&&E.minutes===a)return!0;return!1});if(c!==-1)return g[c]}return Ot(i,r,n)[s<12?0:1];case 3:return Pt(i,n)[e.getFullYear()<=0?0:1];default:let D=t;throw new F(2302,!1)}}function fe(e){return function(i,t,n){let r=-1*n,o=L(t,m.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+R(s,2,o)+R(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+R(s,1,o);case 2:return"GMT"+(r>=0?"+":"")+R(s,2,o)+":"+R(Math.abs(r%60),2,o);case 3:return n===0?"Z":(r>=0?"+":"")+R(s,2,o)+":"+R(Math.abs(r%60),2,o);default:throw new F(2302,!1)}}}var bn=0,ge=4;function vn(e){let i=De(e,bn,1).getDay();return De(e,0,1+(i<=ge?ge:ge+7)-i)}function Vt(e){let i=e.getDay(),t=i===0?-3:ge-i;return De(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Oe(e,i=!1){return function(t,n){let r;if(i){let o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();r=1+Math.floor((s+o)/7)}else{let o=Vt(t),s=vn(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return R(r,e,L(n,m.MinusSign))}}function he(e,i=!1){return function(t,n){let o=Vt(t).getFullYear();return R(o,e,L(n,m.MinusSign),i)}}var Re={};function In(e){if(Re[e])return Re[e];let i;switch(e){case"G":case"GG":case"GGG":i=f(3,d.Abbreviated);break;case"GGGG":i=f(3,d.Wide);break;case"GGGGG":i=f(3,d.Narrow);break;case"y":i=C(0,1,0,!1,!0);break;case"yy":i=C(0,2,0,!0,!0);break;case"yyy":i=C(0,3,0,!1,!0);break;case"yyyy":i=C(0,4,0,!1,!0);break;case"Y":i=he(1);break;case"YY":i=he(2,!0);break;case"YYY":i=he(3);break;case"YYYY":i=he(4);break;case"M":case"L":i=C(1,1,1);break;case"MM":case"LL":i=C(1,2,1);break;case"MMM":i=f(2,d.Abbreviated);break;case"MMMM":i=f(2,d.Wide);break;case"MMMMM":i=f(2,d.Narrow);break;case"LLL":i=f(2,d.Abbreviated,w.Standalone);break;case"LLLL":i=f(2,d.Wide,w.Standalone);break;case"LLLLL":i=f(2,d.Narrow,w.Standalone);break;case"w":i=Oe(1);break;case"ww":i=Oe(2);break;case"W":i=Oe(1,!0);break;case"d":i=C(2,1);break;case"dd":i=C(2,2);break;case"c":case"cc":i=C(7,1);break;case"ccc":i=f(1,d.Abbreviated,w.Standalone);break;case"cccc":i=f(1,d.Wide,w.Standalone);break;case"ccccc":i=f(1,d.Narrow,w.Standalone);break;case"cccccc":i=f(1,d.Short,w.Standalone);break;case"E":case"EE":case"EEE":i=f(1,d.Abbreviated);break;case"EEEE":i=f(1,d.Wide);break;case"EEEEE":i=f(1,d.Narrow);break;case"EEEEEE":i=f(1,d.Short);break;case"a":case"aa":case"aaa":i=f(0,d.Abbreviated);break;case"aaaa":i=f(0,d.Wide);break;case"aaaaa":i=f(0,d.Narrow);break;case"b":case"bb":case"bbb":i=f(0,d.Abbreviated,w.Standalone,!0);break;case"bbbb":i=f(0,d.Wide,w.Standalone,!0);break;case"bbbbb":i=f(0,d.Narrow,w.Standalone,!0);break;case"B":case"BB":case"BBB":i=f(0,d.Abbreviated,w.Format,!0);break;case"BBBB":i=f(0,d.Wide,w.Format,!0);break;case"BBBBB":i=f(0,d.Narrow,w.Format,!0);break;case"h":i=C(3,1,-12);break;case"hh":i=C(3,2,-12);break;case"H":i=C(3,1);break;case"HH":i=C(3,2);break;case"m":i=C(4,1);break;case"mm":i=C(4,2);break;case"s":i=C(5,1);break;case"ss":i=C(5,2);break;case"S":i=C(6,1);break;case"SS":i=C(6,2);break;case"SSS":i=C(6,3);break;case"Z":case"ZZ":case"ZZZ":i=fe(0);break;case"ZZZZZ":i=fe(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=fe(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=fe(2);break;default:return null}return Re[e]=i,i}function Gt(e,i){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function Ln(e,i){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+i),e}function Mn(e,i,t){let r=e.getTimezoneOffset(),o=Gt(i,r);return Ln(e,-1*(o-r))}function Tn(e){if(Et(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[r,o=1,s=1]=e.split("-").map(a=>+a);return De(r,o-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(En))return On(n)}let i=new Date(e);if(!Et(i))throw new F(2302,!1);return i}function On(e){let i=new Date(0),t=0,n=0,r=e[8]?i.setUTCFullYear:i.setFullYear,o=e[8]?i.setUTCHours:i.setHours;e[9]&&(t=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(i,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-n,D=Number(e[6]||0),h=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return o.call(i,s,a,D,h),i}function Et(e){return e instanceof Date&&!isNaN(e.valueOf())}var Rn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,wt=22,pe=".",ee="0",Bn=";",Pn=",",Be="#",At="\xA4",Nn="%";function xe(e,i,t,n,r,o,s=!1){let a="",D=!1;if(!isFinite(e))a=L(t,m.Infinity);else{let h=$n(e);s&&(h=kn(h));let g=i.minInt,c=i.minFrac,E=i.maxFrac;if(o){let z=o.match(Rn);if(z===null)throw new F(2306,!1);let Ze=z[1],Ae=z[3],We=z[5];Ze!=null&&(g=Pe(Ze)),Ae!=null&&(c=Pe(Ae)),We!=null?E=Pe(We):Ae!=null&&c>E&&(E=c)}xn(h,c,E);let p=h.digits,A=h.integerLen,H=h.exponent,$=[];for(D=p.every(z=>!z);A<g;A++)p.unshift(0);for(;A<0;A++)p.unshift(0);A>0?$=p.splice(A,p.length):($=p,p=[0]);let ie=[];for(p.length>=i.lgSize&&ie.unshift(p.splice(-i.lgSize,p.length).join(""));p.length>i.gSize;)ie.unshift(p.splice(-i.gSize,p.length).join(""));p.length&&ie.unshift(p.join("")),a=ie.join(L(t,n)),$.length&&(a+=L(t,r)+$.join("")),H&&(a+=L(t,m.Exponential)+"+"+H)}return e<0&&!D?a=i.negPre+a+i.negSuf:a=i.posPre+a+i.posSuf,a}function Ht(e,i,t,n,r){let o=ye(i,ne.Currency),s=Ue(o,L(i,m.MinusSign));return s.minFrac=zt(n),s.maxFrac=s.minFrac,xe(e,s,i,m.CurrencyGroup,m.CurrencyDecimal,r).replace(At,t).replace(At,"").trim()}function Zt(e,i,t){let n=ye(i,ne.Percent),r=Ue(n,L(i,m.MinusSign));return xe(e,r,i,m.Group,m.Decimal,t,!0).replace(new RegExp(Nn,"g"),L(i,m.PercentSign))}function Wt(e,i,t){let n=ye(i,ne.Decimal),r=Ue(n,L(i,m.MinusSign));return xe(e,r,i,m.Group,m.Decimal,t)}function Ue(e,i="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(Bn),r=n[0],o=n[1],s=r.indexOf(pe)!==-1?r.split(pe):[r.substring(0,r.lastIndexOf(ee)+1),r.substring(r.lastIndexOf(ee)+1)],a=s[0],D=s[1]||"";t.posPre=a.substring(0,a.indexOf(Be));for(let g=0;g<D.length;g++){let c=D.charAt(g);c===ee?t.minFrac=t.maxFrac=g+1:c===Be?t.maxFrac=g+1:t.posSuf+=c}let h=a.split(Pn);if(t.gSize=h[1]?h[1].length:0,t.lgSize=h[2]||h[1]?(h[2]||h[1]).length:0,o){let g=r.length-t.posPre.length-t.posSuf.length,c=o.indexOf(Be);t.negPre=o.substring(0,c).replace(/'/g,""),t.negSuf=o.slice(c+g).replace(/'/g,"")}else t.negPre=i+t.posPre,t.negSuf=t.posSuf;return t}function kn(e){if(e.digits[0]===0)return e;let i=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(i===0?e.digits.push(0,0):i===1&&e.digits.push(0),e.integerLen+=2),e}function $n(e){let i=Math.abs(e)+"",t=0,n,r,o,s,a;for((r=i.indexOf(pe))>-1&&(i=i.replace(pe,"")),(o=i.search(/e/i))>0?(r<0&&(r=o),r+=+i.slice(o+1),i=i.substring(0,o)):r<0&&(r=i.length),o=0;i.charAt(o)===ee;o++);if(o===(a=i.length))n=[0],r=1;else{for(a--;i.charAt(a)===ee;)a--;for(r-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(i.charAt(o))}return r>wt&&(n=n.splice(0,wt-1),t=r-1,r=1),{digits:n,exponent:t,integerLen:r}}function xn(e,i,t){if(i>t)throw new F(2307,!1);let n=e.digits,r=n.length-e.integerLen,o=Math.min(Math.max(i,r),t),s=o+e.integerLen,a=n[s];if(s>0){n.splice(Math.max(e.integerLen,s));for(let c=s;c<n.length;c++)n[c]=0}else{r=Math.max(0,r),e.integerLen=1,n.length=Math.max(1,s=o+1),n[0]=0;for(let c=1;c<s;c++)n[c]=0}if(a>=5)if(s-1<0){for(let c=0;c>s;c--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[s-1]++;for(;r<Math.max(0,o);r++)n.push(0);let D=o!==0,h=i+e.integerLen,g=n.reduceRight(function(c,E,p,A){return E=E+c,A[p]=E<10?E:E-10,D&&(A[p]===0&&p>=h?A.pop():D=!1),E>=10?1:0},0);g&&(n.unshift(g),e.integerLen++)}function Pe(e){let i=parseInt(e);if(isNaN(i))throw new F(2305,!1);return i}var Fe=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:function(n){let r=null;return n?r=new n:r=(o=>new Kt(o))(T(x)),r},providedIn:"root"})}return e})();function Yt(e,i,t,n){let r=`=${e}`;if(i.indexOf(r)>-1||(r=t.getPluralCategory(e,n),i.indexOf(r)>-1))return r;if(i.indexOf("other")>-1)return"other";throw new F(2308,!1)}var Kt=(()=>{class e extends Fe{locale;constructor(t){super(),this.locale=t}getPluralCategory(t,n){switch(Nt(n||this.locale)(t)){case U.Zero:return"zero";case U.One:return"one";case U.Two:return"two";case U.Few:return"few";case U.Many:return"many";default:return"other"}}static \u0275fac=function(n){return new(n||e)(T(x))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Ne=/\s+/,St=[],Un=(()=>{class e{_ngEl;_renderer;initialClasses=St;rawClass;stateMap=new Map;constructor(t,n){this._ngEl=t,this._renderer=n}set klass(t){this.initialClasses=t!=null?t.trim().split(Ne):St}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Ne):t}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,!0);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff()}_updateState(t,n){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(t,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],r=t[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(t,n){t=t.trim(),t.length>0&&t.split(Ne).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||e)(u(W),u(Y))};static \u0275dir=b({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),zn=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||t.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=rt(this.ngComponentOutletNgModule,_t(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(_t(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[n,r]of this._inputsUsed)r?(t.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(t.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||e)(u(k))};static \u0275dir=b({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[Z]})}return e})();function _t(e){return e.get(it).injector}var me=class{$implicit;ngForOf;index;count;constructor(i,t,n,r){this.$implicit=i,this.ngForOf=t,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Xt=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,n,r){this._viewContainer=t,this._template=n,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let n=this._viewContainer;t.forEachOperation((r,o,s)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new me(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)n.remove(o===null?void 0:o);else if(o!==null){let a=n.get(o);n.move(a,s),bt(a,r)}});for(let r=0,o=n.length;r<o;r++){let a=n.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{let o=n.get(r.currentIndex);bt(o,r)})}static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(u(k),u(V),u(gt))};static \u0275dir=b({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function bt(e,i){e.context.$implicit=i.item}var jn=(()=>{class e{_viewContainer;_context=new Ce;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,n){this._viewContainer=t,this._thenTemplateRef=n}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){vt(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){vt(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(u(k),u(V))};static \u0275dir=b({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Ce=class{$implicit=null;ngIf=null};function vt(e,i){if(e&&!e.createEmbeddedView)throw new F(2020,!1)}var te=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,t){this._viewContainerRef=i,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},ze=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){let n=t===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let n of this._defaultViews)n.enforceState(t)}}static \u0275fac=function(n){return new(n||e)};static \u0275dir=b({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),Vn=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(t,n,r){this.ngSwitch=r,r._addCase(),this._view=new te(t,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||e)(u(k),u(V),u(ze,9))};static \u0275dir=b({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),Gn=(()=>{class e{constructor(t,n,r){r._addDefault(new te(t,n))}static \u0275fac=function(n){return new(n||e)(u(k),u(V),u(ze,9))};static \u0275dir=b({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})();var qt=(()=>{class e{_localization;_activeView;_caseViews={};constructor(t){this._localization=t}set ngPlural(t){this._updateView(t)}addCase(t,n){this._caseViews[t]=n}_updateView(t){this._clearViews();let n=Object.keys(this._caseViews),r=Yt(t,n,this._localization);this._activateView(this._caseViews[r])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(t){t&&(this._activeView=t,this._activeView.create())}static \u0275fac=function(n){return new(n||e)(u(Fe))};static \u0275dir=b({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}})}return e})(),Hn=(()=>{class e{value;constructor(t,n,r,o){this.value=t;let s=!isNaN(Number(t));o.addCase(s?`=${t}`:t,new te(r,n))}static \u0275fac=function(n){return new(n||e)(Je("ngPluralCase"),u(V),u(k),u(qt,1))};static \u0275dir=b({type:e,selectors:[["","ngPluralCase",""]]})}return e})(),Zn=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,n,r){this._ngEl=t,this._differs=n,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,n){let[r,o]=t.split("."),s=r.indexOf("-")===-1?void 0:tt.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${n}${o}`:n,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||e)(u(W),u(ve),u(Y))};static \u0275dir=b({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Wn=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(t,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||e)(u(k))};static \u0275dir=b({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Z]})}return e})();function B(e,i){return new F(2100,!1)}var ke=class{createSubscription(i,t,n){return be(()=>i.subscribe({next:t,error:n}))}dispose(i){be(()=>i.unsubscribe())}},$e=class{createSubscription(i,t,n){return i.then(r=>t?.(r),r=>n?.(r)),{unsubscribe:()=>{t=null,n=null}}}dispose(i){i.unsubscribe()}},Yn=new $e,Kn=new ke,Xn=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=_(qe);constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,n=>this._updateLatestValue(t,n),n=>this.applicationErrorHandler(n))}_selectStrategy(t){if(st(t))return Yn;if(at(t))return Kn;throw B(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,n){t===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||e)(u(se,16))};static \u0275pipe=v({name:"async",type:e,pure:!1})}return e})(),qn=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw B(e,t);return t.toLowerCase()}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"lowercase",type:e,pure:!0})}return e})(),Jn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,Qn=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw B(e,t);return t.replace(Jn,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"titlecase",type:e,pure:!0})}return e})(),ei=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw B(e,t);return t.toUpperCase()}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"uppercase",type:e,pure:!0})}return e})(),ti="mediumDate",Jt=new P(""),Qt=new P(""),ni=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,n,r){this.locale=t,this.defaultTimezone=n,this.defaultOptions=r}transform(t,n,r,o){if(t==null||t===""||t!==t)return null;try{let s=n??this.defaultOptions?.dateFormat??ti,a=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return jt(t,s,o||this.locale,a)}catch(s){throw B(e,s.message)}}static \u0275fac=function(n){return new(n||e)(u(x,16),u(Jt,24),u(Qt,24))};static \u0275pipe=v({name:"date",type:e,pure:!0})}return e})(),ii=/#/g,ri=(()=>{class e{_localization;constructor(t){this._localization=t}transform(t,n,r){if(t==null)return"";if(typeof n!="object"||n===null)throw B(e,n);let o=Yt(t,Object.keys(n),this._localization,r);return n[o].replace(ii,t.toString())}static \u0275fac=function(n){return new(n||e)(u(Fe,16))};static \u0275pipe=v({name:"i18nPlural",type:e,pure:!0})}return e})(),oi=(()=>{class e{transform(t,n){if(t==null)return"";if(typeof n!="object"||typeof t!="string")throw B(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"i18nSelect",type:e,pure:!0})}return e})(),si=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"json",type:e,pure:!1})}return e})();function ai(e,i){return{key:e,value:i}}var ui=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=It;transform(t,n=It){if(!t||!(t instanceof Map)&&typeof t!="object")return null;this.differ??=this.differs.find(t).create();let r=this.differ.diff(t),o=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(s=>{this.keyValues.push(ai(s.key,s.currentValue))})),(r||o)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||e)(u(ve,16))};static \u0275pipe=v({name:"keyvalue",type:e,pure:!1})}return e})();function It(e,i){let t=e.key,n=i.key;if(t===n)return 0;if(t==null)return 1;if(n==null)return-1;if(typeof t=="string"&&typeof n=="string")return t<n?-1:1;if(typeof t=="number"&&typeof n=="number")return t-n;if(typeof t=="boolean"&&typeof n=="boolean")return t<n?-1:1;let r=String(t),o=String(n);return r==o?0:r<o?-1:1}var ci=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!je(t))return null;r||=this._locale;try{let o=Ve(t);return Wt(o,r,n)}catch(o){throw B(e,o.message)}}static \u0275fac=function(n){return new(n||e)(u(x,16))};static \u0275pipe=v({name:"number",type:e,pure:!0})}return e})(),di=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!je(t))return null;r||=this._locale;try{let o=Ve(t);return Zt(o,r,n)}catch(o){throw B(e,o.message)}}static \u0275fac=function(n){return new(n||e)(u(x,16))};static \u0275pipe=v({name:"percent",type:e,pure:!0})}return e})(),li=(()=>{class e{_locale;_defaultCurrencyCode;constructor(t,n="USD"){this._locale=t,this._defaultCurrencyCode=n}transform(t,n=this._defaultCurrencyCode,r="symbol",o,s){if(!je(t))return null;s||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let a=n||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?a=Ut(a,r==="symbol"?"wide":"narrow",s):a=r);try{let D=Ve(t);return Ht(D,s,a,n,o)}catch(D){throw B(e,D.message)}}static \u0275fac=function(n){return new(n||e)(u(x,16),u(ft,16))};static \u0275pipe=v({name:"currency",type:e,pure:!0})}return e})();function je(e){return!(e==null||e===""||e!==e)}function Ve(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new F(2309,!1);return e}var fi=(()=>{class e{transform(t,n,r){if(t==null)return null;if(!(typeof t=="string"||Array.isArray(t)))throw B(e,t);return t.slice(n,r)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"slice",type:e,pure:!1})}return e})();var hi=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ot({type:e});static \u0275inj=Ke({})}return e})();var gi=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>window.navigation,providedIn:"platform"})}return e})();function dr(e,i,t){return ut(e,i,t)}var Di="browser",pi="server";function lr(e){return e===Di}function fr(e){return e===pi}var hr=new ht("20.1.4"),gr=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>new Ge(_(j),window)})}return e})(),Ge=class{document;window;offset=()=>[0,0];constructor(i,t){this.document=i,this.window=t}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i,t){this.window.scrollTo(oe(re({},t),{left:i[0],top:i[1]}))}scrollToAnchor(i,t){let n=mi(this.document,i);n&&(this.scrollToElement(n,t),n.focus())}setHistoryScrollRestoration(i){try{this.window.history.scrollRestoration=i}catch{console.warn(Se(2400,!1))}}scrollToElement(i,t){let n=i.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(oe(re({},t),{left:r-s[0],top:o-s[1]}))}};function mi(e,i){let t=e.getElementById(i)||e.getElementsByName(i)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(i)||o.querySelector(`[name="${i}"]`);if(s)return s}r=n.nextNode()}}return null}var en=class{setOffset(i){}getScrollPosition(){return[0,0]}scrollToPosition(i){}scrollToAnchor(i){}setHistoryScrollRestoration(i){}},Ee="20";function rn(e){return/^https?:\/\//.test(e)}function on(e){if(!(typeof e=="string")||e.trim()==="")return!1;try{let t=new URL(e);return!0}catch{return!1}}function Ci(e){return e.endsWith("/")?e.slice(0,-1):e}function yi(e){return e.startsWith("/")?e.slice(1):e}var sn=e=>e.src,He=new P("",{providedIn:"root",factory:()=>sn});function we(e,i){return function(n){return on(n)||Fi(n,i||[]),n=Ci(n),[{provide:He,useValue:s=>(rn(s.src)&&Ei(n,s.src),e(n,oe(re({},s),{src:yi(s.src)})))}]}}function Fi(e,i){throw new F(2959,!1)}function Ei(e,i){throw new F(2959,!1)}var Dr=we(wi,void 0);function wi(e,i){let t="format=auto";return i.width&&(t+=`,width=${i.width}`),i.isPlaceholder&&(t+=`,quality=${Ee}`),`${e}/cdn-cgi/image/${t}/${i.src}`}var pr=we(Ai,void 0);function Ai(e,i){let n=`f_auto,${i.isPlaceholder?"q_auto:low":"q_auto"}`;return i.width&&(n+=`,w_${i.width}`),i.loaderParams?.rounded&&(n+=",r_max"),`${e}/image/upload/${n}/${i.src}`}var mr=we(Si,void 0);function Si(e,i){let{src:t,width:n}=i,r=[];n&&r.push(`w-${n}`),i.isPlaceholder&&r.push(`q-${Ee}`);let o=r.length?[e,`tr:${r.join(",")}`,t]:[e,t];return new URL(o.join("/")).href}var Cr=we(_i,void 0);function _i(e,i){let t=new URL(`${e}/${i.src}`);return t.searchParams.set("auto","format"),i.width&&t.searchParams.set("w",i.width.toString()),i.isPlaceholder&&t.searchParams.set("q",Ee),t.href}function yr(e){if(e&&!on(e))throw new F(2959,!1);return e&&(e=new URL(e).origin),[{provide:He,useValue:n=>bi(n,e)}]}var tn=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]);function bi(e,i){let t=new URL(i??"https://a/");t.pathname="/.netlify/images",!rn(e.src)&&!e.src.startsWith("/")&&(e.src="/"+e.src),t.searchParams.set("url",e.src),e.width&&t.searchParams.set("w",e.width.toString());let n=e.loaderParams?.quality??e.loaderParams?.q;e.isPlaceholder&&!n&&t.searchParams.set("q",Ee);for(let[r,o]of Object.entries(e.loaderParams??{}))tn.has(r)&&t.searchParams.set(tn.get(r),o.toString());return t.hostname==="a"?t.href.replace(t.origin,""):t.href}var Fr=new P("");var nn=/^((\s*\d+w\s*(,|$)){1,})$/;var vi=[1,2],Ii=640;var Li=1920,Mi=1080;var Er=(()=>{class e{imageLoader=_(He);config=Ti(_(_e));renderer=_(Y);imgElement=_(W).nativeElement;injector=_(Xe);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){nt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&nn.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(t){let n=t;return this.loaderParams&&(n.loaderParams=this.loaderParams),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=nn.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let o=t?parseFloat(r):parseFloat(r)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,n=t;return this.sizes?.trim()==="100vw"&&(n=t.filter(o=>o>=Ii)),n.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return vi.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>Li||this.height>Mi),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==sn&&!t}generatePlaceholder(t){let{placeholderResolution:n}=this.config;return t===!0?`url(${this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0})})`:typeof t=="string"?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let n=()=>{let s=this.injector.get(se);r(),o(),this.placeholder=!1,s.markForCheck()},r=this.renderer.listen(t,"load",n),o=this.renderer.listen(t,"error",n);Oi(t,n)}setHostAttribute(t,n){this.renderer.setAttribute(this.imgElement,t,n)}static \u0275fac=function(n){return new(n||e)};static \u0275dir=b({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,r){n&2&&lt("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",Ri],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Ie],height:[2,"height","height",Ie],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",K],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",K],fill:[2,"fill","fill",K],placeholder:[2,"placeholder","placeholder",Bi],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[Z]})}return e})();function Ti(e){let i={};return e.breakpoints&&(i.breakpoints=e.breakpoints.sort((t,n)=>t-n)),Object.assign({},Qe,e,i)}function Oi(e,i){e.complete&&e.naturalWidth&&i()}function Ri(e){return typeof e=="string"?e:et(e)}function Bi(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:K(e)}export{ae as a,an as b,Le as c,X as d,un as e,Ct as f,O as g,G as h,ce as i,yt as j,Ft as k,fn as l,ne as m,U as n,w as o,d as p,I as q,m as r,Mt as s,Tt as t,Ot as u,Rt as v,Bt as w,Pt as x,hn as y,gn as z,q as A,J as B,Q as C,L as D,ye as E,Dn as F,pn as G,mn as H,Nt as I,$t as J,xt as K,yn as L,Ut as M,zt as N,jt as O,Ht as P,Zt as Q,Wt as R,Fe as S,Kt as T,Un as U,zn as V,me as W,Xt as X,jn as Y,Ce as Z,ze as _,Vn as $,Gn as aa,qt as ba,Hn as ca,Zn as da,Wn as ea,Xn as fa,qn as ga,Qn as ha,ei as ia,Jt as ja,Qt as ka,ni as la,ri as ma,oi as na,si as oa,ui as pa,ci as qa,di as ra,li as sa,fi as ta,hi as ua,gi as va,dr as wa,Di as xa,pi as ya,lr as za,fr as Aa,hr as Ba,gr as Ca,en as Da,He as Ea,Dr as Fa,pr as Ga,mr as Ha,Cr as Ia,yr as Ja,Fr as Ka,Er as La};
1
+ import{$a as rt,$c as ve,Aa as Qe,Ba as _e,Da as et,Kc as x,Lb as ut,Lc as ft,Mb as y,Nb as ct,Nc as be,Ob as dt,Pb as l,S as F,Sa as tt,T as Se,Ta as V,V as S,Va as Y,W as Ke,Wa as u,Xa as k,Y as P,Ya as nt,Yc as ht,Z as T,Za as it,Zc as se,_,_c as gt,bd as K,cb as ot,cd as Ie,db as b,eb as v,hc as lt,i as Ye,ia as Xe,ja as j,ma as qe,nb as st,ob as at,ra as Z,ta as Je,ua as W}from"./chunk-HNWRQABR.js";import{a as re,b as oe}from"./chunk-EUDKD2JW.js";var mt=null;function ae(){return mt}function an(e){mt??=e}var Le=class{},X=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>_(Ct),providedIn:"platform"})}return e})(),un=new P(""),Ct=(()=>{class e extends X{_location;_history;_doc=_(j);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ae().getBaseHref(this._doc)}onPopState(t){let n=ae().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=ae().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",t,!1),()=>n.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,n,r){this._history.pushState(t,n,r)}replaceState(t,n,r){this._history.replaceState(t,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function ue(e,i){return e?i?e.endsWith("/")?i.startsWith("/")?e+i.slice(1):e+i:i.startsWith("/")?e+i:`${e}/${i}`:e:i}function Dt(e){let i=e.search(/#|\?|$/);return e[i-1]==="/"?e.slice(0,i-1)+e.slice(i):e}function O(e){return e&&e[0]!=="?"?`?${e}`:e}var G=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>_(yt),providedIn:"root"})}return e})(),ce=new P(""),yt=(()=>{class e extends G{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??_(j).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return ue(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+O(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${n}${r}`:n}pushState(t,n,r,o){let s=this.prepareExternalUrl(r+O(o));this._platformLocation.pushState(t,n,s)}replaceState(t,n,r,o){let s=this.prepareExternalUrl(r+O(o));this._platformLocation.replaceState(t,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(T(X),T(ce,8))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ft=(()=>{class e{_subject=new Ye;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=ln(Dt(pt(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+O(n))}normalize(t){return e.stripTrailingSlash(dn(this._basePath,pt(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",r=null){this._locationStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+O(n)),r)}replaceState(t,n="",r=null){this._locationStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+O(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(r=>r(t,n))}subscribe(t,n,r){return this._subject.subscribe({next:t,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=O;static joinWithSlash=ue;static stripTrailingSlash=Dt;static \u0275fac=function(n){return new(n||e)(T(G))};static \u0275prov=S({token:e,factory:()=>cn(),providedIn:"root"})}return e})();function cn(){return new Ft(T(G))}function dn(e,i){if(!e||!i.startsWith(e))return i;let t=i.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:i}function pt(e){return e.replace(/\/index.html$/,"")}function ln(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var fn=(()=>{class e extends G{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=ue(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,r,o){let s=this.prepareExternalUrl(r+O(o))||this._platformLocation.pathname;this._platformLocation.pushState(t,n,s)}replaceState(t,n,r,o){let s=this.prepareExternalUrl(r+O(o))||this._platformLocation.pathname;this._platformLocation.replaceState(t,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(T(X),T(ce,8))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Lt={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},ne=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(ne||{}),U=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}(U||{}),w=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(w||{}),d=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(d||{}),I=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(I||{}),m={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13},Mt=function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e}(Mt||{});function Tt(e){return y(e)[l.LocaleId]}function Ot(e,i,t){let n=y(e),r=[n[l.DayPeriodsFormat],n[l.DayPeriodsStandalone]],o=M(r,i);return M(o,t)}function Rt(e,i,t){let n=y(e),r=[n[l.DaysFormat],n[l.DaysStandalone]],o=M(r,i);return M(o,t)}function Bt(e,i,t){let n=y(e),r=[n[l.MonthsFormat],n[l.MonthsStandalone]],o=M(r,i);return M(o,t)}function Pt(e,i){let n=y(e)[l.Eras];return M(n,i)}function hn(e){return y(e)[l.FirstDayOfWeek]}function gn(e){return y(e)[l.WeekendRange]}function q(e,i){let t=y(e);return M(t[l.DateFormat],i)}function J(e,i){let t=y(e);return M(t[l.TimeFormat],i)}function Q(e,i){let n=y(e)[l.DateTimeFormat];return M(n,i)}function L(e,i){let t=y(e),n=t[l.NumberSymbols][i];if(typeof n>"u"){if(i===m.CurrencyDecimal)return t[l.NumberSymbols][m.Decimal];if(i===m.CurrencyGroup)return t[l.NumberSymbols][m.Group]}return n}function ye(e,i){return y(e)[l.NumberFormats][i]}function Dn(e){return y(e)[l.CurrencySymbol]||null}function pn(e){return y(e)[l.CurrencyName]||null}function mn(e){return ct(e)}function Cn(e){return y(e)[l.Currencies]}var Nt=dt;function kt(e){if(!e[l.ExtraData])throw new F(2303,!1)}function $t(e){let i=y(e);return kt(i),(i[l.ExtraData][2]||[]).map(n=>typeof n=="string"?Te(n):[Te(n[0]),Te(n[1])])}function xt(e,i,t){let n=y(e);kt(n);let r=[n[l.ExtraData][0],n[l.ExtraData][1]],o=M(r,i)||[];return M(o,t)||[]}function yn(e){return y(e)[l.Directionality]}function M(e,i){for(let t=i;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new F(2304,!1)}function Te(e){let[i,t]=e.split(":");return{hours:+i,minutes:+t}}function Ut(e,i,t="en"){let n=Cn(t)[e]||Lt[e]||[],r=n[1];return i==="narrow"&&typeof r=="string"?r:n[0]||e}var Fn=2;function zt(e){let i,t=Lt[e];return t&&(i=t[2]),typeof i=="number"?i:Fn}var En=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,de={},wn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function jt(e,i,t,n){let r=Tn(e);i=N(t,i)||i;let s=[],a;for(;i;)if(a=wn.exec(i),a){s=s.concat(a.slice(1));let g=s.pop();if(!g)break;i=g}else{s.push(i);break}let D=r.getTimezoneOffset();n&&(D=Gt(n,D),r=Mn(r,n));let h="";return s.forEach(g=>{let c=In(g);h+=c?c(r,t,D):g==="''"?"'":g.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}function De(e,i,t){let n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function N(e,i){let t=Tt(e);if(de[t]??={},de[t][i])return de[t][i];let n="";switch(i){case"shortDate":n=q(e,I.Short);break;case"mediumDate":n=q(e,I.Medium);break;case"longDate":n=q(e,I.Long);break;case"fullDate":n=q(e,I.Full);break;case"shortTime":n=J(e,I.Short);break;case"mediumTime":n=J(e,I.Medium);break;case"longTime":n=J(e,I.Long);break;case"fullTime":n=J(e,I.Full);break;case"short":let r=N(e,"shortTime"),o=N(e,"shortDate");n=le(Q(e,I.Short),[r,o]);break;case"medium":let s=N(e,"mediumTime"),a=N(e,"mediumDate");n=le(Q(e,I.Medium),[s,a]);break;case"long":let D=N(e,"longTime"),h=N(e,"longDate");n=le(Q(e,I.Long),[D,h]);break;case"full":let g=N(e,"fullTime"),c=N(e,"fullDate");n=le(Q(e,I.Full),[g,c]);break}return n&&(de[t][i]=n),n}function le(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return i!=null&&n in i?i[n]:t})),e}function R(e,i,t="-",n,r){let o="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,o=t));let s=String(e);for(;s.length<i;)s="0"+s;return n&&(s=s.slice(s.length-i)),o+s}function An(e,i){return R(e,3).substring(0,i)}function C(e,i,t=0,n=!1,r=!1){return function(o,s){let a=Sn(e,o);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return An(a,i);let D=L(s,m.MinusSign);return R(a,i,D,n,r)}}function Sn(e,i){switch(e){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new F(2301,!1)}}function f(e,i,t=w.Format,n=!1){return function(r,o){return _n(r,o,e,i,t,n)}}function _n(e,i,t,n,r,o){switch(t){case 2:return Bt(i,r,n)[e.getMonth()];case 1:return Rt(i,r,n)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(o){let h=$t(i),g=xt(i,r,n),c=h.findIndex(E=>{if(Array.isArray(E)){let[p,A]=E,H=s>=p.hours&&a>=p.minutes,$=s<A.hours||s===A.hours&&a<A.minutes;if(p.hours<A.hours){if(H&&$)return!0}else if(H||$)return!0}else if(E.hours===s&&E.minutes===a)return!0;return!1});if(c!==-1)return g[c]}return Ot(i,r,n)[s<12?0:1];case 3:return Pt(i,n)[e.getFullYear()<=0?0:1];default:let D=t;throw new F(2302,!1)}}function fe(e){return function(i,t,n){let r=-1*n,o=L(t,m.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+R(s,2,o)+R(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+R(s,1,o);case 2:return"GMT"+(r>=0?"+":"")+R(s,2,o)+":"+R(Math.abs(r%60),2,o);case 3:return n===0?"Z":(r>=0?"+":"")+R(s,2,o)+":"+R(Math.abs(r%60),2,o);default:throw new F(2302,!1)}}}var bn=0,ge=4;function vn(e){let i=De(e,bn,1).getDay();return De(e,0,1+(i<=ge?ge:ge+7)-i)}function Vt(e){let i=e.getDay(),t=i===0?-3:ge-i;return De(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Oe(e,i=!1){return function(t,n){let r;if(i){let o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();r=1+Math.floor((s+o)/7)}else{let o=Vt(t),s=vn(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return R(r,e,L(n,m.MinusSign))}}function he(e,i=!1){return function(t,n){let o=Vt(t).getFullYear();return R(o,e,L(n,m.MinusSign),i)}}var Re={};function In(e){if(Re[e])return Re[e];let i;switch(e){case"G":case"GG":case"GGG":i=f(3,d.Abbreviated);break;case"GGGG":i=f(3,d.Wide);break;case"GGGGG":i=f(3,d.Narrow);break;case"y":i=C(0,1,0,!1,!0);break;case"yy":i=C(0,2,0,!0,!0);break;case"yyy":i=C(0,3,0,!1,!0);break;case"yyyy":i=C(0,4,0,!1,!0);break;case"Y":i=he(1);break;case"YY":i=he(2,!0);break;case"YYY":i=he(3);break;case"YYYY":i=he(4);break;case"M":case"L":i=C(1,1,1);break;case"MM":case"LL":i=C(1,2,1);break;case"MMM":i=f(2,d.Abbreviated);break;case"MMMM":i=f(2,d.Wide);break;case"MMMMM":i=f(2,d.Narrow);break;case"LLL":i=f(2,d.Abbreviated,w.Standalone);break;case"LLLL":i=f(2,d.Wide,w.Standalone);break;case"LLLLL":i=f(2,d.Narrow,w.Standalone);break;case"w":i=Oe(1);break;case"ww":i=Oe(2);break;case"W":i=Oe(1,!0);break;case"d":i=C(2,1);break;case"dd":i=C(2,2);break;case"c":case"cc":i=C(7,1);break;case"ccc":i=f(1,d.Abbreviated,w.Standalone);break;case"cccc":i=f(1,d.Wide,w.Standalone);break;case"ccccc":i=f(1,d.Narrow,w.Standalone);break;case"cccccc":i=f(1,d.Short,w.Standalone);break;case"E":case"EE":case"EEE":i=f(1,d.Abbreviated);break;case"EEEE":i=f(1,d.Wide);break;case"EEEEE":i=f(1,d.Narrow);break;case"EEEEEE":i=f(1,d.Short);break;case"a":case"aa":case"aaa":i=f(0,d.Abbreviated);break;case"aaaa":i=f(0,d.Wide);break;case"aaaaa":i=f(0,d.Narrow);break;case"b":case"bb":case"bbb":i=f(0,d.Abbreviated,w.Standalone,!0);break;case"bbbb":i=f(0,d.Wide,w.Standalone,!0);break;case"bbbbb":i=f(0,d.Narrow,w.Standalone,!0);break;case"B":case"BB":case"BBB":i=f(0,d.Abbreviated,w.Format,!0);break;case"BBBB":i=f(0,d.Wide,w.Format,!0);break;case"BBBBB":i=f(0,d.Narrow,w.Format,!0);break;case"h":i=C(3,1,-12);break;case"hh":i=C(3,2,-12);break;case"H":i=C(3,1);break;case"HH":i=C(3,2);break;case"m":i=C(4,1);break;case"mm":i=C(4,2);break;case"s":i=C(5,1);break;case"ss":i=C(5,2);break;case"S":i=C(6,1);break;case"SS":i=C(6,2);break;case"SSS":i=C(6,3);break;case"Z":case"ZZ":case"ZZZ":i=fe(0);break;case"ZZZZZ":i=fe(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=fe(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=fe(2);break;default:return null}return Re[e]=i,i}function Gt(e,i){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function Ln(e,i){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+i),e}function Mn(e,i,t){let r=e.getTimezoneOffset(),o=Gt(i,r);return Ln(e,-1*(o-r))}function Tn(e){if(Et(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[r,o=1,s=1]=e.split("-").map(a=>+a);return De(r,o-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(En))return On(n)}let i=new Date(e);if(!Et(i))throw new F(2302,!1);return i}function On(e){let i=new Date(0),t=0,n=0,r=e[8]?i.setUTCFullYear:i.setFullYear,o=e[8]?i.setUTCHours:i.setHours;e[9]&&(t=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(i,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-n,D=Number(e[6]||0),h=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return o.call(i,s,a,D,h),i}function Et(e){return e instanceof Date&&!isNaN(e.valueOf())}var Rn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,wt=22,pe=".",ee="0",Bn=";",Pn=",",Be="#",At="\xA4",Nn="%";function xe(e,i,t,n,r,o,s=!1){let a="",D=!1;if(!isFinite(e))a=L(t,m.Infinity);else{let h=$n(e);s&&(h=kn(h));let g=i.minInt,c=i.minFrac,E=i.maxFrac;if(o){let z=o.match(Rn);if(z===null)throw new F(2306,!1);let Ze=z[1],Ae=z[3],We=z[5];Ze!=null&&(g=Pe(Ze)),Ae!=null&&(c=Pe(Ae)),We!=null?E=Pe(We):Ae!=null&&c>E&&(E=c)}xn(h,c,E);let p=h.digits,A=h.integerLen,H=h.exponent,$=[];for(D=p.every(z=>!z);A<g;A++)p.unshift(0);for(;A<0;A++)p.unshift(0);A>0?$=p.splice(A,p.length):($=p,p=[0]);let ie=[];for(p.length>=i.lgSize&&ie.unshift(p.splice(-i.lgSize,p.length).join(""));p.length>i.gSize;)ie.unshift(p.splice(-i.gSize,p.length).join(""));p.length&&ie.unshift(p.join("")),a=ie.join(L(t,n)),$.length&&(a+=L(t,r)+$.join("")),H&&(a+=L(t,m.Exponential)+"+"+H)}return e<0&&!D?a=i.negPre+a+i.negSuf:a=i.posPre+a+i.posSuf,a}function Ht(e,i,t,n,r){let o=ye(i,ne.Currency),s=Ue(o,L(i,m.MinusSign));return s.minFrac=zt(n),s.maxFrac=s.minFrac,xe(e,s,i,m.CurrencyGroup,m.CurrencyDecimal,r).replace(At,t).replace(At,"").trim()}function Zt(e,i,t){let n=ye(i,ne.Percent),r=Ue(n,L(i,m.MinusSign));return xe(e,r,i,m.Group,m.Decimal,t,!0).replace(new RegExp(Nn,"g"),L(i,m.PercentSign))}function Wt(e,i,t){let n=ye(i,ne.Decimal),r=Ue(n,L(i,m.MinusSign));return xe(e,r,i,m.Group,m.Decimal,t)}function Ue(e,i="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(Bn),r=n[0],o=n[1],s=r.indexOf(pe)!==-1?r.split(pe):[r.substring(0,r.lastIndexOf(ee)+1),r.substring(r.lastIndexOf(ee)+1)],a=s[0],D=s[1]||"";t.posPre=a.substring(0,a.indexOf(Be));for(let g=0;g<D.length;g++){let c=D.charAt(g);c===ee?t.minFrac=t.maxFrac=g+1:c===Be?t.maxFrac=g+1:t.posSuf+=c}let h=a.split(Pn);if(t.gSize=h[1]?h[1].length:0,t.lgSize=h[2]||h[1]?(h[2]||h[1]).length:0,o){let g=r.length-t.posPre.length-t.posSuf.length,c=o.indexOf(Be);t.negPre=o.substring(0,c).replace(/'/g,""),t.negSuf=o.slice(c+g).replace(/'/g,"")}else t.negPre=i+t.posPre,t.negSuf=t.posSuf;return t}function kn(e){if(e.digits[0]===0)return e;let i=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(i===0?e.digits.push(0,0):i===1&&e.digits.push(0),e.integerLen+=2),e}function $n(e){let i=Math.abs(e)+"",t=0,n,r,o,s,a;for((r=i.indexOf(pe))>-1&&(i=i.replace(pe,"")),(o=i.search(/e/i))>0?(r<0&&(r=o),r+=+i.slice(o+1),i=i.substring(0,o)):r<0&&(r=i.length),o=0;i.charAt(o)===ee;o++);if(o===(a=i.length))n=[0],r=1;else{for(a--;i.charAt(a)===ee;)a--;for(r-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(i.charAt(o))}return r>wt&&(n=n.splice(0,wt-1),t=r-1,r=1),{digits:n,exponent:t,integerLen:r}}function xn(e,i,t){if(i>t)throw new F(2307,!1);let n=e.digits,r=n.length-e.integerLen,o=Math.min(Math.max(i,r),t),s=o+e.integerLen,a=n[s];if(s>0){n.splice(Math.max(e.integerLen,s));for(let c=s;c<n.length;c++)n[c]=0}else{r=Math.max(0,r),e.integerLen=1,n.length=Math.max(1,s=o+1),n[0]=0;for(let c=1;c<s;c++)n[c]=0}if(a>=5)if(s-1<0){for(let c=0;c>s;c--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[s-1]++;for(;r<Math.max(0,o);r++)n.push(0);let D=o!==0,h=i+e.integerLen,g=n.reduceRight(function(c,E,p,A){return E=E+c,A[p]=E<10?E:E-10,D&&(A[p]===0&&p>=h?A.pop():D=!1),E>=10?1:0},0);g&&(n.unshift(g),e.integerLen++)}function Pe(e){let i=parseInt(e);if(isNaN(i))throw new F(2305,!1);return i}var Fe=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:function(n){let r=null;return n?r=new n:r=(o=>new Kt(o))(T(x)),r},providedIn:"root"})}return e})();function Yt(e,i,t,n){let r=`=${e}`;if(i.indexOf(r)>-1||(r=t.getPluralCategory(e,n),i.indexOf(r)>-1))return r;if(i.indexOf("other")>-1)return"other";throw new F(2308,!1)}var Kt=(()=>{class e extends Fe{locale;constructor(t){super(),this.locale=t}getPluralCategory(t,n){switch(Nt(n||this.locale)(t)){case U.Zero:return"zero";case U.One:return"one";case U.Two:return"two";case U.Few:return"few";case U.Many:return"many";default:return"other"}}static \u0275fac=function(n){return new(n||e)(T(x))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Ne=/\s+/,St=[],Un=(()=>{class e{_ngEl;_renderer;initialClasses=St;rawClass;stateMap=new Map;constructor(t,n){this._ngEl=t,this._renderer=n}set klass(t){this.initialClasses=t!=null?t.trim().split(Ne):St}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Ne):t}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,!0);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff()}_updateState(t,n){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(t,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],r=t[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(t,n){t=t.trim(),t.length>0&&t.split(Ne).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||e)(u(W),u(Y))};static \u0275dir=b({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),zn=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||t.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=rt(this.ngComponentOutletNgModule,_t(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(_t(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[n,r]of this._inputsUsed)r?(t.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(t.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||e)(u(k))};static \u0275dir=b({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[Z]})}return e})();function _t(e){return e.get(it).injector}var me=class{$implicit;ngForOf;index;count;constructor(i,t,n,r){this.$implicit=i,this.ngForOf=t,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Xt=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,n,r){this._viewContainer=t,this._template=n,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let n=this._viewContainer;t.forEachOperation((r,o,s)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new me(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)n.remove(o===null?void 0:o);else if(o!==null){let a=n.get(o);n.move(a,s),bt(a,r)}});for(let r=0,o=n.length;r<o;r++){let a=n.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{let o=n.get(r.currentIndex);bt(o,r)})}static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(u(k),u(V),u(gt))};static \u0275dir=b({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function bt(e,i){e.context.$implicit=i.item}var jn=(()=>{class e{_viewContainer;_context=new Ce;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,n){this._viewContainer=t,this._thenTemplateRef=n}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){vt(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){vt(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(u(k),u(V))};static \u0275dir=b({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Ce=class{$implicit=null;ngIf=null};function vt(e,i){if(e&&!e.createEmbeddedView)throw new F(2020,!1)}var te=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,t){this._viewContainerRef=i,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},ze=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){let n=t===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let n of this._defaultViews)n.enforceState(t)}}static \u0275fac=function(n){return new(n||e)};static \u0275dir=b({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),Vn=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(t,n,r){this.ngSwitch=r,r._addCase(),this._view=new te(t,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||e)(u(k),u(V),u(ze,9))};static \u0275dir=b({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),Gn=(()=>{class e{constructor(t,n,r){r._addDefault(new te(t,n))}static \u0275fac=function(n){return new(n||e)(u(k),u(V),u(ze,9))};static \u0275dir=b({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})();var qt=(()=>{class e{_localization;_activeView;_caseViews={};constructor(t){this._localization=t}set ngPlural(t){this._updateView(t)}addCase(t,n){this._caseViews[t]=n}_updateView(t){this._clearViews();let n=Object.keys(this._caseViews),r=Yt(t,n,this._localization);this._activateView(this._caseViews[r])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(t){t&&(this._activeView=t,this._activeView.create())}static \u0275fac=function(n){return new(n||e)(u(Fe))};static \u0275dir=b({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}})}return e})(),Hn=(()=>{class e{value;constructor(t,n,r,o){this.value=t;let s=!isNaN(Number(t));o.addCase(s?`=${t}`:t,new te(r,n))}static \u0275fac=function(n){return new(n||e)(Je("ngPluralCase"),u(V),u(k),u(qt,1))};static \u0275dir=b({type:e,selectors:[["","ngPluralCase",""]]})}return e})(),Zn=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,n,r){this._ngEl=t,this._differs=n,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,n){let[r,o]=t.split("."),s=r.indexOf("-")===-1?void 0:tt.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${n}${o}`:n,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||e)(u(W),u(ve),u(Y))};static \u0275dir=b({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Wn=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(t,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||e)(u(k))};static \u0275dir=b({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Z]})}return e})();function B(e,i){return new F(2100,!1)}var ke=class{createSubscription(i,t,n){return be(()=>i.subscribe({next:t,error:n}))}dispose(i){be(()=>i.unsubscribe())}},$e=class{createSubscription(i,t,n){return i.then(r=>t?.(r),r=>n?.(r)),{unsubscribe:()=>{t=null,n=null}}}dispose(i){i.unsubscribe()}},Yn=new $e,Kn=new ke,Xn=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=_(qe);constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,n=>this._updateLatestValue(t,n),n=>this.applicationErrorHandler(n))}_selectStrategy(t){if(st(t))return Yn;if(at(t))return Kn;throw B(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,n){t===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||e)(u(se,16))};static \u0275pipe=v({name:"async",type:e,pure:!1})}return e})(),qn=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw B(e,t);return t.toLowerCase()}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"lowercase",type:e,pure:!0})}return e})(),Jn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,Qn=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw B(e,t);return t.replace(Jn,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"titlecase",type:e,pure:!0})}return e})(),ei=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw B(e,t);return t.toUpperCase()}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"uppercase",type:e,pure:!0})}return e})(),ti="mediumDate",Jt=new P(""),Qt=new P(""),ni=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,n,r){this.locale=t,this.defaultTimezone=n,this.defaultOptions=r}transform(t,n,r,o){if(t==null||t===""||t!==t)return null;try{let s=n??this.defaultOptions?.dateFormat??ti,a=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return jt(t,s,o||this.locale,a)}catch(s){throw B(e,s.message)}}static \u0275fac=function(n){return new(n||e)(u(x,16),u(Jt,24),u(Qt,24))};static \u0275pipe=v({name:"date",type:e,pure:!0})}return e})(),ii=/#/g,ri=(()=>{class e{_localization;constructor(t){this._localization=t}transform(t,n,r){if(t==null)return"";if(typeof n!="object"||n===null)throw B(e,n);let o=Yt(t,Object.keys(n),this._localization,r);return n[o].replace(ii,t.toString())}static \u0275fac=function(n){return new(n||e)(u(Fe,16))};static \u0275pipe=v({name:"i18nPlural",type:e,pure:!0})}return e})(),oi=(()=>{class e{transform(t,n){if(t==null)return"";if(typeof n!="object"||typeof t!="string")throw B(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"i18nSelect",type:e,pure:!0})}return e})(),si=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"json",type:e,pure:!1})}return e})();function ai(e,i){return{key:e,value:i}}var ui=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=It;transform(t,n=It){if(!t||!(t instanceof Map)&&typeof t!="object")return null;this.differ??=this.differs.find(t).create();let r=this.differ.diff(t),o=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(s=>{this.keyValues.push(ai(s.key,s.currentValue))})),(r||o)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||e)(u(ve,16))};static \u0275pipe=v({name:"keyvalue",type:e,pure:!1})}return e})();function It(e,i){let t=e.key,n=i.key;if(t===n)return 0;if(t==null)return 1;if(n==null)return-1;if(typeof t=="string"&&typeof n=="string")return t<n?-1:1;if(typeof t=="number"&&typeof n=="number")return t-n;if(typeof t=="boolean"&&typeof n=="boolean")return t<n?-1:1;let r=String(t),o=String(n);return r==o?0:r<o?-1:1}var ci=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!je(t))return null;r||=this._locale;try{let o=Ve(t);return Wt(o,r,n)}catch(o){throw B(e,o.message)}}static \u0275fac=function(n){return new(n||e)(u(x,16))};static \u0275pipe=v({name:"number",type:e,pure:!0})}return e})(),di=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!je(t))return null;r||=this._locale;try{let o=Ve(t);return Zt(o,r,n)}catch(o){throw B(e,o.message)}}static \u0275fac=function(n){return new(n||e)(u(x,16))};static \u0275pipe=v({name:"percent",type:e,pure:!0})}return e})(),li=(()=>{class e{_locale;_defaultCurrencyCode;constructor(t,n="USD"){this._locale=t,this._defaultCurrencyCode=n}transform(t,n=this._defaultCurrencyCode,r="symbol",o,s){if(!je(t))return null;s||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let a=n||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?a=Ut(a,r==="symbol"?"wide":"narrow",s):a=r);try{let D=Ve(t);return Ht(D,s,a,n,o)}catch(D){throw B(e,D.message)}}static \u0275fac=function(n){return new(n||e)(u(x,16),u(ft,16))};static \u0275pipe=v({name:"currency",type:e,pure:!0})}return e})();function je(e){return!(e==null||e===""||e!==e)}function Ve(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new F(2309,!1);return e}var fi=(()=>{class e{transform(t,n,r){if(t==null)return null;if(!(typeof t=="string"||Array.isArray(t)))throw B(e,t);return t.slice(n,r)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"slice",type:e,pure:!1})}return e})();var hi=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ot({type:e});static \u0275inj=Ke({})}return e})();var gi=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>window.navigation,providedIn:"platform"})}return e})();function dr(e,i,t){return ut(e,i,t)}var Di="browser",pi="server";function lr(e){return e===Di}function fr(e){return e===pi}var hr=new ht("20.1.7"),gr=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>new Ge(_(j),window)})}return e})(),Ge=class{document;window;offset=()=>[0,0];constructor(i,t){this.document=i,this.window=t}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i,t){this.window.scrollTo(oe(re({},t),{left:i[0],top:i[1]}))}scrollToAnchor(i,t){let n=mi(this.document,i);n&&(this.scrollToElement(n,t),n.focus())}setHistoryScrollRestoration(i){try{this.window.history.scrollRestoration=i}catch{console.warn(Se(2400,!1))}}scrollToElement(i,t){let n=i.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(oe(re({},t),{left:r-s[0],top:o-s[1]}))}};function mi(e,i){let t=e.getElementById(i)||e.getElementsByName(i)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(i)||o.querySelector(`[name="${i}"]`);if(s)return s}r=n.nextNode()}}return null}var en=class{setOffset(i){}getScrollPosition(){return[0,0]}scrollToPosition(i){}scrollToAnchor(i){}setHistoryScrollRestoration(i){}},Ee="20";function rn(e){return/^https?:\/\//.test(e)}function on(e){if(!(typeof e=="string")||e.trim()==="")return!1;try{let t=new URL(e);return!0}catch{return!1}}function Ci(e){return e.endsWith("/")?e.slice(0,-1):e}function yi(e){return e.startsWith("/")?e.slice(1):e}var sn=e=>e.src,He=new P("",{providedIn:"root",factory:()=>sn});function we(e,i){return function(n){return on(n)||Fi(n,i||[]),n=Ci(n),[{provide:He,useValue:s=>(rn(s.src)&&Ei(n,s.src),e(n,oe(re({},s),{src:yi(s.src)})))}]}}function Fi(e,i){throw new F(2959,!1)}function Ei(e,i){throw new F(2959,!1)}var Dr=we(wi,void 0);function wi(e,i){let t="format=auto";return i.width&&(t+=`,width=${i.width}`),i.isPlaceholder&&(t+=`,quality=${Ee}`),`${e}/cdn-cgi/image/${t}/${i.src}`}var pr=we(Ai,void 0);function Ai(e,i){let n=`f_auto,${i.isPlaceholder?"q_auto:low":"q_auto"}`;return i.width&&(n+=`,w_${i.width}`),i.loaderParams?.rounded&&(n+=",r_max"),`${e}/image/upload/${n}/${i.src}`}var mr=we(Si,void 0);function Si(e,i){let{src:t,width:n}=i,r=[];n&&r.push(`w-${n}`),i.isPlaceholder&&r.push(`q-${Ee}`);let o=r.length?[e,`tr:${r.join(",")}`,t]:[e,t];return new URL(o.join("/")).href}var Cr=we(_i,void 0);function _i(e,i){let t=new URL(`${e}/${i.src}`);return t.searchParams.set("auto","format"),i.width&&t.searchParams.set("w",i.width.toString()),i.isPlaceholder&&t.searchParams.set("q",Ee),t.href}function yr(e){if(e&&!on(e))throw new F(2959,!1);return e&&(e=new URL(e).origin),[{provide:He,useValue:n=>bi(n,e)}]}var tn=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]);function bi(e,i){let t=new URL(i??"https://a/");t.pathname="/.netlify/images",!rn(e.src)&&!e.src.startsWith("/")&&(e.src="/"+e.src),t.searchParams.set("url",e.src),e.width&&t.searchParams.set("w",e.width.toString());let n=e.loaderParams?.quality??e.loaderParams?.q;e.isPlaceholder&&!n&&t.searchParams.set("q",Ee);for(let[r,o]of Object.entries(e.loaderParams??{}))tn.has(r)&&t.searchParams.set(tn.get(r),o.toString());return t.hostname==="a"?t.href.replace(t.origin,""):t.href}var Fr=new P("");var nn=/^((\s*\d+w\s*(,|$)){1,})$/;var vi=[1,2],Ii=640;var Li=1920,Mi=1080;var Er=(()=>{class e{imageLoader=_(He);config=Ti(_(_e));renderer=_(Y);imgElement=_(W).nativeElement;injector=_(Xe);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){nt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&nn.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(t){let n=t;return this.loaderParams&&(n.loaderParams=this.loaderParams),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=nn.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let o=t?parseFloat(r):parseFloat(r)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,n=t;return this.sizes?.trim()==="100vw"&&(n=t.filter(o=>o>=Ii)),n.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return vi.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>Li||this.height>Mi),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==sn&&!t}generatePlaceholder(t){let{placeholderResolution:n}=this.config;return t===!0?`url(${this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0})})`:typeof t=="string"?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let n=()=>{let s=this.injector.get(se);r(),o(),this.placeholder=!1,s.markForCheck()},r=this.renderer.listen(t,"load",n),o=this.renderer.listen(t,"error",n);Oi(t,n)}setHostAttribute(t,n){this.renderer.setAttribute(this.imgElement,t,n)}static \u0275fac=function(n){return new(n||e)};static \u0275dir=b({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,r){n&2&&lt("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",Ri],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Ie],height:[2,"height","height",Ie],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",K],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",K],fill:[2,"fill","fill",K],placeholder:[2,"placeholder","placeholder",Bi],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[Z]})}return e})();function Ti(e){let i={};return e.breakpoints&&(i.breakpoints=e.breakpoints.sort((t,n)=>t-n)),Object.assign({},Qe,e,i)}function Oi(e,i){e.complete&&e.naturalWidth&&i()}function Ri(e){return typeof e=="string"?e:et(e)}function Bi(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:K(e)}export{ae as a,an as b,Le as c,X as d,un as e,Ct as f,O as g,G as h,ce as i,yt as j,Ft as k,fn as l,ne as m,U as n,w as o,d as p,I as q,m as r,Mt as s,Tt as t,Ot as u,Rt as v,Bt as w,Pt as x,hn as y,gn as z,q as A,J as B,Q as C,L as D,ye as E,Dn as F,pn as G,mn as H,Nt as I,$t as J,xt as K,yn as L,Ut as M,zt as N,jt as O,Ht as P,Zt as Q,Wt as R,Fe as S,Kt as T,Un as U,zn as V,me as W,Xt as X,jn as Y,Ce as Z,ze as _,Vn as $,Gn as aa,qt as ba,Hn as ca,Zn as da,Wn as ea,Xn as fa,qn as ga,Qn as ha,ei as ia,Jt as ja,Qt as ka,ni as la,ri as ma,oi as na,si as oa,ui as pa,ci as qa,di as ra,li as sa,fi as ta,hi as ua,gi as va,dr as wa,Di as xa,pi as ya,lr as za,fr as Aa,hr as Ba,gr as Ca,en as Da,He as Ea,Dr as Fa,pr as Ga,mr as Ha,Cr as Ia,yr as Ja,Fr as Ka,Er as La};