homebridge-config-ui-x 5.11.1-alpha.0 → 5.11.2-alpha.0

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 (245) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/core/auth/auth.controller.d.ts +4 -0
  3. package/dist/core/config/config.interfaces.d.ts +14 -0
  4. package/dist/core/config/config.service.d.ts +6 -0
  5. package/dist/core/config/config.service.js +8 -0
  6. package/dist/core/config/config.service.js.map +1 -1
  7. package/dist/core/config/config.startup.js +48 -17
  8. package/dist/core/config/config.startup.js.map +1 -1
  9. package/dist/core/feature-flags/feature-flags.registry.js +5 -0
  10. package/dist/core/feature-flags/feature-flags.registry.js.map +1 -1
  11. package/dist/core/homebridge-ipc/homebridge-ipc.service.js +1 -0
  12. package/dist/core/homebridge-ipc/homebridge-ipc.service.js.map +1 -1
  13. package/dist/core/spa/spa-html.service.d.ts +5 -0
  14. package/dist/core/spa/spa-html.service.js +32 -0
  15. package/dist/core/spa/spa-html.service.js.map +1 -0
  16. package/dist/core/spa/spa.filter.d.ts +3 -0
  17. package/dist/core/spa/spa.filter.js +22 -2
  18. package/dist/core/spa/spa.filter.js.map +1 -1
  19. package/dist/core/ssl/ssl-cert-generator.service.d.ts +15 -0
  20. package/dist/core/ssl/ssl-cert-generator.service.js +125 -0
  21. package/dist/core/ssl/ssl-cert-generator.service.js.map +1 -0
  22. package/dist/globalDefaults.js +3 -0
  23. package/dist/globalDefaults.js.map +1 -1
  24. package/dist/main.js +18 -4
  25. package/dist/main.js.map +1 -1
  26. package/dist/modules/accessories/accessories.controller.d.ts +1 -1
  27. package/dist/modules/accessories/accessories.interfaces.d.ts +94 -0
  28. package/dist/modules/accessories/accessories.interfaces.js +2 -0
  29. package/dist/modules/accessories/accessories.interfaces.js.map +1 -0
  30. package/dist/modules/accessories/accessories.module.js +2 -0
  31. package/dist/modules/accessories/accessories.module.js.map +1 -1
  32. package/dist/modules/accessories/accessories.service.d.ts +21 -3
  33. package/dist/modules/accessories/accessories.service.js +280 -17
  34. package/dist/modules/accessories/accessories.service.js.map +1 -1
  35. package/dist/modules/child-bridges/child-bridges.interfaces.d.ts +9 -0
  36. package/dist/modules/config-editor/config-editor.controller.d.ts +4 -0
  37. package/dist/modules/config-editor/config-editor.controller.js +64 -0
  38. package/dist/modules/config-editor/config-editor.controller.js.map +1 -1
  39. package/dist/modules/config-editor/config-editor.service.d.ts +6 -1
  40. package/dist/modules/config-editor/config-editor.service.js +45 -1
  41. package/dist/modules/config-editor/config-editor.service.js.map +1 -1
  42. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js +1 -1
  43. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js.map +1 -1
  44. package/dist/modules/plugins/plugins.service.js +15 -0
  45. package/dist/modules/plugins/plugins.service.js.map +1 -1
  46. package/dist/modules/server/server.controller.d.ts +50 -0
  47. package/dist/modules/server/server.controller.js +201 -2
  48. package/dist/modules/server/server.controller.js.map +1 -1
  49. package/dist/modules/server/server.service.d.ts +48 -0
  50. package/dist/modules/server/server.service.js +502 -14
  51. package/dist/modules/server/server.service.js.map +1 -1
  52. package/dist/modules/status/status.gateway.d.ts +2 -0
  53. package/dist/modules/status/status.interfaces.d.ts +11 -0
  54. package/dist/modules/status/status.service.d.ts +4 -1
  55. package/dist/modules/status/status.service.js +21 -2
  56. package/dist/modules/status/status.service.js.map +1 -1
  57. package/docs/matter-todo.md +15 -0
  58. package/docs/ssl-upload-pr.md +103 -0
  59. package/package.json +3 -1
  60. package/public/3rdpartylicenses.txt +558 -636
  61. package/public/assets/matter.svg +8 -0
  62. package/public/assets/plugin-ui-utils/ui.js +3 -0
  63. package/public/assets/plugin-ui-utils/ui.js.map +1 -1
  64. package/public/chunk-22B4UCUR.js +19 -0
  65. package/public/chunk-2AZ4IAJX.js +1 -0
  66. package/public/chunk-2W47TKRP.js +8 -0
  67. package/public/chunk-32NSGOWJ.js +1 -0
  68. package/public/chunk-3AXKQX7N.js +1 -0
  69. package/public/chunk-3SLVSNU6.js +1 -0
  70. package/public/chunk-4FBWT2PG.js +1 -0
  71. package/public/chunk-4G547VQH.js +1 -0
  72. package/public/chunk-4KBAYZP7.js +1 -0
  73. package/public/{chunk-D45GQFBG.js → chunk-4O7BLLBH.js} +1 -1
  74. package/public/chunk-4X67MV5P.js +1 -0
  75. package/public/chunk-56AT4EBV.js +1 -0
  76. package/public/chunk-5INR7MRZ.js +1 -0
  77. package/public/chunk-5IRYX3WN.js +1 -0
  78. package/public/chunk-5N6BZ66K.js +1 -0
  79. package/public/chunk-5QXXJI43.js +5 -0
  80. package/public/chunk-5USVC2CC.js +3 -0
  81. package/public/chunk-5YRG477U.js +1 -0
  82. package/public/chunk-63DEF4BP.js +1 -0
  83. package/public/chunk-7D5NLF5A.js +1 -0
  84. package/public/chunk-AASDOQGB.js +1 -0
  85. package/public/chunk-AU6YJ4VB.js +1 -0
  86. package/public/chunk-B2R3BKIF.js +1 -0
  87. package/public/chunk-B4AJQJMI.js +1 -0
  88. package/public/chunk-BMH5GPEB.js +1 -0
  89. package/public/{chunk-KI6BE77G.js → chunk-BMOLDRJ3.js} +1 -1
  90. package/public/chunk-BOVXKVZC.js +1 -0
  91. package/public/chunk-C2W3HONU.js +1 -0
  92. package/public/chunk-CB6OGKHG.js +1 -0
  93. package/public/chunk-CBSLCVSR.js +1 -0
  94. package/public/chunk-CR6W3PUA.js +1 -0
  95. package/public/chunk-CYSSAU76.js +1 -0
  96. package/public/chunk-DGBI427A.js +1 -0
  97. package/public/chunk-E2INCMIB.js +1 -0
  98. package/public/chunk-EVNAB6KB.js +4 -0
  99. package/public/{chunk-75KR2TK6.js → chunk-FARCNAHH.js} +1 -1
  100. package/public/chunk-FIF6GB4H.js +1 -0
  101. package/public/chunk-FNIVJEH2.js +1 -0
  102. package/public/chunk-FW2NZE2W.js +1 -0
  103. package/public/chunk-FXM34P2Q.js +1 -0
  104. package/public/chunk-G4TMATE3.js +1 -0
  105. package/public/chunk-GARJCQR2.js +1 -0
  106. package/public/chunk-GHNACZX3.js +1 -0
  107. package/public/chunk-GIPFJVAC.js +1 -0
  108. package/public/chunk-GQMGUEFI.js +1 -0
  109. package/public/chunk-GRUJENQH.js +1 -0
  110. package/public/{chunk-OMFNURQZ.js → chunk-H7F7H5MW.js} +1 -1
  111. package/public/chunk-HGB7JMQB.js +1 -0
  112. package/public/chunk-HRBBCSGX.js +1 -0
  113. package/public/chunk-I7UZENUE.js +1 -0
  114. package/public/chunk-IUXXJEPG.js +1 -0
  115. package/public/chunk-JC74NWLG.js +1 -0
  116. package/public/chunk-JEWURKW3.js +1 -0
  117. package/public/chunk-JH5W4II7.js +1 -0
  118. package/public/chunk-JLNKCN3A.js +1 -0
  119. package/public/chunk-JTGLNZVD.js +1 -0
  120. package/public/chunk-KSP343GE.js +1 -0
  121. package/public/chunk-KTE7SASZ.js +1 -0
  122. package/public/chunk-L2BEQFIA.js +1 -0
  123. package/public/chunk-L6LSM43U.js +1 -0
  124. package/public/chunk-LPZZFOKR.js +4 -0
  125. package/public/chunk-LT4LVLTJ.js +5 -0
  126. package/public/chunk-M4OD2EYP.js +1 -0
  127. package/public/chunk-M5KMDWMD.js +1 -0
  128. package/public/chunk-M5U3WH6U.js +68 -0
  129. package/public/{chunk-BKCIVF4W.js → chunk-M72FKTRG.js} +52 -2
  130. package/public/chunk-MKCBNPFH.js +1 -0
  131. package/public/chunk-MKFXR7SP.js +1 -0
  132. package/public/chunk-MYJVEYXW.js +1 -0
  133. package/public/chunk-N2IMTG2V.js +1 -0
  134. package/public/chunk-NDBIOJ3K.js +1 -0
  135. package/public/chunk-NF7H6G7M.js +1 -0
  136. package/public/chunk-NMM246IB.js +1 -0
  137. package/public/chunk-NPWYNB2M.js +1 -0
  138. package/public/chunk-OB3JM574.js +1 -0
  139. package/public/chunk-OKQK5WGA.js +1 -0
  140. package/public/chunk-OYHGZQRR.js +1 -0
  141. package/public/chunk-P3D45344.js +50 -0
  142. package/public/chunk-P7RLJ6EQ.js +16 -0
  143. package/public/chunk-PXNJ4PSF.js +1 -0
  144. package/public/chunk-QB4JVFF7.js +1 -0
  145. package/public/chunk-QIW6VVBV.js +1 -0
  146. package/public/chunk-QOXXKL5T.js +2 -0
  147. package/public/chunk-QRWK7JO5.js +1 -0
  148. package/public/chunk-S52YHDRI.js +2 -0
  149. package/public/chunk-S6JEMYUK.js +3 -0
  150. package/public/chunk-SOEFKTV3.js +1 -0
  151. package/public/chunk-T5WI6HLG.js +1 -0
  152. package/public/chunk-TCWZ7ASJ.js +1 -0
  153. package/public/chunk-TNQQAZ6Z.js +1 -0
  154. package/public/chunk-TXOHSX6R.js +1 -0
  155. package/public/chunk-UQGRSMY3.js +1 -0
  156. package/public/chunk-UR2DRSIX.js +1 -0
  157. package/public/chunk-UR7BEPD4.js +1 -0
  158. package/public/chunk-UXXY7XNH.js +1 -0
  159. package/public/chunk-VHK6V2IY.js +1 -0
  160. package/public/chunk-VQBGFNDB.js +1 -0
  161. package/public/chunk-VVINUJOQ.js +1 -0
  162. package/public/chunk-W546I2QX.js +1 -0
  163. package/public/chunk-W6MP663P.js +1 -0
  164. package/public/chunk-WYJ4N4TV.js +12 -0
  165. package/public/chunk-X6NYM4NC.js +1 -0
  166. package/public/chunk-XEOYEVJE.js +1 -0
  167. package/public/chunk-XM3BXRQJ.js +1 -0
  168. package/public/chunk-YI2ZMXIQ.js +1 -0
  169. package/public/chunk-YJWJIJMQ.js +1 -0
  170. package/public/chunk-YZZ7SAON.js +2 -0
  171. package/public/chunk-ZCGZM7LU.js +1 -0
  172. package/public/chunk-ZI6P36I2.js +1 -0
  173. package/public/chunk-ZPXACREZ.js +4 -0
  174. package/public/index.html +2 -2
  175. package/public/main-QSNNOJ3S.js +1 -0
  176. package/public/media/matter-P563JGDL.svg +8 -0
  177. package/public/polyfills-34U4WL3Z.js +1 -0
  178. package/public/styles-CT2LPGES.css +1 -0
  179. package/scripts/extract-plugin-alias.js +53 -2
  180. package/public/chunk-2U3ZX56Q.js +0 -1
  181. package/public/chunk-3CM3XDPQ.js +0 -1
  182. package/public/chunk-3F6KNL45.js +0 -5
  183. package/public/chunk-3P6RREI4.js +0 -1
  184. package/public/chunk-3PJLBUU2.js +0 -1
  185. package/public/chunk-3SIF5F2G.js +0 -1
  186. package/public/chunk-4HF52WDQ.js +0 -1
  187. package/public/chunk-4SAAAOZB.js +0 -1
  188. package/public/chunk-5GRM2PNI.js +0 -8
  189. package/public/chunk-5JMMHHQ4.js +0 -1
  190. package/public/chunk-5MK5YSCD.js +0 -1
  191. package/public/chunk-5PMRNANG.js +0 -1
  192. package/public/chunk-5YTRU6RQ.js +0 -1
  193. package/public/chunk-6FS45RJF.js +0 -1
  194. package/public/chunk-6PWSLLH6.js +0 -1
  195. package/public/chunk-7QISFIID.js +0 -1
  196. package/public/chunk-ADWZU2CD.js +0 -1
  197. package/public/chunk-AUHK5WFX.js +0 -1
  198. package/public/chunk-AXWMABDM.js +0 -40
  199. package/public/chunk-B6MBMYJR.js +0 -1
  200. package/public/chunk-BH6YBZOU.js +0 -1
  201. package/public/chunk-BON2K2BD.js +0 -2
  202. package/public/chunk-EGNFFHE7.js +0 -1
  203. package/public/chunk-GP2ASPZU.js +0 -1
  204. package/public/chunk-H64DOH56.js +0 -1
  205. package/public/chunk-HH6YV2XU.js +0 -1
  206. package/public/chunk-HTDB22LR.js +0 -2
  207. package/public/chunk-IXN6AYE5.js +0 -1
  208. package/public/chunk-KIOAN3LM.js +0 -4
  209. package/public/chunk-LHF3YGLL.js +0 -1
  210. package/public/chunk-LOQL4YVB.js +0 -1
  211. package/public/chunk-MMBLECEN.js +0 -1
  212. package/public/chunk-MQQHVT3V.js +0 -1
  213. package/public/chunk-OOM2PIRM.js +0 -5
  214. package/public/chunk-PAD4AX4G.js +0 -4
  215. package/public/chunk-PHFSLDY3.js +0 -1
  216. package/public/chunk-PMIQFJLC.js +0 -1
  217. package/public/chunk-QPHMQATT.js +0 -1
  218. package/public/chunk-QXD4RXA4.js +0 -1
  219. package/public/chunk-R7Q4CXAE.js +0 -1
  220. package/public/chunk-RE46WEVT.js +0 -1
  221. package/public/chunk-RRJ62AON.js +0 -3
  222. package/public/chunk-SSVAMLWB.js +0 -1
  223. package/public/chunk-SUH5GCZJ.js +0 -1
  224. package/public/chunk-SVXBDATZ.js +0 -1
  225. package/public/chunk-SZV6CIHF.js +0 -1
  226. package/public/chunk-TKKGKRSM.js +0 -4
  227. package/public/chunk-TKONSQP6.js +0 -1
  228. package/public/chunk-TVL4RPK3.js +0 -19
  229. package/public/chunk-ULW7LKB3.js +0 -1
  230. package/public/chunk-VOVDHI44.js +0 -50
  231. package/public/chunk-WBESNOOP.js +0 -5
  232. package/public/chunk-WL4BMOS6.js +0 -1
  233. package/public/chunk-X7UED2CV.js +0 -1
  234. package/public/chunk-XDFBUXFD.js +0 -1
  235. package/public/chunk-XOKMBJCO.js +0 -1
  236. package/public/chunk-XSYYB5FZ.js +0 -16
  237. package/public/chunk-XX3HQR2J.js +0 -1
  238. package/public/chunk-XYQLLAXO.js +0 -1
  239. package/public/chunk-Y6UHTWO3.js +0 -1
  240. package/public/chunk-YGDUU36N.js +0 -1
  241. package/public/chunk-ZNGQNTVX.js +0 -8
  242. package/public/chunk-ZXUIFQS4.js +0 -51
  243. package/public/main-YQLARDEU.js +0 -1
  244. package/public/polyfills-5KWHJ7II.js +0 -2
  245. package/public/styles-7EFV5QBG.css +0 -1
@@ -0,0 +1 @@
1
+ import{C as Hr,b as Ut,c as Ee,p as Vr}from"./chunk-YZZ7SAON.js";import{$ as We,Aa as Dt,D as Ve,E as He,G as ae,Ib as xr,Ic as Fr,K as pr,L as H,M as Et,Mc as qr,Oc as Br,P as gr,Q as q,R as Ge,Rc as Ze,S as A,U as S,V as vr,Vc as Ye,X as C,Xa as Ir,Xb as jr,Z as mr,_ as T,a as ar,aa as d,ac as $r,b as cr,ba as Ot,bb as Ar,c as ur,cc as kr,d as ee,db as Tr,dc as zr,e as O,ea as ce,fa as D,g as z,h as U,hb as Nt,i as p,ib as x,j as lr,jb as Mr,k as Tt,ka as yr,kb as Er,l as dr,la as Rr,lb as Or,ma as Sr,mb as Pt,na as Cr,nb as Dr,o as R,oa as te,p as hr,pa as wr,pb as Me,q as F,r as Mt,ra as Qe,s as fr,sa as Ae,t as Be,ub as Nr,vb as Pr,wa as G,wb as Ur,xa as Te,xb as _r,ya as Ke,yb as Lr,z as V,za as br}from"./chunk-ZPXACREZ.js";import{a as h,b as P,h as m}from"./chunk-B4AJQJMI.js";var f="primary",ke=Symbol("RouteTitle"),$t=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function oe(t){return new $t(t)}function en(t,n,e){let r=e.path.split("/");if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.length<t.length))return null;let i={};for(let s=0;s<r.length;s++){let o=r[s],a=t[s];if(o[0]===":")i[o.substring(1)]=a;else if(o!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function nt(t){return new Promise((n,e)=>{t.pipe(H()).subscribe({next:r=>n(r),error:r=>e(r)})})}function Wn(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!j(t[e],n[e]))return!1;return!0}function j(t,n){let e=t?kt(t):void 0,r=n?kt(n):void 0;if(!e||!r||e.length!=r.length)return!1;let i;for(let s=0;s<e.length;s++)if(i=e[s],!tn(t[i],n[i]))return!1;return!0}function kt(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function tn(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),r=[...n].sort();return e.every((i,s)=>r[s]===i)}else return t===n}function rn(t){return t.length>0?t[t.length-1]:null}function se(t){return Tt(t)?t:Pr(t)?U(Promise.resolve(t)):p(t)}function nn(t){return Tt(t)?nt(t):Promise.resolve(t)}var Qn={exact:sn,subset:an},on={exact:Kn,subset:Zn,ignored:()=>!0};function Gr(t,n,e){return Qn[e.paths](t.root,n.root,e.matrixParams)&&on[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function Kn(t,n){return j(t,n)}function sn(t,n,e){if(!ne(t.segments,n.segments)||!et(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!sn(t.children[r],n.children[r],e))return!1;return!0}function Zn(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>tn(t[e],n[e]))}function an(t,n,e){return cn(t,n,n.segments,e)}function cn(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!ne(i,e)||n.hasChildren()||!et(i,e,r))}else if(t.segments.length===e.length){if(!ne(t.segments,e)||!et(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!an(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!ne(t.segments,i)||!et(t.segments,i,r)||!t.children[f]?!1:cn(t.children[f],n,s,r)}}function et(t,n,e){return n.every((r,i)=>on[e](t[i].parameters,r.parameters))}var L=class{root;queryParams;fragment;_queryParamMap;constructor(n=new g([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=oe(this.queryParams),this._queryParamMap}toString(){return Jn.serialize(this)}},g=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return tt(this)}},W=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=oe(this.parameters),this._parameterMap}toString(){return ln(this)}};function Yn(t,n){return ne(t,n)&&t.every((e,r)=>j(e.parameters,n[r].parameters))}function ne(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function Xn(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===f&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==f&&(e=e.concat(n(i,r)))}),e}var Re=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=C({token:t,factory:()=>new Q,providedIn:"root"})}return t})(),Q=class{parse(n){let e=new Ft(n);return new L(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Oe(n.root,!0)}`,r=ri(n.queryParams),i=typeof n.fragment=="string"?`#${ei(n.fragment)}`:"";return`${e}${r}${i}`}},Jn=new Q;function tt(t){return t.segments.map(n=>ln(n)).join("/")}function Oe(t,n){if(!t.hasChildren())return tt(t);if(n){let e=t.children[f]?Oe(t.children[f],!1):"",r=[];return Object.entries(t.children).forEach(([i,s])=>{i!==f&&r.push(`${i}:${Oe(s,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=Xn(t,(r,i)=>i===f?[Oe(t.children[f],!1)]:[`${i}:${Oe(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[f]!=null?`${tt(t)}/${e[0]}`:`${tt(t)}/(${e.join("//")})`}}function un(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xe(t){return un(t).replace(/%3B/gi,";")}function ei(t){return encodeURI(t)}function zt(t){return un(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function rt(t){return decodeURIComponent(t)}function Wr(t){return rt(t.replace(/\+/g,"%20"))}function ln(t){return`${zt(t.path)}${ti(t.parameters)}`}function ti(t){return Object.entries(t).map(([n,e])=>`;${zt(n)}=${zt(e)}`).join("")}function ri(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${Xe(e)}=${Xe(i)}`).join("&"):`${Xe(e)}=${Xe(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var ni=/^[^\/()?;#]+/;function _t(t){let n=t.match(ni);return n?n[0]:""}var ii=/^[^\/()?;=#]+/;function oi(t){let n=t.match(ii);return n?n[0]:""}var si=/^[^=?&#]+/;function ai(t){let n=t.match(si);return n?n[0]:""}var ci=/^[^&#]+/;function ui(t){let n=t.match(ci);return n?n[0]:""}var Ft=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new g([],{}):new g([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(r[f]=new g(n,e)),r}parseSegment(){let n=_t(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new S(4009,!1);return this.capture(n),new W(rt(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=oi(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=_t(this.remaining);i&&(r=i,this.capture(r))}n[rt(e)]=rt(r)}parseQueryParam(n){let e=ai(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let o=ui(this.remaining);o&&(r=o,this.capture(r))}let i=Wr(e),s=Wr(r);if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)||(o=[o],n[i]=o),o.push(s)}else n[i]=s}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=_t(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new S(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=f);let o=this.parseChildren();e[s??f]=Object.keys(o).length===1&&o[f]?o[f]:new g([],o),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new S(4011,!1)}};function dn(t){return t.segments.length>0?new g([],{[f]:t}):t}function hn(t){let n={};for(let[r,i]of Object.entries(t.children)){let s=hn(i);if(r===f&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))n[o]=a;else(s.segments.length>0||s.hasChildren())&&(n[r]=s)}let e=new g(t.segments,n);return li(e)}function li(t){if(t.numberOfChildren===1&&t.children[f]){let n=t.children[f];return new g(t.segments.concat(n.segments),n.children)}return t}function K(t){return t instanceof L}function fn(t,n,e=null,r=null,i=new Q){let s=pn(t);return gn(s,n,e,r,i)}function pn(t){let n;function e(s){let o={};for(let c of s.children){let u=e(c);o[c.outlet]=u}let a=new g(s.url,o);return s===t&&(n=a),a}let r=e(t.root),i=dn(r);return n??i}function gn(t,n,e,r,i){let s=t;for(;s.parent;)s=s.parent;if(n.length===0)return Lt(s,s,s,e,r,i);let o=di(n);if(o.toRoot())return Lt(s,s,new g([],{}),e,r,i);let a=hi(o,s,t),c=a.processChildren?Ne(a.segmentGroup,a.index,o.commands):mn(a.segmentGroup,a.index,o.commands);return Lt(s,a.segmentGroup,c,e,r,i)}function it(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ue(t){return typeof t=="object"&&t!=null&&t.outlets}function Qr(t,n,e){t||="\u0275";let r=new L;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function Lt(t,n,e,r,i,s){let o={};for(let[u,l]of Object.entries(r??{}))o[u]=Array.isArray(l)?l.map(v=>Qr(u,v,s)):Qr(u,l,s);let a;t===n?a=e:a=vn(t,n,e);let c=dn(hn(a));return new L(c,o,i)}function vn(t,n,e){let r={};return Object.entries(t.children).forEach(([i,s])=>{s===n?r[i]=e:r[i]=vn(s,n,e)}),new g(t.segments,r)}var ot=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&it(r[0]))throw new S(4003,!1);let i=r.find(Ue);if(i&&i!==rn(r))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function di(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new ot(!0,0,t);let n=0,e=!1,r=t.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?n++:a!=""&&i.push(a))}),i):[...i,s]},[]);return new ot(e,n,r)}var le=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function hi(t,n,e){if(t.isAbsolute)return new le(n,!0,0);if(!e)return new le(n,!1,NaN);if(e.parent===null)return new le(e,!0,0);let r=it(t.commands[0])?0:1,i=e.segments.length-1+r;return fi(e,i,t.numberOfDoubleDots)}function fi(t,n,e){let r=t,i=n,s=e;for(;s>i;){if(s-=i,r=r.parent,!r)throw new S(4005,!1);i=r.segments.length}return new le(r,!1,i-s)}function pi(t){return Ue(t[0])?t[0].outlets:{[f]:t}}function mn(t,n,e){if(t??=new g([],{}),t.segments.length===0&&t.hasChildren())return Ne(t,n,e);let r=gi(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){let s=new g(t.segments.slice(0,r.pathIndex),{});return s.children[f]=new g(t.segments.slice(r.pathIndex),t.children),Ne(s,0,i)}else return r.match&&i.length===0?new g(t.segments,{}):r.match&&!t.hasChildren()?qt(t,n,e):r.match?Ne(t,0,i):qt(t,n,e)}function Ne(t,n,e){if(e.length===0)return new g(t.segments,{});{let r=pi(e),i={};if(Object.keys(r).some(s=>s!==f)&&t.children[f]&&t.numberOfChildren===1&&t.children[f].segments.length===0){let s=Ne(t.children[f],n,e);return new g(t.segments,s.children)}return Object.entries(r).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=mn(t.children[s],n,o))}),Object.entries(t.children).forEach(([s,o])=>{r[s]===void 0&&(i[s]=o)}),new g(t.segments,i)}}function gi(t,n,e){let r=0,i=n,s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=e.length)return s;let o=t.segments[i],a=e[r];if(Ue(a))break;let c=`${a}`,u=r<e.length-1?e[r+1]:null;if(i>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Zr(c,u,o))return s;r+=2}else{if(!Zr(c,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function qt(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i<e.length;){let s=e[i];if(Ue(s)){let c=vi(s.outlets);return new g(r,c)}if(i===0&&it(e[0])){let c=t.segments[n];r.push(new W(c.path,Kr(e[0]))),i++;continue}let o=Ue(s)?s.outlets[f]:`${s}`,a=i<e.length-1?e[i+1]:null;o&&a&&it(a)?(r.push(new W(o,Kr(a))),i+=2):(r.push(new W(o,{})),i++)}return new g(r,{})}function vi(t){let n={};return Object.entries(t).forEach(([e,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=qt(new g([],{}),0,r))}),n}function Kr(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function Zr(t,n,e){return t==e.path&&j(n,e.parameters)}var de="imperative",y=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(y||{}),E=class{id;url;constructor(n,e){this.id=n,this.url=e}},Z=class extends E{type=y.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",i=null){super(n,e),this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},N=class extends E{urlAfterRedirects;type=y.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},I=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(I||{}),fe=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(fe||{}),$=class extends E{reason;code;type=y.NavigationCancel;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},k=class extends E{reason;code;type=y.NavigationSkipped;constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i}},pe=class extends E{error;target;type=y.NavigationError;constructor(n,e,r,i){super(n,e),this.error=r,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},_e=class extends E{urlAfterRedirects;state;type=y.RoutesRecognized;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},st=class extends E{urlAfterRedirects;state;type=y.GuardsCheckStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},at=class extends E{urlAfterRedirects;state;shouldActivate;type=y.GuardsCheckEnd;constructor(n,e,r,i,s){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ct=class extends E{urlAfterRedirects;state;type=y.ResolveStart;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ut=class extends E{urlAfterRedirects;state;type=y.ResolveEnd;constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},lt=class{route;type=y.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},dt=class{route;type=y.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ht=class{snapshot;type=y.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ft=class{snapshot;type=y.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},pt=class{snapshot;type=y.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},gt=class{snapshot;type=y.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ge=class{routerEvent;position;anchor;type=y.Scroll;constructor(n,e,r){this.routerEvent=n,this.position=e,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Le=class{},ve=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function mi(t){return!(t instanceof Le)&&!(t instanceof ve)}function yi(t,n){return t.providers&&!t._injector&&(t._injector=Pt(t.providers,n,`Route: ${t.path}`)),t._injector??n}function _(t){return t.outlet||f}function Ri(t,n){let e=t.filter(r=>_(r)===n);return e.push(...t.filter(r=>_(r)!==n)),e}function Se(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var vt=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Se(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Ce(this.rootInjector)}},Ce=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new vt(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(We(ce))};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mt=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Bt(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=Bt(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Vt(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Vt(n,this._root).map(e=>e.value)}};function Bt(t,n){if(t===n.value)return n;for(let e of n.children){let r=Bt(t,e);if(r)return r}return null}function Vt(t,n){if(t===n.value)return[n];for(let e of n.children){let r=Vt(t,e);if(r.length)return r.unshift(n),r}return[]}var M=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function ue(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var xe=class extends mt{snapshot;constructor(n,e){super(n),this.snapshot=e,Zt(this,n)}toString(){return this.snapshot.toString()}};function yn(t){let n=Si(t),e=new O([new W("",{})]),r=new O({}),i=new O({}),s=new O({}),o=new O(""),a=new B(e,r,s,o,i,f,t,n.root);return a.snapshot=n.root,new xe(new M(a,[]),n)}function Si(t){let n={},e={},r={},s=new ie([],n,r,"",e,f,t,null,{});return new je("",new M(s,[]))}var B=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,i,s,o,a,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(R(u=>u[ke]))??p(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(R(n=>oe(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(R(n=>oe(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function yt(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:h(h({},n.params),t.params),data:h(h({},n.data),t.data),resolve:h(h(h(h({},t.data),n.data),i?.data),t._resolvedData)}:r={params:h({},t.params),data:h({},t.data),resolve:h(h({},t.data),t._resolvedData??{})},i&&Sn(i)&&(r.resolve[ke]=i.title),r}var ie=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ke]}constructor(n,e,r,i,s,o,a,c,u){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=oe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=oe(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},je=class extends mt{url;constructor(n,e){super(e),this.url=n,Zt(this,e)}toString(){return Rn(this._root)}};function Zt(t,n){n.value._routerState=t,n.children.forEach(e=>Zt(t,e))}function Rn(t){let n=t.children.length>0?` { ${t.children.map(Rn).join(", ")} } `:"";return`${t.value}${n}`}function xt(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,j(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),j(n.params,e.params)||t.paramsSubject.next(e.params),Wn(n.url,e.url)||t.urlSubject.next(e.url),j(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Ht(t,n){let e=j(t.params,n.params)&&Yn(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||Ht(t.parent,n.parent))}function Sn(t){return typeof t.title=="string"||t.title===null}var Cn=new T(""),Yt=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=f;activateEvents=new te;deactivateEvents=new te;attachEvents=new te;detachEvents=new te;routerOutletData=Br(void 0,{});parentContexts=d(Ce);location=d(Er);changeDetector=d(Ze);inputBinder=d(wt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new S(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new S(4013,!1);this._activatedRoute=e;let i=this.location,o=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Gt(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(o,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=Me({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Te]})}return t})(),Gt=class{route;childContexts;parent;outletData;constructor(n,e,r,i){this.route=n,this.childContexts=e,this.parent=r,this.outletData=i}get(n,e){return n===B?this.route:n===Ce?this.childContexts:n===Cn?this.outletData:this.parent.get(n,e)}},wt=new T("");var Xt=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Dr({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&xr(0,"router-outlet")},dependencies:[Yt],encapsulation:2})}return t})();function Jt(t){let n=t.children&&t.children.map(Jt),e=n?P(h({},t),{children:n}):h({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==f&&(e.component=Xt),e}function Ci(t,n,e){let r=$e(t,n._root,e?e._root:void 0);return new xe(r,n)}function $e(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=wi(t,n,e);return new M(r,i)}else{if(t.shouldAttach(n.value)){let s=t.retrieve(n.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(a=>$e(t,a)),o}}let r=bi(n.value),i=n.children.map(s=>$e(t,s));return new M(r,i)}}function wi(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return $e(t,r,i);return $e(t,r)})}function bi(t){return new B(new O(t.url),new O(t.params),new O(t.queryParams),new O(t.fragment),new O(t.data),t.outlet,t.component,t)}var me=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},wn="ngNavigationCancelingError";function Rt(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=K(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=bn(!1,I.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function bn(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[wn]=!0,e.cancellationCode=n,e}function Ii(t){return In(t)&&K(t.url)}function In(t){return!!t&&t[wn]}var Ai=(t,n,e,r)=>R(i=>(new Wt(n,i.targetRouterState,i.currentRouterState,e,r).activate(t),i)),Wt=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,i,s){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=s}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),xt(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=ue(e);n.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(n,e,r){let i=n.value,s=e?e.value:null;if(i===s)if(i.component){let o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(n,e,o.children)}else this.deactivateChildRoutes(n,e,r);else s&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,s=ue(n);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(r&&r.outlet){let o=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,s=ue(n);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let i=ue(e);n.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new gt(s.value.snapshot))}),n.children.length&&this.forwardEvent(new ft(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,s=e?e.value:null;if(xt(i),i===s)if(i.component){let o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,o.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),xt(a.route.value),this.activateChildRoutes(n,null,o.children)}else o.attachRef=null,o.route=i,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(n,null,o.children)}else this.activateChildRoutes(n,null,r)}},St=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},he=class{component;route;constructor(n,e){this.component=n,this.route=e}};function Ti(t,n,e){let r=t._root,i=n?n._root:null;return De(r,i,e,[r.value])}function Mi(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function we(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!mr(t)?t:n.get(t):r}function De(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=ue(n);return t.children.forEach(o=>{Ei(o,s[o.value.outlet],e,r.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,a])=>Pe(a,e.getContext(o),i)),i}function Ei(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=t.value,o=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let c=Oi(o,s,s.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new St(r)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?De(t,n,a?a.children:null,r,i):De(t,n,e,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new he(a.outlet.component,o))}else o&&Pe(n,a,i),i.canActivateChecks.push(new St(r)),s.component?De(t,null,a?a.children:null,r,i):De(t,null,e,r,i);return i}function Oi(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!ne(t.url,n.url);case"pathParamsOrQueryParamsChange":return!ne(t.url,n.url)||!j(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ht(t,n)||!j(t.queryParams,n.queryParams);case"paramsChange":default:return!Ht(t,n)}}function Pe(t,n,e){let r=ue(t),i=t.value;Object.entries(r).forEach(([s,o])=>{i.component?n?Pe(o,n.children.getContext(s),e):Pe(o,null,e):Pe(o,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new he(n.outlet.component,i)):e.canDeactivateChecks.push(new he(null,i)):e.canDeactivateChecks.push(new he(null,i))}function ze(t){return typeof t=="function"}function Di(t){return typeof t=="boolean"}function Ni(t){return t&&ze(t.canLoad)}function Pi(t){return t&&ze(t.canActivate)}function Ui(t){return t&&ze(t.canActivateChild)}function _i(t){return t&&ze(t.canDeactivate)}function Li(t){return t&&ze(t.canMatch)}function An(t){return t instanceof dr||t?.name==="EmptyError"}var Je=Symbol("INITIAL_VALUE");function ye(){return q(t=>hr(t.map(n=>n.pipe(ae(1),gr(Je)))).pipe(R(n=>{for(let e of n)if(e!==!0){if(e===Je)return Je;if(e===!1||xi(e))return e}return!0}),V(n=>n!==Je),ae(1)))}function xi(t){return K(t)||t instanceof me}function Tn(t){return t.aborted?p(void 0).pipe(ae(1)):new ur(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function Mn(t){return Ge(Tn(t))}function ji(t,n){return F(e=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return o.length===0&&s.length===0?p(P(h({},e),{guardsResult:!0})):$i(o,r,i,t).pipe(F(a=>a&&Di(a)?ki(r,s,t,n):p(a)),R(a=>P(h({},e),{guardsResult:a})))})}function $i(t,n,e,r){return U(t).pipe(F(i=>Vi(i.component,i.route,e,n,r)),H(i=>i!==!0,!0))}function ki(t,n,e,r){return U(n).pipe(He(i=>fr(Fi(i.route.parent,r),zi(i.route,r),Bi(t,i.path,e),qi(t,i.route,e))),H(i=>i!==!0,!0))}function zi(t,n){return t!==null&&n&&n(new pt(t)),p(!0)}function Fi(t,n){return t!==null&&n&&n(new ht(t)),p(!0)}function qi(t,n,e){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return p(!0);let i=r.map(s=>Be(()=>{let o=Se(n)??e,a=we(s,o),c=Pi(a)?a.canActivate(n,t):D(o,()=>a(n,t));return se(c).pipe(H())}));return p(i).pipe(ye())}function Bi(t,n,e){let r=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(o=>Mi(o)).filter(o=>o!==null).map(o=>Be(()=>{let a=o.guards.map(c=>{let u=Se(o.node)??e,l=we(c,u),v=Ui(l)?l.canActivateChild(r,t):D(u,()=>l(r,t));return se(v).pipe(H())});return p(a).pipe(ye())}));return p(s).pipe(ye())}function Vi(t,n,e,r,i){let s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!s||s.length===0)return p(!0);let o=s.map(a=>{let c=Se(n)??i,u=we(a,c),l=_i(u)?u.canDeactivate(t,n,e,r):D(c,()=>u(t,n,e,r));return se(l).pipe(H())});return p(o).pipe(ye())}function Hi(t,n,e,r,i){let s=n.canLoad;if(s===void 0||s.length===0)return p(!0);let o=s.map(a=>{let c=we(a,t),u=Ni(c)?c.canLoad(n,e):D(t,()=>c(n,e)),l=se(u);return i?l.pipe(Mn(i)):l});return p(o).pipe(ye(),En(r))}function En(t){return cr(A(n=>{if(typeof n!="boolean")throw Rt(t,n)}),R(n=>n===!0))}function Gi(t,n,e,r,i){let s=n.canMatch;if(!s||s.length===0)return p(!0);let o=s.map(a=>{let c=we(a,t),u=Li(c)?c.canMatch(n,e):D(t,()=>c(n,e)),l=se(u);return i?l.pipe(Mn(i)):l});return p(o).pipe(ye(),En(r))}var re=class On extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,On.prototype)}},Qt=class Dn extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,Dn.prototype)}};function Wi(t){throw new S(4e3,!1)}function Qi(t){throw bn(!1,I.GuardRejected)}var Ki=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){return m(this,null,function*(){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[f])throw Wi(`${n.redirectTo}`);i=i.children[f]}})}applyRedirectCommands(n,e,r,i,s){return m(this,null,function*(){let o=yield Zi(e,i,s);if(o instanceof L)throw new Qt(o);let a=this.applyRedirectCreateUrlTree(o,this.urlSerializer.parse(o),n,r);if(o[0]==="/")throw new Qt(a);return a})}applyRedirectCreateUrlTree(n,e,r,i){let s=this.createSegmentGroup(n,e.root,r,i);return new L(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,s])=>{if(typeof s=="string"&&s[0]===":"){let a=s.substring(1);r[i]=e[a]}else r[i]=s}),r}createSegmentGroup(n,e,r,i){let s=this.createSegments(n,e.segments,r,i),o={};return Object.entries(e.children).forEach(([a,c])=>{o[a]=this.createSegmentGroup(n,c,r,i)}),new g(s,o)}createSegments(n,e,r,i){return e.map(s=>s.path[0]===":"?this.findPosParam(n,s,i):this.findOrReturn(s,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new S(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}};function Zi(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t,{queryParams:i,fragment:s,routeConfig:o,url:a,outlet:c,params:u,data:l,title:v}=n;return nt(se(D(e,()=>r({params:u,data:l,queryParams:i,fragment:s,routeConfig:o,url:a,outlet:c,title:v}))))}var Kt={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Yi(t,n,e,r,i,s){let o=Nn(t,n,e);return o.matched?(r=yi(n,r),Gi(r,n,e,i,s).pipe(R(a=>a===!0?o:h({},Kt)))):p(o)}function Nn(t,n,e){if(n.path==="**")return Xi(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?h({},Kt):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||en)(e,t,n);if(!i)return h({},Kt);let s={};Object.entries(i.posParams??{}).forEach(([a,c])=>{s[a]=c.path});let o=i.consumed.length>0?h(h({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function Xi(t){return{matched:!0,parameters:t.length>0?rn(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Yr(t,n,e,r){return e.length>0&&to(t,e,r)?{segmentGroup:new g(n,eo(r,new g(e,t.children))),slicedSegments:[]}:e.length===0&&ro(t,e,r)?{segmentGroup:new g(t.segments,Ji(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new g(t.segments,t.children),slicedSegments:e}}function Ji(t,n,e,r){let i={};for(let s of e)if(bt(t,n,s)&&!r[_(s)]){let o=new g([],{});i[_(s)]=o}return h(h({},r),i)}function eo(t,n){let e={};e[f]=n;for(let r of t)if(r.path===""&&_(r)!==f){let i=new g([],{});e[_(r)]=i}return e}function to(t,n,e){return e.some(r=>bt(t,n,r)&&_(r)!==f)}function ro(t,n,e){return e.some(r=>bt(t,n,r))}function bt(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function no(t,n,e){return n.length===0&&!t.children[e]}var io=class{};function oo(t,n,e,r,i,s,o="emptyOnly",a){return m(this,null,function*(){return new ao(t,n,e,r,i,o,s,a).recognize()})}var so=31,ao=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,i,s,o,a,c){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new Ki(this.urlSerializer,this.urlTree)}noMatchError(n){return new S(4002,`'${n.segmentGroup}'`)}recognize(){return m(this,null,function*(){let n=Yr(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=yield this.match(n),i=new M(r,e),s=new je("",i),o=fn(r,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}})}match(n){return m(this,null,function*(){let e=new ie([],Object.freeze({}),Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),f,this.rootComponentType,null,{});try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,f,e),rootSnapshot:e}}catch(r){if(r instanceof Qt)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof re?this.noMatchError(r):r}})}processSegmentGroup(n,e,r,i,s){return m(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,s);let o=yield this.processSegment(n,e,r,r.segments,i,!0,s);return o instanceof M?[o]:[]})}processChildren(n,e,r,i){return m(this,null,function*(){let s=[];for(let c of Object.keys(r.children))c==="primary"?s.unshift(c):s.push(c);let o=[];for(let c of s){let u=r.children[c],l=Ri(e,c),v=yield this.processSegmentGroup(n,l,u,c,i);o.push(...v)}let a=Pn(o);return co(a),a})}processSegment(n,e,r,i,s,o,a){return m(this,null,function*(){for(let c of e)try{return yield this.processSegmentAgainstRoute(c._injector??n,e,c,r,i,s,o,a)}catch(u){if(u instanceof re||An(u))continue;throw u}if(no(r,i,s))return new io;throw new re(r)})}processSegmentAgainstRoute(n,e,r,i,s,o,a,c){return m(this,null,function*(){if(_(r)!==o&&(o===f||!bt(i,s,r)))throw new re(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,r,s,o,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,s,o,c);throw new re(i)})}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,s,o,a){return m(this,null,function*(){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:v,remainingSegments:w}=Nn(e,i,s);if(!c)throw new re(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>so&&(this.allowRedirects=!1));let b=new ie(s,u,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Xr(i),_(i),i.component??i._loadedComponent??null,i,Jr(i)),Y=yt(b,a,this.paramsInheritanceStrategy);if(b.params=Object.freeze(Y.params),b.data=Object.freeze(Y.data),this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let X=yield this.applyRedirects.applyRedirectCommands(l,i.redirectTo,v,b,n),J=yield this.applyRedirects.lineralizeSegments(i,X);return this.processSegment(n,r,e,J.concat(w),o,!1,a)})}matchSegmentAgainstRoute(n,e,r,i,s,o){return m(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=yield nt(Yi(e,r,i,n,this.urlSerializer,this.abortSignal));if(r.path==="**"&&(e.children={}),!a?.matched)throw new re(e);n=r._injector??n;let{routes:c}=yield this.getChildConfig(n,r,i),u=r._loadedInjector??n,{parameters:l,consumedSegments:v,remainingSegments:w}=a,b=new ie(v,l,Object.freeze(h({},this.urlTree.queryParams)),this.urlTree.fragment,Xr(r),_(r),r.component??r._loadedComponent??null,r,Jr(r)),Y=yt(b,o,this.paramsInheritanceStrategy);b.params=Object.freeze(Y.params),b.data=Object.freeze(Y.data);let{segmentGroup:X,slicedSegments:J}=Yr(e,v,w,c);if(J.length===0&&X.hasChildren()){let Hn=yield this.processChildren(u,c,X,b);return new M(b,Hn)}if(c.length===0&&J.length===0)return new M(b,[]);let qe=_(r)===s,sr=yield this.processSegment(u,c,X,J,qe?f:s,!0,b);return new M(b,sr instanceof M?[sr]:[])})}getChildConfig(n,e,r){return m(this,null,function*(){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0)return{routes:e._loadedRoutes,injector:e._loadedInjector};if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield nt(Hi(n,e,r,this.urlSerializer,this.abortSignal))){let s=yield this.configLoader.loadChildren(n,e);return e._loadedRoutes=s.routes,e._loadedInjector=s.injector,s}throw Qi(e)}return{routes:[],injector:n}})}};function co(t){t.sort((n,e)=>n.value.outlet===f?-1:e.value.outlet===f?1:n.value.outlet.localeCompare(e.value.outlet))}function uo(t){let n=t.value.routeConfig;return n&&n.path===""}function Pn(t){let n=[],e=new Set;for(let r of t){if(!uo(r)){n.push(r);continue}let i=n.find(s=>r.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=Pn(r.children);n.push(new M(r.value,i))}return n.filter(r=>!e.has(r))}function Xr(t){return t.data||{}}function Jr(t){return t.resolve||{}}var lo=new T("",{factory:()=>oo});function ho(t,n,e,r,i,s,o){let a=t.get(lo);return F(c=>p(c).pipe(q(u=>a(t,n,e,r,u.extractedUrl,i,s,o)),R(({state:u,tree:l})=>P(h({},c),{targetSnapshot:u,urlAfterRedirects:l}))))}function fo(t,n){return F(e=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return p(e);let s=new Set(i.map(c=>c.route)),o=new Set;for(let c of s)if(!o.has(c))for(let u of Un(c))o.add(u);let a=0;return U(o).pipe(He(c=>s.has(c)?po(c,r,t,n):(c.data=yt(c,c.parent,t).resolve,p(void 0))),A(()=>a++),Et(1),F(c=>a===o.size?p(e):z))})}function Un(t){let n=t.children.map(e=>Un(e)).flat();return[t,...n]}function po(t,n,e,r){let i=t.routeConfig,s=t._resolve;return i?.title!==void 0&&!Sn(i)&&(s[ke]=i.title),Be(()=>(t.data=yt(t,t.parent,e).resolve,go(s,t,n,r).pipe(R(o=>(t._resolvedData=o,t.data=h(h({},t.data),o),null)))))}function go(t,n,e,r){let i=kt(t);if(i.length===0)return p({});let s={};return U(i).pipe(F(o=>vo(t[o],n,e,r).pipe(H(),A(a=>{if(a instanceof me)throw Rt(new Q,a);s[o]=a}))),Et(1),R(()=>s),Ve(o=>An(o)?z:lr(o)))}function vo(t,n,e,r){let i=Se(n)??r,s=we(t,i),o=s.resolve?s.resolve(n,e):D(i,()=>s(n,e));return se(o)}function jt(t){return q(n=>{let e=t(n);return e?U(e).pipe(R(()=>n)):p(n)})}var er=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(s=>s.outlet===f);return r}getResolvedTitleForRoute(e){return e.data[ke]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=C({token:t,factory:()=>d(_n),providedIn:"root"})}return t})(),_n=(()=>{class t extends er{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(We(Hr))};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),be=new T("",{factory:()=>({})}),Fe=new T(""),Ln=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(Fr);loadComponent(e,r){return m(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=m(this,null,function*(){try{let s=yield nn(D(e,()=>r.loadComponent())),o=yield $n(jn(s));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=o,o}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,i),i})}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=m(this,null,function*(){try{let s=yield xn(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=s.routes,r._loadedInjector=s.injector,s}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,i),i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function xn(t,n,e,r){return m(this,null,function*(){let i=yield nn(D(e,()=>t.loadChildren())),s=yield $n(jn(i)),o;s instanceof Or||Array.isArray(s)?o=s:o=yield n.compileModuleAsync(s),r&&r(t);let a,c,u=!1;return Array.isArray(o)?(c=o,u=!0):(a=o.create(e).injector,c=a.get(Fe,[],{optional:!0,self:!0}).flat()),{routes:c.map(Jt),injector:a}})}function mo(t){return t&&typeof t=="object"&&"default"in t}function jn(t){return mo(t)?t.default:t}function $n(t){return m(this,null,function*(){return t})}var It=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=C({token:t,factory:()=>d(yo),providedIn:"root"})}return t})(),yo=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),tr=new T(""),rr=new T("");function kn(t,n,e){let r=t.get(rr),i=t.get(Rr);if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let s,o=new Promise(u=>{s=u}),a=i.startViewTransition(()=>(s(),Ro(t)));a.ready.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&D(t,()=>c({transition:a,from:n,to:e})),o}function Ro(t){return new Promise(n=>{Tr({read:()=>setTimeout(n)},{injector:t})})}var So=()=>{},zn=new T(""),nr=(()=>{class t{currentNavigation=Ae(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Ae(null,{});events=new ee;transitionAbortWithErrorSubject=new ee;configLoader=d(Ln);environmentInjector=d(ce);destroyRef=d(Sr);urlSerializer=d(Re);rootContexts=d(Ce);location=d(Ee);inputBindingEnabled=d(wt,{optional:!0})!==null;titleStrategy=d(er);options=d(be,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(It);createViewTransition=d(tr,{optional:!0});navigationErrorHandler=d(zn,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>p(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new lt(i)),r=i=>this.events.next(new dt(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;G(()=>{this.transitions?.next(P(h({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r}))})}setupNavigations(e){return this.transitions=new O(null),this.transitions.pipe(V(r=>r!==null),q(r=>{let i=!1,s=new AbortController;return p(r).pipe(q(o=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",I.SupersededByNewNavigation),z;this.currentTransition=r;let a=this.lastSuccessfulNavigation();this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:a?P(h({},a),{previousNavigation:null}):null,abort:()=>s.abort()});let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&u!=="reload")return this.events.next(new k(o.id,this.urlSerializer.serialize(o.rawUrl),"",fe.IgnoredSameUrlNavigation)),o.resolve(!1),z;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return p(o).pipe(q(l=>(this.events.next(new Z(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?z:Promise.resolve(l))),ho(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),A(l=>{r.targetSnapshot=l.targetSnapshot,r.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation.update(w=>(w.finalUrl=l.urlAfterRedirects,w));let v=new _e(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(v)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:l,extractedUrl:v,source:w,restoredState:b,extras:Y}=o,X=new Z(l,this.urlSerializer.serialize(v),w,b);this.events.next(X);let J=yn(this.rootComponentType).snapshot;return this.currentTransition=r=P(h({},o),{targetSnapshot:J,urlAfterRedirects:v,extras:P(h({},Y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(qe=>(qe.finalUrl=v,qe)),p(r)}else return this.events.next(new k(o.id,this.urlSerializer.serialize(o.extractedUrl),"",fe.IgnoredByUrlHandlingStrategy)),o.resolve(!1),z}),A(o=>{let a=new st(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(a)}),R(o=>(this.currentTransition=r=P(h({},o),{guards:Ti(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),r)),ji(this.environmentInjector,o=>this.events.next(o)),A(o=>{if(r.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw Rt(this.urlSerializer,o.guardsResult);let a=new at(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(a)}),V(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",I.GuardRejected),!1)),jt(o=>{if(o.guards.canActivateChecks.length!==0)return p(o).pipe(A(a=>{let c=new ct(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),q(a=>{let c=!1;return p(a).pipe(fo(this.paramsInheritanceStrategy,this.environmentInjector),A({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(a,"",I.NoDataFromResolver)}}))}),A(a=>{let c=new ut(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}))}),jt(o=>{let a=u=>{let l=[];if(u.routeConfig?._loadedComponent)u.component=u.routeConfig?._loadedComponent;else if(u.routeConfig?.loadComponent){let v=Se(u)??this.environmentInjector;l.push(this.configLoader.loadComponent(v,u.routeConfig).then(w=>{u.component=w}))}for(let v of u.children)l.push(...a(v));return l},c=a(o.targetSnapshot.root);return c.length===0?p(o):U(Promise.all(c).then(()=>o))}),jt(()=>this.afterPreactivation()),q(()=>{let{currentSnapshot:o,targetSnapshot:a}=r,c=this.createViewTransition?.(this.environmentInjector,o.root,a.root);return c?U(c).pipe(R(()=>r)):p(r)}),R(o=>{let a=Ci(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=r=P(h({},o),{targetRouterState:a}),this.currentNavigation.update(c=>(c.targetRouterState=a,c)),r}),A(()=>{this.events.next(new Le)}),Ai(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),ae(1),Ge(Tn(s.signal).pipe(V(()=>!i&&!r.targetRouterState),A(()=>{this.cancelNavigationTransition(r,s.signal.reason+"",I.Aborted)}))),A({next:o=>{i=!0,this.currentNavigation.update(a=>(a.abort=So,a)),this.lastSuccessfulNavigation.set(G(this.currentNavigation)),this.events.next(new N(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{i=!0}}),Ge(this.transitionAbortWithErrorSubject.pipe(A(o=>{throw o}))),pr(()=>{s.abort(),i||this.cancelNavigationTransition(r,"",I.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Ve(o=>{if(this.destroyed)return r.resolve(!1),z;if(i=!0,In(o))this.events.next(new $(r.id,this.urlSerializer.serialize(r.extractedUrl),o.message,o.cancellationCode)),Ii(o)?this.events.next(new ve(o.url,o.navigationBehaviorOptions)):r.resolve(!1);else{let a=new pe(r.id,this.urlSerializer.serialize(r.extractedUrl),o,r.targetSnapshot??void 0);try{let c=D(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(c instanceof me){let{message:u,cancellationCode:l}=Rt(this.urlSerializer,c);this.events.next(new $(r.id,this.urlSerializer.serialize(r.extractedUrl),u,l)),this.events.next(new ve(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(a),o}catch(c){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(c)}}return z}))}))}cancelNavigationTransition(e,r,i){let s=new $(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(s),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=G(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Co(t){return t!==de}var Fn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=C({token:t,factory:()=>d(wo),providedIn:"root"})}return t})(),Ct=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},wo=(()=>{class t extends Ct{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ke(t)))(i||t)}})();static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ir=(()=>{class t{urlSerializer=d(Re);options=d(be,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=d(Ee);urlHandlingStrategy=d(It);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new L;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:i}){let s=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,o=i??s;return o instanceof L?this.urlSerializer.serialize(o):o}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:i}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=e):this.rawUrlTree=i}routerState=yn(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=C({token:t,factory:()=>d(qn),providedIn:"root"})}return t})(),qn=(()=>{class t extends ir{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate")})})}handleRouterEvent(e,r){e instanceof Z?this.updateStateMemento():e instanceof k?this.commitTransition(r):e instanceof _e?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Le?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof $&&e.code!==I.SupersededByNewNavigation&&e.code!==I.Redirect?this.restoreHistory(r):e instanceof pe?this.restoreHistory(r,!0):e instanceof N&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:r,id:i}){let{replaceUrl:s,state:o}=r;if(this.location.isCurrentPathEqualTo(e)||s){let a=this.browserPageId,c=h(h({},o),this.generateNgRouterState(i,a));this.location.replaceState(e,"",c)}else{let a=h(h({},o),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.getCurrentUrlTree()===e.finalUrl&&s===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ke(t)))(i||t)}})();static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function or(t,n){t.events.pipe(V(e=>e instanceof N||e instanceof $||e instanceof pe||e instanceof k),R(e=>e instanceof N||e instanceof k?0:(e instanceof $?e.code===I.Redirect||e.code===I.SupersededByNewNavigation:!1)?2:1),V(e=>e!==2),ae(1)).subscribe(()=>{n()})}var bo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Io={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ie=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(Nr);stateManager=d(ir);options=d(be,{optional:!0})||{};pendingTasks=d(Cr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(nr);urlSerializer=d(Re);location=d(Ee);urlHandlingStrategy=d(It);injector=d(ce);_events=new ee;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(Fn);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(Fe,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(wt,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ar;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,s=G(this.navigationTransitions.currentNavigation);if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof $&&r.code!==I.Redirect&&r.code!==I.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof N)this.navigated=!0;else if(r instanceof ve){let o=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=h({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Co(i.source)},o);this.scheduleNavigation(a,de,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}mi(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),de,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,i)=>{this.navigateToSyncWithBrowser(e,i,r)})}navigateToSyncWithBrowser(e,r,i){let s={replaceUrl:!0},o=i?.navigationId?i:null;if(i){let c=h({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,r,o,s).catch(c=>{this.disposed||this.injector.get(Qe)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return G(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Jt),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:o,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=h(h({},this.currentUrlTree.queryParams),s);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=s||null}l!==null&&(l=this.removeEmptyProps(l));let v;try{let w=i?i.snapshot:this.routerState.snapshot.root;v=pn(w)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),v=this.currentUrlTree.root}return gn(v,e,l,u??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let i=K(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,de,null,r)}navigate(e,r={skipLocationChange:!1}){return Ao(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(vr(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=h({},bo):r===!1?i=h({},Io):i=r,K(e))return Gr(this.currentUrlTree,e,i);let s=this.parseUrl(e);return Gr(this.currentUrlTree,s,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,s])=>(s!=null&&(r[i]=s),r),{})}scheduleNavigation(e,r,i,s,o){if(this.disposed)return Promise.resolve(!1);let a,c,u;o?(a=o.resolve,c=o.reject,u=o.promise):u=new Promise((v,w)=>{a=v,c=w});let l=this.pendingTasks.add();return or(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:s,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(v=>Promise.reject(v))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ao(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new S(4008,!1)}var At=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=Ae(null,{});get href(){return G(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new ee;applicationErrorHandler=d(Qe);options=d(be,{optional:!0});constructor(e,r,i,s,o,a){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=s,this.el=o,this.locationStrategy=a,this.reactiveHref.set(d(new qr("href"),{optional:!0}));let c=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let e=this.preserveFragment,r=i=>i==="merge"||i==="preserve";e||=r(this.queryParamsHandling),e||=!this.queryParamsHandling&&!r(this.options?.defaultQueryParamsHandling),e&&(this.subscription=this.router.events.subscribe(i=>{i instanceof N&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(K(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,s,o){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||r||i||s||o||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.reactiveHref.set(e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,r){let i=this.renderer,s=this.el.nativeElement;r!==null?i.setAttribute(s,e,r):i.removeAttribute(s,e)}get urlTree(){return this.routerLinkInput===null?null:K(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||t)(x(Ie),x(B),br("tabindex"),x(Nt),x(Dt),x(Ut))};static \u0275dir=Me({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&&jr("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),r&2&&Lr("href",i.reactiveHref(),Ir)("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ye],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ye],replaceUrl:[2,"replaceUrl","replaceUrl",Ye],routerLink:"routerLink"},features:[Te]})}return t})(),To=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new te;link=d(At,{optional:!0});constructor(e,r,i,s){this.router=e,this.element=r,this.renderer=i,this.cdr=s,this.routerEventsSubscription=e.events.subscribe(o=>{o instanceof N&&this.update()})}ngAfterContentInit(){p(this.links.changes,p(null)).pipe(Mt()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=U(e).pipe(Mt()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=Mo(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?e.isActive(s,r):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(r){return new(r||t)(x(Ie),x(Dt),x(Nt),x(Ze))};static \u0275dir=Me({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,s){if(r&1&&$r(s,At,5),r&2){let o;kr(o=zr())&&(i.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Te]})}return t})();function Mo(t){return!!t.paths}var Bn=new T(""),Eo=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=de;restoredId=0;store={};constructor(e,r,i,s,o={}){this.urlSerializer=e,this.transitions=r,this.viewportScroller=i,this.zone=s,this.options=o,o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof N?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof k&&e.code===fe.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof ge))return;let r={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){this.zone.runOutsideAngular(()=>m(this,null,function*(){yield new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<"u"&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new ge(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Mr()};static \u0275prov=C({token:t,factory:t.\u0275fac})}return t})();function Oo(t,...n){return Ot([{provide:Fe,multi:!0,useValue:t},[],{provide:B,useFactory:Do},{provide:Ur,multi:!0,useFactory:Po},n.map(e=>e.\u0275providers)])}function Do(){return d(Ie).routerState.root}function Vn(t,n){return{\u0275kind:t,\u0275providers:n}}function No(t={}){return Vn(4,[{provide:Bn,useFactory:()=>{let e=d(Vr),r=d(wr),i=d(nr),s=d(Re);return new Eo(s,i,e,r,t)}}])}function Po(){let t=d(yr);return n=>{let e=t.get(_r);if(n!==e.components[0])return;let r=t.get(Ie),i=t.get(Uo);t.get(_o)===1&&r.initialNavigation(),t.get(Lo,null,{optional:!0})?.setUpPreloading(),t.get(Bn,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Uo=new T("",{factory:()=>new ee}),_o=new T("",{factory:()=>1});var Lo=new T("");function xo(t){Ar("NgRouterViewTransitions");let n=[{provide:tr,useValue:kn},{provide:rr,useValue:h({skipNextTransition:!!t?.skipInitialTransition},t)}];return Vn(9,n)}export{Z as a,N as b,B as c,Yt as d,Ie as e,At as f,To as g,Oo as h,No as i,xo as j};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-TCWZ7ASJ.js";import"./chunk-B4AJQJMI.js";export default a();
@@ -0,0 +1,4 @@
1
+ import{a as H}from"./chunk-QRWK7JO5.js";import{a as O}from"./chunk-QOXXKL5T.js";import{c as V}from"./chunk-DGBI427A.js";import{C as D,c as T,e as P,l as I}from"./chunk-N2IMTG2V.js";import{b as $}from"./chunk-PXNJ4PSF.js";import{E,H as y,K as k}from"./chunk-YZZ7SAON.js";import{Ab as u,Fb as f,Gb as d,Hb as s,Ib as w,Rb as g,Xb as _,Za as p,Zb as a,aa as r,ga as l,ha as c,kc as v,nb as C,rc as x,sc as b,tc as M,zb as m}from"./chunk-ZPXACREZ.js";import{h as S}from"./chunk-B4AJQJMI.js";function z(i,h){i&1&&w(0,"i",6)}function A(i,h){i&1&&w(0,"i",7)}function L(i,h){if(i&1){let t=g();d(0,"ngx-monaco-editor",10),_("onInit",function(e){l(t);let o=a();return c(o.onEditorInit(e))})("keydown.control.s",function(e){l(t);let o=a();return e.preventDefault(),c(o.onSave())})("keydown.meta.s",function(e){l(t);let o=a();return e.preventDefault(),c(o.onSave())}),s()}if(i&2){let t=a();f("options",t.editorOptions)("model",t.monacoEditorModel)}}function W(i,h){if(i&1){let t=g();d(0,"textarea",11),M("ngModelChange",function(e){l(t);let o=a();return b(o.startupScript,e)||(o.startupScript=e),c(e)}),v(1," "),s()}if(i&2){let t=a();x("ngModel",t.startupScript)}}var Y=(()=>{class i{$api=r(k);$md=r(H);$route=r(V);$settings=r($);$toastr=r(y);$translate=r(E);lastHeight;visualViewPortEventCallback;startupScript;saveInProgress;isMobile=!1;options={printMargin:!1};monacoEditor;editorOptions;monacoEditorModel;constructor(){this.isMobile=this.$md.detect.mobile()}ngOnInit(){this.editorOptions={language:"shell",theme:this.$settings.actualLightingMode==="dark"?"vs-dark":"vs-light"},this.visualViewPortEventCallback=()=>this.visualViewPortChanged(),this.lastHeight=window.innerHeight,window.visualViewport&&!this.isMobile&&(window.visualViewport.addEventListener("resize",this.visualViewPortEventCallback,!0),this.$md.disableTouchMove()),this.$route.data.subscribe(t=>{this.startupScript=t.startupScript.script}),this.monacoEditorModel={value:"",language:"shell"}}onEditorInit(t){this.monacoEditor=t,this.monacoEditor.getModel().setValue(this.startupScript)}onSave(){return S(this,null,function*(){if(!this.saveInProgress){if(this.saveInProgress=!0,this.isMobile||(yield this.monacoEditor.getAction("editor.action.formatDocument").run(),this.startupScript=this.monacoEditor.getModel().getValue()),!["#!/bin/sh","#!/bin/bash"].includes(this.startupScript.split(`
2
+ `)[0].trim())){this.$toastr.error(this.$translate.instant("platform.docker.must_use_hashbang"),this.$translate.instant("toast.title_error")),this.startupScript=`#!/bin/sh
3
+
4
+ ${this.startupScript}`,this.isMobile||this.monacoEditor.getModel().setValue(this.startupScript),this.saveInProgress=!1;return}try{yield this.$api.put("/platform-tools/docker/startup-script",{script:this.startupScript}),this.$toastr.success(this.$translate.instant("platform.docker.restart_required"),this.$translate.instant("platform.docker.script_saved"))}catch(t){console.error(t),this.$toastr.error(t.message,this.$translate.instant("toast.title_error"))}this.saveInProgress=!1}})}ngOnDestroy(){window.visualViewport&&(window.visualViewport.removeEventListener("resize",this.visualViewPortEventCallback,!0),this.$md.enableTouchMove()),this.monacoEditor&&this.monacoEditor.dispose()}visualViewPortChanged(){this.lastHeight<window.visualViewport.height&&document.activeElement.blur(),window.visualViewport.height<window.innerHeight?(this.$md.enableTouchMove(),this.lastHeight=window.visualViewport.height):window.visualViewport.height===window.innerHeight&&(this.$md.disableTouchMove(),this.lastHeight=window.visualViewport.height)}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=C({type:i,selectors:[["ng-component"]],decls:11,vars:4,consts:[[1,"flex-column","d-flex","align-items-stretch","h-100"],[1,"row","mb-3"],[1,"col-6"],[1,"primary-text","m-0","font-monospace"],[1,"col-6","text-end"],[1,"btn","btn-primary","waves-effect","m-0",3,"click","disabled"],[1,"fas","fa-spinner","fa-pulse"],[1,"fas","fa-floppy-disk"],[1,"flex-grow-1","h-100","w-100","my-2",3,"options","model"],["wrap","off","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"hb-plain-text-editor","align-self-end","h-100","w-100","my-2",3,"ngModel"],[1,"flex-grow-1","h-100","w-100","my-2",3,"onInit","keydown.control.s","keydown.meta.s","options","model"],["wrap","off","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"hb-plain-text-editor","align-self-end","h-100","w-100","my-2",3,"ngModelChange","ngModel"]],template:function(n,e){n&1&&(d(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3",3),v(4,"startup.sh"),s()(),d(5,"div",4)(6,"button",5),_("click",function(){return e.onSave()}),m(7,z,1,0,"i",6)(8,A,1,0,"i",7),s()()(),m(9,L,1,2,"ngx-monaco-editor",8),m(10,W,2,1,"textarea",9),s()),n&2&&(p(6),f("disabled",e.saveInProgress),p(),u(e.saveInProgress?7:8),p(2),u(e.isMobile?-1:9),p(),u(e.isMobile?10:-1))},dependencies:[O,D,T,P,I],encapsulation:2})}return i})();export{Y as StartupScriptComponent};
@@ -1 +1 @@
1
- import{Ab as t,Bb as i,Cb as o,db as a,ua as r}from"./chunk-OOM2PIRM.js";var d=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=a({type:e,selectors:[["app-spinner"]],decls:7,vars:0,consts:[[1,"app-spinner-container"],[1,"animate_loader"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","200px","height","200px","viewBox","0 0 100 100","preserveAspectRatio","xMidYMid",2,"margin","auto","display","block"],["cx","50","cy","50","r","32","stroke-width","8","stroke-dasharray","50.26548245743669 50.26548245743669","fill","none","stroke-linecap","round","transform","rotate(327.259 50 50)",1,"spinner_outer"],["attributeName","transform","type","rotate","dur","2s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;360 50 50"],["cx","50","cy","50","r","23","stroke-width","8","stroke","#f8b26a","stroke-dasharray","36.12831551628262 36.12831551628262","stroke-dashoffset","36.12831551628262","fill","none","stroke-linecap","round","transform","rotate(-327.259 50 50)",1,"spinner_inner"],["attributeName","transform","type","rotate","dur","2s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;-360 50 50"]],template:function(n,p){n&1&&(t(0,"div",0)(1,"div",1),r(),t(2,"svg",2)(3,"circle",3),o(4,"animateTransform",4),i(),t(5,"circle",5),o(6,"animateTransform",6),i()()()())},styles:[".app-spinner-container[_ngcontent-%COMP%]{position:absolute;inset:0 0 0 60px;display:flex;align-items:center;justify-content:center;z-index:1000}@media (max-width: 767px){.app-spinner-container[_ngcontent-%COMP%]{left:0;top:65px}}.animate_loader[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{position:absolute;inset:0;margin:auto;width:200px;overflow:visible}"]})}return e})();export{d as a};
1
+ import{Jb as t,Kb as i,Lb as o,ia as r,nb as a}from"./chunk-ZPXACREZ.js";var d=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275cmp=a({type:e,selectors:[["app-spinner"]],decls:7,vars:0,consts:[[1,"app-spinner-container"],[1,"animate_loader"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","200px","height","200px","viewBox","0 0 100 100","preserveAspectRatio","xMidYMid",2,"margin","auto","display","block"],["cx","50","cy","50","r","32","stroke-width","8","stroke-dasharray","50.26548245743669 50.26548245743669","fill","none","stroke-linecap","round","transform","rotate(327.259 50 50)",1,"spinner_outer"],["attributeName","transform","type","rotate","dur","2s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;360 50 50"],["cx","50","cy","50","r","23","stroke-width","8","stroke","#f8b26a","stroke-dasharray","36.12831551628262 36.12831551628262","stroke-dashoffset","36.12831551628262","fill","none","stroke-linecap","round","transform","rotate(-327.259 50 50)",1,"spinner_inner"],["attributeName","transform","type","rotate","dur","2s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;-360 50 50"]],template:function(n,p){n&1&&(t(0,"div",0)(1,"div",1),r(),t(2,"svg",2)(3,"circle",3),o(4,"animateTransform",4),i(),t(5,"circle",5),o(6,"animateTransform",6),i()()()())},styles:[".app-spinner-container[_ngcontent-%COMP%]{position:absolute;inset:0 0 0 60px;display:flex;align-items:center;justify-content:center;z-index:1000}@media(max-width:767px){.app-spinner-container[_ngcontent-%COMP%]{left:0;top:65px}}.animate_loader[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{position:absolute;inset:0;margin:auto;width:200px;overflow:visible}"]})}return e})();export{d as a};
@@ -0,0 +1 @@
1
+ import{a as d}from"./chunk-H7F7H5MW.js";import{E as n,H as c,K as p}from"./chunk-YZZ7SAON.js";import{X as r,aa as a}from"./chunk-ZPXACREZ.js";import{g as b,h as s}from"./chunk-B4AJQJMI.js";var m=b(d(),1);var v=(()=>{class e{$api=a(p);$toastr=a(c);$translate=a(n);downloadBackup(){return s(this,null,function*(){let t=yield this.$api.get("/backup/download",{observe:"response",responseType:"blob"}),i=t.headers.get("File-Name")||"homebridge-backup.tar.gz",o=t.body.size;if(o>globalThis.backup.maxBackupSize){let l=this.$translate.instant("backup.backup_exceeds_max_size",{maxBackupSizeText:globalThis.backup.maxBackupSizeText,size:`${(o/1048576).toFixed(1)}MB`});this.$toastr.warning(l,this.$translate.instant("toast.title_warning"))}(0,m.saveAs)(t.body,i)})}static \u0275fac=function(i){return new(i||e)};static \u0275prov=r({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{v as a};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-2AZ4IAJX.js";import"./chunk-B4AJQJMI.js";export default a();
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-GQMGUEFI.js";import"./chunk-B4AJQJMI.js";export default a();
@@ -0,0 +1 @@
1
+ import{m as ne}from"./chunk-LT4LVLTJ.js";import{e as z}from"./chunk-DGBI427A.js";import{C as ie,e as X,l as Y,t as Z,u as ee,w as te}from"./chunk-N2IMTG2V.js";import{b as Q}from"./chunk-PXNJ4PSF.js";import{E as G,F as H,H as J,K}from"./chunk-YZZ7SAON.js";import{Ab as h,Ac as O,Cb as M,Db as T,Eb as D,Ec as u,Fb as w,Fc as _,Gb as a,Hb as r,Ib as S,Oc as W,Rb as A,Xb as $,Za as s,Zb as m,aa as C,ga as b,ha as I,jc as E,kc as p,lc as f,mc as y,nb as N,nc as L,rc as P,sc as j,tc as q,yb as k,zb as g,zc as R}from"./chunk-ZPXACREZ.js";import{a as F,b as V,h as U}from"./chunk-B4AJQJMI.js";var oe=(t,l)=>({"fa-matter":t,"fa-hap":l}),ae=(t,l)=>({"btn-danger":t,"btn-elegant":l}),re=(t,l,e)=>({"fa-trash":t,"fa-undo":l,"fa-spinner fa-pulse":e});function ce(t,l){t&1&&(a(0,"div",12),S(1,"i",13),r(),a(2,"p",14),p(3),u(4,"translate"),r()),t&2&&(s(3),f(_(4,1,"reset.no_accessories")))}function le(t,l){if(t&1&&(a(0,"option",24),p(1),r()),t&2){let e=l.$implicit;w("value",e._id),s(),L("",e.name," (",e._username,")")}}function de(t,l){if(t&1){let e=A();a(0,"li",20),p(1),u(2,"translate"),r(),a(3,"li",18)(4,"label",21),p(5),u(6,"translate"),r(),a(7,"div",22)(8,"select",23),q("ngModelChange",function(i){b(e);let o=m(2);return j(o.selectedBridge,i)||(o.selectedBridge=i),I(i)}),$("change",function(i){b(e);let o=m(2);return I(o.onBridgeChange(i.target.value))}),T(9,le,2,3,"option",24,M),r()()()}if(t&2){let e=m(2);s(),f(_(2,3,"form.label.changes_kept")),s(4),f(_(6,5,"reset.accessory_ind.bridge")),s(3),P("ngModel",e.selectedBridge),s(),D(e.pairings)}}function pe(t,l){if(t&1&&(a(0,"li",18)(1,"label",25),p(2),u(3,"translate"),r(),a(4,"div",26),p(5),r()()),t&2){let e=m(2);s(2),f(_(3,2,"reset.accessory_ind.bridge")),s(3),y(" ",e.getCurrentlySelectedBridge()," ")}}function me(t,l){if(t&1){let e=A();a(0,"li",19)(1,"span",27),S(2,"i",28),r(),a(3,"span",29),p(4),S(5,"br"),a(6,"small")(7,"span",30),p(8),r()()(),a(9,"button",31),u(10,"translate"),$("click",function(){let i=b(e).$implicit,o=m(2);return I(o.toggleList(i.UUID||i.uuid,i.$cacheFile,i.$protocol,i.$deviceId))}),S(11,"i",32),r()()}if(t&2){let e=l.$implicit,n=m(2);s(2),E(R(12,oe,e.$protocol==="matter",e.$protocol!=="matter")),s(2),y(" ",e.displayName," "),s(4),f(e.UUID||e.uuid),s(),E(R(15,ae,!n.isInList(e.UUID||e.uuid,e.$cacheFile,e.$protocol),n.isInList(e.UUID||e.uuid,e.$cacheFile,e.$protocol))),w("disabled",n.clicked),k("aria-label",_(10,10,"form.button_delete")),s(2),E(O(18,re,!n.isInList(e.UUID||e.uuid,e.$cacheFile,e.$protocol),n.isInList(e.UUID||e.uuid,e.$cacheFile,e.$protocol)&&!n.clicked,n.isInList(e.UUID||e.uuid,e.$cacheFile,e.$protocol)&&n.clicked))}}function ue(t,l){if(t&1&&(a(0,"div",12),S(1,"i",15),r(),a(2,"ul",16)(3,"li"),p(4),u(5,"translate"),r(),a(6,"li"),p(7),u(8,"translate"),r(),a(9,"li"),p(10),u(11,"translate"),r()(),a(12,"ul",17),g(13,de,11,7),g(14,pe,6,4,"li",18),T(15,me,12,22,"li",19,M),r()),t&2){let e=m();s(4),f(_(5,5,"reset.accessory_ind.list_1")),s(3),f(_(8,7,"reset.accessory_ind.list_2")),s(3),f(_(11,9,"reset.accessory_ind.list_3")),s(3),h(e.pairings.length>1?13:-1),s(),h(e.pairings.length===1?14:-1),s(),D(e.selectedBridgeAccessories)}}function _e(t,l){if(t&1){let e=A();a(0,"button",33),$("click",function(){b(e);let i=m();return I(i.dismissModal())}),p(1),u(2,"translate"),r()}if(t&2){let e=m();w("disabled",e.clicked),s(),y(" ",_(2,2,"form.button_close")," ")}}function ge(t,l){if(t&1){let e=A();a(0,"button",34),$("click",function(){b(e);let i=m();return I(i.dismissModal())}),p(1),u(2,"translate"),r()}t&2&&(s(),y(" ",_(2,1,"form.button_close")," "))}function he(t,l){if(t&1&&p(0),t&2){let e=m(3);y(" (",e.toDelete.length,") ")}}function ve(t,l){if(t&1&&(p(0),u(1,"translate"),g(2,he,1,1)),t&2){let e=m(2);y(" ",_(1,2,"form.button_remove")," "),s(2),h(e.toDelete.length>0?2:-1)}}function fe(t,l){t&1&&S(0,"i",36)}function xe(t,l){if(t&1){let e=A();a(0,"button",35),$("click",function(){b(e);let i=m();return I(i.removeAccessories())}),g(1,ve,3,4),g(2,fe,1,0,"i",36),r()}if(t&2){let e=m();w("disabled",!e.toDelete.length||e.clicked),s(),h(e.clicked?-1:1),s(),h(e.clicked?2:-1)}}var Me=(()=>{class t{$activeModal=C(ne);$api=C(K);$router=C(z);$settings=C(Q);$toastr=C(J);$translate=C(G);isMatterSupported=this.$settings.isFeatureEnabled("matterSupport");selectedBridge=W.required({});pairings=[];clicked=!1;currentSelectedBridge="";selectedBridgeAccessories=[];accessoriesExist=!1;toDelete=[];ngOnInit(){this.currentSelectedBridge=this.selectedBridge(),this.loadCachedAccessories()}onBridgeChange(e){this.currentSelectedBridge=e,this.selectedBridgeAccessories=this.pairings.find(n=>n._id===this.currentSelectedBridge)?.accessories}getCurrentlySelectedBridge(){let e=this.pairings.find(n=>n._id===this.currentSelectedBridge);return`${e.name} - ${e._username}`}toggleList(e,n,i,o){this.toDelete.some(v=>v.uuid===e&&v.cacheFile===n&&v.protocol===i)?this.toDelete=this.toDelete.filter(v=>v.uuid!==e||v.cacheFile!==n||v.protocol!==i):this.toDelete.push({cacheFile:n,uuid:e,protocol:i,deviceId:o})}isInList(e,n,i){return this.toDelete.some(o=>o.uuid===e&&o.cacheFile===n&&o.protocol===i)}removeAccessories(){this.clicked=!0;let e=this.toDelete.filter(o=>o.protocol==="hap").map(o=>({uuid:o.uuid,cacheFile:o.cacheFile})),n=this.toDelete.filter(o=>o.protocol==="matter").map(o=>({uuid:o.uuid,deviceId:o.deviceId})),i=[];if(e.length>0&&i.push(this.$api.delete("/server/cached-accessories",{body:e})),this.isMatterSupported&&n.length>0&&i.push(this.$api.delete("/server/matter-accessories",{body:n})),i.length===0){this.clicked=!1;return}Promise.all(i).then(()=>{this.$toastr.success(this.$translate.instant("reset.accessory_ind.done"),this.$translate.instant("toast.title_success")),this.$activeModal.close(),this.$router.navigate(["/restart"],{queryParams:{restarting:!0}})}).catch(o=>{this.clicked=!1,console.error(o),this.$toastr.error(this.$translate.instant("reset.accessory_ind.fail"),this.$translate.instant("toast.title_error"))})}dismissModal(){this.$activeModal.dismiss("Dismiss")}loadCachedAccessories(){return U(this,null,function*(){try{let e=this.isMatterSupported?[this.$api.get("/server/cached-accessories"),this.$api.get("/server/matter-accessories"),this.$api.get("/server/pairings")]:[this.$api.get("/server/cached-accessories"),this.$api.get("/server/pairings")],n=yield Promise.all(e),i=n[0],o=this.isMatterSupported?n[1]:[],v=this.isMatterSupported?n[2]:n[1],x=new Map(v.map(c=>[c._id,V(F({},c),{accessories:[]})]));i.sort((c,d)=>c.displayName.localeCompare(d.displayName)).forEach(c=>{let d=v.find(se=>se._main),B=c.$cacheFile?.split(".")?.[1]||d._id;(!this.selectedBridge||this.selectedBridge===B)&&(x.has(B)||x.set(B,{_id:B,_username:B.match(/.{1,2}/g).join(":"),name:this.$translate.instant("reset.accessory_ind.unknown"),accessories:[]}),c.$protocol="hap",x.get(B).accessories.push(c))}),this.isMatterSupported&&o.sort((c,d)=>c.displayName.localeCompare(d.displayName)).forEach(c=>{let d=c.$deviceId;(!this.selectedBridge||this.selectedBridge===d)&&(x.has(d)||x.set(d,{_id:d,_username:d.match(/.{1,2}/g).join(":"),name:this.$translate.instant("reset.accessory_ind.unknown"),accessories:[]}),c.$protocol="matter",c.$cacheFile=d,x.get(d).accessories.push(c))}),this.pairings=Array.from(x.values()).filter(c=>c.accessories.length>0).sort((c,d)=>c._main&&!d._main?-1:!c._main&&d._main?1:c.name.localeCompare(d.name)),this.selectedBridge=this.selectedBridge||this.pairings[0]?._id,this.selectedBridge&&(this.accessoriesExist=!0,this.selectedBridgeAccessories=this.pairings[0].accessories)}catch(e){console.error(e),this.$toastr.error(this.$translate.instant("reset.error_message"),this.$translate.instant("toast.title_error")),this.$activeModal.close()}})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=N({type:t,selectors:[["ng-component"]],inputs:{selectedBridge:[1,"selectedBridge"]},decls:17,vars:12,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click","disabled"],[1,"modal-body"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"disabled"],[1,"text-center"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant"],[1,"text-end"],["type","button","data-bs-dismiss","modal",1,"btn","btn-danger",3,"disabled"],[1,"text-center","mb-3"],[1,"fas","fa-circle-check","primary-text",2,"font-size","75px"],[1,"mb-0","text-center"],[1,"fas","fa-network-wired","primary-text",2,"font-size","75px"],[1,"mb-3"],[1,"list-group","list-group-box","mb-0"],[1,"list-group-item","d-flex","flex-column","flex-md-row","align-items-center"],[1,"list-group-item","d-flex","justify-content-between","align-items-center"],[1,"list-group-item","text-center","grey-text","small"],["for","bridgeSelect",1,"mb-2","mb-md-0","w-100","w-md-50"],[1,"text-start","text-md-end","w-100","w-md-50"],["id","bridgeSelect",1,"custom-select",3,"ngModelChange","change","ngModel"],[3,"value"],[1,"mb-2","mb-md-0","w-100","w-md-50"],[1,"text-start","text-md-end","w-100","w-md-50","grey-text","font-monospace"],[1,"me-3"],[1,"fas","fa-lg"],[1,"flex-grow-1"],[1,"font-monospace","grey-text"],[1,"btn","btn-danger","m-0","ms-3",3,"click","disabled"],[1,"fas"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click","disabled"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],["type","button","data-bs-dismiss","modal",1,"btn","btn-danger",3,"click","disabled"],[1,"fas","fa-spinner","fa-pulse"]],template:function(n,i){n&1&&(a(0,"div",0)(1,"div",1)(2,"h5",2),p(3),u(4,"translate"),r(),a(5,"button",3),u(6,"translate"),$("click",function(){return i.dismissModal()}),r()(),a(7,"div",4),g(8,ce,5,3),g(9,ue,17,11),r(),a(10,"div",5)(11,"div",6),g(12,_e,3,4,"button",7),r(),a(13,"div",8),g(14,ge,3,3,"button",9),r(),a(15,"div",10),g(16,xe,3,3,"button",11),r()()()),n&2&&(s(3),f(_(4,8,"reset.accessory_ind.title")),s(2),w("disabled",i.clicked),k("aria-label",_(6,10,"form.button_close")),s(3),h(i.accessoriesExist?-1:8),s(),h(i.accessoriesExist?9:-1),s(3),h(i.accessoriesExist?12:-1),s(2),h(i.accessoriesExist?-1:14),s(2),h(i.accessoriesExist?16:-1))},dependencies:[ie,ee,te,Z,X,Y,H],encapsulation:2})}return t})();export{Me as a};
@@ -0,0 +1 @@
1
+ import{b as me,c as _e}from"./chunk-M5U3WH6U.js";import"./chunk-FXM34P2Q.js";import{a as le}from"./chunk-FARCNAHH.js";import{a as ue}from"./chunk-QRWK7JO5.js";import{a as ge}from"./chunk-4O7BLLBH.js";import"./chunk-63DEF4BP.js";import{a as ce,b as de,c as pe}from"./chunk-3SLVSNU6.js";import{m as D,n as re,t as se}from"./chunk-LT4LVLTJ.js";import"./chunk-DGBI427A.js";import{a as J}from"./chunk-JLNKCN3A.js";import{b as Y}from"./chunk-CR6W3PUA.js";import{C as ae,c as Z,e as ee,f as te,i as ie,l as ne,m as oe}from"./chunk-N2IMTG2V.js";import{b as X}from"./chunk-PXNJ4PSF.js";import{E as K,F as S,K as Q}from"./chunk-YZZ7SAON.js";import{Ab as y,Cb as W,Db as I,Eb as $,Ec as s,Fb as f,Fc as l,Gb as a,Gc as U,Hb as r,Ib as p,Jb as V,Kb as O,Lb as R,Rb as k,Ua as H,Xb as g,Za as n,Zb as d,aa as b,ga as C,ha as x,ic as F,jc as j,kc as c,lc as m,mc as w,nb as M,rc as A,sa as B,sc as T,tc as E,xc as z,yb as v,yc as q,zb as h,zc as G}from"./chunk-ZPXACREZ.js";import{h as L}from"./chunk-B4AJQJMI.js";var be=(()=>{class t{$activeModal=b(D);dismissModal(){this.$activeModal.dismiss("Dismiss")}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["ng-component"]],decls:42,vars:30,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body"],[1,"text-center","mb-3"],[1,"fa","fa-question-circle-o","primary-text",2,"font-size","75px"],[1,"ms-2"],[1,"mb-0"],[1,"ms-2","mt-2"],[1,"modal-footer","justify-content-between"],[1,"text-start"],[1,"text-center"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"text-end"]],template:function(i,o){i&1&&(a(0,"div",0)(1,"form")(2,"div",1)(3,"h5",2),c(4),s(5,"translate"),r(),a(6,"button",3),s(7,"translate"),g("click",function(){return o.dismissModal()}),r()(),a(8,"div",4)(9,"div",5),p(10,"i",6),r(),a(11,"h5",7),c(12),s(13,"translate"),r(),a(14,"ul",8)(15,"li"),c(16),s(17,"translate"),r(),a(18,"li"),c(19),s(20,"translate"),r()(),a(21,"h5",9),c(22),s(23,"translate"),r(),a(24,"ul",8)(25,"li"),c(26),s(27,"translate"),r(),a(28,"li"),c(29),s(30,"translate"),r(),a(31,"li"),c(32),s(33,"translate"),r()(),p(34,"app-support-banner"),r(),a(35,"div",10),p(36,"div",11),a(37,"div",12)(38,"button",13),g("click",function(){return o.dismissModal()}),c(39),s(40,"translate"),r()(),p(41,"div",14),r()()()),i&2&&(n(4),m(l(5,10,"support.title")),n(2),v("aria-label",l(7,12,"form.button_close")),n(6),m(l(13,14,"menu.label_accessories")),n(4),m(l(17,16,"accessories.support.acc_1")),n(3),m(l(20,18,"accessories.support.acc_2")),n(3),m(l(23,20,"accessories.title_rooms")),n(4),m(l(27,22,"accessories.support.rooms_1")),n(3),m(l(30,24,"accessories.support.rooms_2")),n(3),m(l(33,26,"accessories.support.rooms_3")),n(7),w(" ",l(40,28,"form.button_close")," "))},dependencies:[ge,S],encapsulation:2})}return t})();var Ce=()=>({standalone:!0}),fe=(()=>{class t{$activeModal=b(D);roomName="";dismissModal(){this.$activeModal.dismiss("Dismiss")}closeModal(e){this.$activeModal.close(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["ng-component"]],decls:28,vars:19,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body"],[1,"text-center","mb-3"],[1,"fas","fa-folder-plus","primary-text",2,"font-size","75px"],[1,"list-group","list-group-box","mb-0"],[1,"list-group-item","d-flex","flex-column","flex-md-row","align-items-center"],["for","form-name",1,"mb-2","mb-md-0","w-100","w-md-50"],[1,"text-start","text-md-end","w-100","w-md-50"],["autocomplete","off","type","text","id","form-name","autofocus","",1,"form-control","custom-input",3,"ngModelChange","keyup.enter","ngModel","ngModelOptions"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"text-center"],[1,"text-end"],["type","button","data-bs-dismiss","modal",1,"btn","btn-primary",3,"click","disabled"]],template:function(i,o){i&1&&(a(0,"div",0)(1,"form")(2,"div",1)(3,"h5",2),c(4),s(5,"translate"),r(),a(6,"button",3),s(7,"translate"),g("click",function(){return o.dismissModal()}),r()(),a(8,"div",4)(9,"div",5),p(10,"i",6),r(),a(11,"ul",7)(12,"li",8)(13,"label",9),c(14),s(15,"translate"),r(),a(16,"div",10)(17,"input",11),E("ngModelChange",function(P){return T(o.roomName,P)||(o.roomName=P),P}),g("keyup.enter",function(){return o.closeModal(o.roomName)}),r()()()()(),a(18,"div",12)(19,"div",13)(20,"button",14),g("click",function(){return o.dismissModal()}),c(21),s(22,"translate"),r()(),p(23,"div",15),a(24,"div",16)(25,"button",17),g("click",function(){return o.closeModal(o.roomName)}),c(26),s(27,"translate"),r()()()()()),i&2&&(n(4),m(l(5,8,"accessories.button_add_room")),n(2),v("aria-label",l(7,10,"form.button_close")),n(8),m(l(15,12,"accessories.room_name")),n(3),A("ngModel",o.roomName),f("ngModelOptions",z(18,Ce)),n(4),w(" ",l(22,14,"form.button_close")," "),n(4),f("disabled",!o.roomName),n(),w(" ",l(27,16,"form.button_save")," "))},dependencies:[ae,oe,Z,ee,te,ne,ie,S],encapsulation:2})}return t})();var ve=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["app-drag-here-placeholder"]],decls:5,vars:3,consts:[[1,"accessory-box"],[1,"fas","fa-arrow-alt-circle-down","accessory-icon"],[1,"accessory-label"]],template:function(i,o){i&1&&(V(0,"div",0),R(1,"i",1),V(2,"div",2),c(3),s(4,"translate"),O()()),i&2&&(n(3),m(l(4,1,"accessories.control.drag_here")))},dependencies:[S],styles:[".accessory-box[_ngcontent-%COMP%]{opacity:.2}"]})}return t})();var xe=(t,u)=>({"fa-eye":t,"fa-eye-slash":u}),he=t=>({link:t}),ye=(t,u)=>u.name;function Me(t,u){if(t&1){let e=k();a(0,"button",8),s(1,"translate"),s(2,"translate"),g("click",function(){C(e);let o=d(2);return x(o.addRoom())}),p(3,"i",9),r(),a(4,"button",8),s(5,"translate"),s(6,"translate"),s(7,"translate"),s(8,"translate"),g("click",function(){C(e);let o=d(2);return x(o.hideHidden.set(!o.hideHidden()()))}),p(9,"i",10),r(),a(10,"div",11)(11,"button",12),s(12,"translate"),s(13,"translate"),g("click",function(){C(e);let o=d(2);return x(o.toggleLayoutLock())}),p(14,"i",13),r(),a(15,"button",12),s(16,"translate"),s(17,"translate"),g("click",function(){C(e);let o=d(2);return x(o.toggleLayoutLock())}),p(18,"i",14),r()()}if(t&2){let e=d(2);f("hidden",e.isMobile())("openDelay",150)("ngbTooltip",l(1,18,"accessories.button_add_room")),v("aria-label",l(2,20,"accessories.button_add_room")),n(4),f("hidden",e.isMobile())("openDelay",150)("ngbTooltip",e.hideHidden()?l(5,22,"accessories.button_hidden_show"):l(6,24,"accessories.button_hidden_hide")),v("aria-label",e.hideHidden()?l(7,26,"accessories.button_hidden_show"):l(8,28,"accessories.button_hidden_hide")),n(5),j(G(38,xe,!e.hideHidden(),e.hideHidden)),n(2),f("disabled",!e.isMobile())("openDelay",150)("ngbTooltip",l(12,30,"form.button_unlock")),v("aria-label",l(13,32,"form.button_unlock")),n(4),f("disabled",e.isMobile())("openDelay",150)("ngbTooltip",l(16,34,"form.button_lock")),v("aria-label",l(17,36,"form.button_lock"))}}function Se(t,u){t&1&&p(0,"app-spinner")}function we(t,u){if(t&1&&(a(0,"div",0)(1,"div",21)(2,"h5",22),c(3),s(4,"translate"),r()()()),t&2){let e=d().$implicit,i=d(4);n(2),F("cursor-move",!i.isMobile()),n(),w(" ",e.name==="Default Room"?l(4,3,"accessories.control.default_room"):e.name," ")}}function ke(t,u){if(t&1&&(a(0,"div",25),p(1,"app-accessory-tile",26),r()),t&2){let e=d().$implicit;n(),f("service",e)}}function Ae(t,u){if(t&1&&h(0,ke,2,1,"div",25),t&2){let e=u.$implicit,i=d(6);y(!i.hideHidden()||!e.hidden?0:-1)}}function Te(t,u){if(t&1){let e=k();a(0,"div",23),E("dragulaModelChange",function(o){C(e);let _=d().$implicit;return T(_.services,o)||(_.services=o),x(o)}),I(1,Ae,1,1,null,null,W),p(3,"div",24)(4,"div",24)(5,"div",24)(6,"div",24)(7,"div",24)(8,"div",24)(9,"div",24)(10,"div",24)(11,"div",24)(12,"div",24),r()}if(t&2){let e=d().$implicit,i=d(4);F("justify-content-between",i.isMobile()),f("dragula","services-bag"),A("dragulaModel",e.services),n(),$(e.services)}}function Ee(t,u){if(t&1){let e=k();a(0,"div",27),E("dragulaModelChange",function(o){C(e);let _=d().$implicit;return T(_.services,o)||(_.services=o),x(o)}),p(1,"app-drag-here-placeholder",28),r()}if(t&2){let e=d().$implicit;f("dragula","services-bag"),A("dragulaModel",e.services)}}function Be(t,u){if(t&1&&(a(0,"div"),h(1,we,5,5,"div",0),a(2,"div",18),h(3,Te,13,4,"div",19),h(4,Ee,2,2,"div",20),r()()),t&2){let e=u.$implicit,i=d(4);n(),y(!i.isMobile()||e.services.length?1:-1),n(2),y(e.services.length?3:-1),n(),y(!e.services.length&&!i.isMobile?4:-1)}}function De(t,u){if(t&1){let e=k();a(0,"div",17),E("dragulaModelChange",function(o){C(e);let _=d(3);return T(_.rooms,o)||(_.rooms=o),x(o)}),I(1,Be,5,3,"div",null,ye),r()}if(t&2){let e=d(3);f("dragula","rooms-bag"),A("dragulaModel",e.rooms),n(),$(e.rooms)}}function Pe(t,u){t&1&&(a(0,"div",16)(1,"div",29)(2,"div",30),p(3,"i",31),r(),a(4,"h5",32),c(5),s(6,"translate"),r(),a(7,"p",33),c(8),s(9,"translate"),r(),a(10,"p",34),c(11),s(12,"translate"),r()()()),t&2&&(n(5),m(l(6,3,"accessories.no_plugins.title")),n(3),m(l(9,5,"accessories.no_plugins.message_1")),n(3),m(l(12,7,"accessories.no_plugins.message_2")))}function Ie(t,u){if(t&1&&h(0,De,3,2,"div",15)(1,Pe,13,9,"div",16),t&2){let e=d(2);y(e.hasPlugins()?0:1)}}function $e(t,u){if(t&1){let e=k();a(0,"div",1)(1,"div",2)(2,"h3",3),c(3),s(4,"translate"),r()(),a(5,"div",4)(6,"button",5),s(7,"translate"),g("click",function(){C(e);let o=d();return x(o.openSupport())}),p(8,"i",6),r()(),a(9,"div",7),h(10,Me,19,41),a(11,"button",5),s(12,"translate"),g("click",function(){C(e);let o=d();return x(o.openSupport())}),p(13,"i",6),r()()(),h(14,Se,1,0,"app-spinner")(15,Ie,2,1)}if(t&2){let e=d();n(3),m(l(4,5,"menu.label_accessories")),n(3),v("aria-label",l(7,7,"support.title")),n(4),y(e.hasPlugins()?10:-1),n(),v("aria-label",l(12,9,"support.title")),n(3),y(e.loading()?14:15)}}function Ve(t,u){t&1&&(a(0,"p",40),c(1),s(2,"translate"),r()),t&2&&(n(),m(l(2,1,"accessories.settings_link")))}function Fe(t,u){if(t&1&&(a(0,"div",0)(1,"div",35)(2,"h3",36),c(3),s(4,"translate"),r()(),a(5,"div",16)(6,"div",37)(7,"div",30),p(8,"i",38),r(),a(9,"h5",32),c(10),s(11,"translate"),r(),p(12,"p",39),s(13,"translate"),h(14,Ve,3,3,"p",40),r()()()),t&2){let e=d();n(3),m(l(4,4,"menu.label_accessories")),n(7),m(l(11,6,"accessories.control_disabled")),n(2),f("innerHTML",U(13,8,"accessories.message_must_use_insecure_mode",q(11,he,e.linkInsecure)),H),n(2),y(e.isAdmin?14:-1)}}var gt=(()=>{class t{$accessories=b(me);$api=b(Q);$auth=b(Y);dragulaService=b(ce);$modal=b(re);$settings=b(X);$md=b(ue);$translate=b(K);isAdmin=this.$auth.user.admin;enableAccessories=this.$settings.env.enableAccessories;isMobile=B(!1,{});hideHidden=B(!0,{});linkInsecure='<a href="https://github.com/homebridge/homebridge-config-ui-x/wiki/Enabling-Accessory-Control" target="_blank"><i class="fa fa-external-link-alt primary-text"></i></a>';hasPlugins=B(!1,{});loading=B(!0,{});get rooms(){return this.$accessories.rooms()}set rooms(e){this.$accessories.rooms.set(e)}constructor(){let e=this.dragulaService;this.isMobile.set(this.$md.detect.mobile()),e.createGroup("rooms-bag",{moves:(i,o,_)=>!this.isMobile()&&_.classList.contains("drag-handle")}),e.createGroup("services-bag",{moves:i=>!this.isMobile()&&!i.classList.contains("no-drag")}),e.drop().pipe(J()).subscribe(()=>{setTimeout(()=>{this.$accessories.saveLayout()})}),this.isMobile.set(!0)}ngOnInit(){let e=this.$translate.instant("menu.label_accessories");this.$settings.setPageTitle(e),this.$accessories.start(),this.checkForPlugins()}addRoom(){this.$modal.open(fe,{size:"lg",backdrop:"static"}).result.then(e=>{!e||!e.length||this.$accessories.rooms().find(i=>i.name===e)||(this.$accessories.rooms.update(i=>[...i,{name:e,services:[]}]),this.isMobile()&&this.toggleLayoutLock())}).catch(()=>{})}toggleLayoutLock(){this.isMobile.set(!this.isMobile()),this.isMobile()?document.querySelectorAll(".services-bag").forEach(i=>{for(let o=0;o<10;o+=1){let _=document.createElement("div");_.className="accessory-box invisible py-0 my-0",_.style.height="0",i.appendChild(_)}}):document.querySelectorAll(".invisible").forEach(i=>i.remove())}openSupport(){this.$modal.open(be,{size:"lg",backdrop:"static"})}ngOnDestroy(){this.$accessories.stop(),this.dragulaService.destroy("rooms-bag"),this.dragulaService.destroy("services-bag")}checkForPlugins(){return L(this,null,function*(){try{let e=yield this.$api.get("/plugins");this.hasPlugins.set(e.length>1)}catch(e){console.error(e),this.hasPlugins.set(!0)}finally{this.loading.set(!1)}})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["app-accessories"]],decls:2,vars:1,consts:[[1,"row"],[1,"row","mb-3"],[1,"col-9","col-sm-6"],[1,"primary-text","m-0"],[1,"col-3","col-sm-6","text-end","d-inline-block","d-sm-none"],["type","button",1,"btn","btn-elegant","my-0","me-0",3,"click"],[1,"fa","fa-question-circle-o"],[1,"col-3","col-sm-6","text-end","d-none","d-sm-inline-block"],["type","button","container","body","placement","bottom","triggers","hover",1,"btn","btn-elegant","my-0","me-2",3,"click","hidden","openDelay","ngbTooltip"],[1,"fas","fa-folder-plus"],[1,"fas"],["role","group",1,"btn-group","me-2"],["type","button","container","body","placement","bottom","triggers","hover",1,"btn","btn-elegant","my-0",3,"click","disabled","openDelay","ngbTooltip"],[1,"fas","fa-unlock"],[1,"fas","fa-lock"],[3,"dragula","dragulaModel"],[1,"col-12","text-center"],[3,"dragulaModelChange","dragula","dragulaModel"],[1,"row","mb-4"],[1,"col-md-12","d-flex","flex-wrap","noselect","services-bag",3,"justify-content-between","dragula","dragulaModel"],[1,"col-md-12","d-flex","flex-wrap","noselect",3,"dragula","dragulaModel"],[1,"col-md-12"],[1,"primary-text","drag-handle","room-title","m-0","mb-1","mb-sm-0"],[1,"col-md-12","d-flex","flex-wrap","noselect","services-bag",3,"dragulaModelChange","dragula","dragulaModel"],[1,"accessory-box","invisible","py-0","my-0",2,"height","0"],[1,"accessory-item","accessory-tab"],[3,"service"],[1,"col-md-12","d-flex","flex-wrap","noselect",3,"dragulaModelChange","dragula","dragulaModel"],[1,"no-drag"],["role","alert",1,"alert","alert-warning","p-5"],[1,"text-center","mb-3"],[1,"fas","fa-plug","primary-text",2,"font-size","75px"],[1,"mb-3","mt-0"],[1,"mb-0","small"],[1,"mb-0","small","mt-2"],[1,"col-12"],[1,"primary-text","m-0","mb-3"],["role","alert",1,"alert","alert-warning","p-4"],[1,"fas","fa-lightbulb","primary-text",2,"font-size","75px"],[1,"mb-0","small",3,"innerHTML"],[1,"mt-2","mb-0","small"]],template:function(i,o){i&1&&h(0,$e,16,11)(1,Fe,15,13,"div",0),i&2&&y(o.enableAccessories?0:1)},dependencies:[se,pe,de,_e,ve,le,S],styles:[".room-title[_ngcontent-%COMP%]{margin-left:10px}@media(max-width:575px){.room-title[_ngcontent-%COMP%]{margin-left:7px}}.services-bag[_ngcontent-%COMP%]{min-height:170px}@media(max-width:575px){.services-bag[_ngcontent-%COMP%]{min-height:initial}}.cursor-move[_ngcontent-%COMP%]{cursor:move}a[_ngcontent-%COMP%]:hover{text-decoration:none!important}"]})}return t})();export{gt as AccessoriesComponent};
@@ -0,0 +1 @@
1
+ import{e as F}from"./chunk-DGBI427A.js";import{a as D}from"./chunk-JLNKCN3A.js";import{b as q}from"./chunk-CR6W3PUA.js";import{B as J,C as K,D as X,c as z,d as w,e as H,f as A,g as G,j as y,m as Q,r as U,s as j,z as W}from"./chunk-N2IMTG2V.js";import{b as T}from"./chunk-PXNJ4PSF.js";import{F as $,J as O,q as B}from"./chunk-YZZ7SAON.js";import{Ab as g,Ec as d,F as M,Fb as m,Fc as l,Gb as r,Hb as a,Ib as s,Pc as C,Ua as S,Xb as P,Za as i,Zb as R,aa as u,ec as v,fc as N,hc as L,ic as h,kc as f,lc as b,ma as k,mc as V,n as I,nb as E,sa as p,zb as c}from"./chunk-ZPXACREZ.js";import{h as x}from"./chunk-B4AJQJMI.js";var Y=["password"],Z=["username"],ee=["otp"];function te(t,_){if(t&1&&(r(0,"div",8)(1,"span",12),s(2,"i",13),a(),s(3,"input",14,0),d(5,"translate"),a(),r(6,"div",8)(7,"span",12),s(8,"i",15),a(),s(9,"input",16,1),d(11,"translate"),a()),t&2){let n=R();i(3),h("is-invalid",n.form.controls.username.dirty&&n.form.controls.username.errors),m("placeholder",l(5,6,"users.label_username")),i(6),h("is-invalid",n.form.controls.password.dirty&&n.form.controls.password.errors),m("placeholder",l(11,8,"users.label_password"))}}function ie(t,_){t&1&&(r(0,"div",8)(1,"span",12),s(2,"i",17),a(),s(3,"input",18,2),d(5,"translate"),a()),t&2&&(i(3),m("placeholder",l(5,1,"login.label_2fa_code")))}function ne(t,_){t&1&&(r(0,"div",9)(1,"div",12),s(2,"i",19),a(),r(3,"div",20)(4,"div",21),f(5),d(6,"translate"),a(),s(7,"div",22),d(8,"translate"),a()()),t&2&&(i(5),b(l(6,2,"login.invalid_credentials")),i(2),m("innerHTML",l(8,4,"login.invalid_credentials_2"),S))}function oe(t,_){t&1&&(r(0,"div",9)(1,"div",12),s(2,"i",19),a(),r(3,"div",20)(4,"div",21),f(5),d(6,"translate"),a(),s(7,"div",22),d(8,"translate"),a()()),t&2&&(i(5),b(l(6,2,"login.invalid_code")),i(2),m("innerHTML",l(8,4,"login.invalid_credentials_2"),S))}var we=(()=>{class t{destroyRef=u(k);$auth=u(q);$router=u(F);$settings=u(T);targetRoute;validNonAdminRoutes=["/accessories","/plugins","/logs","/support"];passwordInput=C("password",{});usernameInput=C("username",{});otpInput=C("otp",{});backgroundStyle=p("",{});invalidCredentials=p(!1,{});invalid2faCode=p(!1,{});twoFactorCodeRequired=p(!1,{});inProgress=p(!1,{});form;ngOnInit(){this.form=new G({username:new y(""),password:new y("")}),this.form.valueChanges.pipe(M(500),D(this.destroyRef)).subscribe(n=>{let o=this.passwordInput()?.nativeElement.value;o&&o!==n.password&&this.form.controls.password.setValue(o)}),this.targetRoute=window.sessionStorage.getItem("target_route")||"",this.setBackground()}onSubmit(){return x(this,null,function*(){this.invalidCredentials.set(!1),this.invalid2faCode.set(!1),this.inProgress.set(!0),document.getElementById("submit-button")?.blur();let n=this.passwordInput()?.nativeElement.value;n&&n!==this.form.get("password").value&&this.form.controls.password.setValue(n);let o=this.usernameInput()?.nativeElement.value;if(o&&o!==this.form.get("username").value&&this.form.controls.username.setValue(o),this.twoFactorCodeRequired()){let e=this.otpInput()?.nativeElement.value;e&&e!==this.form.get("otp").value&&this.form.controls.username.setValue(e)}try{yield this.$auth.login(this.form.getRawValue()),!this.$auth.user.admin&&!this.validNonAdminRoutes.includes(this.targetRoute)&&(this.targetRoute="/"),this.$router.navigateByUrl(this.targetRoute),window.sessionStorage.removeItem("target_route")}catch(e){e.status===412?(this.form.controls.otp?(this.form.controls.otp.setErrors(["Invalid Code"]),this.invalid2faCode.set(!0)):this.form.addControl("otp",new y("",[w.required,w.minLength(6),w.maxLength(6)])),this.twoFactorCodeRequired.set(!0),setTimeout(()=>{document.getElementById("form-ota").focus()},100)):this.invalidCredentials.set(!0)}this.inProgress.set(!1)})}setBackground(){return x(this,null,function*(){if(this.$settings.settingsLoaded||(yield I(this.$settings.onSettingsLoaded)),this.$settings.env.customWallpaperHash){let n=`${O.api.base}/auth/wallpaper/${this.$settings.env.customWallpaperHash}`;this.backgroundStyle.set(`url('${n}') center/cover`)}})}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=E({type:t,selectors:[["ng-component"]],viewQuery:function(o,e){o&1&&(v(e.passwordInput,Y,5),v(e.usernameInput,Z,5),v(e.otpInput,ee,5)),o&2&&N(3)},decls:15,vars:16,consts:[["username",""],["password",""],["otp",""],[1,"login-container","gradient","d-flex","align-items-start","justify-content-center"],[1,"w-100","login-card","d-flex","py-4","flex-column"],["ngSrc","assets/homebridge-color-round.svg","alt","Homebridge Logo","height","100","width","100","priority","true",1,"homebridge-logo","mx-auto","my-3"],["novalidate","",3,"ngSubmit","formGroup"],[1,"mb-4","text-center"],[1,"input-group","mb-4"],[1,"input-group","no-border","mb-4"],[1,"text-center"],["tabindex","3","id","submit-button","type","submit",1,"btn","btn-primary","mb-2",3,"disabled"],[1,"input-group-text","custom-input"],[1,"fas","fa-user","primary-text","fa-lg"],["formControlName","username","type","text","id","form-username","autofocus","","autocomplete","username","autocapitalize","none","tabindex","1","required","",1,"form-control","custom-input",3,"placeholder"],[1,"fas","fa-lock","primary-text","fa-lg"],["formControlName","password","type","password","id","form-pass","autocomplete","current-password","tabindex","2","required","",1,"form-control","custom-input",3,"placeholder"],[1,"fas","fa-key","primary-text","fa-lg"],["formControlName","otp","type","text","id","form-ota","autofocus","","autocomplete","one-time-code","autocapitalize","none","inputmode","numeric","pattern","[0-9]*","tabindex","1",1,"form-control","custom-input",3,"placeholder"],[1,"fas","fa-exclamation-triangle","pink-text","fa-lg"],[1,"form-control","custom-input"],[1,"small","grey-text","fw-semibold"],[1,"small","grey-text",3,"innerHTML"]],template:function(o,e){o&1&&(r(0,"div",3)(1,"div",4),s(2,"img",5),r(3,"form",6),P("ngSubmit",function(){return e.onSubmit()}),r(4,"h4",7),f(5),d(6,"translate"),a(),c(7,te,12,10),c(8,ie,6,3,"div",8),c(9,ne,9,6,"div",9),c(10,oe,9,6,"div",9),r(11,"div",10)(12,"button",11),f(13),d(14,"translate"),a()()()()()),o&2&&(L("background",e.backgroundStyle()),h("anim",!e.backgroundStyle()),i(3),m("formGroup",e.form),i(2),b(l(6,12,"setup.welcome_to_homebridge")),i(2),g(e.twoFactorCodeRequired()?-1:7),i(),g(e.twoFactorCodeRequired()?8:-1),i(),g(e.invalidCredentials()?9:-1),i(),g(e.invalid2faCode()?10:-1),i(2),m("disabled",e.form.invalid),i(),V(" ",l(14,14,"form.button_continue")," "))},dependencies:[K,Q,z,H,A,W,J,X,j,U,B,$],styles:["body{overflow:scroll!important} body.dark-mode .login-card{background-color:#2b2b2b;color:#fff}.login-container[_ngcontent-%COMP%]{z-index:-1;padding-top:2em;padding-bottom:2em;min-height:100%;background-size:300% 300%}.anim[_ngcontent-%COMP%]{-webkit-animation:_ngcontent-%COMP%_gradient 20s ease infinite;-moz-animation:gradient 20s ease infinite;-o-animation:gradient 20s ease infinite;animation:_ngcontent-%COMP%_gradient 20s ease infinite}@keyframes _ngcontent-%COMP%_gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.login-card[_ngcontent-%COMP%]{max-width:550px;border-radius:1rem;padding-right:25px;padding-left:25px;background-color:#ffffffe6}.login-card[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]:focus{background-color:inherit!important}@media screen and (max-width:575px){.login-card[_ngcontent-%COMP%]{margin-left:1em;margin-right:1em}}.homebridge-logo[_ngcontent-%COMP%]{margin-bottom:10px}"]})}return t})();export{we as LoginComponent};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-KTE7SASZ.js";import"./chunk-B4AJQJMI.js";export default a();
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-IUXXJEPG.js";import"./chunk-B4AJQJMI.js";export default a();
@@ -0,0 +1 @@
1
+ import{e}from"./chunk-B4AJQJMI.js";var s=e((t,i)=>{i.exports={"accessories.accessory_info":"Accessory Information","accessories.bridge_ip":"Bridge IP","accessories.bridge_port":"Bridge Port","accessories.button_add_room":"Oda Ekle","accessories.button_hidden_hide":"Hide Hidden","accessories.button_hidden_show":"Show Hidden","accessories.button_remove":"Remove From Cache","accessories.control.adaptive_lighting":"Adaptive Lighting","accessories.control.adaptive_lighting_note":"Some plugins may automatically re-enable Adaptive Lighting when changing this.","accessories.control.auto":"Otomatik","accessories.control.away":"Uzakta","accessories.control.battery_charged":"Charged","accessories.control.battery_charging":"\u015Earj Oluyor","accessories.control.battery_low":"Battery Low","accessories.control.battery_notchargeable":"\u015Earj Edilemez","accessories.control.battery_notcharging":"\u015Earj Olmuyor","accessories.control.brightness":"Parlakl\u0131k","accessories.control.cleaning":"Cleaning","accessories.control.closed":"Kapand\u0131","accessories.control.closing":"Kapan\u0131yor","accessories.control.color_temperature":"Color Temperature","accessories.control.cool":"Serin","accessories.control.current":"Current","accessories.control.default_room":"Varsay\u0131lan Oda","accessories.control.dehumidify":"Dehumidify","accessories.control.detected":"Detected","accessories.control.direction_control":"Direction Control","accessories.control.drag_here":"Drag Here","accessories.control.filter_level":"Filter Life","accessories.control.heat":"S\u0131cak","accessories.control.home":"Ev","accessories.control.hue":"Hue","accessories.control.humidify":"Humidify","accessories.control.idle":"Idle","accessories.control.input":"Input List","accessories.control.input_control":"Input Control","accessories.control.jammed":"Jammed","accessories.control.lock_auto":"Auto Lock Timer","accessories.control.locked":"Kilitli","accessories.control.manual":"Manual","accessories.control.media_control":"Media Control","accessories.control.microphone":"Microphone","accessories.control.mode":"Mode","accessories.control.mode_control":"Mode Control","accessories.control.mute":"Sessiz","accessories.control.mute_control":"Mute Control","accessories.control.night":"Gece","accessories.control.no_data":"No Data","accessories.control.not_detected":"Not Detected","accessories.control.not_mute":"Audible","accessories.control.obstructed":"Obstructed","accessories.control.off":"Kapal\u0131","accessories.control.on":"A\xE7\u0131k","accessories.control.open":"A\xE7\u0131k","accessories.control.opening":"A\xE7\u0131l\u0131yor","accessories.control.pause":"Pause","accessories.control.paused":"Paused","accessories.control.play":"Play","accessories.control.replace":"Replace","accessories.control.rotation_c_clockwise":"Counter Clockwise","accessories.control.rotation_clockwise":"Clockwise","accessories.control.rotation_direction":"Rotation Direction","accessories.control.rotation_speed":"D\xF6nme H\u0131z\u0131","accessories.control.running":"\xC7al\u0131\u015F\u0131yor","accessories.control.saturation":"Saturation","accessories.control.set_duration":"Set Duration","accessories.control.speaker":"Speaker","accessories.control.speaker_volume":"Ses Seviyesi","accessories.control.state_control":"State Control","accessories.control.stateless":"Stateless","accessories.control.stop":"Stop","accessories.control.stopped":"Durdu","accessories.control.target":"Hedef","accessories.control.target_auto":"Auto Target","accessories.control.threshold_auto":"Auto Threshold","accessories.control.triggered":"Tetiklendi","accessories.control.unknown":"Bilinmeyen","accessories.control.unlocked":"Kilidi A\xE7\u0131ld\u0131","accessories.control_disabled":"Homebridge Aksesuar Kontrol\xFC Devre D\u0131\u015F\u0131 B\u0131rak\u0131ld\u0131","accessories.core.air_purifier":"Air Purifier","accessories.core.air_quality_sensor":"Air Quality Sensor","accessories.core.battery":"Battery","accessories.core.carbon_dioxide_sensor":"Carbon Dioxide Sensor","accessories.core.carbon_monoxide_sensor":"Carbon Monoxide Sensor","accessories.core.contact_sensor":"Contact Sensor","accessories.core.cooler":"Cooler","accessories.core.dehumidifier":"Dehumidifier","accessories.core.door":"Door","accessories.core.doorbell":"Doorbell","accessories.core.fan":"Fan","accessories.core.faucet_valve":"Valve","accessories.core.filter_maintenance":"Filter Maintenance","accessories.core.garage_door_opener":"Garage Door Opener","accessories.core.generic_valve":"Valve","accessories.core.heater":"Heater","accessories.core.heater_cooler":"Heater Cooler","accessories.core.humidifier":"Humidifier","accessories.core.humidifier_dehumidifier":"Humidifier Dehumidifier","accessories.core.humidity_sensor":"Humidity Sensor","accessories.core.irrigation_system":"Irrigation System","accessories.core.irrigation_valve":"Valve","accessories.core.leak_sensor":"Leak Sensor","accessories.core.light_sensor":"Light Sensor","accessories.core.lightbulb":"Lightbulb","accessories.core.lock_mechanism":"Lock Mechanism","accessories.core.microphone":"Microphone","accessories.core.motion_sensor":"Motion Sensor","accessories.core.occupancy_sensor":"Occupancy Sensor","accessories.core.on_off_light":"Lightbulb","accessories.core.on_off_light_switch":"Switch","accessories.core.on_off_plug_in_unit":"Outlet","accessories.core.outlet":"Outlet","accessories.core.robot_vacuum":"Robot Vacuum","accessories.core.robotic_vacuum_cleaner":"Robot Vacuum","accessories.core.security_system":"Security System","accessories.core.shower_head_valve":"Valve","accessories.core.smoke_sensor":"Smoke Sensor","accessories.core.speaker":"Speaker","accessories.core.stateless_programmable_switch":"Stateless Programmable Switch","accessories.core.switch":"Switch","accessories.core.television":"Television","accessories.core.temperature_sensor":"Temperature Sensor","accessories.core.thermostat":"Thermostat","accessories.core.valve":"Valve","accessories.core.washing_machine":"Washing Machine","accessories.core.window":"Window","accessories.core.window_covering":"Window Covering","accessories.custom_name":"Custom Name","accessories.custom_type":"Custom Type","accessories.hide_this_accessory":"Bu aksesuar\u0131 gizle","accessories.message_must_use_insecure_mode":"Aksesuarlar\u0131n\u0131z\u0131 kontrol etmek i\xE7in Homebridge'i emniyetsiz modda \xE7al\u0131\u015Ft\u0131r\u0131yor olmal\u0131s\u0131n\u0131z {{ link }}.","accessories.name":"Ad","accessories.no_plugins.message_1":"Accessories are created and managed by Homebridge plugins.","accessories.no_plugins.message_2":"You can find and install plugins from the plugins page.","accessories.no_plugins.title":"No Plugins Installed","accessories.only_ui":"These settings are only for the Homebridge UI and <strong>will not be reflected in HomeKit</strong>.","accessories.only_ui_2":"These options are unique to your Homebridge UI account.","accessories.plugin":"Plugin","accessories.room_name":"Oda Ad\u0131","accessories.service":"Service","accessories.service_info":"Service Information","accessories.settings_link":"You can access the Homebridge Settings at any time from the cog icon in the side menu.","accessories.show_on_dashboard":"G\xF6sterge paneli arac\u0131nda g\xF6ster","accessories.support.acc_1":"Accessories may take a few minutes to appear on this screen after a Homebridge restart or after being added. If accessories are consistently missing, try changing the mDNS advertiser in the settings.","accessories.support.acc_2":"You can change the type of certain accessories in the UI (like showing a switch as a heater). You can do this by clicking on the three bars that appear in the top-right corner of the accessory tile as you hover over it. A 'Custom Type' option will appear if the accessory supports this. Note this will not change the accessory in HomeKit (only a plugin can do this).","accessories.support.rooms_1":"The rooms you create here will not appear in HomeKit, they are only for the organisation of accessories in the Homebridge UI.","accessories.support.rooms_2":"To rename an existing room, create a new room with the desired name and move the accessories to the new room.","accessories.support.rooms_3":"To delete an existing room, move all its accessories to another room and refresh the page.","accessories.title_rooms":"Rooms","backup.backup_delete_failed":"Backup deletion failed. See logs for details.","backup.backup_download_failed":"Yedekleme \u0130ndirme Ba\u015Far\u0131s\u0131z","backup.backup_exceeds_max_size":"Backup ({{ backupSize }}) exceeds maximum restore file size of {{ maxBackupSizeText }}","backup.backup_help_one":"Homebridge ortam\u0131n\u0131n tamam\u0131 i\xE7in bir yedekleme ar\u015Fivin indirin. Bu i\u015Flem daha sonra Homebridge UI \xE7al\u0131\u015Ft\u0131rabilen herhangi bir platformda geri y\xFCkleyebilece\u011Finiz, Homebridge depolama dizininin t\xFCm i\xE7eri\u011Fini yedekler.","backup.backup_help_two":"npm \xFCzerinde bar\u0131nd\u0131r\u0131lmayan, veya direkt Github \xFCzerinden kurulmu\u015F eklentiler yedeklenmeyecek ve geri y\xFCklenemeyecektir.","backup.backup_now":"Backup Now","backup.backup_now_desc":"Generate and download an up-to-date backup file.","backup.backup_now_save_desc":"Generate an up-to-date backup file in your backup storage directory.","backup.backup_restored":"Yedekleme Ar\u015Fivi Geri Y\xFCklendi","backup.backup_warning":"Yedekleme ar\u015Fivleri hassas bilgiler bar\u0131nd\u0131r\u0131rlar ve ba\u015Fka ki\u015Filerle payla\u015F\u0131lmamal\u0131d\u0131rlar.","backup.files_auto":"Stored Backup Files","backup.label_extracting":"Extracting Archive","backup.label_uploading":"Y\xFCkleniyor\u2026","backup.load_error":"Failed to load config backup.","backup.restore_failed":"Geri Y\xFCkleme Ba\u015Far\u0131s\u0131z","backup.restore_help_one":"Daha \xF6ncesinde Homebridge UI kullanarak olu\u015Fturdu\u011Funuz bir yedekleme ar\u015Fivini geri y\xFCkleyin. Homebridge yap\u0131land\u0131rman\u0131z, \xF6nbelle\u011Fe al\u0131nm\u0131\u015F aksesuarlar\u0131n\u0131z, HomeKit e\u015Flemeleriniz ve Homebridge UI kullan\u0131c\u0131 hesaplar\u0131n\u0131z geri y\xFCklenecek. Ayr\u0131ca \xF6nceden kurdu\u011Funuz herhangi bir Homebridge eklentisi de npm \xFCzerinden indirilecek.","backup.restore_help_two":"Bir yede\u011Fi geri y\xFCkledikten sonra yedekteki kimlik bilgilerini kullanarak Homebridge UI'e giri\u015F yapman\u0131z gerekecek.","backup.restore_max_size":"You can restore a backup archive up to {{ maxBackupSizeText }} in size.","backup.restore_now":"Restore Now","backup.restore_now_desc":"Restore from a previously downloaded backup file.","backup.restore_warning":"Bir yede\u011Fi geri y\xFCklemek, mevcuttaki Homebridge yap\u0131land\u0131rmas\u0131n\u0131 geri al\u0131namaz \u015Fekilde ge\xE7ersiz k\u0131lacak.","backup.scheduled_backup_disabled":"Scheduled backups have been disabled via the configuration.","backup.scheduled_backup_time":"Homebridge'in tam bir yede\u011Fi otomatik olarak her g\xFCn \u015Fu saatde: {{ backupTime }} olu\u015Fturulacak ve {{ dayCount }} g\xFCn boyunca saklanacak.","backup.settings_enable":"Enable Automated Backups","backup.settings_path":"Backup Storage Path","backup.settings_path_desc":"If you are changing this from the default, please ensure the directory exists and is writable by the Homebridge user.","backup.settings_title":"Backup Settings","backup.title_backup":"Backup & Restore","child_bridge.about":"Homebridge allows you to run your plugin's platform or accessory as an isolated child bridge {{ link }}. This can improve the general responsiveness and reliability of Homebridge.","child_bridge.bridge_connect":"Connect to HomeKit","child_bridge.bridge_settings":"Child Bridge Config","child_bridge.bridges":"Bridges","child_bridge.bridges_paired":"Each child bridge platform or accessory will need to be paired with HomeKit separately.","child_bridge.bridges_paired_2":"If you set up a child bridge now and later disable it, any accessories on this bridge will be removed and re-created on the main Homebridge bridge.","child_bridge.config.accessory":"Accessory","child_bridge.config.debug":"Debug Mode","child_bridge.config.enable_hap":"Enable HAP","child_bridge.config.firmware":"Firmware Version","child_bridge.config.hide_pairing_alert":"Hide Pairing Alert","child_bridge.config.manufacturer":"Manufacturer","child_bridge.config.matter_note_1":"Plugins must be updated by the developer to support Matter accessories. There is no use in enabling Matter here unless you definitely know the plugin supports it.","child_bridge.config.matter_note_2":"Matter accessories don't appear in the Homebridge UI accessories screen. They can be managed using the Home app or other Matter controllers.","child_bridge.config.model":"Model","child_bridge.config.name":"Name","child_bridge.config.or_link":"Link Existing Bridge","child_bridge.config.platform":"Platform","child_bridge.config.port":"Port","child_bridge.config.prevent":"Cannot disable a child bridge with linked accessories.","child_bridge.config.select_existing":"Select an existing bridge...","child_bridge.config.use":"Use Child Bridge","child_bridge.confirm_delete_1":"The following child bridges will be removed.","child_bridge.confirm_delete_2":"You will need to remove the paired bridges manually from the Home app. Any accessories will be removed and re-created on the main Homebridge bridge.","child_bridge.must_configure_plugin":"You need to configure this plugin before you can manage its bridge settings.","child_bridge.reset_accessories":"Reset Accessories","child_bridge.restart":"Restart Child Bridge","child_bridge.restart_plural":"Restart Child Bridges","child_bridge.return_to_pair":"Return to this screen after Homebridge has restarted to view the pairing QR code.","child_bridge.setup":"Set Up Child Bridge","child_bridge.start":"Start Child Bridge","child_bridge.start_plural":"Start Child Bridges","child_bridge.stop":"Stop Child Bridge","child_bridge.stop_plural":"Stop Child Bridges","common.labels.beta":"beta","common.labels.no_confirmation":"There is no confirmation when clicking the button, it will immediately perform the action.","common.phrases.are_you_sure":"Are you sure you want to continue anyway?","common.phrases.support":"Feel like there is something useful we could add here? Let us know on {{ github }} or {{ discord }}!","config.config_accessory_must_be_array":"aksesuarlar bir dizi olmal\u0131 []","config.config_bridge_missing":"K\xF6pr\xFC ayarlar\u0131 eksik","config.config_invalid_json":"Yap\u0131land\u0131rma ge\xE7ersiz JSON bi\xE7imi i\xE7eriyor","config.config_platform_must_be_array":"platformlar bir dizi olmal\u0131 []","config.config_saved":"Configuration Saved","config.config_username_error":"K\xF6pr\xFC kullan\u0131c\u0131 ad\u0131 6 \xE7ift, iki nokta \xFCst \xFCste ile ayr\u0131lm\u0131\u015F onalt\u0131l\u0131k karakterlerden olu\u015Fmal\u0131d\u0131r (A-F 0-9)","config.error_blocks_objects":"All {{ type }} blocks must be objects.","config.error_blocks_type":"All {{ type }} blocks must contain the {{ type }} attribute.","config.error_string_array":"Each item in the {{ key }} array must be a string.","config.error_string_type":"The {{ type }} attribute must be a string.","config.failed_to_save_config":"Yap\u0131land\u0131rma kaydedilemedi","config.hide_hap_pairing":"Hide HAP Pairing Alert","config.hide_matter_pairing":"Hide Matter Pairing Alert","config.hide_plugin_updates":"Hide Plugin Updates For","config.no_restart":"A restart is not needed as no changes were made to the Homebridge configuration.","config.restore.confirm":"Bu yede\u011Fi geri y\xFCklemek istedi\u011Finizi onaylamak i\xE7in Kaydet'e t\u0131klay\u0131n.","config.restore.copy_to_editor":"Edit\xF6re Kopyala","config.restore.download":"Download your current configuration as a JSON file.","config.restore.help_1":"A backup of your config file is created each time it is updated from actions you take in the Homebridge UI.","config.restore.help_2":"You can restore a previous version of your config file by selecting it from the list below. You will be able to compare this version with your current config before deciding whether to restore it.","config.restore.title":"Config File Backup & Restore","config.restore.toast_backups_deleted":"T\xFCm Yedeklemeler Silindi","config.restore.view_inline":"Inline View","config.restore.view_side_by_side":"Side-By-Side View","config.title_backup_loaded":"Yedekleme Y\xFCklendi","form.button_allow":"Allow","form.button_back":"Back","form.button_cancel":"\u0130ptal Et","form.button_close":"Kapat","form.button_continue":"Continue","form.button_delete":"Sil","form.button_delete_all":"Delete All","form.button_disable":"Disable","form.button_download":"\u0130ndir","form.button_edit":"D\xFCzenle","form.button_enable":"Enable","form.button_lock":"Lock","form.button_more_info":"More Info","form.button_remove":"Remove","form.button_reset":"Reset","form.button_restore":"Yedekten Geri Y\xFCkle","form.button_save":"Kaydet","form.button_show":"Show","form.button_unlock":"Unlock","form.button_unpair":"Unpair","form.label.changes_kept":"Note that existing selections/changes are preserved when switching between items.","form.label_invalid":"Config validation failed - you can still save your changes.","form.label_invalid_strict":"Config validation failed - please review the form before saving.","form.label_valid":"Config validation passed.","form.optional":"Optional","form.search":"Search...","form.select.auto":"Automatic (Use Browser Settings)","login.invalid_code":"The code entered is incorrect or has expired","login.invalid_credentials":"Ge\xE7ersiz Kullan\u0131c\u0131 Ad\u0131 ve Parola","login.invalid_credentials_2":"If you lose access, delete the <code>auth.json</code> file in your Homebridge storage directory and restart Homebridge. Then refresh this page to set up a new admin account. Your Homebridge/UI settings will remain unchanged, except for UI user accounts. The only user account will be the admin account that you are setting up now.","login.invalid_password":"Invalid Password","login.label_2fa_code":"\u0130ki A\u015Famal\u0131 Do\u011Frulama Kodu","logs.download.error":"Failed to download log file.","logs.download_warning":"Homebridge g\xFCnl\xFCk dosyalar\u0131 ki\u015Fisel bilgiler, parolalar ve eri\u015Fim belirte\xE7leri i\xE7eriyor olabilir. L\xFCtfen ba\u015Fka ki\u015Filerle payla\u015Fmadan \xF6nce g\xFCnl\xFCk dosyas\u0131n\u0131 inceleyin ve t\xFCm hassas bilgileri kald\u0131r\u0131n.","logs.log_file_truncated":"G\xFCnl\xFCk dosyas\u0131 budand\u0131.","logs.placeholder_search_logs":"Search logs (min. 3 characters)...","logs.title_download_log_file":"G\xFCnl\xFCk Dosyas\u0131n\u0131 \u0130ndir","logs.title_truncate_log_file":"G\xFCnl\xFCk Dosyas\u0131n\u0131 Buda","logs.truncate.error":"Failed to truncate log file.","logs.truncate_log_warning":"Bu i\u015Flem mevcuttaki Homebridge g\xFCnl\xFCklerini geri al\u0131namaz \u015Fekilde silecektir. Devam etmek istedi\u011Finizden emin misiniz?","matter_bridge.config.use":"Enable Matter","menu.config_json_editor":"JSON Config","menu.docker.restart_container":"Kapsay\u0131c\u0131y\u0131 Yeniden Ba\u015Flat","menu.docker.startup_script":"Ba\u015Flang\u0131\xE7 Komutu","menu.docker.terminal":"Terminal","menu.hbrestart.confirm_hb":"Restart Homebridge","menu.hbrestart.confirm_ui":"Restart HB Service & UI","menu.hbrestart.title":"Restart Homebridge","menu.label_accessories":"Aksesuarlar","menu.label_plugins":"Eklentiler","menu.label_settings":"Settings","menu.label_status":"Durum","menu.linux.label_logs":"Logs","menu.linux.label_restart_server":"Sunucuyu Yeniden Ba\u015Flat","menu.linux.label_shutdown_modal":"Are you sure you want to shut down the operating system? You will need physical access to turn it back on.","menu.linux.label_shutdown_server":"Sunucuyu Kapat","menu.linux.label_terminal":"Terminal","menu.reload":"Reload","menu.restart.title":"Power Options","menu.settings.title":"Settings","menu.tooltip_logout":"\xC7\u0131k\u0131\u015F Yap","menu.tooltip_restart":"Yeniden Ba\u015Flat","menu.tooltip_user_accounts":"Kullan\u0131c\u0131 Hesaplar\u0131","menu.tooltip_view_logs":"G\xFCnl\xFCkleri G\xF6r\xFCnt\xFCle","platform.docker.container_restarted":"Docker kapsay\u0131c\u0131s\u0131 yeniden ba\u015Flat\u0131ld\u0131","platform.docker.must_use_hashbang":"Komut dosyas\u0131 #!/bin/sh hashbang kullanmal\u0131d\u0131r.","platform.docker.restart_required":"De\u011Fi\u015Fikliklerin etkili olmas\u0131 i\xE7in Docker kapsay\u0131c\u0131s\u0131n\u0131 yeniden ba\u015Flatman\u0131z gerekli.","platform.docker.run_with_restart":"Docker kapsay\u0131c\u0131s\u0131n\u0131 {{ command }} ile \xE7al\u0131\u015Ft\u0131rd\u0131\u011F\u0131n\u0131zdan emin olun","platform.docker.script_help":"Bu komut dosyas\u0131 Docker kapsay\u0131c\u0131s\u0131n\u0131n ba\u015Flat\u0131l\u0131\u015F\u0131nda \xE7al\u0131\u015Ft\u0131r\u0131lacakt\u0131r. Bunu, eklentilerinizin ihtiya\xE7 duyabilece\u011Fi paketleri (ffmpeg ya da libpcap-dev gibi) y\xFCklemek i\xE7in kullanabilirsiniz.","platform.docker.script_saved":"Ba\u015Flang\u0131\xE7 Komut Dosyas\u0131 Kaydedildi","platform.docker.server_long_time":"Sunucunun yeniden ba\u015Flat\u0131lmas\u0131 uzun zaman al\u0131yor. Docker kapsay\u0131c\u0131s\u0131n\u0131 el ile aya\u011Fa kald\u0131rman\u0131z gerekebilir.","platform.docker.title_restarting":"Docker kapsay\u0131c\u0131s\u0131 yeniden ba\u015Flat\u0131l\u0131yor","platform.linux.long_time":"Sunucunun yeniden ba\u015Flat\u0131lmas\u0131 uzun zaman al\u0131yor. Sunucuyu el ile aya\u011Fa kald\u0131rman\u0131z gerekebilir.","platform.linux.restart":"L\xFCtfen bekleyin, Homebridge tekrardan \xE7evrimi\xE7i oldu\u011Funda bu sayfa otomatik olarak y\xF6nlendirilecektir.","platform.linux.restarting_server":"Sunucu Yeniden Ba\u015Flat\u0131l\u0131yor","platform.linux.server_restart_error":"Yeniden ba\u015Flatma komutu sunucuya g\xF6nderilirken hata olu\u015Ftu.","platform.linux.server_restarted":"Sunucu yeniden ba\u015Flat\u0131ld\u0131.","platform.linux.server_taking_long_time":"Sunucunun yeniden \xE7evirimi\xE7i olmas\u0131 uzun zaman al\u0131yor.","platform.linux.server_will_power_down":"Sunucu k\u0131sa bir s\xFCre sonra kapanacak.","platform.linux.shutting_down_server":"Sunucu Kapat\u0131l\u0131yor","platform.terminal.terminate_message_1":"Navigating away from this page will terminate your current session, all foreground processes will be terminated.","platform.terminal.terminate_message_2":"To avoid this warning, enable <strong>Terminal Session Persistence</strong> from the settings page.","platform.terminal.terminate_title":"Session Termination","platform.terminal.terminate_unload":"Your terminal session will be terminated. Enable Terminal Session Persistence in Settings to prevent this.","platform.version.restart_required":"Homebridge UI v{{ uiVersion }} kuruldu, fakat sunucu halen v{{ serverVersion }} s\xFCr\xFCm\xFCn\xFC \xE7al\u0131\u015Ft\u0131r\u0131yor.","platform.version.service_restart_required":"Servisin Yeniden Ba\u015Flat\u0131lmas\u0131 Gerekli","plugins.bridge.action_error":"Failed to {{ action }} child bridge(s).","plugins.bridge.name_error":"Bridge name must start and end with a letter or number, and can only contain letters, numbers, spaces, and apostrophes.","plugins.bridge.port_error":"{{ type }} port must be an integer between 1025 and 65533, excluding 5353, 8080, 8443 and any other already-configured port.","plugins.button_homepage":"Plugin Homepage","plugins.button_set_up":"Set Up","plugins.button_settings":"Ayarlar","plugins.button_uninstall":"Kald\u0131r","plugins.button_update":"G\xFCncelle","plugins.compat.hb_node_too_low":"{{ packageName }} v{{ latestVersion }}, Node.js v{{ minVersion }} veya daha \xFCst s\xFCr\xFCm\xFCne ihtiya\xE7 duyar. Mevcutta Node.js {{ installedVersion }} \xE7al\u0131\u015Ft\u0131r\u0131yorsunuz.","plugins.compat.hb_too_low":"{{ pluginName }} eklentisi Homebridge v{{ minVersion }} veya daha \xFCst s\xFCr\xFCm\xFCn\xFC \xE7al\u0131\u015Ft\u0131rman\u0131z\u0131 tavsiye ediyor. Mevutta Homebridge v{{ installedVersion }} \xE7al\u0131\u015Ft\u0131r\u0131yorsunuz.","plugins.compat.node_first":"L\xFCtfen {{ packageName }}'i g\xFCncellemeden \xF6nce Node.js s\xFCr\xFCm\xFCn\xFC y\xFCkseltin.","plugins.compat.node_link":"How To Update Node.js","plugins.compat.node_too_low":"{{ pluginName }} eklentisi Node.js v{{ minVersion }} veya daha \xFCst s\xFCr\xFCm\xFCn\xFC \xE7al\u0131\u015Ft\u0131rman\u0131z\u0131 tavsiye ediyor. Mevutta Node.js {{ installedVersion }} \xE7al\u0131\u015Ft\u0131r\u0131yorsunuz.","plugins.compat.title":"Compatibility Check","plugins.config.load_error":"Failed to load plugin config.","plugins.config.must_be_array":"Plugin config must be an array.","plugins.config.must_be_array_objects":"Plugin config must be an array of objects.","plugins.config.must_be_object":"Config block must be an object.","plugins.config.name_property":'Accessory must have a valid "name" attribute',"plugins.config.please_fix":"Please fix validation errors before adding a new block.","plugins.config.remove_error":"Failed to remove plugin config.","plugins.disable.error":"Failed to disable plugin.","plugins.donate.message_1":"As more users install their plugins through the Homebridge UI, they are less likely to visit the projects' GitHub page where the ways to support a developer would typically be displayed.","plugins.donate.message_2":"Adding donation links directly in the Homebridge UI ensures users know how to support Homebridge developers if they wish to do so.","plugins.donate.tile_donate_to":"{{ author }} Ki\u015Fisine Ba\u011F\u0131\u015F Yap.","plugins.enable.error":"Failed to enable plugin.","plugins.manage.all_versions":"All versions","plugins.manage.backup":"Download a backup before updating?","plugins.manage.changelog":"Full Changelog","plugins.manage.changelog_none":"Could not retrieve changelog, perhaps this plugin does not provide a <code>CHANGELOG.md</code> file.","plugins.manage.child_bridge_restart":"Child bridge restarted successfully.","plugins.manage.child_bridge_restart_failed":"Plugin restart failed, please restart Homebridge manually.","plugins.manage.confirm_disable":"Are you sure you want to disable {{ pluginName }}?","plugins.manage.confirm_disable_accessory_1":"Any accessories exposed by this plugin will be removed from the Homebridge UI accessory screen and removed from HomeKit.","plugins.manage.confirm_disable_accessory_2":"When you re-enable the plugin, the accessories will reappear in the Homebridge UI and HomeKit. The accessories will lose their HomeKit data (like related scenes and automations).","plugins.manage.confirm_disable_platform_1":"Any accessories exposed by this plugin will be removed from the Homebridge UI accessory screen but remain in HomeKit with a 'No Response' label.","plugins.manage.confirm_disable_platform_2":"When you re-enable the plugin, the accessories will reappear in the Homebridge UI and become controllable again in HomeKit. The accessories will not lose their HomeKit data (like related scenes and automations).","plugins.manage.confirm_disable_setting":"Your setting for {{ setting }} is currently {{ value }}, therefore:","plugins.manage.confirm_enable":"{{ pluginName }} eklentisini etkinle\u015Ftirmek istedi\u011Finizden emin misiniz?","plugins.manage.disable":"Devre D\u0131\u015F\u0131 B\u0131rak","plugins.manage.enable":"Etkinle\u015Ftir","plugins.manage.github_support":"You can show your support by giving this plugin a {{ iconStar }} (or the release a {{ iconThumbsUp }}) on GitHub!","plugins.manage.hb_restart":"Homebridge and the UI will automatically restart after any version change.","plugins.manage.hide_updates":"Disable Update Notifications","plugins.manage.hide_updates_desc":"If you don't want to see update notifications for this plugin, you can turn them off here.","plugins.manage.information":"Plugin Information","plugins.manage.install":"Y\xFCkle","plugins.manage.installed":"Y\xFCkl\xFC","plugins.manage.json_config":"JSON Config","plugins.manage.manage_version":"Bir \xD6nceki S\xFCr\xFCm\xFC Y\xFCkle","plugins.manage.manual_update_command":"To upgrade the package, open a Node.js command prompt as an Administrator and run the following commands:","plugins.manage.more_info":"More information about scoped {{ scopedLink }} and verified {{ verifiedLink }} plugins.","plugins.manage.notes":"Release Notes","plugins.manage.notes_beta_1":"Thank you for helping improve {{ pluginName }} by testing a pre-release version.","plugins.manage.notes_beta_2":"You can use the Homebridge UI to revert back to the stable version at any time.","plugins.manage.notes_beta_3":"Please remember this is a pre-release version, and report any issues to the plugin's GitHub repository page.","plugins.manage.notes_latest":"Release notes are only shown when updating to the latest version.","plugins.manage.notes_none":"Could not retrieve release notes, perhaps this version does not have a GitHub release.","plugins.manage.online_updates":"Windows'ta \xE7evrimi\xE7i g\xFCncellemeler desteklenmiyor. Homebridge UI'i, Homebridge servisini el ile durdurduktan sonra g\xFCncellemeniz gerekecek.","plugins.manage.plugin_logs":"Plugin Logs","plugins.manage.scoped.error":"An error occurred. You can download the logs below.","plugins.manage.scoped.info_1":"Homebridge scoped plugins have names beginning with {{ prefix }}.","plugins.manage.scoped.info_2":"For more information about scoped plugins and why to switch, see the wiki page {{ link }}.","plugins.manage.scoped.process":"This process will not affect your Homebridge/HomeKit accessories. You will not be able to cancel the process once it has started. It will:","plugins.manage.scoped.switch":"Switch To Scoped Plugin","plugins.manage.scoped.windows":'Online updates are not supported on Windows. You will need to install the new plugin and uninstall the old plugin manually. You should <span class="fw-bold">not</span> restart Homebridge until both steps are complete.',"plugins.manage.scoped_message":"Scoped plugins improve long-term reliability and ensure consistent maintenance by combining centralized oversight from the Homebridge team with continued involvement from the original maintainer.","plugins.manage.scoped_subtitle":"This plugin is scoped and verified.","plugins.manage.select_version":"Y\xFCklemek istedi\u011Finiz s\xFCr\xFCm\xFC se\xE7in","plugins.manage.uninstall":"Kald\u0131r","plugins.manage.uninstalled":"Kald\u0131r\u0131ld\u0131","plugins.manage.unverified_message":"Unverified Homebridge plugins indicate that they haven't undergone the review process by the Homebridge project team. Lack of verification does not necessarily imply inefficacy or safety concerns. Authors might have opted not to seek verification for various reasons.","plugins.manage.unverified_subtitle":"This plugin is not verified.","plugins.manage.update":"G\xFCncelle","plugins.manage.updated":"G\xFCncellendi","plugins.manage.verified_message":"Homebridge plugins that are marked as verified have been reviewed by the Homebridge project team to ensure they meet various requirements that encourage best practices and a trouble-free user experience.","plugins.manage.verified_subtitle":"This plugin is verified.","plugins.placeholder_search_first":"Use the search bar above to find your first plugin","plugins.placeholder_search_none":"No results were found","plugins.placeholder_search_plugin":"Y\xFCklemek i\xE7in eklentiler aray\u0131n\u2026","plugins.settings.custom.homebridge-gsh.label_account_linked":"Hesap Ba\u011Fland\u0131","plugins.settings.custom.homebridge-gsh.label_link_account":"Hesab\u0131 Ba\u011Fla","plugins.settings.custom.homebridge-gsh.message_about":"Homebridge Google Smart Home eklentisi Homebridge aksesuarlar\u0131n\u0131z\u0131 Google Home kullanan ak\u0131ll\u0131 hoparl\xF6rlerinizden veya Google Home mobil uygulamas\u0131ndan kontrol etmenize olanak sa\u011Flar.","plugins.settings.custom.homebridge-gsh.message_account_link_required":"Bu \xF6zelli\u011Fi etkinle\u015Ftirmek i\xE7in Google veya Github hesab\u0131n\u0131z ile giri\u015F yapman\u0131z gerekli; Google Home mobil uygulamas\u0131nda Homebridge'i eklerken ayn\u0131 hesab\u0131 kulland\u0131\u011F\u0131n\u0131zdan emin olun.","plugins.settings.custom.homebridge-gsh.message_homebridge_restart_required":"De\u011Fi\u015Fikliklerin y\xFCr\xFCrl\xFC\u011Fe girmesi i\xE7in Homebridge yeniden ba\u015Flat\u0131lmaya ihtiya\xE7 duyar.","plugins.settings.deconz.dump_no_exist":"Homebridge deCONZ dump file does not exist yet.","plugins.settings.hue.dump_no_exist":"Homebridge Hue dump file does not exist yet.","plugins.settings.label_open_config_editor":"Yap\u0131land\u0131rma D\xFCzenleyiciyi A\xE7","plugins.settings.message_consult_documentation":"Bu eklentiyi gerekti\u011Fi \u015Fekilde yap\u0131land\u0131rmak i\xE7in l\xFCtfen eklenti dok\xFCmantasyonuna ba\u015Fvurun.","plugins.settings.message_manual_config_required":"Bu eklenti Homebridge UI Yap\u0131land\u0131rma D\xFCzenleyicisi kullan\u0131larak el ile yap\u0131land\u0131r\u0131lmal\u0131d\u0131r.","plugins.settings.plugin_config_saved":"Eklenti Yap\u0131land\u0131rmas\u0131 Kaydedildi","plugins.settings.restart_required":"De\u011Fi\u015Fiklikleri uygulamak i\xE7in Homebridge'i yeniden ba\u015Flat\u0131n.","plugins.stats":"Plugin Statistics","plugins.stats_note":"Plugins cannot be installed from this page, this is provided just for interest.","plugins.status_disabled":"Devre D\u0131\u015F\u0131 B\u0131rak\u0131ld\u0131","plugins.status_installed":"Y\xFCkl\xFC","plugins.support.list_1":"Homebridge plugins are the building blocks of Homebridge, allowing you to add support for new accessories and platforms. Plugins add support for smart lights, cameras, TVs, etc, for brands that don't natively support HomeKit. For example, to bring your Ring doorbells and cameras into HomeKit, you can install the <code>homebridge-ring</code> plugin.","plugins.support.list_2":"Homebridge plugins are created by public contributors in the Homebridge community, and are not typically associated with the Homebridge maintainers, nor with the manufacturers of the accessories themselves. If you have a question about a specific plugin, you should let the plugin developer know via the plugin's GitHub page.","plugins.support.list_3":"There are currently over 4,700 plugins available for Homebridge, so you should be able to find plugins to suit your needs. If you are a Javascript/TypeScript developer (or want to take the opportunity to learn), you can also create your own plugin and share it with the Homebridge community. Check out the Support section for some handy links to get you started.","plugins.support.list_4":"Some plugins allow you to create 'virtual/dummy' accessories, which are accessories that do not have a physical counterpart. These can be used to create virtual accessories in HomeKit, such as virtual switches, lights, or sensors. Try searching for <code>dummy</code> or <code>virtual</code> in the search bar to find some examples.","plugins.toast_failed_to_load_plugin_schema":"Failed to load plugin config schema.","plugins.toast_failed_to_load_plugins":"Eklentiler y\xFCklenemedi","plugins.toast_failed_to_search_plugins":"Failed to search plugins","plugins.uninstall_bridge_error":"Failed to remove child bridge.","plugins.uninstall_remove_child_bridge":"Remove plugin child bridge?","plugins.uninstall_remove_child_bridges":"Remove {{ count }} plugin child bridges?","plugins.uninstall_remove_config_required":"E\u011Fer bu eklentiyi kal\u0131c\u0131 olarak kald\u0131r\u0131yorsan\u0131z Homebridge'i yeniden ba\u015Flatmadan \xF6nce yap\u0131land\u0131rma dosyas\u0131ndaki bu eklenti ile ilgili t\xFCm yap\u0131land\u0131rma bilgilerini de kald\u0131rd\u0131\u011F\u0131n\u0131zdan emin olun.","plugins.uninstall_remove_confirmation":"{{ pluginName }} eklentisini kald\u0131rmak istedi\u011Finize emin misiniz?","plugins.uninstall_remove_plugin_config":"Eklenti yap\u0131land\u0131rmas\u0131n\u0131 kald\u0131r?","plugins.uninstall_warn_1":"When removing a child bridge, any accessories published by this bridge will be removed from the Homebridge cache.","plugins.uninstall_warn_2":"The accessories will become stale in HomeKit (showing no response). To remove them, you will need to manually remove this bridge from HomeKit. You can do this in the Home app from the Home Settings section.","reset.accessory_all.desc":"Remove all accessories from the cache.","reset.accessory_all.list_1":"When clicking on the remove button below, Homebridge will restart and all your existing accessories will be removed from Homebridge and HomeKit.","reset.accessory_all.list_2":"All associated HomeKit data will also be removed, this includes room associations, scenes and automations that this accessory uses.","reset.accessory_all.list_3":"After Homebridge restarts, your plugins will re-add any accessories as if the plugin was being installed for the first time.","reset.accessory_all.title":"Remove All Accessories","reset.accessory_ind.bridge":"Bridge","reset.accessory_ind.desc":"Remove individual accessories from the cache.","reset.accessory_ind.done":"Finished removing accessories from the cache, check the log for confirmation and/or errors.","reset.accessory_ind.fail":"Failed to remove accessories from cache, check the log for errors.","reset.accessory_ind.list_1":"Some plugins don't clean up after themselves properly. If you have stale accessories, you can remove them from the cache. This function can also be used to reset an existing accessory in HomeKit.","reset.accessory_ind.list_2":"The accessories will be removed from Homebridge and HomeKit, along with their related room associations, scenes and automations.","reset.accessory_ind.list_3":"After Homebridge restarts, your plugins will re-add any removed accessories as if the plugin was being installed for the first time.","reset.accessory_ind.title":"Remove Individual Accessories","reset.accessory_ind.unknown":"Unknown Name","reset.accessory_reset":"Homebridge Aksesuar S\u0131f\u0131rlama","reset.action_is_irreversible":"Bu i\u015Flem geri al\u0131namaz. L\xFCtfen devam etmeden \xF6nce dikkatlice okuyunuz.","reset.bridge_accessories.desc":"Remove all accessories published by a child bridge from the cache.","reset.bridge_accessories.empty":"You have no bridges from which to remove accessories.","reset.bridge_accessories.list_1":"This function can be used to reset a plugin's existing accessories in HomeKit. They will be removed from Homebridge and HomeKit, and then re-added by the plugin as new accessories.","reset.bridge_accessories.list_2":"The child bridge's pairing details and status will remain the same.","reset.bridge_accessories.title":"Remove Bridge Accessories","reset.bridge_all.desc":"Reset all bridges by removing them from the cache. This includes the main Homebridge bridge, child bridges and bridges for external accessories.","reset.bridge_all.list_1":"This will reset the Homebridge bridge, all child bridges and bridges for external accessories from HomeKit.","reset.bridge_all.list_2":"Note that your accessories will continue to show in HomeKit as no response, until the bridges are manually removed from HomeKit. You can do this in the Home app, by accessing Home Settings \u2192 Home Hubs & Bridges \u2192 {Bridge} \u2192 Remove Bridge from Home.","reset.bridge_all.list_3":"All your Homebridge to HomeKit accessories, scenes and automations will need to be reconfigured after the unpairing.","reset.bridge_all.list_4":"The pin for pairing your Homebridge bridge to HomeKit will be changed. You can see the new values in your Homebridge config after the unpairing.","reset.bridge_all.title":"Reset All Bridges","reset.bridge_ind.desc":"Reset an individual bridge by removing it from the cache. This may be a child bridge or a bridge for an external accessory like a camera or TV.","reset.bridge_ind.desc_child_active":"Homebridge has detected that these child bridges are in-use. Once removed, their accessories will be removed from the Homebridge cache. If paired with HomeKit, the bridge's accessories will show as 'No Response', and the bridge will need to be removed via the Home app. The child bridge's pairing information will be changed. Once Homebridge has restarted, the plugin will create the new child bridge and accessories. The new bridge will need to be re-paired with HomeKit. You can view the new pairing information from the corresponding plugin's bridge settings page.","reset.bridge_ind.desc_child_stale":"Homebridge has detected that these bridges are not in-use, but double-check before deleting. They could be left-over from previously uninstalled plugins. If paired with HomeKit, the accessories will show as 'No Response', and the bridge will need to be removed via the Home app.","reset.bridge_ind.desc_non_child":"Homebridge has detected that these bridges are in-use. You can remove them from the cache, but they will likely be re-added by the plugin when Homebridge restarts. The pairing information will remain unchanged.","reset.bridge_ind.done":"Finished resetting bridges, check the log for confirmation and/or errors.","reset.bridge_ind.fail":"Failed to reset bridges, check the log for errors.","reset.bridge_ind.head_child_active":"Active Child Bridges","reset.bridge_ind.head_child_stale":"Stale Child Bridges","reset.bridge_ind.head_non_child":"Non Child Bridges","reset.bridge_ind.title":"Reset Individual Bridges","reset.bridges.desc":"If you are having trouble pairing Homebridge, an external accessory or a child bridge to HomeKit, you may need to unpair it from HomeKit to start again.","reset.bridges.empty":"You have no bridges to unpair from HomeKit.","reset.bridges.title":"Bridges","reset.clear_cache_single.list_3":"When removing an accessory from the cache, all its associated HomeKit data will be removed. This includes any associated scenes and automations that use this accessory.","reset.delete_success":"Homebridge yeniden ba\u015Flat\u0131l\u0131yor ve aksesuar \xF6n belle\u011Fi temizleniyor.","reset.error_message":"Accessory cache could not be loaded. You may not have any cached accessories.","reset.failed_to_reset":"Homebridge s\u0131f\u0131rlanamad\u0131. G\xFCnl\xFCkleri g\xF6r\xFCnt\xFCle.","reset.force_restart_hb_help_text":"hb-service servisini zorla yeniden ba\u015Flatmak i\xE7in bu i\u015Flevi kullan\u0131n.","reset.no_accessories":"You have no cached accessories to remove.","restart.child_bridge_list":"Please restart these child bridges for the changes to apply:","restart.child_bridges":"Please restart the plugin's child bridges for the changes to apply.","restart.label_restart_command_executed":"Yeniden Ba\u015Flatma Komutu \xC7al\u0131\u015Ft\u0131r\u0131ld\u0131","restart.please_wait_while_server_restarts":"L\xFCtfen bekleyin, sunucu tekrar \xE7evrimi\xE7i oldu\u011Funda bu sayfa otomatik olarak y\xF6nlendirilecektir.","restart.server_is_taking_long_time_to_restart":"Sunucunun yeniden ba\u015Flat\u0131lmas\u0131 uzun zaman al\u0131yor. Homebridge servisini el ile aya\u011Fa kald\u0131rman\u0131z gerekebilir.","restart.service_ready":"Homebridge Sunucusu Haz\u0131r","restart.title_restart":"Homebridge Yeniden Ba\u015Flat\u0131l\u0131yor","restart.toast_server_restart_error":"Yeniden ba\u015Flatma komutunun sunucuya g\xF6nderilmesi s\u0131ras\u0131nda bir hata olu\u015Ftu.","restart.toast_server_restart_timeout":"Sunucunun tekrar \xE7evrimi\xE7i olmas\u0131 uzun zaman al\u0131yor.","restart.toast_server_restarted":"Sunucu Yeniden Ba\u015Flat\u0131ld\u0131","restart.ui_online":"Homebridge UI \xC7evrimi\xE7i","rpi.throttled.currently_message":"This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.","rpi.throttled.previously_message":"This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.","rpi.throttled.undervoltage_title":"Under Voltage","settings.accessory.debug":"Accessory Debug Mode","settings.accessory.debug_desc":"If enabled, the Homebridge UI will log debug level messages to the console.","settings.cache.desc":"Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.","settings.changes.saved":"Your changes have been saved and require a restart to take effect.","settings.datetime.incorrect":"The date and time on your Homebridge server seem to be incorrect. This may cause unexpected issues. Click here for more information.","settings.display.blue":"Blue","settings.display.bluegrey":"Blue Grey","settings.display.brown":"Brown","settings.display.cyan":"Cyan","settings.display.dark":"Dark","settings.display.deep_purple":"Deep Purple","settings.display.green":"Green","settings.display.grey":"Grey","settings.display.indigo":"Indigo","settings.display.lang":"Language","settings.display.light":"Light","settings.display.lighting_mode":"Lighting Mode","settings.display.menu_default":"Default","settings.display.menu_freeze":"Keep Closed (On Desktop)","settings.display.menu_mode":"Menu Mode","settings.display.orange":"Orange","settings.display.pink":"Pink","settings.display.purple":"Purple","settings.display.red":"Red","settings.display.show_betas":"Prefer Beta Versions","settings.display.teal":"Teal","settings.display.temp_units":"Temperature Units","settings.display.temp_units.c":"Celsius (\xB0C)","settings.display.temp_units.f":"Fahrenheit (\xB0F)","settings.display.theme":"Theme","settings.display.wallpaper":"Wallpaper","settings.display.wallpaper_intro":"Upload a wallpaper for your Homebridge UI. This is currently shown on the login screen.","settings.display.wallpaper_rule":"You can choose an image file which is up to {{ maxFileSizeText }}.","settings.display.wallpaper_rule2":"You will need to click Save to upload the wallpaper to your Homebridge storage directory.","settings.display.wallpaper_success":"Wallpaper was successfully updated.","settings.general.title_display":"Display","settings.general.title_general":"General","settings.linux.restart":"Restart Command","settings.linux.restart_desc":"If no restart command is set the process will terminate with a non-zero exit code.","settings.linux.shutdown":"Shutdown Command","settings.linux.shutdown_desc":"If no shutdown command is set the process will terminate with a non-zero exit code.","settings.linux.temp":"Temperature File Path","settings.linux.temp_desc":"If you are running Homebridge on a Raspberry Pi, you can enter the path to the OS temperature file here. This will display the current temperature on the UI status page.","settings.matter.desc":"Enables Matter accessories on the main bridge. If only using Matter with child bridges, this setting does not need to be enabled - child bridges have independent Matter settings in their plugin bridge settings.","settings.matter.enabled":"Enabled","settings.matter.enabled_desc":"Whether to start a Matter instance and allow plugins to expose Matter accessories.","settings.matter.port":"Port","settings.matter.port_desc":"This must be between 1025 and 65533, and unique to any other configured port.","settings.matter.title":"Matter Settings","settings.mdns_advertiser":"mDNS Advertiser","settings.mdns_advertiser_exp":"experimental","settings.mdns_advertiser_help":"If you have trouble connecting Homebridge to HomeKit (all accessories showing 'No Response' in the Home app), try using one of the alternate mDNS advertisers.","settings.mdns_advertiser_not_connected":"Not Connected","settings.mdns_advertiser_rec":"recommended","settings.name":"Homebridge Name","settings.network.hb_package":"Homebridge Module Path","settings.network.hb_package_desc":"If you have multiple versions of Homebridge installed, you can specify the path to the version you want to use here.","settings.network.host":"Host IP Address","settings.network.host_desc":"The host IP address to listen on. In most cases this will be <code>::</code> or <code>0.0.0.0</code>.","settings.network.mdns_advertise":"Advertise Via mDNS","settings.network.mdns_advertise_help":"Enable mDNS advertising (using Bonjour) for your Homebridge UI, making it discoverable as an HTTP service on your local network.","settings.network.message_network_interface":"E\u011Fer herhangi bir a\u011F aray\xFCz\xFC se\xE7ilmezse, Homebridge otomatik olarak yay\u0131n yapmas\u0131 gereken aray\xFCz\xFC tesip etmeyi deneyecektir.","settings.network.port_end":"End Port","settings.network.port_end_desc":"Control the end of the range of ports that separate accessories (like camera or television) should run on. This must be between 1025 and 65533, and higher than the start port above.","settings.network.port_hb":"Homebridge Port","settings.network.port_hb_desc":"The port number to run the Homebridge bridge on. This must be between 1025 and 65533, and should not be the same as the Homebridge UI port.","settings.network.port_start":"Start Port","settings.network.port_start_desc":"Control the start of the range of ports that separate accessories (like camera or television) should run on. This must be between 1025 and 65533, and lower than the end port below.","settings.network.port_ui":"UI Port","settings.network.port_ui_desc":"The port number to run the Homebridge UI on.","settings.network.proxy":"Reverse Proxy Hostname","settings.network.proxy_desc":"When running behind a reverse proxy you may need to enter the hostname you use to access the UI.","settings.network.title_network":"A\u011F","settings.network.title_network_interfaces":"A\u011F Aray\xFCzleri","settings.network.title_security":"Security","settings.network.title_terminal":"Logging & Terminal","settings.network.webroot":"Webroot Path","settings.network.webroot_desc":"This can be configured if you want to access the Homebridge UI under a specific URL path.","settings.reset_bridge.error":"Failed to reset bridge.","settings.security.auth":"Authentication","settings.security.auth_desc":"Whether to enable authentication for the Homebridge UI with a username and password.","settings.security.cert":"Certificate Path","settings.security.https":"Enable HTTPS","settings.security.https_desc":"Enable HTTPS using an auto-generated self-signed certificate or by providing your own certificate files.","settings.security.https_keycert":"Private Key + Certificate","settings.security.https_pfx":"PKCS#12 Certificate + Passphrase","settings.security.https_raspbian":"HTTPS is already enabled by default when running the Homebridge Raspbian image {{ link }}.","settings.security.https_selfsigned":"Self-Signed Certificate","settings.security.key":"Private Key Path","settings.security.pass":"PKCS#12 Certificate Passphrase","settings.security.pfx":"PKCS#12 Certificate Path","settings.security.selfsigned_generate_keycert":"Generate Self\u2011Signed & Use as Key + Cert","settings.security.selfsigned_generate_selfsigned":"Generate & Enable Self\u2011Signed Mode","settings.security.selfsigned_generate_success_keycert":"Generated self\u2011signed certificate and set as Key + Cert","settings.security.selfsigned_generate_success_selfsigned":"Generated self\u2011signed certificate and enabled Self\u2011signed mode","settings.security.selfsigned_hostnames":"Certificate Hostnames","settings.security.selfsigned_hostnames_desc":"Comma-separated list of hostnames or IP addresses to include in the certificate (e.g., localhost, 127.0.0.1, homebridge.local, 192.168.1.100)","settings.security.ssl_upload_keycert_aria":"Upload private key and certificate","settings.security.ssl_upload_pfx_aria":"Upload PKCS#12 certificate","settings.security.ssl_upload_success_keycert":"Certificate and private key uploaded","settings.security.ssl_upload_success_pfx":"PKCS#12 certificate uploaded","settings.security.ssl_validate":"Validate SSL","settings.security.ssl_validate_error":"SSL configuration is invalid.","settings.security.ssl_validate_success":"SSL configuration is valid.","settings.security.ui_control":"Accessory Control Lists","settings.security.ui_control_desc":"Define which bridges and bridged accessories can be controlled or blocked by the Homebridge UI.","settings.security.ui_control_desc_2":"Allow the UI to control the accessories on a bridge by toggling on the switch below.","settings.service.debug_tooltip":"Some plugins require you to set the DEBUG environment variable {{ link }} to enable debug level logging.","settings.service.node_tooltip":"Node.js runtime options for this process. This should be kept blank unless you know what you are doing.","settings.startup.debug":"Homebridge Debug Mode","settings.startup.debug_desc_v1":"Enable this if you need Homebridge to output more detailed logs. This setting applies to the main Homebridge bridge as well as all child bridges. Some plugins may also adhere to this setting and output more detailed logs.","settings.startup.debug_desc_v2":"Enable this if you need Homebridge to output more detailed logs. This setting applies to the main Homebridge bridge. The setting for child bridges can be found in the child bridge configuration from the plugins page. Some plugins may also adhere to this setting and output more detailed logs.","settings.startup.insecure":"Enable UI Accessory Control","settings.startup.insecure_desc":"To control your accessories via the Homebridge UI you must be running Homebridge in insecure mode.","settings.startup.keep_accessories":"Keep Accessories Of Uninstalled Plugins","settings.startup.keep_accessories_desc":"If enabled, accessories of platform plugins will remain in the cache even after the plugin is uninstalled. This can be useful if you plan to reinstall the plugin later.","settings.startup.metrics":"Enable Server Metric Monitoring","settings.startup.metrics_desc":"When enabled, the Homebridge UI will collect and show CPU and memory stats on the status page.","settings.startup.scheduled_restart":"Scheduled Restart Cron","settings.startup.scheduled_restart_desc":"Schedule automatic restarts relative to your timezone using a cron expression. Leave empty to disable. Create a cron expression {{ link }}.","settings.startup.scheduled_restart_desc_2":"You can apply this setting per child bridge from the plugin bridge configuration.","settings.startup.session":"Session Timeout","settings.startup.session_days":"days","settings.startup.session_desc":"The number of seconds before a user will be logged out of the UI. Defaults to 8 hours.","settings.startup.session_hours":"hours","settings.startup.session_inactivity_based":"Inactivity-Based Session Refresh","settings.startup.session_inactivity_based_desc":"When enabled, the session will automatically refresh on navigation to prevent logout during active use.","settings.startup.session_minutes":"minutes","settings.terminal.buffer_size":"Terminal Buffer Character Size","settings.terminal.buffer_size_help":"Amount of terminal output to preserve for persistent sessions. Larger values use more memory.","settings.terminal.log_max":"Log Max Size","settings.terminal.log_max_desc":"The max log size (bytes). Set to -1 to disable log truncation.","settings.terminal.log_truncate":"Log Truncate Size","settings.terminal.log_truncate_desc":"The size (bytes) to truncate the log to once it goes over the max size specified above.","settings.terminal.persistence":"Terminal Session Persistence","settings.terminal.persistence_confirm_message":"Disabling terminal session persistence will terminate your current terminal session.","settings.terminal.persistence_confirm_title":"Disable Terminal Session Persistence","settings.terminal.persistence_help":"When enabled, terminal sessions will persist when navigating away and can be resumed when returning to the terminal page (or status page widget). Terminal sessions are shared across Homebridge UI admin users.","settings.terminal.warning":"Hide Terminal Termination Warning","settings.terminal.warning_help":"When enabled, the warning dialog will not be shown before terminating non-persistent terminal sessions.","settings.title_startup_options":"Ba\u015Flang\u0131\xE7 Se\xE7enekleri","settings.unpair_bridge.load_error":"Paired bridges could not be loaded.","settings.warning_pwa":"This setting cannot be changed when accessing the UI from a PWA, please use a regular browser.","settings.warning_webroot":"Homebridge does not have write access to the served <code>index.html</code> file. To set up a webroot, please fix this issue and restart the Homebridge service.","setup.button_get_started":"Get Started","setup.create_account":"Create Account","setup.intro":"If you are setting up for the first time, or if you just need to reset the password for your existing Homebridge setup, then choose <strong>Get Started</strong>.","setup.welcome_to_homebridge":"Welcome to Homebridge",setup_wizard_complete:"Restore Complete!",setup_wizard_complete_title:"Congratulations!",setup_wizard_completed:"The setup procedure is complete and you are now ready to start using Homebridge.",setup_wizard_create_info:"Once Homebridge is set up, you can set up 2FA on your account, or disable the need for authentication altogether.",setup_wizard_page_title:"Setup Homebridge",setup_wizard_restore:"Restore From Backup",setup_wizard_restoring:"Restoring Backup...",setup_wizard_starting:"Starting Homebridge...","status.code_scan":"HomeKit'e eklemek i\xE7in taray\u0131n","status.cpu.load":"Y\xFCkle","status.cpu.temp":"S\u0131cakl\u0131k","status.cpu.title_cpu":"\u0130\u015Flemci","status.credits.plugins_thanks":"Homebridge plugins are created by awesome developers in the Homebridge community.","status.credits.supporters":"Supporters","status.credits.title":"Credits","status.credits.translations":"Translations","status.credits.translations_thanks":"Homebridge UI translations are provided by the community, with special thanks to:","status.homebridge.checking":"G\xFCncellemeler kontrol ediliyor\u2026","status.homebridge.up_to_date":"G\xFCncel","status.memory.label_available":"Kullan\u0131labilir","status.memory.label_total":"Toplam","status.memory.title_memory":"Bellek","status.network.received_per_second":"Received","status.network.sent_per_second":"Sent","status.network.title_network":"Network Activity","status.readiness.node_no":"Your version of Node.js is not compatible with {{ app }}.","status.readiness.node_yes":"Your version of Node.js is compatible with {{ app }}.","status.readiness.title":"{{ app }} Readiness","status.services.label_not_enabled":"Not Enabled","status.services.label_not_running":"\xC7al\u0131\u015Fm\u0131yor","status.services.label_running":"\xC7al\u0131\u015F\u0131yor","status.services.updates":"Update Information","status.uptime.title_uptime":"\xC7al\u0131\u015Fma S\xFCresi","status.widget.accessories.choose_accessories":"Bu ara\xE7ta g\xF6stermek istedi\u011Finiz aksesuarlar\u0131 aksesuarlar sekmesinden se\xE7in.","status.widget.account_1":"The widget layout is shared among all Homebridge UI users.","status.widget.account_2":"Admin users can modify the layout, while non-admin users cannot make changes.","status.widget.add.label_pairing_code":"E\u015Fleme Kodu","status.widget.add.matter_pairing_code":"Matter Pairing Code","status.widget.bridge.restart_error":"Failed to restart child bridge.","status.widget.clock":"Saat","status.widget.clock_dateformat":"Tarih Bi\xE7imi","status.widget.clock_timeformat":"Saat Bi\xE7imi","status.widget.expand_docker":"Expand Docker Container Information","status.widget.font_size":"Yaz\u0131 Boyutu","status.widget.font_weight":"Yaz\u0131 Kal\u0131nl\u0131\u011F\u0131","status.widget.hide_node_info":"Hide Node.js Updates","status.widget.hide_npm":"Show npm Version","status.widget.hide_on_mobile":"K\xFC\xE7\xFCk G\xF6sterimde Gizle (Mobil Ekranlar)","status.widget.homebridge_logs":"Homebridge G\xFCnl\xFCkleri","status.widget.info":"Sistem Bilgisi","status.widget.info.arch":"Arch.","status.widget.info.config_path":"Yap\u0131land\u0131rma Konumu","status.widget.info.docker":"Docker","status.widget.info.docker_update_message":"Updating the Docker container requires manually pulling the latest image and restarting the container. Homebridge does not perform this automatically. Refer to your Docker image's documentation for update instructions.","status.widget.info.docker_update_title":"Docker Container Update","status.widget.info.hostname":"Ana Bilgisayar Ad\u0131","status.widget.info.ipv4":"IPv4","status.widget.info.ipv6":"IPv6","status.widget.info.no":"No","status.widget.info.node_major":"Node.js Major Versions","status.widget.info.node_next_no":"Your current architecture ({{ architecture }}) is 32-bit, which is not supported. You will need to migrate to a 64-bit system. Please use Node.js v22 instead, which we will be supporting until April 2027.","status.widget.info.node_next_yes":"Your current architecture ({{ architecture }}) supports Node.js v24, so you can upgrade when you are ready.","status.widget.info.node_unsupp":"Unsupported","status.widget.info.node_unsupp_message":"You are running a version of Node.js that is not officially supported by Homebridge. You should consider changing to a supported version.","status.widget.info.node_update_message":"Homebridge requires Node.js installed on your system to run. From time to time, you will need to update the Node.js runtime to enable support for new features. Homebridge (and verified plugins) support all current Active and Maintenance LTS releases of Node.js.","status.widget.info.node_update_message_2":"For Docker/Synology users, the Node.js version is managed by the Docker image or Synology package. You can hide Node.js update information using the widget settings.","status.widget.info.nodejs_path":"Node.js Path","status.widget.info.os":"\u0130S","status.widget.info.plugin_path":"Eklentiler Konumu","status.widget.info.service_user":"Kullan\u0131c\u0131","status.widget.info.storage_path":"Depolama Konumu","status.widget.info.synology_package":"Synology Package","status.widget.info.timezone":"Saat Dilimi","status.widget.info.yes":"Yes","status.widget.network.history_items":"History Items","status.widget.network.items":"items","status.widget.network.network_interface":"Network Interface","status.widget.network.none_selected":"Using Default","status.widget.network.refresh_interval":"Refresh Interval","status.widget.network.seconds":"seconds","status.widget.qr_paired":"Paired","status.widget.qr_unpaired":"Not Paired","status.widget.show_hide":"Show/Hide Widgets","status.widget.title_manage_widget":"Arac\u0131 Y\xF6net","status.widget.update_node_no":"{{ pluginName }} is not compatible with Node {{ nodeVersion }}.","status.widget.update_node_unknown":"The developer of {{ pluginName }} has not specified the Node version compatibility.","status.widget.update_node_yes":"{{ pluginName }} is compatible with Node {{ nodeVersion }}.","status.widget.uptime.label_process":"\u0130\u015Flem","status.widget.uptime.label_server":"Sunucu","status.widget.weather.label_config_required_help":"L\xFCtfen ara\xE7 se\xE7eneklerinde \u015Fehrinizi se\xE7in.","status.widget.weather.label_search_for_your_city":"\u015Eehrinizi aray\u0131n:","status.widget.weather.title_weather":"Hava Durumu","support.dev.api":"Homebridge API","support.dev.api_hap":"HAP-NodeJS API","support.dev.api_hap_sub":"HAP-NodeJS is an implementation of the HomeKit Accessory Server as specified in the HomeKit Accessory Protocol (HAP), which is defined by Apple as part of the HomeKit Framework.","support.dev.api_sub":"Homebridge is a lightweight Node.js server you can run on your home network to emulate the HomeKit Accessory Protocol (HAP).","support.dev.item_swagger":"Swagger Docs","support.dev.item_swagger_sub":"The Homebridge REST API allows you to interact with your Homebridge server using HTTP requests.","support.dev.template":"Plugin Template Repo","support.dev.template_sub":"A template Homebridge plugin that can be used as a base to help you get started developing your own plugin.","support.dev.title":"Developers","support.dev.verified":"Verified By Homebridge","support.dev.verified_sub":"The Verified By Homebridge program allows plugin developers to get their plugins reviewed and endorsed by the Homebridge project team.","support.links.discord":"Discord Server","support.links.discord_sub":"Join the Homebridge Discord chat server to chat with other users and developers.","support.links.documentation":"Documentation","support.links.documentation_sub":"The Homebridge documentation provides a wealth of information on how to get started with Homebridge and common issue resolutions.","support.links.issue":"Report An Issue","support.links.issue_sub":"If you are experiencing an issue with Homebridge, please open a new issue on GitHub. This should not be used for issues with specific plugins.","support.links.reddit":"Reddit Community","support.links.reddit_sub":"The Homebridge subreddit is a great place to share your Homebridge setup and ask for help.","support.links.title":"Useful Links","support.title":"Support","toast.no_auth":"Only administrators may access the requested page.","toast.title_error":"Hata","toast.title_success":"Ba\u015Far\u0131l\u0131","toast.title_warning":"Uyar\u0131","users.button_add_user":"Kullan\u0131c\u0131 Ekle","users.label_admin_user":"Y\xF6netici Kullan\u0131c\u0131?","users.label_confirm_password":"Parolay\u0131 Do\u011Frula","users.label_full_name":"Tam Ad\u0131","users.label_new_password":"Yeni Parola","users.label_password":"Parola","users.label_username":"Kullan\u0131c\u0131 ad\u0131","users.setup_2fa":"2AD Kur","users.setup_2fa_activate_error":"An error occurred activating 2FA","users.setup_2fa_cannot_setup_2fa":"2AD Kurulam\u0131yor","users.setup_2fa_disable":"2AD'yi Devre D\u0131\u015F\u0131 B\u0131rak","users.setup_2fa_disable_current_password":"\u0130ki a\u015Famal\u0131 do\u011Frulamay\u0131 devre d\u0131\u015F\u0131 b\u0131rakmak i\xE7in mevcut parolan\u0131z\u0131 girin:","users.setup_2fa_disable_success":"\u0130ki a\u015Famal\u0131 do\u011Frulama devre d\u0131\u015F\u0131 b\u0131rak\u0131ld\u0131.","users.setup_2fa_enable":"2AD'yi Etkinle\u015Ftir","users.setup_2fa_enable_error":"An error occurred setting up 2FA","users.setup_2fa_enabled_success":"\u0130ki a\u015Famal\u0131 do\u011Frulama etkinle\u015Ftirildi.","users.setup_2fa_enter_code":"Do\u011Frulama uygulaman\u0131zdaki kodu girin:","users.setup_2fa_scan_qr_code":"Do\u011Frulama uygulaman\u0131zla a\u015Fa\u011F\u0131daki QR kodu taray\u0131n:","users.setup_2fa_scan_qr_manual":"If you cannot scan the QR code, you can enter the following secret key manually:","users.setup_2fa_server_time_out":"Sunucunuzun saat fark\u0131 {{ timeDiffError }} ms. En fazla izin verilen +/-5000 milisaniyedir","users.setup_2fa_warning":"\u0130ki a\u015Famal\u0131 do\u011Frulama ile giri\u015F yapmak i\xE7in Homebridge sunucunuzun tam do\u011Fru tarih ve zaman ayar\u0131nda olmas\u0131 gerekir. E\u011Fer sunucunuz tarih ve saat ayar\u0131n\u0131 do\u011Fru \u015Fekilde tutam\u0131yorsa 2AD'yi etkinle\u015Ftirmemeniz gerekir aksi takdirde Homebridge UI'a kal\u0131c\u0131 olarak giri\u015F yapamayabilirsiniz.","users.support.acc_1":"There are two types of users that can access the Homebridge UI: admin and non-admin users. Admins can access and control everything available in the UI. Non-admin users have a read-only view of the following pages:","users.support.acc_2":"2FA can only be set up on admin accounts, and must do this via the users page logged in as themselves.","users.support.control":"can be controlled","users.title_add_user":"Kullan\u0131c\u0131 Ekle","users.title_edit_user":"Kullan\u0131c\u0131y\u0131 D\xFCzenle","users.title_users":"Kullan\u0131c\u0131lar","users.toast_added_new_user":"Yeni Kullan\u0131c\u0131 Eklendi","users.toast_failed_to_add_user":"Kullan\u0131c\u0131 Eklenemedi","users.toast_failed_to_delete_user":"Kullan\u0131c\u0131 Silinemedi","users.toast_updated_user":"Kullan\u0131c\u0131 G\xFCncellendi","users.toast_user_deleted":"Kullan\u0131c\u0131 Silindi"}});export{s as a};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-B2R3BKIF.js";import"./chunk-B4AJQJMI.js";export default a();
@@ -1 +1 @@
1
- import{e as b}from"./chunk-OOM2PIRM.js";var L=b((p,v)=>{(function(d,r){typeof define=="function"&&define.amd?define([],r):typeof p<"u"?r():(r(),d.FileSaver={})})(p,function(){"use strict";function d(e,t){return typeof t>"u"?t={autoBom:!1}:typeof t!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function r(e,t,i){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){l(n.response,t,i)},n.onerror=function(){console.error("could not download file")},n.send()}function w(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function s(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,m=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!m?function(e,t,i){var n=a.URL||a.webkitURL,o=document.createElement("a");t=t||e.name||"download",o.download=t,o.rel="noopener",typeof e=="string"?(o.href=e,o.origin===location.origin?s(o):w(o.href)?r(e,t,i):s(o,o.target="_blank")):(o.href=n.createObjectURL(e),setTimeout(function(){n.revokeObjectURL(o.href)},4e4),setTimeout(function(){s(o)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,i){if(t=t||e.name||"download",typeof e!="string")navigator.msSaveOrOpenBlob(d(e,i),t);else if(w(e))r(e,t,i);else{var n=document.createElement("a");n.href=e,n.target="_blank",setTimeout(function(){s(n)})}}:function(e,t,i,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),typeof e=="string")return r(e,t,i);var o=e.type==="application/octet-stream",E=/constructor/i.test(a.HTMLElement)||a.safari,y=/CriOS\/[\d]+/.test(navigator.userAgent);if((y||o&&E||m)&&typeof FileReader<"u"){var u=new FileReader;u.onloadend=function(){var c=u.result;c=y?c:c.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=c:location=c,n=null},u.readAsDataURL(e)}else{var h=a.URL||a.webkitURL,f=h.createObjectURL(e);n?n.location=f:location.href=f,n=null,setTimeout(function(){h.revokeObjectURL(f)},4e4)}});a.saveAs=l.saveAs=l,typeof v<"u"&&(v.exports=l)})});export{L as a};
1
+ import{e as b}from"./chunk-B4AJQJMI.js";var L=b((p,v)=>{(function(d,r){typeof define=="function"&&define.amd?define([],r):typeof p<"u"?r():(r(),d.FileSaver={})})(p,function(){"use strict";function d(e,t){return typeof t>"u"?t={autoBom:!1}:typeof t!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function r(e,t,i){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){l(n.response,t,i)},n.onerror=function(){console.error("could not download file")},n.send()}function w(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return 200<=t.status&&299>=t.status}function s(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,m=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!m?function(e,t,i){var n=a.URL||a.webkitURL,o=document.createElement("a");t=t||e.name||"download",o.download=t,o.rel="noopener",typeof e=="string"?(o.href=e,o.origin===location.origin?s(o):w(o.href)?r(e,t,i):s(o,o.target="_blank")):(o.href=n.createObjectURL(e),setTimeout(function(){n.revokeObjectURL(o.href)},4e4),setTimeout(function(){s(o)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,i){if(t=t||e.name||"download",typeof e!="string")navigator.msSaveOrOpenBlob(d(e,i),t);else if(w(e))r(e,t,i);else{var n=document.createElement("a");n.href=e,n.target="_blank",setTimeout(function(){s(n)})}}:function(e,t,i,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),typeof e=="string")return r(e,t,i);var o=e.type==="application/octet-stream",E=/constructor/i.test(a.HTMLElement)||a.safari,y=/CriOS\/[\d]+/.test(navigator.userAgent);if((y||o&&E||m)&&typeof FileReader<"u"){var u=new FileReader;u.onloadend=function(){var c=u.result;c=y?c:c.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=c:location=c,n=null},u.readAsDataURL(e)}else{var h=a.URL||a.webkitURL,f=h.createObjectURL(e);n?n.location=f:location.href=f,n=null,setTimeout(function(){h.revokeObjectURL(f)},4e4)}});a.saveAs=l.saveAs=l,typeof v<"u"&&(v.exports=l)})});export{L as a};
@@ -0,0 +1 @@
1
+ import{E as v,F as E,H as h,K as _}from"./chunk-YZZ7SAON.js";import{Ab as x,Ec as p,Fc as d,Jb as i,Kb as e,Lb as f,Za as n,Zb as u,aa as l,kc as o,lc as a,nb as s,zb as c}from"./chunk-ZPXACREZ.js";import"./chunk-B4AJQJMI.js";function y(t,w){if(t&1&&(i(0,"div",7),o(1),e()),t&2){let r=u();n(),a(r.error)}}function C(t,w){t&1&&(i(0,"p",8),o(1),p(2,"translate"),e()),t&2&&(n(),a(d(2,1,"platform.linux.server_will_power_down")))}var B=(()=>{class t{$api=l(_);$toastr=l(h);$translate=l(v);error=!1;ngOnInit(){this.$api.put("/platform-tools/linux/shutdown-host",{}).catch(r=>{console.error(r),this.error=this.$translate.instant("platform.linux.server_restart_error"),this.$toastr.error(this.$translate.instant("platform.linux.server_restart_error"),this.$translate.instant("toast.title_error"))})}static \u0275fac=function(m){return new(m||t)};static \u0275cmp=s({type:t,selectors:[["ng-component"]],decls:13,vars:7,consts:[[1,"d-flex","justify-content-between"],[1,"primary-text","m-0"],[1,"my-4","align-items-center",2,"max-width","1000px","margin","auto"],[1,"w-100","text-center","primary-text","mb-5"],[1,"fas","fa-power-off",2,"font-size","75px"],[1,"text-center"],[1,"primary-text","mb-4"],[1,"alert","alert-error","my-4"],[1,"grey-text"]],template:function(m,S){m&1&&(i(0,"div",0)(1,"h3",1),o(2),p(3,"translate"),e()(),i(4,"div",2)(5,"div",3),f(6,"i",4),e(),i(7,"div",5)(8,"h4",6),o(9),p(10,"translate"),e(),c(11,y,2,1,"div",7)(12,C,3,3,"p",8),e()()),m&2&&(n(2),a(d(3,3,"menu.restart.title")),n(7),a(d(10,5,"platform.linux.shutting_down_server")),n(2),x(S.error?11:12))},dependencies:[E],encapsulation:2})}return t})();export{B as ShutdownLinuxComponent};