homebridge-config-ui-x 5.8.0 → 5.8.1-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 (151) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/app.module.js +2 -0
  3. package/dist/app.module.js.map +1 -1
  4. package/dist/core/auth/auth.controller.d.ts +2 -0
  5. package/dist/core/config/config.interfaces.d.ts +12 -3
  6. package/dist/core/config/config.service.d.ts +4 -0
  7. package/dist/core/config/config.service.js +5 -0
  8. package/dist/core/config/config.service.js.map +1 -1
  9. package/dist/core/config/config.startup.js +12 -0
  10. package/dist/core/config/config.startup.js.map +1 -1
  11. package/dist/core/homebridge-ipc/homebridge-ipc.service.js +8 -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 +38 -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 +21 -2
  18. package/dist/core/spa/spa.filter.js.map +1 -1
  19. package/dist/globalDefaults.js +3 -0
  20. package/dist/globalDefaults.js.map +1 -1
  21. package/dist/main.js +18 -4
  22. package/dist/main.js.map +1 -1
  23. package/dist/modules/child-bridges/child-bridges.controller.d.ts +35 -0
  24. package/dist/modules/child-bridges/child-bridges.controller.js +284 -0
  25. package/dist/modules/child-bridges/child-bridges.controller.js.map +1 -0
  26. package/dist/modules/child-bridges/child-bridges.gateway.d.ts +14 -1
  27. package/dist/modules/child-bridges/child-bridges.gateway.js +67 -1
  28. package/dist/modules/child-bridges/child-bridges.gateway.js.map +1 -1
  29. package/dist/modules/child-bridges/child-bridges.interfaces.d.ts +45 -0
  30. package/dist/modules/child-bridges/child-bridges.interfaces.js +3 -0
  31. package/dist/modules/child-bridges/child-bridges.interfaces.js.map +1 -0
  32. package/dist/modules/child-bridges/child-bridges.module.js +8 -0
  33. package/dist/modules/child-bridges/child-bridges.module.js.map +1 -1
  34. package/dist/modules/child-bridges/child-bridges.service.d.ts +40 -8
  35. package/dist/modules/child-bridges/child-bridges.service.js +345 -10
  36. package/dist/modules/child-bridges/child-bridges.service.js.map +1 -1
  37. package/dist/modules/config-editor/config-editor.service.js +7 -0
  38. package/dist/modules/config-editor/config-editor.service.js.map +1 -1
  39. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js +1 -1
  40. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js.map +1 -1
  41. package/dist/modules/matter-bridges/matter-bridges.gateway.d.ts +22 -0
  42. package/dist/modules/matter-bridges/matter-bridges.gateway.js +170 -0
  43. package/dist/modules/matter-bridges/matter-bridges.gateway.js.map +1 -0
  44. package/dist/modules/matter-bridges/matter-bridges.interfaces.d.ts +59 -0
  45. package/dist/modules/matter-bridges/matter-bridges.interfaces.js +10 -0
  46. package/dist/modules/matter-bridges/matter-bridges.interfaces.js.map +1 -0
  47. package/dist/modules/matter-bridges/matter-bridges.module.d.ts +2 -0
  48. package/dist/modules/matter-bridges/matter-bridges.module.js +37 -0
  49. package/dist/modules/matter-bridges/matter-bridges.module.js.map +1 -0
  50. package/dist/modules/matter-bridges/matter-bridges.service.d.ts +31 -0
  51. package/dist/modules/matter-bridges/matter-bridges.service.js +146 -0
  52. package/dist/modules/matter-bridges/matter-bridges.service.js.map +1 -0
  53. package/dist/modules/plugins/plugins.service.js +33 -0
  54. package/dist/modules/plugins/plugins.service.js.map +1 -1
  55. package/dist/modules/server/server.controller.d.ts +9 -6
  56. package/dist/modules/server/server.controller.js +33 -2
  57. package/dist/modules/server/server.controller.js.map +1 -1
  58. package/dist/modules/server/server.module.js +1 -1
  59. package/dist/modules/server/server.module.js.map +1 -1
  60. package/dist/modules/status/status.controller.d.ts +1 -1
  61. package/dist/modules/status/status.controller.js +3 -1
  62. package/dist/modules/status/status.controller.js.map +1 -1
  63. package/package.json +1 -1
  64. package/public/assets/hap.svg +6 -0
  65. package/public/assets/matter.svg +8 -0
  66. package/public/chunk-2CYCDT6U.js +1 -0
  67. package/public/{chunk-FUVS56OX.js → chunk-2FZPXF6E.js} +1 -1
  68. package/public/{chunk-VTO7PP4A.js → chunk-2LNPZWQG.js} +1 -1
  69. package/public/{chunk-TBCJHTCE.js → chunk-36O7RGHR.js} +1 -1
  70. package/public/{chunk-JFGYIP5H.js → chunk-3SCINSZK.js} +4 -4
  71. package/public/{chunk-EJAQYR7A.js → chunk-4DQ2NOSN.js} +1 -1
  72. package/public/chunk-4PASWGPR.js +1 -0
  73. package/public/{chunk-LBEK4I2C.js → chunk-4SJ7LVRB.js} +1 -1
  74. package/public/chunk-5EMBTLJ7.js +4 -0
  75. package/public/chunk-5K72UETZ.js +1 -0
  76. package/public/{chunk-LZXK6H7U.js → chunk-5WCKLLH6.js} +1 -1
  77. package/public/{chunk-VA5R76B4.js → chunk-5YQJFB37.js} +1 -1
  78. package/public/{chunk-R5LSDYWN.js → chunk-7C5NPZ7J.js} +1 -1
  79. package/public/{chunk-EF3I23Q3.js → chunk-7OTM6HOE.js} +1 -1
  80. package/public/{chunk-OVJYQMRF.js → chunk-A6MJKCXP.js} +1 -1
  81. package/public/{chunk-4KAO3HOG.js → chunk-AJ7QBH6A.js} +1 -1
  82. package/public/{chunk-GS3SOYZC.js → chunk-AJSLB3ED.js} +1 -1
  83. package/public/{chunk-IMFXQEPU.js → chunk-AP4JI74X.js} +1 -1
  84. package/public/chunk-AVLU4OBB.js +1 -0
  85. package/public/chunk-AXC7PSAQ.js +16 -0
  86. package/public/{chunk-6EE2NC2X.js → chunk-BVFXBL5M.js} +1 -1
  87. package/public/{chunk-X3MK47ZN.js → chunk-CBGOSEHO.js} +1 -1
  88. package/public/{chunk-D5J3F53I.js → chunk-CQKRPPY5.js} +1 -1
  89. package/public/{chunk-6G2YQOME.js → chunk-CZKY2WDA.js} +1 -1
  90. package/public/{chunk-BWBZO5CB.js → chunk-D7S7TYFI.js} +1 -1
  91. package/public/{chunk-TPYOE5FT.js → chunk-EXIREAXJ.js} +1 -1
  92. package/public/{chunk-MDFWWAA2.js → chunk-FEK3NRZH.js} +1 -1
  93. package/public/{chunk-VKIEOVQT.js → chunk-G45L27Q7.js} +1 -1
  94. package/public/{chunk-LRUOCSNU.js → chunk-HMTMYCVH.js} +1 -1
  95. package/public/{chunk-W3KIOKDK.js → chunk-HQO55IAP.js} +1 -1
  96. package/public/{chunk-XUPHVZUX.js → chunk-HTO5QSUD.js} +1 -1
  97. package/public/{chunk-E4PLKNPC.js → chunk-IWJB7IT2.js} +1 -1
  98. package/public/{chunk-SORVTO2X.js → chunk-JES74EAE.js} +1 -1
  99. package/public/{chunk-VYO3P6MK.js → chunk-JFCVTQA4.js} +1 -1
  100. package/public/{chunk-CZN5ZTPT.js → chunk-L5FTKOE7.js} +1 -1
  101. package/public/{chunk-TMIPLDCX.js → chunk-LKOTF3NL.js} +1 -1
  102. package/public/{chunk-53I7DR3H.js → chunk-LOVIIHLB.js} +1 -1
  103. package/public/chunk-MRBPQZKJ.js +1 -0
  104. package/public/{chunk-XTAFLMCE.js → chunk-NACTGAO2.js} +1 -1
  105. package/public/chunk-NE5XVVZY.js +1 -0
  106. package/public/{chunk-QRGPJA4F.js → chunk-NKX7JONP.js} +1 -1
  107. package/public/{chunk-SZZ4ZKC7.js → chunk-NV5MWDBB.js} +1 -1
  108. package/public/{chunk-73JUFZT3.js → chunk-OISGHRTF.js} +1 -1
  109. package/public/{chunk-RQO5EBMQ.js → chunk-OPWPZI2P.js} +1 -1
  110. package/public/chunk-P2UG4QRG.js +1 -0
  111. package/public/{chunk-OORSC2CR.js → chunk-PNB2QVH3.js} +1 -1
  112. package/public/{chunk-IG2OVAKH.js → chunk-PT3BSLVU.js} +1 -1
  113. package/public/{chunk-3IB7RTMG.js → chunk-PTSXKYWE.js} +1 -1
  114. package/public/{chunk-L75F7P5P.js → chunk-PUVYEUNW.js} +1 -1
  115. package/public/chunk-PW42N7TW.js +49 -0
  116. package/public/{chunk-7HBESSM4.js → chunk-PWTIH4WJ.js} +1 -1
  117. package/public/{chunk-VPCGZ7WD.js → chunk-PXZ3C3WB.js} +1 -1
  118. package/public/{chunk-2C3U2776.js → chunk-Q5YQZNNH.js} +1 -1
  119. package/public/{chunk-FMSO5XTH.js → chunk-QJNBG7IQ.js} +1 -1
  120. package/public/{chunk-DDJRQ3JG.js → chunk-RWGYAZ5Z.js} +1 -1
  121. package/public/chunk-SJQJVLLN.js +19 -0
  122. package/public/{chunk-HUTFP2JX.js → chunk-TENKBXZX.js} +1 -1
  123. package/public/chunk-TUKDK3NJ.js +1 -0
  124. package/public/{chunk-TAIQGXFG.js → chunk-TXS667XX.js} +1 -1
  125. package/public/{chunk-Z7JESZE4.js → chunk-UKQ7VNGQ.js} +1 -1
  126. package/public/{chunk-CI4MDQVT.js → chunk-UUN7J43O.js} +1 -1
  127. package/public/{chunk-VA4K3AH5.js → chunk-VDZRGZBL.js} +1 -1
  128. package/public/chunk-VTV2NDYL.js +1 -0
  129. package/public/{chunk-APHJDWET.js → chunk-W6TEFWHS.js} +1 -1
  130. package/public/{chunk-UMVTRKNO.js → chunk-YDANTMYI.js} +1 -1
  131. package/public/{chunk-654FSKAV.js → chunk-YNDC5MZW.js} +1 -1
  132. package/public/{chunk-U4DWGYFO.js → chunk-Z5SXR7XM.js} +1 -1
  133. package/public/{chunk-GSLKVGJE.js → chunk-ZYJD3IFR.js} +1 -1
  134. package/public/index.html +2 -2
  135. package/public/{main-5AUNIEMQ.js → main-3LNHHNC2.js} +1 -1
  136. package/public/media/hap-24356SU3.svg +6 -0
  137. package/public/media/matter-P563JGDL.svg +8 -0
  138. package/public/{styles-GVEJWGBU.css → styles-JQW3VPD2.css} +1 -1
  139. package/public/chunk-25NTT6Z7.js +0 -1
  140. package/public/chunk-2TRXJVCV.js +0 -1
  141. package/public/chunk-4XRKNVKQ.js +0 -4
  142. package/public/chunk-CGQ63HWP.js +0 -16
  143. package/public/chunk-E2WJ3CFW.js +0 -19
  144. package/public/chunk-FWB6JMFG.js +0 -1
  145. package/public/chunk-FYMWBUO7.js +0 -1
  146. package/public/chunk-IJ57RLQG.js +0 -1
  147. package/public/chunk-O2KTAHDI.js +0 -1
  148. package/public/chunk-OPZ6T6IB.js +0 -49
  149. package/public/chunk-W2DXZCCW.js +0 -1
  150. package/public/chunk-WJGOSLY7.js +0 -1
  151. package/public/chunk-Y2ZC3DMA.js +0 -1
@@ -1 +1 @@
1
- import{b as c}from"./chunk-CZN5ZTPT.js";import{b as f}from"./chunk-7HBESSM4.js";import{e as u}from"./chunk-U4DWGYFO.js";import{b as h}from"./chunk-IJ57RLQG.js";import{k as o,n}from"./chunk-FYMWBUO7.js";import{ea as s,h as i,ja as t,w as a}from"./chunk-JFGYIP5H.js";var j=(()=>{class e{$auth=t(f);$authHelper=t(c);$router=t(u);$settings=t(h);$translate=t(o);$toastr=t(n);canActivate(m,r){return i(this,null,function*(){return this.$settings.settingsLoaded||(yield a(this.$settings.onSettingsLoaded)),this.$settings.formAuth===!1?(yield this.$auth.noauth(),!0):(yield this.$authHelper.isAuthenticated())?(yield this.$auth.checkAndRefreshIfNeeded(),this.$auth.user?.admin?!0:(this.$toastr.error(this.$translate.instant("toast.no_auth"),this.$translate.instant("toast.title_error")),yield this.$router.navigate(["/"]),!1)):(window.sessionStorage.setItem("target_route",r.url),yield this.$router.navigate(["/login"]),!1)})}static \u0275fac=function(r){return new(r||e)};static \u0275prov=s({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{j as a};
1
+ import{b as c}from"./chunk-L5FTKOE7.js";import{b as f}from"./chunk-PWTIH4WJ.js";import{e as u}from"./chunk-Z5SXR7XM.js";import{b as h}from"./chunk-TUKDK3NJ.js";import{k as o,n}from"./chunk-AVLU4OBB.js";import{ea as s,h as i,ja as t,w as a}from"./chunk-3SCINSZK.js";var j=(()=>{class e{$auth=t(f);$authHelper=t(c);$router=t(u);$settings=t(h);$translate=t(o);$toastr=t(n);canActivate(m,r){return i(this,null,function*(){return this.$settings.settingsLoaded||(yield a(this.$settings.onSettingsLoaded)),this.$settings.formAuth===!1?(yield this.$auth.noauth(),!0):(yield this.$authHelper.isAuthenticated())?(yield this.$auth.checkAndRefreshIfNeeded(),this.$auth.user?.admin?!0:(this.$toastr.error(this.$translate.instant("toast.no_auth"),this.$translate.instant("toast.title_error")),yield this.$router.navigate(["/"]),!1)):(window.sessionStorage.setItem("target_route",r.url),yield this.$router.navigate(["/login"]),!1)})}static \u0275fac=function(r){return new(r||e)};static \u0275prov=s({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{j as a};
@@ -1 +1 @@
1
- import{a as b}from"./chunk-VA5R76B4.js";import"./chunk-7HBESSM4.js";import{e as k}from"./chunk-U4DWGYFO.js";import{b as w}from"./chunk-IJ57RLQG.js";import{k as C,l as $,n as T,q as S}from"./chunk-FYMWBUO7.js";import{Eb as E,Ga as x,Ib as h,La as n,Vb as a,Wa as _,Wb as s,gc as g,ja as o,lb as d,mb as f,mc as m,nc as c,oc as y,vb as r,wb as i,xb as l}from"./chunk-JFGYIP5H.js";var I=t=>({command:t});function D(t,u){if(t&1&&(r(0,"div",7),a(1),i()),t&2){let e=h();n(),s(e.error)}}function R(t,u){t&1&&(r(0,"p",9),a(1),m(2,"translate"),i(),r(3,"div",10)(4,"div",11),l(5,"i",12),i()()),t&2&&(n(),s(c(2,1,"restart.please_wait_while_server_restarts")))}function B(t,u){if(t&1&&(r(0,"div",8)(1,"p"),a(2),m(3,"translate"),i(),l(4,"p",13),m(5,"translate"),i()),t&2){let e=h();n(2),s(c(3,2,"platform.docker.server_long_time")),n(2),E("innerHTML",y(5,4,"platform.docker.run_with_restart",g(7,I,e.command)),x)}}var U=(()=>{class t{$api=o(S);$router=o(k);$settings=o(w);$toastr=o(T);$translate=o(C);$ws=o(b);checkTimeout;checkDelay;io;resp={};timeout=!1;error=!1;command='<span class="font-monospace">--restart=always</span>';ngOnInit(){this.io=this.$ws.connectToNamespace("status"),this.io.connected.subscribe(()=>{this.io.socket.emit("monitor-server-status"),this.$settings.getAppSettings().catch(()=>{})}),this.$api.put("/platform-tools/docker/restart-container",{}).subscribe({next:e=>{this.resp=e,this.checkIfServerUp()},error:e=>{this.error=this.$translate.instant("restart.toast_server_restart_error"),console.error(e),this.$toastr.error(this.$translate.instant("restart.toast_server_restart_error"),this.$translate.instant("toast.title_error"))}})}ngOnDestroy(){this.io.end(),clearTimeout(this.checkDelay),clearTimeout(this.checkTimeout)}checkIfServerUp(){this.checkDelay=setTimeout(()=>{this.io.socket.on("homebridge-status",e=>{(e.status==="up"||e.status==="pending")&&(this.$toastr.success(this.$translate.instant("platform.docker.container_restarted"),this.$translate.instant("toast.title_success")),this.$router.navigate(["/"]))})},1e4),this.checkTimeout=setTimeout(()=>{this.$toastr.warning(this.$translate.instant("restart.toast_server_restart_timeout"),this.$translate.instant("toast.title_warning"),{timeOut:1e4}),this.timeout=!0},6e4)}static \u0275fac=function(p){return new(p||t)};static \u0275cmp=_({type:t,selectors:[["ng-component"]],decls:14,vars:8,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,"fab","fa-docker",2,"font-size","75px"],[1,"text-center"],[1,"primary-text","mb-4"],[1,"alert","alert-error","my-4"],[1,"alert","alert-warning","my-4"],[1,"grey-text"],[1,"justify-content-center","my-4"],[1,"restart-progress-box","primary-text"],[1,"fas","fa-spinner","fa-spin"],[1,"grey-text","mb-0",3,"innerHTML"]],template:function(p,v){p&1&&(r(0,"div",0)(1,"h3",1),a(2),m(3,"translate"),i()(),r(4,"div",2)(5,"div",3),l(6,"i",4),i(),r(7,"div",5)(8,"h4",6),a(9),m(10,"translate"),i(),d(11,D,2,1,"div",7)(12,R,6,3),d(13,B,6,9,"div",8),i()()),p&2&&(n(2),s(c(3,4,"menu.restart.title")),n(7),s(c(10,6,"platform.docker.title_restarting")),n(2),f(v.error?11:12),n(2),f(v.timeout?13:-1))},dependencies:[$],styles:[".restart-progress-box[_ngcontent-%COMP%]{font-size:22px;font-weight:300;margin-top:15px}"]})}return t})();export{U as ContainerRestartComponent};
1
+ import{a as b}from"./chunk-5YQJFB37.js";import"./chunk-PWTIH4WJ.js";import{e as k}from"./chunk-Z5SXR7XM.js";import{b as w}from"./chunk-TUKDK3NJ.js";import{k as C,l as $,n as T,q as S}from"./chunk-AVLU4OBB.js";import{Eb as E,Ga as x,Ib as h,La as n,Vb as a,Wa as _,Wb as s,hc as g,ja as o,lb as d,mb as f,nc as m,oc as c,pc as y,vb as r,wb as i,xb as l}from"./chunk-3SCINSZK.js";var I=t=>({command:t});function D(t,u){if(t&1&&(r(0,"div",7),a(1),i()),t&2){let e=h();n(),s(e.error)}}function R(t,u){t&1&&(r(0,"p",9),a(1),m(2,"translate"),i(),r(3,"div",10)(4,"div",11),l(5,"i",12),i()()),t&2&&(n(),s(c(2,1,"restart.please_wait_while_server_restarts")))}function B(t,u){if(t&1&&(r(0,"div",8)(1,"p"),a(2),m(3,"translate"),i(),l(4,"p",13),m(5,"translate"),i()),t&2){let e=h();n(2),s(c(3,2,"platform.docker.server_long_time")),n(2),E("innerHTML",y(5,4,"platform.docker.run_with_restart",g(7,I,e.command)),x)}}var U=(()=>{class t{$api=o(S);$router=o(k);$settings=o(w);$toastr=o(T);$translate=o(C);$ws=o(b);checkTimeout;checkDelay;io;resp={};timeout=!1;error=!1;command='<span class="font-monospace">--restart=always</span>';ngOnInit(){this.io=this.$ws.connectToNamespace("status"),this.io.connected.subscribe(()=>{this.io.socket.emit("monitor-server-status"),this.$settings.getAppSettings().catch(()=>{})}),this.$api.put("/platform-tools/docker/restart-container",{}).subscribe({next:e=>{this.resp=e,this.checkIfServerUp()},error:e=>{this.error=this.$translate.instant("restart.toast_server_restart_error"),console.error(e),this.$toastr.error(this.$translate.instant("restart.toast_server_restart_error"),this.$translate.instant("toast.title_error"))}})}ngOnDestroy(){this.io.end(),clearTimeout(this.checkDelay),clearTimeout(this.checkTimeout)}checkIfServerUp(){this.checkDelay=setTimeout(()=>{this.io.socket.on("homebridge-status",e=>{(e.status==="up"||e.status==="pending")&&(this.$toastr.success(this.$translate.instant("platform.docker.container_restarted"),this.$translate.instant("toast.title_success")),this.$router.navigate(["/"]))})},1e4),this.checkTimeout=setTimeout(()=>{this.$toastr.warning(this.$translate.instant("restart.toast_server_restart_timeout"),this.$translate.instant("toast.title_warning"),{timeOut:1e4}),this.timeout=!0},6e4)}static \u0275fac=function(p){return new(p||t)};static \u0275cmp=_({type:t,selectors:[["ng-component"]],decls:14,vars:8,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,"fab","fa-docker",2,"font-size","75px"],[1,"text-center"],[1,"primary-text","mb-4"],[1,"alert","alert-error","my-4"],[1,"alert","alert-warning","my-4"],[1,"grey-text"],[1,"justify-content-center","my-4"],[1,"restart-progress-box","primary-text"],[1,"fas","fa-spinner","fa-spin"],[1,"grey-text","mb-0",3,"innerHTML"]],template:function(p,v){p&1&&(r(0,"div",0)(1,"h3",1),a(2),m(3,"translate"),i()(),r(4,"div",2)(5,"div",3),l(6,"i",4),i(),r(7,"div",5)(8,"h4",6),a(9),m(10,"translate"),i(),d(11,D,2,1,"div",7)(12,R,6,3),d(13,B,6,9,"div",8),i()()),p&2&&(n(2),s(c(3,4,"menu.restart.title")),n(7),s(c(10,6,"platform.docker.title_restarting")),n(2),f(v.error?11:12),n(2),f(v.timeout?13:-1))},dependencies:[$],styles:[".restart-progress-box[_ngcontent-%COMP%]{font-size:22px;font-weight:300;margin-top:15px}"]})}return t})();export{U as ContainerRestartComponent};
@@ -0,0 +1 @@
1
+ import{B as at,Bc as Kt,C as lt,D as Pt,Db as Tt,Fa as Ht,Fb as $t,Ga as gt,Gb as V,Ib as f,L as Mt,La as a,Na as Bt,Nc as Ct,O as P,Qa as L,Sb as $,Ub as v,Vb as b,Wa as mt,X as ut,Xa as vt,Xb as x,Za as Vt,_ as ct,a as c,ab as N,ad as zt,b as F,cb as bt,e as ne,ea as d,fa as ht,ha as Y,ia as S,ja as u,jb as W,jd as qt,ka as Nt,kb as H,n as p,oa as dt,pa as ft,r as k,rb as h,sa as J,sb as g,t as D,ta as pt,tb as m,ub as B,wa as M,x as ot,yb as _t,za as Q,zb as yt}from"./chunk-3SCINSZK.js";var Xt=ne((Li,Ne)=>{Ne.exports={name:"homebridge-config-ui-x",displayName:"Homebridge UI",version:"5.8.1-alpha.0",description:"A web based management, configuration and control platform for Homebridge.",author:"oznu <dev@oz.nu>",license:"MIT",funding:[{type:"github",url:"https://github.com/sponsors/oznu"},{type:"paypal",url:"https://paypal.me/oznu"}],repository:{type:"git",url:"git+https://github.com/homebridge/homebridge-config-ui-x.git"},bugs:{url:"https://github.com/homebridge/homebridge-config-ui-x/issues"},keywords:["homebridge-plugin","ui","gui","web","homebridge","homebridge-config-ui-x","ui-x","config-ui-x","homebridge-x","homebridge server","homebridge ui","homebridge-ui","homebridge gui","homebridge-gui","web interface","config ui","management","config editor","linux","macOS","osx","windows","raspberry pi","accessory control","smart home","hb-service"],main:"./dist/index.js",bin:{"hb-service":"dist/bin/hb-service.js"},engines:{node:"^20.19.0 || ^22.12.0 || ^24.0.0",homebridge:"^1.8.0 || ^2.0.0-alpha.0"},scripts:{build:"npm run build:server && npm run build:ui","build:server":"rimraf dist && tsc -p tsconfig.build.json","build:ui":"npm run build --prefix ui",check:"npm run check:server && npm run check:ui","check:server":"npm install && npm outdated","check:ui":"npm install --prefix ui && npm outdated --prefix ui","lang-sync":"ts-node scripts/lang-sync.ts",lint:"eslint . --max-warnings=0","lint:fix":"npm run lint -- --fix",prepublishOnly:"npm i --package-lock-only && npm run lint && npm run build",start:"ts-node -r tsconfig-paths/register src/main.ts",test:"vitest run","test-coverage":"npm run test -- --coverage","upgrade-install":"./scripts/upgrade-install.sh",watch:'concurrently "npm run watch:ui" "npm run watch:server"',"watch:server":"nodemon","watch:ui":"npm run start --prefix ui"},dependencies:{"@fastify/helmet":"13.0.1","@fastify/multipart":"9.2.1","@fastify/static":"8.2.0","@homebridge/hap-client":"3.1.2","@homebridge/node-pty-prebuilt-multiarch":"0.13.1","@nestjs/axios":"4.0.1","@nestjs/common":"11.1.6","@nestjs/core":"11.1.6","@nestjs/jwt":"11.0.0","@nestjs/passport":"11.0.5","@nestjs/platform-fastify":"11.1.6","@nestjs/platform-socket.io":"11.1.6","@nestjs/swagger":"11.2.0","@nestjs/websockets":"11.1.6",axios:"1.12.2","bash-color":"0.0.4","bonjour-service":"^1.3.0","class-transformer":"0.5.1","class-validator":"0.14.2",commander:"14.0.1",dayjs:"1.11.18",fastify:"5.6.1","fs-extra":"11.3.2",jsonwebtoken:"9.0.2",lodash:"4.17.21","node-cache":"5.1.2","node-schedule":"2.1.1",ora:"9.0.0",otplib:"12.0.1","p-limit":"7.1.1",passport:"0.7.0","passport-jwt":"4.0.1","reflect-metadata":"0.2.2",rxjs:"7.8.2",semver:"7.7.2",systeminformation:"5.27.10",tail:"2.2.6",tar:"7.5.1","tcp-port-used":"1.0.2",unzipper:"0.12.3"},devDependencies:{"@antfu/eslint-config":"^5.4.1","@nestjs/testing":"^11.1.6","@prettier/plugin-xml":"^3.4.2","@types/fs-extra":"^11.0.4","@types/lodash":"^4.17.20","@types/node":"^24.5.2","@types/node-schedule":"^2.1.8","@types/passport-jwt":"^4.0.1","@types/semver":"^7.7.1","@types/tail":"^2.2.3","@types/tcp-port-used":"^1.0.4","@types/unzipper":"^0.10.11","@vitest/coverage-v8":"^3.2.4",concurrently:"^9.2.1","eslint-plugin-format":"^1.0.2","form-data":"^4.0.4",nodemon:"^3.1.10",rimraf:"^6.0.1","ts-loader":"^9.5.4","ts-node":"^10.9.2","tsconfig-paths":"^4.2.0",typescript:"^5.9.2","unplugin-swc":"^1.5.7",vitest:"^3.2.4"},overrides:{"@homebridge/hap-client":{axios:"1.12.2"},"@nestjs/platform-fastify":{fastify:"5.6.1"}},maintainers:[{email:"bwp91@icloud.com",name:"bwp91"},{email:"dev@oz.nu",name:"oznu"},{email:"northern.man1@gmail.com",name:"northernman"},{email:"mail@anderl-bauer.de",name:"supereg"},{email:"khaos.tian@gmail.com",name:"khaost"},{email:"erik.baauw@xs4all.nl",name:"ebaauw"},{email:"donavan.becker@icloud.com",name:"donavanbecker"},{email:"dustin.greif@gmail.com",name:"dustin.greif"},{email:"nfarina@gmail.com",name:"nfarina"}],scarfSettings:{enabled:!1}}});var y=(function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e})(y||{}),se="*";function Lt(e,n){return{type:y.Trigger,name:e,definitions:n,options:{}}}function X(e,n=null){return{type:y.Animate,styles:n,timings:e}}function He(e,n=null){return{type:y.Sequence,steps:e,options:n}}function K(e){return{type:y.Style,styles:e,offset:null}}function z(e,n,t){return{type:y.State,name:e,styles:n,options:t}}function tt(e,n,t=null){return{type:y.Transition,expr:e,animation:n,options:t}}var wt=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,t=0){this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let t=n=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},Dt=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let t=0,i=0,s=0,r=this.players.length;r==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++t==r&&this._onFinish()}),o.onDestroy(()=>{++i==r&&this._onDestroy()}),o.onStart(()=>{++s==r&&this._onStart()})}),this.totalTime=this.players.reduce((o,l)=>Math.max(o,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let t=n*this.totalTime;this.players.forEach(i=>{let s=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(s)})}getPosition(){let n=this.players.reduce((t,i)=>t===null||i.totalTime>t.totalTime?i:t,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let t=n=="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},re="!";var G=class{},le=(()=>{class e{handle(t){return t.key}static \u0275fac=function(i){return new(i||e)};static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})(),O=class{},ue=(()=>{class e extends O{compile(t,i){return t}compileTranslations(t,i){return t}static \u0275fac=(()=>{let t;return function(s){return(t||(t=Q(e)))(s||e)}})();static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})(),E=class{},ce=(()=>{class e extends E{getTranslation(t){return k({})}static \u0275fac=(()=>{let t;return function(s){return(t||(t=Q(e)))(s||e)}})();static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})();function et(e,n){if(e===n)return!0;if(e===null||n===null)return!1;if(e!==e&&n!==n)return!0;let t=typeof e,i=typeof n,s;if(t==i&&t=="object")if(Array.isArray(e)){if(!Array.isArray(n))return!1;if((s=e.length)==n.length){for(let r=0;r<s;r++)if(!et(e[r],n[r]))return!1;return!0}}else{if(Array.isArray(n))return!1;if(_(e)&&_(n)){let r=Object.create(null);for(let o in e){if(!et(e[o],n[o]))return!1;r[o]=!0}for(let o in n)if(!(o in r)&&typeof n[o]<"u")return!1;return!0}}return!1}function T(e){return typeof e<"u"&&e!==null}function Zt(e){return e!==void 0}function _(e){return Z(e)&&!I(e)&&e!==null}function Z(e){return typeof e=="object"&&e!==null}function I(e){return Array.isArray(e)}function it(e){return typeof e=="string"}function he(e){return typeof e=="function"}function nt(e){if(I(e))return e.map(n=>nt(n));if(_(e)){let n={};return Object.keys(e).forEach(t=>{n[t]=nt(e[t])}),n}else return e}function St(e,n){if(!Z(e))return nt(n);let t=nt(e);return Z(t)&&Z(n)&&Object.keys(n).forEach(i=>{_(n[i])?i in e?t[i]=St(e[i],n[i]):Object.assign(t,{[i]:n[i]}):Object.assign(t,{[i]:n[i]})}),t}function Ut(e,n){let t=n.split(".");n="";do{n+=t.shift();let i=!t.length;if(T(e)){if(_(e)&&Zt(e[n])&&(_(e[n])||I(e[n])||i)){e=e[n],n="";continue}if(I(e)){let s=parseInt(n,10);if(Zt(e[s])&&(_(e[s])||I(e[s])||i)){e=e[s],n="";continue}}}if(i){e=void 0;continue}n+="."}while(t.length);return e}function de(e,n,t){return St(e,fe(n,t))}function fe(e,n){return e.split(".").reduceRight((t,i)=>({[i]:t}),n)}var A=class{},pe=(()=>{class e extends A{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(t,i){if(it(t))return this.interpolateString(t,i);if(he(t))return this.interpolateFunction(t,i)}interpolateFunction(t,i){return t(i)}interpolateString(t,i){return i?t.replace(this.templateMatcher,(s,r)=>{let o=this.getInterpolationReplacement(i,r);return o!==void 0?o:s}):t}getInterpolationReplacement(t,i){return this.formatValue(Ut(t,i))}formatValue(t){if(it(t))return t;if(typeof t=="number"||typeof t=="boolean")return t.toString();if(t===null)return"null";if(I(t))return t.join(", ");if(Z(t))return typeof t.toString=="function"&&t.toString!==Object.prototype.toString?t.toString():JSON.stringify(t)}static \u0275fac=(()=>{let t;return function(s){return(t||(t=Q(e)))(s||e)}})();static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})(),xt=(()=>{class e{_onTranslationChange=new p;_onLangChange=new p;_onFallbackLangChange=new p;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(t){return this.translations[t]}setTranslations(t,i,s){this.translations[t]=s&&this.hasTranslationFor(t)?St(this.translations[t],i):i,this.addLanguages([t]),this._onTranslationChange.next({lang:t,translations:this.getTranslations(t)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(t,i=!0){this.fallbackLang=t,i&&this._onFallbackLangChange.next({lang:t,translations:this.translations[t]})}setCurrentLang(t,i=!0){this.currentLang=t,i&&this._onLangChange.next({lang:t,translations:this.translations[t]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(t){this.languages=Array.from(new Set([...this.languages,...t]))}hasTranslationFor(t){return typeof this.translations[t]<"u"}deleteTranslations(t){delete this.translations[t]}getTranslation(t){let i=this.getValue(this.currentLang,t);return i===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(i=this.getValue(this.fallbackLang,t)),i}getValue(t,i){return Ut(this.getTranslations(t),i)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})(),It=new Y("TRANSLATE_CONFIG"),q=e=>D(e)?e:k(e);var Ft=(()=>{class e{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=u(E);compiler=u(O);parser=u(A);missingTranslationHandler=u(G);store=u(xt);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let t=c({extend:!1,fallbackLang:null},u(It,{optional:!0}));t.lang&&this.use(t.lang),t.fallbackLang&&this.setFallbackLang(t.fallbackLang),t.extend&&(this.extend=!0)}setFallbackLang(t){this.getFallbackLang()||this.store.setFallbackLang(t,!1);let i=this.loadOrExtendLanguage(t);return D(i)?(i.pipe(P(1)).subscribe({next:()=>{this.store.setFallbackLang(t)},error:()=>{}}),i):(this.store.setFallbackLang(t),k(this.store.getTranslations(t)))}use(t){this.lastUseLanguage=t,this.getCurrentLang()||this.store.setCurrentLang(t,!1);let i=this.loadOrExtendLanguage(t);return D(i)?(i.pipe(P(1)).subscribe({next:()=>{this.changeLang(t)},error:()=>{}}),i):(this.changeLang(t),k(this.store.getTranslations(t)))}loadOrExtendLanguage(t){if(!this.store.hasTranslationFor(t)||this.extend)return this._translationRequests[t]=this._translationRequests[t]||this.loadAndCompileTranslations(t),this._translationRequests[t]}changeLang(t){t===this.lastUseLanguage&&this.store.setCurrentLang(t)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(t){this.pending=!0;let i=this.currentLoader.getTranslation(t).pipe(ut(1),P(1));return this.loadingTranslations=i.pipe(ot(s=>this.compiler.compileTranslations(s,t)),ut(1),P(1)),this.loadingTranslations.subscribe({next:s=>{this.store.setTranslations(t,s,this.extend),this.pending=!1},error:s=>{this.pending=!1}}),i}setTranslation(t,i,s=!1){let r=this.compiler.compileTranslations(i,t);this.store.setTranslations(t,r,s||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(t){this.store.addLanguages(t)}getParsedResultForKey(t,i){let s=this.getTextToInterpolate(t);if(T(s))return this.runInterpolation(s,i);let r=this.missingTranslationHandler.handle(c({key:t,translateService:this},i!==void 0&&{interpolateParams:i}));return r!==void 0?r:t}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(t){return this.store.getTranslation(t)}runInterpolation(t,i){if(T(t))return I(t)?this.runInterpolationOnArray(t,i):_(t)?this.runInterpolationOnDict(t,i):this.parser.interpolate(t,i)}runInterpolationOnArray(t,i){return t.map(s=>this.runInterpolation(s,i))}runInterpolationOnDict(t,i){let s={};for(let r in t){let o=this.runInterpolation(t[r],i);o!==void 0&&(s[r]=o)}return s}getParsedResult(t,i){return t instanceof Array?this.getParsedResultForArray(t,i):this.getParsedResultForKey(t,i)}getParsedResultForArray(t,i){let s={},r=!1;for(let l of t)s[l]=this.getParsedResultForKey(l,i),r=r||D(s[l]);if(!r)return s;let o=t.map(l=>q(s[l]));return Pt(o).pipe(ot(l=>{let C={};return l.forEach((U,w)=>{C[t[w]]=U}),C}))}get(t,i){if(!T(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Mt(()=>q(this.getParsedResult(t,i)))):q(this.getParsedResult(t,i))}getStreamOnTranslationChange(t,i){if(!T(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return at(lt(()=>this.get(t,i)),this.onTranslationChange.pipe(ct(()=>{let s=this.getParsedResult(t,i);return q(s)})))}stream(t,i){if(!T(t)||!t.length)throw new Error('Parameter "key" required');return at(lt(()=>this.get(t,i)),this.onLangChange.pipe(ct(()=>{let s=this.getParsedResult(t,i);return q(s)})))}instant(t,i){if(!T(t)||t.length===0)throw new Error('Parameter "key" is required and cannot be empty');let s=this.getParsedResult(t,i);return D(s)?Array.isArray(t)?t.reduce((r,o)=>(r[o]=o,r),{}):t:s}set(t,i,s=this.getCurrentLang()){this.store.setTranslations(s,de(this.store.getTranslations(s),t,it(i)?this.compiler.compile(i,s):this.compiler.compileTranslations(i,s)),!1)}reloadLang(t){return this.resetLang(t),this.loadAndCompileTranslations(t)}resetLang(t){delete this._translationRequests[t],this.store.deleteTranslations(t)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let t=this.getBrowserCultureLang();return t?t.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return e.getBrowserLang()}getBrowserCultureLang(){return e.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(t){return this.setFallbackLang(t)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})();var Ye=(()=>{class e{translate=u(Ft);_ref=u(Kt);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;updateValue(t,i,s){let r=o=>{this.value=o!==void 0?o:t,this.lastKey=t,this._ref.markForCheck()};if(s){let o=this.translate.getParsedResult(t,i);D(o)?o.subscribe(r):r(o)}this.translate.get(t,i).subscribe(r)}transform(t,...i){if(!t||!t.length)return t;if(et(t,this.lastKey)&&et(i,this.lastParams))return this.value;let s;if(T(i[0])&&i.length)if(it(i[0])&&i[0].length){let r=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{s=JSON.parse(r)}catch(o){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else _(i[0])&&(s=i[0]);return this.lastKey=t,this.lastParams=i,this.updateValue(t,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(r=>{(this.lastKey&&r.lang===this.translate.getCurrentLang()||r.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(t,s,r.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(r=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,s,r.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,s))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||e)};static \u0275pipe=Vt({name:"translate",type:e,pure:!1});static \u0275prov=d({token:e,factory:e.\u0275fac})}return e})();function ge(e){return{provide:E,useClass:e}}function me(e){return{provide:O,useClass:e}}function ve(e){return{provide:A,useClass:e}}function be(e){return{provide:G,useClass:e}}function Je(e={}){return _e(c({compiler:me(ue),parser:ve(pe),loader:ge(ce),missingTranslationHandler:be(le)},e),!0)}function _e(e={},n){let t=[];e.loader&&t.push(e.loader),e.compiler&&t.push(e.compiler),e.parser&&t.push(e.parser),e.missingTranslationHandler&&t.push(e.missingTranslationHandler),n&&t.push(xt),(e.useDefaultLang||e.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),e.useDefaultLang===!0&&e.defaultLanguage&&(e.fallbackLang=e.defaultLanguage));let i={fallbackLang:e.fallbackLang??null,lang:e.lang,extend:e.extend??!1};return t.push({provide:It,useValue:i}),t.push({provide:Ft,useClass:Ft,deps:[xt,E,O,A,G,It]}),t}var Yt=["toast-component",""];function ye(e,n){if(e&1){let t=Tt();g(0,"button",5),V("click",function(){dt(t);let s=f();return ft(s.remove())}),g(1,"span",6),b(2,"\xD7"),m()()}}function Te(e,n){if(e&1&&(_t(0),b(1),yt()),e&2){let t=f(2);a(),x("[",t.duplicatesCount+1,"]")}}function Ce(e,n){if(e&1&&(g(0,"div"),b(1),N(2,Te,2,1,"ng-container",4),m()),e&2){let t=f();v(t.options.titleClass),H("aria-label",t.title),a(),x(" ",t.title," "),a(),h("ngIf",t.duplicatesCount)}}function we(e,n){if(e&1&&B(0,"div",7),e&2){let t=f();v(t.options.messageClass),h("innerHTML",t.message,gt)}}function De(e,n){if(e&1&&(g(0,"div",8),b(1),m()),e&2){let t=f();v(t.options.messageClass),H("aria-label",t.message),a(),x(" ",t.message," ")}}function Le(e,n){if(e&1&&(g(0,"div"),B(1,"div",9),m()),e&2){let t=f();a(),$("width",t.width()+"%")}}function xe(e,n){if(e&1){let t=Tt();g(0,"button",5),V("click",function(){dt(t);let s=f();return ft(s.remove())}),g(1,"span",6),b(2,"\xD7"),m()()}}function Ie(e,n){if(e&1&&(_t(0),b(1),yt()),e&2){let t=f(2);a(),x("[",t.duplicatesCount+1,"]")}}function Fe(e,n){if(e&1&&(g(0,"div"),b(1),N(2,Ie,2,1,"ng-container",4),m()),e&2){let t=f();v(t.options.titleClass),H("aria-label",t.title),a(),x(" ",t.title," "),a(),h("ngIf",t.duplicatesCount)}}function Se(e,n){if(e&1&&B(0,"div",7),e&2){let t=f();v(t.options.messageClass),h("innerHTML",t.message,gt)}}function Oe(e,n){if(e&1&&(g(0,"div",8),b(1),m()),e&2){let t=f();v(t.options.messageClass),H("aria-label",t.message),a(),x(" ",t.message," ")}}function Ee(e,n){if(e&1&&(g(0,"div"),B(1,"div",9),m()),e&2){let t=f();a(),$("width",t.width()+"%")}}var Ot=class{_attachedHost;component;viewContainerRef;injector;constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){let n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Et=class{_attachedPortal;_disposeFn;attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}},At=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new p;_activate=new p;_manualClose=new p;_resetTimeout=new p;_countDuplicate=new p;constructor(n){this._overlayRef=n}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}},j=class{toastId;config;message;title;toastType;toastRef;_onTap=new p;_onAction=new p;constructor(n,t,i,s,r,o){this.toastId=n,this.config=t,this.message=i,this.title=s,this.toastType=r,this.toastRef=o,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}},Jt={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},Qt=new Y("ToastConfig"),jt=class extends Et{_hostDomElement;_componentFactoryResolver;_appRef;constructor(n,t,i){super(),this._hostDomElement=n,this._componentFactoryResolver=t,this._appRef=i}attachComponentPortal(n,t){let i=this._componentFactoryResolver.resolveComponentFactory(n.component),s;return s=i.create(n.injector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(s),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(s)),s}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},Ae=(()=>{class e{_document=u(pt);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(i){return new(i||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rt=class{_portalHost;constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}},je=(()=>{class e{_overlayContainer=u(Ae);_componentFactoryResolver=u(Bt);_appRef=u(W);_document=u(pt);_paneElements=new Map;create(t,i){return this._createOverlayRef(this.getPaneElement(t,i))}getPaneElement(t="",i){return this._paneElements.get(i)||this._paneElements.set(i,{}),this._paneElements.get(i)[t]||(this._paneElements.get(i)[t]=this._createPaneElement(t,i)),this._paneElements.get(i)[t]}_createPaneElement(t,i){let s=this._document.createElement("div");return s.id="toast-container",s.classList.add(t),s.classList.add("toast-container"),i?i.getContainerElement().appendChild(s):this._overlayContainer.getContainerElement().appendChild(s),s}_createPortalHost(t){return new jt(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new Rt(this._createPortalHost(t))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Wt=(()=>{class e{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,i,s,r,o){this.overlay=i,this._injector=s,this.sanitizer=r,this.ngZone=o,this.toastrConfig=c(c({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=c(c({},t.default.iconClasses),t.config.iconClasses))}show(t,i,s={},r=""){return this._preBuildNotification(r,t,i,this.applyConfig(s))}success(t,i,s={}){let r=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(r,t,i,this.applyConfig(s))}error(t,i,s={}){let r=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(r,t,i,this.applyConfig(s))}info(t,i,s={}){let r=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(r,t,i,this.applyConfig(s))}warning(t,i,s={}){let r=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(r,t,i,this.applyConfig(s))}clear(t){for(let i of this.toasts)if(t!==void 0){if(i.toastId===t){i.toastRef.manualClose();return}}else i.toastRef.manualClose()}remove(t){let i=this._findToast(t);if(!i||(i.activeToast.toastRef.close(),this.toasts.splice(i.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let s=this.toasts[this.currentlyActive].toastRef;s.isInactive()||(this.currentlyActive=this.currentlyActive+1,s.activate())}return!0}findDuplicate(t="",i="",s,r){let{includeTitleDuplicates:o}=this.toastrConfig;for(let l of this.toasts){let C=o&&l.title===t;if((!o||C)&&l.message===i)return l.toastRef.onDuplicate(s,r),l}return null}applyConfig(t={}){return c(c({},this.toastrConfig),t)}_findToast(t){for(let i=0;i<this.toasts.length;i++)if(this.toasts[i].toastId===t)return{index:i,activeToast:this.toasts[i]};return null}_preBuildNotification(t,i,s,r){return r.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,i,s,r)):this._buildNotification(t,i,s,r)}_buildNotification(t,i,s,r){if(!r.toastComponent)throw new Error("toastComponent required");let o=this.findDuplicate(s,i,this.toastrConfig.resetTimeoutOnDuplicate&&r.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&s||i)&&this.toastrConfig.preventDuplicates&&o!==null)return o;this.previousToastMessage=i;let l=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(l=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let C=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;let U=i;i&&r.enableHtml&&(U=this.sanitizer.sanitize(Ht.HTML,i));let w=new At(C),st=new j(this.index,r,U,s,t,w),te=[{provide:j,useValue:st}],ee=J.create({providers:te,parent:this._injector}),ie=new Ot(r.toastComponent,ee),kt=C.attach(ie,r.newestOnTop);w.componentInstance=kt.instance;let rt={toastId:this.index,title:s||"",message:i||"",toastRef:w,onShown:w.afterActivate(),onHidden:w.afterClosed(),onTap:st.onTap(),onAction:st.onAction(),portal:kt};return l||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{rt.toastRef.activate()})),this.toasts.push(rt),rt}static \u0275fac=function(i){return new(i||e)(S(Qt),S(je),S(J),S(qt),S(bt))};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Re=(()=>{class e{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=M(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,i,s){this.toastrService=t,this.toastPackage=i,this.ngZone=s,this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(r=>{this.duplicatesCount=r}),this.state=M({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(t=>F(c({},t),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),i=this.hideTime-t;this.width.set(i/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(s=>100-s),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(t=>F(c({},t),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(t=>F(c({},t),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),i)):this.timeout=setTimeout(()=>t(),i)}outsideInterval(t,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),i)):this.intervalId=setInterval(()=>t(),i)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(i){return new(i||e)(L(Wt),L(j),L(bt))};static \u0275cmp=mt({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(i,s){i&1&&V("click",function(){return s.tapToast()})("mouseenter",function(){return s.stickAround()})("mouseleave",function(){return s.delayedHideToast()}),i&2&&($t("@flyInOut",s._state),v(s.toastClasses),$("display",s.displayStyle))},attrs:Yt,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(i,s){i&1&&N(0,ye,3,0,"button",0)(1,Ce,3,5,"div",1)(2,we,1,3,"div",2)(3,De,2,4,"div",3)(4,Le,2,2,"div",4),i&2&&(h("ngIf",s.options.closeButton),a(),h("ngIf",s.title),a(),h("ngIf",s.message&&s.options.enableHtml),a(),h("ngIf",s.message&&!s.options.enableHtml),a(),h("ngIf",s.options.progressBar))},dependencies:[Ct],encapsulation:2,data:{animation:[Lt("flyInOut",[z("inactive",K({opacity:0})),z("active",K({opacity:1})),z("removed",K({opacity:0})),tt("inactive => active",X("{{ easeTime }}ms {{ easing }}")),tt("active => removed",X("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return e})(),ke=F(c({},Jt),{toastComponent:Re}),Pe=(e={})=>Nt([{provide:Qt,useValue:{default:ke,config:e}}]),Ti=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[Pe(t)]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=vt({type:e});static \u0275inj=ht({})}return e})();var Me=(()=>{class e{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=M(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=M("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,i,s){this.toastrService=t,this.toastPackage=i,this.appRef=s,this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(r=>{this.duplicatesCount=r})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let t=new Date().getTime(),i=this.hideTime-t;this.width.set(i/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(s=>100-s),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(i){return new(i||e)(L(Wt),L(j),L(W))};static \u0275cmp=mt({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(i,s){i&1&&V("click",function(){return s.tapToast()})("mouseenter",function(){return s.stickAround()})("mouseleave",function(){return s.delayedHideToast()}),i&2&&(v(s.toastClasses),$("display",s.displayStyle))},attrs:Yt,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(i,s){i&1&&N(0,xe,3,0,"button",0)(1,Fe,3,5,"div",1)(2,Se,1,3,"div",2)(3,Oe,2,4,"div",3)(4,Ee,2,2,"div",4),i&2&&(h("ngIf",s.options.closeButton),a(),h("ngIf",s.title),a(),h("ngIf",s.message&&s.options.enableHtml),a(),h("ngIf",s.message&&!s.options.enableHtml),a(),h("ngIf",s.options.progressBar))},dependencies:[Ct],encapsulation:2,changeDetection:0})}return e})(),Ci=F(c({},Jt),{toastComponent:Me});var R={serverTarget:Xt().version,production:!0,socket:"",api:{base:(()=>{let n=document.querySelector("base")?.getAttribute("href")||"/";return n.endsWith("/")?`${n}api`:`${n}/api`})(),socket:`${window.location.protocol==="http:"?"ws://":"wss://"}${window.location.host}`,origin:window.location.origin},jwt:{tokenKey:"access_token",allowedDomains:[document.location.host],disallowedRoutes:[(()=>{let n=document.querySelector("base")?.getAttribute("href")||"/",t=n.endsWith("/")?`${n}api`:`${n}/api`;return`${window.location.protocol}//${document.location.host}${t}/auth/login`})()]},apiHttpOptions:{},owm:{appid:"fec67b55f7f74deaa28df89ba6a60821"}};var Ei=(()=>{class e{$http=u(zt);get(t,i){return this.$http.get(`${R.api.base}${t}`,i)}post(t,i,s){return this.$http.post(`${R.api.base}${t}`,i,s)}put(t,i,s){return this.$http.put(`${R.api.base}${t}`,i,s)}patch(t,i,s){return this.$http.patch(`${R.api.base}${t}`,i,s)}delete(t,i){return this.$http.delete(`${R.api.base}${t}`,i)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{y as a,se as b,Lt as c,X as d,He as e,K as f,tt as g,wt as h,Dt as i,re as j,Ft as k,Ye as l,Je as m,Wt as n,Ti as o,R as p,Ei as q};
@@ -0,0 +1,16 @@
1
+ import{m as ht}from"./chunk-YNDC5MZW.js";import{e as wr}from"./chunk-Z5SXR7XM.js";import{k as _r,l as yt,n as Sr,q as Tr}from"./chunk-AVLU4OBB.js";import{Eb as br,Hb as ye,Ib as hr,La as T,Ub as yr,Vb as Q,Wa as gt,Wb as ve,Xb as Re,e as xa,ec as vr,h as Fr,ja as he,kb as Ve,lb as Bt,mb as bt,nc as te,ob as xr,oc as re,pb as gr,qb as Br,vb as I,w as Er,wb as W,xb as Ce}from"./chunk-3SCINSZK.js";var DD=xa((sr,Dr)=>{(function(e,t){typeof sr=="object"&&typeof Dr<"u"?Dr.exports=t():typeof define=="function"&&define.amd?define(t):e.JSON5=t()})(sr,function(){"use strict";function e(u,a){return a={exports:{}},u(a,a.exports),a.exports}var t=e(function(u){var a=u.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=a)}),r=e(function(u){var a=u.exports={version:"2.6.5"};typeof __e=="number"&&(__e=a)}),o=r.version,i=function(u){return typeof u=="object"?u!==null:typeof u=="function"},f=function(u){if(!i(u))throw TypeError(u+" is not an object!");return u},D=function(u){try{return!!u()}catch{return!0}},l=!D(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),m=t.document,g=i(m)&&i(m.createElement),B=function(u){return g?m.createElement(u):{}},b=!l&&!D(function(){return Object.defineProperty(B("div"),"a",{get:function(){return 7}}).a!=7}),y=function(u,a){if(!i(u))return u;var p,s;if(a&&typeof(p=u.toString)=="function"&&!i(s=p.call(u))||typeof(p=u.valueOf)=="function"&&!i(s=p.call(u))||!a&&typeof(p=u.toString)=="function"&&!i(s=p.call(u)))return s;throw TypeError("Can't convert object to primitive value")},G=Object.defineProperty,N=l?Object.defineProperty:function(a,p,s){if(f(a),p=y(p,!0),f(s),b)try{return G(a,p,s)}catch{}if("get"in s||"set"in s)throw TypeError("Accessors not supported!");return"value"in s&&(a[p]=s.value),a},$={f:N},M=function(u,a){return{enumerable:!(u&1),configurable:!(u&2),writable:!(u&4),value:a}},O=l?function(u,a,p){return $.f(u,a,M(1,p))}:function(u,a,p){return u[a]=p,u},pe={}.hasOwnProperty,nt=function(u,a){return pe.call(u,a)},He=0,Ue=Math.random(),Vo=function(u){return"Symbol(".concat(u===void 0?"":u,")_",(++He+Ue).toString(36))},Wo=!1,zo=e(function(u){var a="__core-js_shared__",p=t[a]||(t[a]={});(u.exports=function(s,d){return p[s]||(p[s]=d!==void 0?d:{})})("versions",[]).push({version:r.version,mode:Wo?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})}),Zt=zo("native-function-to-string",Function.toString),Ko=e(function(u){var a=Vo("src"),p="toString",s=(""+Zt).split(p);r.inspectSource=function(d){return Zt.call(d)},(u.exports=function(d,F,x,Y){var L=typeof x=="function";L&&(nt(x,"name")||O(x,"name",F)),d[F]!==x&&(L&&(nt(x,a)||O(x,a,d[F]?""+d[F]:s.join(String(F)))),d===t?d[F]=x:Y?d[F]?d[F]=x:O(d,F,x):(delete d[F],O(d,F,x)))})(Function.prototype,p,function(){return typeof this=="function"&&this[a]||Zt.call(this)})}),Jo=function(u){if(typeof u!="function")throw TypeError(u+" is not a function!");return u},pr=function(u,a,p){if(Jo(u),a===void 0)return u;switch(p){case 1:return function(s){return u.call(a,s)};case 2:return function(s,d){return u.call(a,s,d)};case 3:return function(s,d,F){return u.call(a,s,d,F)}}return function(){return u.apply(a,arguments)}},Qt="prototype",K=function(u,a,p){var s=u&K.F,d=u&K.G,F=u&K.S,x=u&K.P,Y=u&K.B,L=d?t:F?t[a]||(t[a]={}):(t[a]||{})[Qt],Ne=d?r:r[a]||(r[a]={}),$e=Ne[Qt]||(Ne[Qt]={}),ae,ie,X,qe;d&&(p=a);for(ae in p)ie=!s&&L&&L[ae]!==void 0,X=(ie?L:p)[ae],qe=Y&&ie?pr(X,t):x&&typeof X=="function"?pr(Function.call,X):X,L&&Ko(L,ae,X,u&K.U),Ne[ae]!=X&&O(Ne,ae,qe),x&&$e[ae]!=X&&($e[ae]=X)};t.core=r,K.F=1,K.G=2,K.S=4,K.P=8,K.B=16,K.W=32,K.U=64,K.R=128;var it=K,Yo=Math.ceil,Xo=Math.floor,lr=function(u){return isNaN(u=+u)?0:(u>0?Xo:Yo)(u)},Zo=function(u){if(u==null)throw TypeError("Can't call method on "+u);return u},Qo=function(u){return function(a,p){var s=String(Zo(a)),d=lr(p),F=s.length,x,Y;return d<0||d>=F?u?"":void 0:(x=s.charCodeAt(d),x<55296||x>56319||d+1===F||(Y=s.charCodeAt(d+1))<56320||Y>57343?u?s.charAt(d):x:u?s.slice(d,d+2):(x-55296<<10)+(Y-56320)+65536)}},ko=Qo(!1);it(it.P,"String",{codePointAt:function(a){return ko(this,a)}});var pD=r.String.codePointAt,ea=Math.max,ta=Math.min,ra=function(u,a){return u=lr(u),u<0?ea(u+a,0):ta(u,a)},mr=String.fromCharCode,dr=String.fromCodePoint;it(it.S+it.F*(!!dr&&dr.length!=1),"String",{fromCodePoint:function(a){for(var p=arguments,s=[],d=arguments.length,F=0,x;d>F;){if(x=+p[F++],ra(x,1114111)!==x)throw RangeError(x+" is not a valid code point");s.push(x<65536?mr(x):mr(((x-=65536)>>10)+55296,x%1024+56320))}return s.join("")}});var lD=r.String.fromCodePoint,ua=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,oa=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,aa=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,kt={Space_Separator:ua,ID_Start:oa,ID_Continue:aa},P={isSpaceSeparator:function(a){return typeof a=="string"&&kt.Space_Separator.test(a)},isIdStartChar:function(a){return typeof a=="string"&&(a>="a"&&a<="z"||a>="A"&&a<="Z"||a==="$"||a==="_"||kt.ID_Start.test(a))},isIdContinueChar:function(a){return typeof a=="string"&&(a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"||a==="$"||a==="_"||a==="\u200C"||a==="\u200D"||kt.ID_Continue.test(a))},isDigit:function(a){return typeof a=="string"&&/[0-9]/.test(a)},isHexDigit:function(a){return typeof a=="string"&&/[0-9A-Fa-f]/.test(a)}},er,J,le,Ct,Be,oe,H,tr,ft,na=function(a,p){er=String(a),J="start",le=[],Ct=0,Be=1,oe=0,H=void 0,tr=void 0,ft=void 0;do H=ia(),Da[J]();while(H.type!=="eof");return typeof p=="function"?rr({"":ft},"",p):ft};function rr(u,a,p){var s=u[a];if(s!=null&&typeof s=="object")if(Array.isArray(s))for(var d=0;d<s.length;d++){var F=String(d),x=rr(s,F,p);x===void 0?delete s[F]:Object.defineProperty(s,F,{value:x,writable:!0,enumerable:!0,configurable:!0})}else for(var Y in s){var L=rr(s,Y,p);L===void 0?delete s[Y]:Object.defineProperty(s,Y,{value:L,writable:!0,enumerable:!0,configurable:!0})}return p.call(u,a,s)}var A,c,st,me,E;function ia(){for(A="default",c="",st=!1,me=1;;){E=de();var u=cr[A]();if(u)return u}}function de(){if(er[Ct])return String.fromCodePoint(er.codePointAt(Ct))}function n(){var u=de();return u===`
2
+ `?(Be++,oe=0):u?oe+=u.length:oe++,u&&(Ct+=u.length),u}var cr={default:function(){switch(E){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
3
+ `:case"\r":case"\u2028":case"\u2029":n();return;case"/":n(),A="comment";return;case void 0:return n(),_("eof")}if(P.isSpaceSeparator(E)){n();return}return cr[J]()},comment:function(){switch(E){case"*":n(),A="multiLineComment";return;case"/":n(),A="singleLineComment";return}throw S(n())},multiLineComment:function(){switch(E){case"*":n(),A="multiLineCommentAsterisk";return;case void 0:throw S(n())}n()},multiLineCommentAsterisk:function(){switch(E){case"*":n();return;case"/":n(),A="default";return;case void 0:throw S(n())}n(),A="multiLineComment"},singleLineComment:function(){switch(E){case`
4
+ `:case"\r":case"\u2028":case"\u2029":n(),A="default";return;case void 0:return n(),_("eof")}n()},value:function(){switch(E){case"{":case"[":return _("punctuator",n());case"n":return n(),Ie("ull"),_("null",null);case"t":return n(),Ie("rue"),_("boolean",!0);case"f":return n(),Ie("alse"),_("boolean",!1);case"-":case"+":n()==="-"&&(me=-1),A="sign";return;case".":c=n(),A="decimalPointLeading";return;case"0":c=n(),A="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":c=n(),A="decimalInteger";return;case"I":return n(),Ie("nfinity"),_("numeric",1/0);case"N":return n(),Ie("aN"),_("numeric",NaN);case'"':case"'":st=n()==='"',c="",A="string";return}throw S(n())},identifierNameStartEscape:function(){if(E!=="u")throw S(n());n();var a=ur();switch(a){case"$":case"_":break;default:if(!P.isIdStartChar(a))throw Cr();break}c+=a,A="identifierName"},identifierName:function(){switch(E){case"$":case"_":case"\u200C":case"\u200D":c+=n();return;case"\\":n(),A="identifierNameEscape";return}if(P.isIdContinueChar(E)){c+=n();return}return _("identifier",c)},identifierNameEscape:function(){if(E!=="u")throw S(n());n();var a=ur();switch(a){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!P.isIdContinueChar(a))throw Cr();break}c+=a,A="identifierName"},sign:function(){switch(E){case".":c=n(),A="decimalPointLeading";return;case"0":c=n(),A="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":c=n(),A="decimalInteger";return;case"I":return n(),Ie("nfinity"),_("numeric",me*(1/0));case"N":return n(),Ie("aN"),_("numeric",NaN)}throw S(n())},zero:function(){switch(E){case".":c+=n(),A="decimalPoint";return;case"e":case"E":c+=n(),A="decimalExponent";return;case"x":case"X":c+=n(),A="hexadecimal";return}return _("numeric",me*0)},decimalInteger:function(){switch(E){case".":c+=n(),A="decimalPoint";return;case"e":case"E":c+=n(),A="decimalExponent";return}if(P.isDigit(E)){c+=n();return}return _("numeric",me*Number(c))},decimalPointLeading:function(){if(P.isDigit(E)){c+=n(),A="decimalFraction";return}throw S(n())},decimalPoint:function(){switch(E){case"e":case"E":c+=n(),A="decimalExponent";return}if(P.isDigit(E)){c+=n(),A="decimalFraction";return}return _("numeric",me*Number(c))},decimalFraction:function(){switch(E){case"e":case"E":c+=n(),A="decimalExponent";return}if(P.isDigit(E)){c+=n();return}return _("numeric",me*Number(c))},decimalExponent:function(){switch(E){case"+":case"-":c+=n(),A="decimalExponentSign";return}if(P.isDigit(E)){c+=n(),A="decimalExponentInteger";return}throw S(n())},decimalExponentSign:function(){if(P.isDigit(E)){c+=n(),A="decimalExponentInteger";return}throw S(n())},decimalExponentInteger:function(){if(P.isDigit(E)){c+=n();return}return _("numeric",me*Number(c))},hexadecimal:function(){if(P.isHexDigit(E)){c+=n(),A="hexadecimalInteger";return}throw S(n())},hexadecimalInteger:function(){if(P.isHexDigit(E)){c+=n();return}return _("numeric",me*Number(c))},string:function(){switch(E){case"\\":n(),c+=fa();return;case'"':if(st)return n(),_("string",c);c+=n();return;case"'":if(!st)return n(),_("string",c);c+=n();return;case`
5
+ `:case"\r":throw S(n());case"\u2028":case"\u2029":pa(E);break;case void 0:throw S(n())}c+=n()},start:function(){switch(E){case"{":case"[":return _("punctuator",n())}A="value"},beforePropertyName:function(){switch(E){case"$":case"_":c=n(),A="identifierName";return;case"\\":n(),A="identifierNameStartEscape";return;case"}":return _("punctuator",n());case'"':case"'":st=n()==='"',A="string";return}if(P.isIdStartChar(E)){c+=n(),A="identifierName";return}throw S(n())},afterPropertyName:function(){if(E===":")return _("punctuator",n());throw S(n())},beforePropertyValue:function(){A="value"},afterPropertyValue:function(){switch(E){case",":case"}":return _("punctuator",n())}throw S(n())},beforeArrayValue:function(){if(E==="]")return _("punctuator",n());A="value"},afterArrayValue:function(){switch(E){case",":case"]":return _("punctuator",n())}throw S(n())},end:function(){throw S(n())}};function _(u,a){return{type:u,value:a,line:Be,column:oe}}function Ie(u){for(var a=0,p=u;a<p.length;a+=1){var s=p[a],d=de();if(d!==s)throw S(n());n()}}function fa(){var u=de();switch(u){case"b":return n(),"\b";case"f":return n(),"\f";case"n":return n(),`
6
+ `;case"r":return n(),"\r";case"t":return n()," ";case"v":return n(),"\v";case"0":if(n(),P.isDigit(de()))throw S(n());return"\0";case"x":return n(),sa();case"u":return n(),ur();case`
7
+ `:case"\u2028":case"\u2029":return n(),"";case"\r":return n(),de()===`
8
+ `&&n(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw S(n());case void 0:throw S(n())}return n()}function sa(){var u="",a=de();if(!P.isHexDigit(a)||(u+=n(),a=de(),!P.isHexDigit(a)))throw S(n());return u+=n(),String.fromCodePoint(parseInt(u,16))}function ur(){for(var u="",a=4;a-- >0;){var p=de();if(!P.isHexDigit(p))throw S(n());u+=n()}return String.fromCodePoint(parseInt(u,16))}var Da={start:function(){if(H.type==="eof")throw je();or()},beforePropertyName:function(){switch(H.type){case"identifier":case"string":tr=H.value,J="afterPropertyName";return;case"punctuator":At();return;case"eof":throw je()}},afterPropertyName:function(){if(H.type==="eof")throw je();J="beforePropertyValue"},beforePropertyValue:function(){if(H.type==="eof")throw je();or()},beforeArrayValue:function(){if(H.type==="eof")throw je();if(H.type==="punctuator"&&H.value==="]"){At();return}or()},afterPropertyValue:function(){if(H.type==="eof")throw je();switch(H.value){case",":J="beforePropertyName";return;case"}":At()}},afterArrayValue:function(){if(H.type==="eof")throw je();switch(H.value){case",":J="beforeArrayValue";return;case"]":At()}},end:function(){}};function or(){var u;switch(H.type){case"punctuator":switch(H.value){case"{":u={};break;case"[":u=[];break}break;case"null":case"boolean":case"numeric":case"string":u=H.value;break}if(ft===void 0)ft=u;else{var a=le[le.length-1];Array.isArray(a)?a.push(u):Object.defineProperty(a,tr,{value:u,writable:!0,enumerable:!0,configurable:!0})}if(u!==null&&typeof u=="object")le.push(u),Array.isArray(u)?J="beforeArrayValue":J="beforePropertyName";else{var p=le[le.length-1];p==null?J="end":Array.isArray(p)?J="afterArrayValue":J="afterPropertyValue"}}function At(){le.pop();var u=le[le.length-1];u==null?J="end":Array.isArray(u)?J="afterArrayValue":J="afterPropertyValue"}function S(u){return Ft(u===void 0?"JSON5: invalid end of input at "+Be+":"+oe:"JSON5: invalid character '"+Ar(u)+"' at "+Be+":"+oe)}function je(){return Ft("JSON5: invalid end of input at "+Be+":"+oe)}function Cr(){return oe-=5,Ft("JSON5: invalid identifier character at "+Be+":"+oe)}function pa(u){console.warn("JSON5: '"+Ar(u)+"' in strings is not valid ECMAScript; consider escaping")}function Ar(u){var a={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(a[u])return a[u];if(u<" "){var p=u.charCodeAt(0).toString(16);return"\\x"+("00"+p).substring(p.length)}return u}function Ft(u){var a=new SyntaxError(u);return a.lineNumber=Be,a.columnNumber=oe,a}var la=function(a,p,s){var d=[],F="",x,Y,L="",Ne;if(p!=null&&typeof p=="object"&&!Array.isArray(p)&&(s=p.space,Ne=p.quote,p=p.replacer),typeof p=="function")Y=p;else if(Array.isArray(p)){x=[];for(var $e=0,ae=p;$e<ae.length;$e+=1){var ie=ae[$e],X=void 0;typeof ie=="string"?X=ie:(typeof ie=="number"||ie instanceof String||ie instanceof Number)&&(X=String(ie)),X!==void 0&&x.indexOf(X)<0&&x.push(X)}}return s instanceof Number?s=Number(s):s instanceof String&&(s=String(s)),typeof s=="number"?s>0&&(s=Math.min(10,Math.floor(s)),L=" ".substr(0,s)):typeof s=="string"&&(L=s.substr(0,10)),qe("",{"":a});function qe(h,q){var C=q[h];switch(C!=null&&(typeof C.toJSON5=="function"?C=C.toJSON5(h):typeof C.toJSON=="function"&&(C=C.toJSON(h))),Y&&(C=Y.call(q,h,C)),C instanceof Number?C=Number(C):C instanceof String?C=String(C):C instanceof Boolean&&(C=C.valueOf()),C){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof C=="string")return Et(C,!1);if(typeof C=="number")return String(C);if(typeof C=="object")return Array.isArray(C)?Fa(C):Ca(C)}function Et(h){for(var q={"'":.1,'"':.2},C={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},U="",ne=0;ne<h.length;ne++){var V=h[ne];switch(V){case"'":case'"':q[V]++,U+=V;continue;case"\0":if(P.isDigit(h[ne+1])){U+="\\x00";continue}}if(C[V]){U+=C[V];continue}if(V<" "){var Me=V.charCodeAt(0).toString(16);U+="\\x"+("00"+Me).substring(Me.length);continue}U+=V}var ce=Ne||Object.keys(q).reduce(function(be,Le){return q[be]<q[Le]?be:Le});return U=U.replace(new RegExp(ce,"g"),C[ce]),ce+U+ce}function Ca(h){if(d.indexOf(h)>=0)throw TypeError("Converting circular structure to JSON5");d.push(h);var q=F;F=F+L;for(var C=x||Object.keys(h),U=[],ne=0,V=C;ne<V.length;ne+=1){var Me=V[ne],ce=qe(Me,h);if(ce!==void 0){var be=Aa(Me)+":";L!==""&&(be+=" "),be+=ce,U.push(be)}}var Le;if(U.length===0)Le="{}";else{var xt;if(L==="")xt=U.join(","),Le="{"+xt+"}";else{var Ea=`,
9
+ `+F;xt=U.join(Ea),Le=`{
10
+ `+F+xt+`,
11
+ `+q+"}"}}return d.pop(),F=q,Le}function Aa(h){if(h.length===0)return Et(h,!0);var q=String.fromCodePoint(h.codePointAt(0));if(!P.isIdStartChar(q))return Et(h,!0);for(var C=q.length;C<h.length;C++)if(!P.isIdContinueChar(String.fromCodePoint(h.codePointAt(C))))return Et(h,!0);return h}function Fa(h){if(d.indexOf(h)>=0)throw TypeError("Converting circular structure to JSON5");d.push(h);var q=F;F=F+L;for(var C=[],U=0;U<h.length;U++){var ne=qe(String(U),h);C.push(ne!==void 0?ne:"null")}var V;if(C.length===0)V="[]";else if(L===""){var Me=C.join(",");V="["+Me+"]"}else{var ce=`,
12
+ `+F,be=C.join(ce);V=`[
13
+ `+F+be+`,
14
+ `+q+"]"}return d.pop(),F=q,V}},ma={parse:na,stringify:la},da=ma,ca=da;return ca})});function ga(){this.__data__=[],this.size=0}var Or=ga;function Ba(e,t){return e===t||e!==e&&t!==t}var fe=Ba;function ba(e,t){for(var r=e.length;r--;)if(fe(e[r][0],t))return r;return-1}var _e=ba;var ha=Array.prototype,ya=ha.splice;function va(e){var t=this.__data__,r=_e(t,e);if(r<0)return!1;var o=t.length-1;return r==o?t.pop():ya.call(t,r,1),--this.size,!0}var Pr=va;function _a(e){var t=this.__data__,r=_e(t,e);return r<0?void 0:t[r][1]}var Ir=_a;function Sa(e){return _e(this.__data__,e)>-1}var jr=Sa;function wa(e,t){var r=this.__data__,o=_e(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}var Nr=wa;function We(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}We.prototype.clear=Or;We.prototype.delete=Pr;We.prototype.get=Ir;We.prototype.has=jr;We.prototype.set=Nr;var Se=We;function Ta(){this.__data__=new Se,this.size=0}var Mr=Ta;function Oa(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var Lr=Oa;function Pa(e){return this.__data__.get(e)}var Rr=Pa;function Ia(e){return this.__data__.has(e)}var Gr=Ia;var ja=typeof global=="object"&&global&&global.Object===Object&&global,vt=ja;var Na=typeof self=="object"&&self&&self.Object===Object&&self,Ma=vt||Na||Function("return this")(),j=Ma;var La=j.Symbol,Z=La;var Hr=Object.prototype,Ra=Hr.hasOwnProperty,Ga=Hr.toString,Dt=Z?Z.toStringTag:void 0;function Ha(e){var t=Ra.call(e,Dt),r=e[Dt];try{e[Dt]=void 0;var o=!0}catch{}var i=Ga.call(e);return o&&(t?e[Dt]=r:delete e[Dt]),i}var Ur=Ha;var Ua=Object.prototype,$a=Ua.toString;function qa(e){return $a.call(e)}var $r=qa;var Va="[object Null]",Wa="[object Undefined]",qr=Z?Z.toStringTag:void 0;function za(e){return e==null?e===void 0?Wa:Va:qr&&qr in Object(e)?Ur(e):$r(e)}var ue=za;function Ka(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var z=Ka;var Ja="[object AsyncFunction]",Ya="[object Function]",Xa="[object GeneratorFunction]",Za="[object Proxy]";function Qa(e){if(!z(e))return!1;var t=ue(e);return t==Ya||t==Xa||t==Ja||t==Za}var ze=Qa;var ka=j["__core-js_shared__"],_t=ka;var Vr=(function(){var e=/[^.]+$/.exec(_t&&_t.keys&&_t.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function en(e){return!!Vr&&Vr in e}var Wr=en;var tn=Function.prototype,rn=tn.toString;function un(e){if(e!=null){try{return rn.call(e)}catch{}try{return e+""}catch{}}return""}var Ae=un;var on=/[\\^$.*+?()[\]{}|]/g,an=/^\[object .+?Constructor\]$/,nn=Function.prototype,fn=Object.prototype,sn=nn.toString,Dn=fn.hasOwnProperty,pn=RegExp("^"+sn.call(Dn).replace(on,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ln(e){if(!z(e)||Wr(e))return!1;var t=ze(e)?pn:an;return t.test(Ae(e))}var zr=ln;function mn(e,t){return e?.[t]}var Kr=mn;function dn(e,t){var r=Kr(e,t);return zr(r)?r:void 0}var k=dn;var cn=k(j,"Map"),we=cn;var Cn=k(Object,"create"),Fe=Cn;function An(){this.__data__=Fe?Fe(null):{},this.size=0}var Jr=An;function Fn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Yr=Fn;var En="__lodash_hash_undefined__",xn=Object.prototype,gn=xn.hasOwnProperty;function Bn(e){var t=this.__data__;if(Fe){var r=t[e];return r===En?void 0:r}return gn.call(t,e)?t[e]:void 0}var Xr=Bn;var bn=Object.prototype,hn=bn.hasOwnProperty;function yn(e){var t=this.__data__;return Fe?t[e]!==void 0:hn.call(t,e)}var Zr=yn;var vn="__lodash_hash_undefined__";function _n(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Fe&&t===void 0?vn:t,this}var Qr=_n;function Ke(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ke.prototype.clear=Jr;Ke.prototype.delete=Yr;Ke.prototype.get=Xr;Ke.prototype.has=Zr;Ke.prototype.set=Qr;var ar=Ke;function Sn(){this.size=0,this.__data__={hash:new ar,map:new(we||Se),string:new ar}}var kr=Sn;function wn(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var eu=wn;function Tn(e,t){var r=e.__data__;return eu(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Te=Tn;function On(e){var t=Te(this,e).delete(e);return this.size-=t?1:0,t}var tu=On;function Pn(e){return Te(this,e).get(e)}var ru=Pn;function In(e){return Te(this,e).has(e)}var uu=In;function jn(e,t){var r=Te(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}var ou=jn;function Je(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Je.prototype.clear=kr;Je.prototype.delete=tu;Je.prototype.get=ru;Je.prototype.has=uu;Je.prototype.set=ou;var St=Je;var Nn=200;function Mn(e,t){var r=this.__data__;if(r instanceof Se){var o=r.__data__;if(!we||o.length<Nn-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new St(o)}return r.set(e,t),this.size=r.size,this}var au=Mn;function Ye(e){var t=this.__data__=new Se(e);this.size=t.size}Ye.prototype.clear=Mr;Ye.prototype.delete=Lr;Ye.prototype.get=Rr;Ye.prototype.has=Gr;Ye.prototype.set=au;var Oe=Ye;var Ln="__lodash_hash_undefined__";function Rn(e){return this.__data__.set(e,Ln),this}var nu=Rn;function Gn(e){return this.__data__.has(e)}var iu=Gn;function wt(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new St;++t<r;)this.add(e[t])}wt.prototype.add=wt.prototype.push=nu;wt.prototype.has=iu;var fu=wt;function Hn(e,t){for(var r=-1,o=e==null?0:e.length;++r<o;)if(t(e[r],r,e))return!0;return!1}var su=Hn;function Un(e,t){return e.has(t)}var Du=Un;var $n=1,qn=2;function Vn(e,t,r,o,i,f){var D=r&$n,l=e.length,m=t.length;if(l!=m&&!(D&&m>l))return!1;var g=f.get(e),B=f.get(t);if(g&&B)return g==t&&B==e;var b=-1,y=!0,G=r&qn?new fu:void 0;for(f.set(e,t),f.set(t,e);++b<l;){var N=e[b],$=t[b];if(o)var M=D?o($,N,b,t,e,f):o(N,$,b,e,t,f);if(M!==void 0){if(M)continue;y=!1;break}if(G){if(!su(t,function(O,pe){if(!Du(G,pe)&&(N===O||i(N,O,r,o,f)))return G.push(pe)})){y=!1;break}}else if(!(N===$||i(N,$,r,o,f))){y=!1;break}}return f.delete(e),f.delete(t),y}var Tt=Vn;var Wn=j.Uint8Array,Xe=Wn;function zn(e){var t=-1,r=Array(e.size);return e.forEach(function(o,i){r[++t]=[i,o]}),r}var pu=zn;function Kn(e){var t=-1,r=Array(e.size);return e.forEach(function(o){r[++t]=o}),r}var lu=Kn;var Jn=1,Yn=2,Xn="[object Boolean]",Zn="[object Date]",Qn="[object Error]",kn="[object Map]",ei="[object Number]",ti="[object RegExp]",ri="[object Set]",ui="[object String]",oi="[object Symbol]",ai="[object ArrayBuffer]",ni="[object DataView]",mu=Z?Z.prototype:void 0,nr=mu?mu.valueOf:void 0;function ii(e,t,r,o,i,f,D){switch(r){case ni:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ai:return!(e.byteLength!=t.byteLength||!f(new Xe(e),new Xe(t)));case Xn:case Zn:case ei:return fe(+e,+t);case Qn:return e.name==t.name&&e.message==t.message;case ti:case ui:return e==t+"";case kn:var l=pu;case ri:var m=o&Jn;if(l||(l=lu),e.size!=t.size&&!m)return!1;var g=D.get(e);if(g)return g==t;o|=Yn,D.set(e,t);var B=Tt(l(e),l(t),o,i,f,D);return D.delete(e),B;case oi:if(nr)return nr.call(e)==nr.call(t)}return!1}var du=ii;function fi(e,t){for(var r=-1,o=t.length,i=e.length;++r<o;)e[i+r]=t[r];return e}var Ot=fi;var si=Array.isArray,ee=si;function Di(e,t,r){var o=t(e);return ee(e)?o:Ot(o,r(e))}var Pt=Di;function pi(e,t){for(var r=-1,o=e==null?0:e.length,i=0,f=[];++r<o;){var D=e[r];t(D,r,e)&&(f[i++]=D)}return f}var cu=pi;function li(){return[]}var It=li;var mi=Object.prototype,di=mi.propertyIsEnumerable,Cu=Object.getOwnPropertySymbols,ci=Cu?function(e){return e==null?[]:(e=Object(e),cu(Cu(e),function(t){return di.call(e,t)}))}:It,Ze=ci;function Ci(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}var Au=Ci;function Ai(e){return e!=null&&typeof e=="object"}var R=Ai;var Fi="[object Arguments]";function Ei(e){return R(e)&&ue(e)==Fi}var ir=Ei;var Fu=Object.prototype,xi=Fu.hasOwnProperty,gi=Fu.propertyIsEnumerable,Bi=ir((function(){return arguments})())?ir:function(e){return R(e)&&xi.call(e,"callee")&&!gi.call(e,"callee")},pt=Bi;function bi(){return!1}var Eu=bi;var Bu=typeof exports=="object"&&exports&&!exports.nodeType&&exports,xu=Bu&&typeof module=="object"&&module&&!module.nodeType&&module,hi=xu&&xu.exports===Bu,gu=hi?j.Buffer:void 0,yi=gu?gu.isBuffer:void 0,vi=yi||Eu,Ee=vi;var _i=9007199254740991,Si=/^(?:0|[1-9]\d*)$/;function wi(e,t){var r=typeof e;return t=t??_i,!!t&&(r=="number"||r!="symbol"&&Si.test(e))&&e>-1&&e%1==0&&e<t}var jt=wi;var Ti=9007199254740991;function Oi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ti}var Nt=Oi;var Pi="[object Arguments]",Ii="[object Array]",ji="[object Boolean]",Ni="[object Date]",Mi="[object Error]",Li="[object Function]",Ri="[object Map]",Gi="[object Number]",Hi="[object Object]",Ui="[object RegExp]",$i="[object Set]",qi="[object String]",Vi="[object WeakMap]",Wi="[object ArrayBuffer]",zi="[object DataView]",Ki="[object Float32Array]",Ji="[object Float64Array]",Yi="[object Int8Array]",Xi="[object Int16Array]",Zi="[object Int32Array]",Qi="[object Uint8Array]",ki="[object Uint8ClampedArray]",ef="[object Uint16Array]",tf="[object Uint32Array]",w={};w[Ki]=w[Ji]=w[Yi]=w[Xi]=w[Zi]=w[Qi]=w[ki]=w[ef]=w[tf]=!0;w[Pi]=w[Ii]=w[Wi]=w[ji]=w[zi]=w[Ni]=w[Mi]=w[Li]=w[Ri]=w[Gi]=w[Hi]=w[Ui]=w[$i]=w[qi]=w[Vi]=!1;function rf(e){return R(e)&&Nt(e.length)&&!!w[ue(e)]}var bu=rf;function uf(e){return function(t){return e(t)}}var Qe=uf;var hu=typeof exports=="object"&&exports&&!exports.nodeType&&exports,lt=hu&&typeof module=="object"&&module&&!module.nodeType&&module,of=lt&&lt.exports===hu,fr=of&&vt.process,af=(function(){try{var e=lt&&lt.require&&lt.require("util").types;return e||fr&&fr.binding&&fr.binding("util")}catch{}})(),xe=af;var yu=xe&&xe.isTypedArray,nf=yu?Qe(yu):bu,ke=nf;var ff=Object.prototype,sf=ff.hasOwnProperty;function Df(e,t){var r=ee(e),o=!r&&pt(e),i=!r&&!o&&Ee(e),f=!r&&!o&&!i&&ke(e),D=r||o||i||f,l=D?Au(e.length,String):[],m=l.length;for(var g in e)(t||sf.call(e,g))&&!(D&&(g=="length"||i&&(g=="offset"||g=="parent")||f&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||jt(g,m)))&&l.push(g);return l}var Mt=Df;var pf=Object.prototype;function lf(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||pf;return e===r}var et=lf;function mf(e,t){return function(r){return e(t(r))}}var Lt=mf;var df=Lt(Object.keys,Object),vu=df;var cf=Object.prototype,Cf=cf.hasOwnProperty;function Af(e){if(!et(e))return vu(e);var t=[];for(var r in Object(e))Cf.call(e,r)&&r!="constructor"&&t.push(r);return t}var _u=Af;function Ff(e){return e!=null&&Nt(e.length)&&!ze(e)}var Pe=Ff;function Ef(e){return Pe(e)?Mt(e):_u(e)}var tt=Ef;function xf(e){return Pt(e,tt,Ze)}var mt=xf;var gf=1,Bf=Object.prototype,bf=Bf.hasOwnProperty;function hf(e,t,r,o,i,f){var D=r&gf,l=mt(e),m=l.length,g=mt(t),B=g.length;if(m!=B&&!D)return!1;for(var b=m;b--;){var y=l[b];if(!(D?y in t:bf.call(t,y)))return!1}var G=f.get(e),N=f.get(t);if(G&&N)return G==t&&N==e;var $=!0;f.set(e,t),f.set(t,e);for(var M=D;++b<m;){y=l[b];var O=e[y],pe=t[y];if(o)var nt=D?o(pe,O,y,t,e,f):o(O,pe,y,e,t,f);if(!(nt===void 0?O===pe||i(O,pe,r,o,f):nt)){$=!1;break}M||(M=y=="constructor")}if($&&!M){var He=e.constructor,Ue=t.constructor;He!=Ue&&"constructor"in e&&"constructor"in t&&!(typeof He=="function"&&He instanceof He&&typeof Ue=="function"&&Ue instanceof Ue)&&($=!1)}return f.delete(e),f.delete(t),$}var Su=hf;var yf=k(j,"DataView"),Rt=yf;var vf=k(j,"Promise"),Gt=vf;var _f=k(j,"Set"),Ht=_f;var Sf=k(j,"WeakMap"),Ut=Sf;var wu="[object Map]",wf="[object Object]",Tu="[object Promise]",Ou="[object Set]",Pu="[object WeakMap]",Iu="[object DataView]",Tf=Ae(Rt),Of=Ae(we),Pf=Ae(Gt),If=Ae(Ht),jf=Ae(Ut),Ge=ue;(Rt&&Ge(new Rt(new ArrayBuffer(1)))!=Iu||we&&Ge(new we)!=wu||Gt&&Ge(Gt.resolve())!=Tu||Ht&&Ge(new Ht)!=Ou||Ut&&Ge(new Ut)!=Pu)&&(Ge=function(e){var t=ue(e),r=t==wf?e.constructor:void 0,o=r?Ae(r):"";if(o)switch(o){case Tf:return Iu;case Of:return wu;case Pf:return Tu;case If:return Ou;case jf:return Pu}return t});var ge=Ge;var Nf=1,ju="[object Arguments]",Nu="[object Array]",$t="[object Object]",Mf=Object.prototype,Mu=Mf.hasOwnProperty;function Lf(e,t,r,o,i,f){var D=ee(e),l=ee(t),m=D?Nu:ge(e),g=l?Nu:ge(t);m=m==ju?$t:m,g=g==ju?$t:g;var B=m==$t,b=g==$t,y=m==g;if(y&&Ee(e)){if(!Ee(t))return!1;D=!0,B=!1}if(y&&!B)return f||(f=new Oe),D||ke(e)?Tt(e,t,r,o,i,f):du(e,t,m,r,o,i,f);if(!(r&Nf)){var G=B&&Mu.call(e,"__wrapped__"),N=b&&Mu.call(t,"__wrapped__");if(G||N){var $=G?e.value():e,M=N?t.value():t;return f||(f=new Oe),i($,M,r,o,f)}}return y?(f||(f=new Oe),Su(e,t,r,o,i,f)):!1}var Lu=Lf;function Ru(e,t,r,o,i){return e===t?!0:e==null||t==null||!R(e)&&!R(t)?e!==e&&t!==t:Lu(e,t,r,o,Ru,i)}var Gu=Ru;function Rf(e,t){return Gu(e,t)}var Gf=Rf;var Hf="[object Symbol]";function Uf(e){return typeof e=="symbol"||R(e)&&ue(e)==Hf}var Hu=Uf;function $f(e,t){for(var r=-1,o=e==null?0:e.length,i=Array(o);++r<o;)i[r]=t(e[r],r,e);return i}var Uu=$f;var qf=1/0,$u=Z?Z.prototype:void 0,qu=$u?$u.toString:void 0;function Vu(e){if(typeof e=="string")return e;if(ee(e))return Uu(e,Vu)+"";if(Hu(e))return qu?qu.call(e):"";var t=e+"";return t=="0"&&1/e==-qf?"-0":t}var Wu=Vu;function Vf(e){return e}var qt=Vf;var zu=Object.create,Wf=(function(){function e(){}return function(t){if(!z(t))return{};if(zu)return zu(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})(),Ku=Wf;function zf(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var Ju=zf;function Kf(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}var Vt=Kf;var Jf=800,Yf=16,Xf=Date.now;function Zf(e){var t=0,r=0;return function(){var o=Xf(),i=Yf-(o-r);if(r=o,i>0){if(++t>=Jf)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Yu=Zf;function Qf(e){return function(){return e}}var Xu=Qf;var kf=(function(){try{var e=k(Object,"defineProperty");return e({},"",{}),e}catch{}})(),rt=kf;var e0=rt?function(e,t){return rt(e,"toString",{configurable:!0,enumerable:!1,value:Xu(t),writable:!0})}:qt,Zu=e0;var t0=Yu(Zu),Qu=t0;function r0(e,t){for(var r=-1,o=e==null?0:e.length;++r<o&&t(e[r],r,e)!==!1;);return e}var ku=r0;function u0(e,t,r){t=="__proto__"&&rt?rt(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var ut=u0;var o0=Object.prototype,a0=o0.hasOwnProperty;function n0(e,t,r){var o=e[t];(!(a0.call(e,t)&&fe(o,r))||r===void 0&&!(t in e))&&ut(e,t,r)}var Wt=n0;function i0(e,t,r,o){var i=!r;r||(r={});for(var f=-1,D=t.length;++f<D;){var l=t[f],m=o?o(r[l],e[l],l,r,e):void 0;m===void 0&&(m=e[l]),i?ut(r,l,m):Wt(r,l,m)}return r}var se=i0;var eo=Math.max;function f0(e,t,r){return t=eo(t===void 0?e.length-1:t,0),function(){for(var o=arguments,i=-1,f=eo(o.length-t,0),D=Array(f);++i<f;)D[i]=o[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=o[i];return l[t]=r(D),Ju(e,this,l)}}var to=f0;function s0(e,t){return Qu(to(e,t,qt),e+"")}var ro=s0;function D0(e,t,r){if(!z(r))return!1;var o=typeof t;return(o=="number"?Pe(r)&&jt(t,r.length):o=="string"&&t in r)?fe(r[t],e):!1}var uo=D0;function p0(e){return ro(function(t,r){var o=-1,i=r.length,f=i>1?r[i-1]:void 0,D=i>2?r[2]:void 0;for(f=e.length>3&&typeof f=="function"?(i--,f):void 0,D&&uo(r[0],r[1],D)&&(f=i<3?void 0:f,i=1),t=Object(t);++o<i;){var l=r[o];l&&e(t,l,o,f)}return t})}var oo=p0;function l0(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var ao=l0;var m0=Object.prototype,d0=m0.hasOwnProperty;function c0(e){if(!z(e))return ao(e);var t=et(e),r=[];for(var o in e)o=="constructor"&&(t||!d0.call(e,o))||r.push(o);return r}var no=c0;function C0(e){return Pe(e)?Mt(e,!0):no(e)}var De=C0;function A0(e){return e==null?"":Wu(e)}var io=A0;var F0=Lt(Object.getPrototypeOf,Object),ot=F0;var E0="[object Object]",x0=Function.prototype,g0=Object.prototype,fo=x0.toString,B0=g0.hasOwnProperty,b0=fo.call(Object);function h0(e){if(!R(e)||ue(e)!=E0)return!1;var t=ot(e);if(t===null)return!0;var r=B0.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&fo.call(r)==b0}var so=h0;function y0(e,t){return e&&se(t,tt(t),e)}var Do=y0;function v0(e,t){return e&&se(t,De(t),e)}var po=v0;var Co=typeof exports=="object"&&exports&&!exports.nodeType&&exports,lo=Co&&typeof module=="object"&&module&&!module.nodeType&&module,_0=lo&&lo.exports===Co,mo=_0?j.Buffer:void 0,co=mo?mo.allocUnsafe:void 0;function S0(e,t){if(t)return e.slice();var r=e.length,o=co?co(r):new e.constructor(r);return e.copy(o),o}var zt=S0;function w0(e,t){return se(e,Ze(e),t)}var Ao=w0;var T0=Object.getOwnPropertySymbols,O0=T0?function(e){for(var t=[];e;)Ot(t,Ze(e)),e=ot(e);return t}:It,Kt=O0;function P0(e,t){return se(e,Kt(e),t)}var Fo=P0;function I0(e){return Pt(e,De,Kt)}var Eo=I0;var j0=Object.prototype,N0=j0.hasOwnProperty;function M0(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&N0.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var xo=M0;function L0(e){var t=new e.constructor(e.byteLength);return new Xe(t).set(new Xe(e)),t}var at=L0;function R0(e,t){var r=t?at(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var go=R0;var G0=/\w*$/;function H0(e){var t=new e.constructor(e.source,G0.exec(e));return t.lastIndex=e.lastIndex,t}var Bo=H0;var bo=Z?Z.prototype:void 0,ho=bo?bo.valueOf:void 0;function U0(e){return ho?Object(ho.call(e)):{}}var yo=U0;function $0(e,t){var r=t?at(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Jt=$0;var q0="[object Boolean]",V0="[object Date]",W0="[object Map]",z0="[object Number]",K0="[object RegExp]",J0="[object Set]",Y0="[object String]",X0="[object Symbol]",Z0="[object ArrayBuffer]",Q0="[object DataView]",k0="[object Float32Array]",es="[object Float64Array]",ts="[object Int8Array]",rs="[object Int16Array]",us="[object Int32Array]",os="[object Uint8Array]",as="[object Uint8ClampedArray]",ns="[object Uint16Array]",is="[object Uint32Array]";function fs(e,t,r){var o=e.constructor;switch(t){case Z0:return at(e);case q0:case V0:return new o(+e);case Q0:return go(e,r);case k0:case es:case ts:case rs:case us:case os:case as:case ns:case is:return Jt(e,r);case W0:return new o;case z0:case Y0:return new o(e);case K0:return Bo(e);case J0:return new o;case X0:return yo(e)}}var vo=fs;function ss(e){return typeof e.constructor=="function"&&!et(e)?Ku(ot(e)):{}}var Yt=ss;var Ds="[object Map]";function ps(e){return R(e)&&ge(e)==Ds}var _o=ps;var So=xe&&xe.isMap,ls=So?Qe(So):_o,wo=ls;var ms="[object Set]";function ds(e){return R(e)&&ge(e)==ms}var To=ds;var Oo=xe&&xe.isSet,cs=Oo?Qe(Oo):To,Po=cs;var Cs=1,As=2,Fs=4,Io="[object Arguments]",Es="[object Array]",xs="[object Boolean]",gs="[object Date]",Bs="[object Error]",jo="[object Function]",bs="[object GeneratorFunction]",hs="[object Map]",ys="[object Number]",No="[object Object]",vs="[object RegExp]",_s="[object Set]",Ss="[object String]",ws="[object Symbol]",Ts="[object WeakMap]",Os="[object ArrayBuffer]",Ps="[object DataView]",Is="[object Float32Array]",js="[object Float64Array]",Ns="[object Int8Array]",Ms="[object Int16Array]",Ls="[object Int32Array]",Rs="[object Uint8Array]",Gs="[object Uint8ClampedArray]",Hs="[object Uint16Array]",Us="[object Uint32Array]",v={};v[Io]=v[Es]=v[Os]=v[Ps]=v[xs]=v[gs]=v[Is]=v[js]=v[Ns]=v[Ms]=v[Ls]=v[hs]=v[ys]=v[No]=v[vs]=v[_s]=v[Ss]=v[ws]=v[Rs]=v[Gs]=v[Hs]=v[Us]=!0;v[Bs]=v[jo]=v[Ts]=!1;function Xt(e,t,r,o,i,f){var D,l=t&Cs,m=t&As,g=t&Fs;if(r&&(D=i?r(e,o,i,f):r(e)),D!==void 0)return D;if(!z(e))return e;var B=ee(e);if(B){if(D=xo(e),!l)return Vt(e,D)}else{var b=ge(e),y=b==jo||b==bs;if(Ee(e))return zt(e,l);if(b==No||b==Io||y&&!i){if(D=m||y?{}:Yt(e),!l)return m?Fo(e,po(D,e)):Ao(e,Do(D,e))}else{if(!v[b])return i?e:{};D=vo(e,b,l)}}f||(f=new Oe);var G=f.get(e);if(G)return G;f.set(e,D),Po(e)?e.forEach(function(M){D.add(Xt(M,t,r,M,e,f))}):wo(e)&&e.forEach(function(M,O){D.set(O,Xt(M,t,r,O,e,f))});var N=g?m?Eo:mt:m?De:tt,$=B?void 0:N(e);return ku($||e,function(M,O){$&&(O=M,M=e[O]),Wt(D,O,Xt(M,t,r,O,e,f))}),D}var Mo=Xt;var $s=1,qs=4;function Vs(e){return Mo(e,$s|qs)}var Ws=Vs;function zs(e){return function(t,r,o){for(var i=-1,f=Object(t),D=o(t),l=D.length;l--;){var m=D[e?l:++i];if(r(f[m],m,f)===!1)break}return t}}var Lo=zs;var Ks=Lo(),Ro=Ks;function Js(e,t,r){(r!==void 0&&!fe(e[t],r)||r===void 0&&!(t in e))&&ut(e,t,r)}var dt=Js;function Ys(e){return R(e)&&Pe(e)}var Go=Ys;function Xs(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ct=Xs;function Zs(e){return se(e,De(e))}var Ho=Zs;function Qs(e,t,r,o,i,f,D){var l=ct(e,r),m=ct(t,r),g=D.get(m);if(g){dt(e,r,g);return}var B=f?f(l,m,r+"",e,t,D):void 0,b=B===void 0;if(b){var y=ee(m),G=!y&&Ee(m),N=!y&&!G&&ke(m);B=m,y||G||N?ee(l)?B=l:Go(l)?B=Vt(l):G?(b=!1,B=zt(m,!0)):N?(b=!1,B=Jt(m,!0)):B=[]:so(m)||pt(m)?(B=l,pt(l)?B=Ho(l):(!z(l)||ze(l))&&(B=Yt(m))):b=!1}b&&(D.set(m,B),i(B,m,o,f,D),D.delete(m)),dt(e,r,B)}var Uo=Qs;function $o(e,t,r,o,i){e!==t&&Ro(t,function(f,D){if(i||(i=new Oe),z(f))Uo(e,t,D,r,$o,o,i);else{var l=o?o(ct(e,D),f,D+"",e,t,i):void 0;l===void 0&&(l=f),dt(e,D,l)}},De)}var qo=$o;var ks=oo(function(e,t,r){qo(e,t,r)}),eD=ks;var tD=0;function rD(e){var t=++tD;return io(e)+t}var uD=rD;function aD(e,t){e&1&&Ce(0,"i",14)}function nD(e,t){e&1&&Ce(0,"i",15)}function iD(e,t){if(e&1&&(I(0,"li"),Bt(1,aD,1,0,"i",14)(2,nD,1,0,"i",15),Q(3),I(4,"span",16),Q(5," \xB7 "),I(6,"span",17),Q(7),W()()()),e&2){let r=t.$implicit;T(),bt(r.type==="matter"?1:2),T(2),Re(" ",r.name," "),T(4),ve(r.username)}}var iA=(()=>{class e{$activeModal=he(ht);$api=he(Tr);$toastr=he(Sr);$translate=he(_r);bridges=[];onRestartChildBridgeClick(){return Fr(this,null,function*(){try{for(let r of this.bridges){let o=r.identifier||r.username;yield Er(this.$api.put(`/child-bridges/${o}/restart`,{}))}this.$toastr.success(this.$translate.instant("plugins.manage.child_bridge_restart"),this.$translate.instant("toast.title_success"))}catch(r){console.error(r),this.$toastr.error(this.$translate.instant("plugins.manage.child_bridge_restart_failed"),this.$translate.instant("toast.title_error"))}finally{this.$activeModal.close()}})}dismissModal(){this.$activeModal.dismiss("Dismiss")}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=gt({type:e,selectors:[["ng-component"]],inputs:{bridges:"bridges"},decls:27,vars:18,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body","text-center"],[1,"fas","fa-power-off","primary-text","mb-3",2,"font-size","75px"],[1,"w-100"],[1,"text-center"],[1,"d-inline-block","text-start","mb-0"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"text-end"],["type","button",1,"btn","btn-primary",3,"click"],[1,"fas","fa-matter","me-1"],[1,"fas","fa-hap","me-1"],[1,"grey-text"],[1,"font-monospace"]],template:function(o,i){o&1&&(I(0,"div",0)(1,"div",1)(2,"h5",2),Q(3),te(4,"translate"),W(),I(5,"button",3),te(6,"translate"),ye("click",function(){return i.dismissModal()}),W()(),I(7,"div",4),Ce(8,"i",5),I(9,"p",6),Q(10),te(11,"translate"),W(),I(12,"div",7)(13,"ul",8),gr(14,iD,8,3,"li",null,xr),W()()(),I(16,"div",9)(17,"div",10)(18,"button",11),te(19,"translate"),ye("click",function(){return i.dismissModal()}),Q(20),te(21,"translate"),W()(),Ce(22,"div",7),I(23,"div",12)(24,"button",13),ye("click",function(){return i.onRestartChildBridgeClick()}),Q(25),te(26,"translate"),W()()()()),o&2&&(T(3),ve(re(4,6,"platform.version.service_restart_required")),T(2),Ve("aria-label",re(6,8,"form.button_close")),T(5),ve(re(11,10,"restart.child_bridge_list")),T(4),Br(i.bridges),T(4),Ve("aria-label",re(19,12,"form.button_close")),T(2),Re(" ",re(21,14,"form.button_close")," "),T(5),Re(" ",re(26,16,"menu.tooltip_restart")," "))},dependencies:[yt],encapsulation:2})}return e})();function fD(e,t){if(e&1&&(I(0,"span"),Q(1),W()),e&2){let r=hr();T(),ve(r.getButtonLabel())}}function sD(e,t){e&1&&(I(0,"span"),Ce(1,"i",13),Q(2),te(3,"translate"),W()),e&2&&(T(2),Re(" ",re(3,1,"menu.label_restart")," "))}var cA=(()=>{class e{$activeModal=he(ht);$router=he(wr);restartInProgress=!1;getIcon(){return"fa-power-off"}getRestartMessage(){return""}getButtonLabel(){return"Restart"}onRestartHomebridgeClick(){this.restartInProgress=!0,this.$router.navigate(["/restart"]),this.$activeModal.close()}dismissModal(){this.$activeModal.dismiss("Dismiss")}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=gt({type:e,selectors:[["ng-component"]],decls:22,vars:18,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body","text-center"],[2,"font-size","75px"],[1,"mb-0"],[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",1,"btn","btn-primary",3,"click","disabled"],[1,"fas","fa-spinner","fa-spin"]],template:function(o,i){o&1&&(I(0,"div",0)(1,"div",1)(2,"h5",2),Q(3),te(4,"translate"),W(),I(5,"button",3),te(6,"translate"),ye("click",function(){return i.dismissModal()}),W()(),I(7,"div",4),Ce(8,"i",5),I(9,"p",6),Q(10),W()(),I(11,"div",7)(12,"div",8)(13,"button",9),te(14,"translate"),ye("click",function(){return i.dismissModal()}),Q(15),te(16,"translate"),W()(),Ce(17,"div",10),I(18,"div",11)(19,"button",12),ye("click",function(){return i.onRestartHomebridgeClick()}),Bt(20,fD,2,1,"span")(21,sD,4,3,"span"),W()()()()),o&2&&(T(3),ve(re(4,10,"platform.version.service_restart_required")),T(2),Ve("aria-label",re(6,12,"form.button_close")),T(3),yr(vr("fas ",i.getIcon()," primary-text mb-3")),T(2),ve(i.getRestartMessage()),T(3),Ve("aria-label",re(14,14,"form.button_close")),T(2),Re(" ",re(16,16,"form.button_close")," "),T(4),br("disabled",i.restartInProgress),T(),bt(i.restartInProgress?21:20))},dependencies:[yt],encapsulation:2})}return e})();function AA(e){return{type:"object",required:["username"],additionalProperties:!1,title:e.instant("child_bridge.bridge_settings"),properties:{username:{type:"string",title:e.instant("users.label_username"),description:`The child bridge username must be 6 pairs of colon-separated hexadecimal characters (A-F 0-9).
15
+ Example: 0E:89:49:64:91:86.`,pattern:"^([A-Fa-f0-9]{2}:){5}[A-Fa-f0-9]{2}$"},port:{type:"number",title:e.instant("accessories.bridge_port"),description:"The port the child bridge listens on.",minimum:1025,maximum:65534},pin:{type:"string",title:"Bridge PIN",description:`The child bridge pin.
16
+ Example: 630-27-655.`,pattern:"^([0-9]{3}-[0-9]{2}-[0-9]{3})$"},name:{type:"string",title:e.instant("child_bridge.config.name"),description:"The name of the child bridge."},manufacturer:{type:"string",title:e.instant("child_bridge.config.manufacturer"),description:"The child bridge manufacturer to be displayed in HomeKit."},firmwareRevision:{type:"string",title:e.instant("child_bridge.config.firmware"),description:"The child bridge firmware version to be displayed in HomeKit."},model:{type:"string",title:e.instant("child_bridge.config.model"),description:"The child bridge model to be displayed in HomeKit."},env:{type:"object",title:"Environment Variables",description:"Environment variables to set for this child bridge.",properties:{DEBUG:{type:"string",title:"DEBUG",description:e.instant("settings.service.debug_tooltip")},NODE_OPTIONS:{type:"string",title:"NODE_OPTIONS",description:e.instant("settings.service.node_tooltip")}}}}}}function EA(e){return{type:"object",additionalProperties:!1,title:e.instant("settings.matter.title"),properties:{name:{type:"string",title:e.instant("settings.matter.name"),description:e.instant("settings.matter.name_desc")},port:{type:"number",title:e.instant("accessories.bridge_port"),description:e.instant("settings.matter.port_desc"),minimum:1025,maximum:65534},vendorId:{type:"number",title:e.instant("settings.matter.vendor_id"),description:e.instant("settings.matter.vendor_id_desc"),minimum:1,maximum:65534},productId:{type:"number",title:e.instant("settings.matter.product_id"),description:e.instant("settings.matter.product_id_desc"),minimum:1,maximum:65534},debug:{type:"boolean",title:e.instant("child_bridge.config.debug"),default:!1}}}}export{Ws as a,Gf as b,eD as c,uD as d,iA as e,cA as f,DD as g,AA as h,EA as i};
@@ -1,4 +1,4 @@
1
- import{M as ne,P as oe,a as ue,b as R,c as te,d as b,e as S,f as ie,g as E,h as T,i as W,j as N}from"./chunk-OPZ6T6IB.js";import{b as D}from"./chunk-FUVS56OX.js";import{Db as U,Ga as I,Gb as X,Ib as u,La as d,Lc as ee,Sc as A,Tb as F,Ub as _,Vb as w,Wa as O,Wb as Y,Xa as C,a as P,ab as v,b as $,ea as M,fa as y,g as pe,ha as J,ia as G,ja as f,kb as q,n as V,oa as K,pa as Q,rb as a,sb as p,tb as c,ub as g,wc as k,ya as H,yc as Z,zc as L}from"./chunk-JFGYIP5H.js";var h=pe(ue(),1);function ce(i,n){if(i&1){let s=U();p(0,"button",6),X("click",function(){K(s);let o=u();return Q(o.removeItem())}),p(1,"span",7),w(2,"\xD7"),c(),p(3,"span"),w(4,"Close"),c()()}if(i&2){let s=u();_(s.widgetStyles().__remove_item__),d(3),_(s.widgetStyles().__screen_reader__)}}function me(i,n){if(i&1&&g(0,"p",8),i&2){let s=u(2);_(s.widgetStyles().__help_block__),a("innerHTML",s.options==null?null:s.options.helpBlock,I)}}function he(i,n){if(i&1&&(p(0,"div"),v(1,me,1,3,"p",3),c()),i&2){let s=u();d(),a("ngIf",s.options==null?null:s.options.helpBlock)}}function fe(i,n){if(i&1&&g(0,"label",8),i&2){let s,t=u();_((t.options==null?null:t.options.labelHtmlClass)||""),F("sr-only",t.options==null?null:t.options.notitle),a("innerHTML",t.options==null?null:t.options.title,I),q("for","control"+((s=t.layoutNode())==null?null:s._id))}}function ge(i,n){if(i&1&&(p(0,"p")(1,"strong"),w(2,"*"),c(),w(3," = required fields "),c()),i&2){let s=u();d(),_(s.widgetStyles().__required_asterisk__)}}function _e(i,n){if(i&1&&g(0,"span",8),i&2){let s=u();_(s.widgetStyles().__field_addon_left__),a("innerHTML",s.options==null?null:s.options.fieldAddonLeft,I)}}function be(i,n){if(i&1&&g(0,"span",8),i&2){let s=u();_(s.widgetStyles().__field_addon_right__),a("innerHTML",s.options==null?null:s.options.fieldAddonRight,I)}}function ye(i,n){if(i&1&&g(0,"span",9),i&2){let s=u();F("glyphicon-ok",(s.options==null?null:s.options.enableSuccessState)&&!(s.formControl!=null&&s.formControl.errors))("glyphicon-remove",(s.options==null?null:s.options.enableErrorState)&&(s.formControl==null?null:s.formControl.errors))}}function Ce(i,n){if(i&1&&g(0,"p",8),i&2){let s=u(2);_(s.widgetStyles().__help_block__),a("innerHTML",s.options==null?null:s.options.helpBlock,I)}}function ve(i,n){if(i&1&&(p(0,"div"),v(1,Ce,1,3,"p",3),c()),i&2){let s=u();d(),a("ngIf",s.options==null?null:s.options.helpBlock)}}function ke(i,n){if(i&1&&(p(0,"div"),w(1,"debug: "),p(2,"pre"),w(3),c()()),i&2){let s=u();d(3),Y(s.debugOutput)}}var j=(()=>{let n=class n{constructor(){this.frameworkThemeSubject=new V,this.frameworkTheme$=this.frameworkThemeSubject.asObservable()}requestThemeChange(t){this.frameworkThemeSubject.next(t),this.activeRequestedTheme=t}getActiveRequestedTheme(){return this.activeRequestedTheme}};n.\u0275fac=function(o){return new(o||n)},n.\u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"});let i=n;return i})(),B=(()=>{let n=class n{applyCssClasses(t,o,e){let r=this.widgetStyles()[t];(!r||h.default.isEmpty(r))&&(r=this.widgetStyles().default),Object.keys(r).forEach(l=>{let m=r[l];m.length&&(o[l]=b(o[l],m)),e&&(o[l]=b(o[l],e))})}flattenWidgetStyles(t){var o={};let e=["__themes__"];return Object.keys(t).forEach(r=>{let l=t[r];if(e.indexOf(r)>=0){o[r]=l;return}h.default.isArray(l)&&(o[r]=l.join(" ")),h.default.isObject(l)&&(o[r]=o[r]||{},Object.keys(l).forEach(m=>{let x=l[m];h.default.isArray(x)?o[r][m]=x.join(" "):o[r][m]=x})),h.default.isString(l)&&(o[r]=l)}),o}constructor(){this.changeDetector=f(L),this.jsf=f(S),this.jsfFLService=f(T),this.cssFWService=f(j),this.frameworkInitialized=!1,this.formControl=null,this.debugOutput="",this.debug="",this.parentArray=null,this.isOrderable=!1,this.layoutNode=k(void 0),this.layoutIndex=k(void 0),this.dataIndex=k(void 0),this.widgetStyles=Z(void 0),this.defaultStyling={array:{},default:{fieldHtmlClass:"cssfw-form-control"},__themes__:[{name:"notheme",text:"None"}],__remove_item__:"cssfw-remove-item",__array_item_nonref__:{htmlClass:"cssfw-array-item-nonref"},__active__:{activeClass:"cssfw-active"},__array__:{htmlClass:"cssfw-array"},__control_label__:{labelHtmlClass:"cssfw-control-label"},__form_group__:{htmlClass:"cssfw-form-group"},__field_addon_left__:"cssfw-addon-left",__field_addon_right__:"cssfw-addon-right",__help_block__:"cssfw-help-block",__required_asterisk__:"cssfw-required-astersisk",__screen_reader__:"cssfw-screen-reader"};let t=this.cssFWService,e=this.jsfFLService.activeFramework.config||{};this.widgetStyles.set(Object.assign(this.defaultStyling,e.widgetstyles));let r=this.widgetStyles().__themes__[0],l=t.activeRequestedTheme||r.name;this.theme=this.options?.theme||l,this.frameworkThemeSubs=t.frameworkTheme$.subscribe(m=>{this.theme=m})}ngOnDestroy(){this.frameworkThemeSubs.unsubscribe(),this.frameworkThemeSubs=null}get showRemoveButton(){let t=this.layoutNode();return!this.options.removable||this.options.readonly||t.type==="$ref"?!1:t.recursiveReference?!0:!t.arrayItem||!this.parentArray||this.parentArray.items.length-1<=this.parentArray.options.minItems?!1:t.arrayItemType==="list"?!0:this.layoutIndex()[this.layoutIndex().length-1]===this.parentArray.items.length-2}ngOnInit(){this.initializeFramework();let t=this.layoutNode();t.arrayItem&&t.type!=="$ref"&&(this.parentArray=this.jsf.getParentNode(this),this.parentArray&&(this.isOrderable=t.arrayItemType==="list"&&!this.options.readonly&&this.parentArray.options.orderable))}ngOnChanges(){this.frameworkInitialized||this.initializeFramework()}initializeFramework(){let t=this.layoutNode();if(t){if(this.options=(0,h.cloneDeep)(t.options),this.widgetLayoutNode=$(P({},t),{options:(0,h.cloneDeep)(t.options)}),this.widgetOptions=this.widgetLayoutNode.options,this.formControl=this.jsf.getFormControl(this),this.options.isInputWidget=te(t.type,["button","checkbox","checkboxes-inline","checkboxes","color","date","datetime-local","datetime","email","file","hidden","image","integer","month","number","password","radio","radiobuttons","radios-inline","radios","range","reset","search","select","submit","tel","text","textarea","time","url","week"]),this.options.title=this.setTitle(),this.options.htmlClass=b(this.options.htmlClass,"schema-form-"+t.type),t.type==="array"?this.options.htmlClass=b(this.options.htmlClass,this.widgetStyles().__array__.htmlClass):t.arrayItem&&t.type!=="$ref"?this.options.htmlClass=b(this.options.htmlClass,this.widgetStyles().__array_item_nonref__.htmlClass):this.options.htmlClass=b(this.options.htmlClass,this.widgetStyles().__form_group__.htmlClass),this.widgetOptions.htmlClass="",this.options.labelHtmlClass=b(this.options.labelHtmlClass,this.widgetStyles().__control_label__.labelHtmlClass),this.widgetOptions.activeClass=b(this.widgetOptions.activeClass,this.widgetStyles().__active__.activeClass),this.options.fieldAddonLeft=this.options.fieldAddonLeft||this.options.prepend,this.options.fieldAddonRight=this.options.fieldAddonRight||this.options.append,this.options.title&&t.type!=="tab"&&!this.options.notitle&&this.options.required&&!this.options.title.includes("*")){let o=this.widgetStyles().__required_asterisk__||"text-danger";this.options.title+=` <strong class="${o}">*</strong>`}if(t.type=="optionfieldset"&&(this.options.messageLocation="top"),this.applyCssClasses(t.type,this.widgetOptions,this.options.style),this.formControl&&(this.updateHelpBlock(this.formControl.status),this.formControl.statusChanges.subscribe(o=>this.updateHelpBlock(o)),this.options.debug)){let o=[];this.debugOutput=(0,h.map)(o,e=>JSON.stringify(e,null,2)).join(`
1
+ import{M as ne,P as oe,a as ue,b as R,c as te,d as b,e as S,f as ie,g as E,h as T,i as W,j as N}from"./chunk-PW42N7TW.js";import{b as D}from"./chunk-2FZPXF6E.js";import{Bc as L,Db as U,Ga as I,Gb as X,Ib as u,La as d,Nc as ee,Tb as F,Ub as _,Uc as A,Vb as w,Wa as O,Wb as Y,Xa as C,a as P,ab as v,b as $,ea as M,fa as y,g as pe,ha as J,ia as G,ja as f,kb as q,n as V,oa as K,pa as Q,rb as a,sb as p,tb as c,ub as g,xc as k,ya as H,zc as Z}from"./chunk-3SCINSZK.js";var h=pe(ue(),1);function ce(i,n){if(i&1){let s=U();p(0,"button",6),X("click",function(){K(s);let o=u();return Q(o.removeItem())}),p(1,"span",7),w(2,"\xD7"),c(),p(3,"span"),w(4,"Close"),c()()}if(i&2){let s=u();_(s.widgetStyles().__remove_item__),d(3),_(s.widgetStyles().__screen_reader__)}}function me(i,n){if(i&1&&g(0,"p",8),i&2){let s=u(2);_(s.widgetStyles().__help_block__),a("innerHTML",s.options==null?null:s.options.helpBlock,I)}}function he(i,n){if(i&1&&(p(0,"div"),v(1,me,1,3,"p",3),c()),i&2){let s=u();d(),a("ngIf",s.options==null?null:s.options.helpBlock)}}function fe(i,n){if(i&1&&g(0,"label",8),i&2){let s,t=u();_((t.options==null?null:t.options.labelHtmlClass)||""),F("sr-only",t.options==null?null:t.options.notitle),a("innerHTML",t.options==null?null:t.options.title,I),q("for","control"+((s=t.layoutNode())==null?null:s._id))}}function ge(i,n){if(i&1&&(p(0,"p")(1,"strong"),w(2,"*"),c(),w(3," = required fields "),c()),i&2){let s=u();d(),_(s.widgetStyles().__required_asterisk__)}}function _e(i,n){if(i&1&&g(0,"span",8),i&2){let s=u();_(s.widgetStyles().__field_addon_left__),a("innerHTML",s.options==null?null:s.options.fieldAddonLeft,I)}}function be(i,n){if(i&1&&g(0,"span",8),i&2){let s=u();_(s.widgetStyles().__field_addon_right__),a("innerHTML",s.options==null?null:s.options.fieldAddonRight,I)}}function ye(i,n){if(i&1&&g(0,"span",9),i&2){let s=u();F("glyphicon-ok",(s.options==null?null:s.options.enableSuccessState)&&!(s.formControl!=null&&s.formControl.errors))("glyphicon-remove",(s.options==null?null:s.options.enableErrorState)&&(s.formControl==null?null:s.formControl.errors))}}function Ce(i,n){if(i&1&&g(0,"p",8),i&2){let s=u(2);_(s.widgetStyles().__help_block__),a("innerHTML",s.options==null?null:s.options.helpBlock,I)}}function ve(i,n){if(i&1&&(p(0,"div"),v(1,Ce,1,3,"p",3),c()),i&2){let s=u();d(),a("ngIf",s.options==null?null:s.options.helpBlock)}}function ke(i,n){if(i&1&&(p(0,"div"),w(1,"debug: "),p(2,"pre"),w(3),c()()),i&2){let s=u();d(3),Y(s.debugOutput)}}var j=(()=>{let n=class n{constructor(){this.frameworkThemeSubject=new V,this.frameworkTheme$=this.frameworkThemeSubject.asObservable()}requestThemeChange(t){this.frameworkThemeSubject.next(t),this.activeRequestedTheme=t}getActiveRequestedTheme(){return this.activeRequestedTheme}};n.\u0275fac=function(o){return new(o||n)},n.\u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"});let i=n;return i})(),B=(()=>{let n=class n{applyCssClasses(t,o,e){let r=this.widgetStyles()[t];(!r||h.default.isEmpty(r))&&(r=this.widgetStyles().default),Object.keys(r).forEach(l=>{let m=r[l];m.length&&(o[l]=b(o[l],m)),e&&(o[l]=b(o[l],e))})}flattenWidgetStyles(t){var o={};let e=["__themes__"];return Object.keys(t).forEach(r=>{let l=t[r];if(e.indexOf(r)>=0){o[r]=l;return}h.default.isArray(l)&&(o[r]=l.join(" ")),h.default.isObject(l)&&(o[r]=o[r]||{},Object.keys(l).forEach(m=>{let x=l[m];h.default.isArray(x)?o[r][m]=x.join(" "):o[r][m]=x})),h.default.isString(l)&&(o[r]=l)}),o}constructor(){this.changeDetector=f(L),this.jsf=f(S),this.jsfFLService=f(T),this.cssFWService=f(j),this.frameworkInitialized=!1,this.formControl=null,this.debugOutput="",this.debug="",this.parentArray=null,this.isOrderable=!1,this.layoutNode=k(void 0),this.layoutIndex=k(void 0),this.dataIndex=k(void 0),this.widgetStyles=Z(void 0),this.defaultStyling={array:{},default:{fieldHtmlClass:"cssfw-form-control"},__themes__:[{name:"notheme",text:"None"}],__remove_item__:"cssfw-remove-item",__array_item_nonref__:{htmlClass:"cssfw-array-item-nonref"},__active__:{activeClass:"cssfw-active"},__array__:{htmlClass:"cssfw-array"},__control_label__:{labelHtmlClass:"cssfw-control-label"},__form_group__:{htmlClass:"cssfw-form-group"},__field_addon_left__:"cssfw-addon-left",__field_addon_right__:"cssfw-addon-right",__help_block__:"cssfw-help-block",__required_asterisk__:"cssfw-required-astersisk",__screen_reader__:"cssfw-screen-reader"};let t=this.cssFWService,e=this.jsfFLService.activeFramework.config||{};this.widgetStyles.set(Object.assign(this.defaultStyling,e.widgetstyles));let r=this.widgetStyles().__themes__[0],l=t.activeRequestedTheme||r.name;this.theme=this.options?.theme||l,this.frameworkThemeSubs=t.frameworkTheme$.subscribe(m=>{this.theme=m})}ngOnDestroy(){this.frameworkThemeSubs.unsubscribe(),this.frameworkThemeSubs=null}get showRemoveButton(){let t=this.layoutNode();return!this.options.removable||this.options.readonly||t.type==="$ref"?!1:t.recursiveReference?!0:!t.arrayItem||!this.parentArray||this.parentArray.items.length-1<=this.parentArray.options.minItems?!1:t.arrayItemType==="list"?!0:this.layoutIndex()[this.layoutIndex().length-1]===this.parentArray.items.length-2}ngOnInit(){this.initializeFramework();let t=this.layoutNode();t.arrayItem&&t.type!=="$ref"&&(this.parentArray=this.jsf.getParentNode(this),this.parentArray&&(this.isOrderable=t.arrayItemType==="list"&&!this.options.readonly&&this.parentArray.options.orderable))}ngOnChanges(){this.frameworkInitialized||this.initializeFramework()}initializeFramework(){let t=this.layoutNode();if(t){if(this.options=(0,h.cloneDeep)(t.options),this.widgetLayoutNode=$(P({},t),{options:(0,h.cloneDeep)(t.options)}),this.widgetOptions=this.widgetLayoutNode.options,this.formControl=this.jsf.getFormControl(this),this.options.isInputWidget=te(t.type,["button","checkbox","checkboxes-inline","checkboxes","color","date","datetime-local","datetime","email","file","hidden","image","integer","month","number","password","radio","radiobuttons","radios-inline","radios","range","reset","search","select","submit","tel","text","textarea","time","url","week"]),this.options.title=this.setTitle(),this.options.htmlClass=b(this.options.htmlClass,"schema-form-"+t.type),t.type==="array"?this.options.htmlClass=b(this.options.htmlClass,this.widgetStyles().__array__.htmlClass):t.arrayItem&&t.type!=="$ref"?this.options.htmlClass=b(this.options.htmlClass,this.widgetStyles().__array_item_nonref__.htmlClass):this.options.htmlClass=b(this.options.htmlClass,this.widgetStyles().__form_group__.htmlClass),this.widgetOptions.htmlClass="",this.options.labelHtmlClass=b(this.options.labelHtmlClass,this.widgetStyles().__control_label__.labelHtmlClass),this.widgetOptions.activeClass=b(this.widgetOptions.activeClass,this.widgetStyles().__active__.activeClass),this.options.fieldAddonLeft=this.options.fieldAddonLeft||this.options.prepend,this.options.fieldAddonRight=this.options.fieldAddonRight||this.options.append,this.options.title&&t.type!=="tab"&&!this.options.notitle&&this.options.required&&!this.options.title.includes("*")){let o=this.widgetStyles().__required_asterisk__||"text-danger";this.options.title+=` <strong class="${o}">*</strong>`}if(t.type=="optionfieldset"&&(this.options.messageLocation="top"),this.applyCssClasses(t.type,this.widgetOptions,this.options.style),this.formControl&&(this.updateHelpBlock(this.formControl.status),this.formControl.statusChanges.subscribe(o=>this.updateHelpBlock(o)),this.options.debug)){let o=[];this.debugOutput=(0,h.map)(o,e=>JSON.stringify(e,null,2)).join(`
2
2
  `)}this.frameworkInitialized=!0}}updateHelpBlock(t){this.options.helpBlock=t==="INVALID"&&this.options.enableErrorState&&this.formControl.errors&&(this.formControl.dirty||this.options.feedbackOnRender)?this.jsf.formatErrors(this.formControl.errors,this.options.validationMessages):this.options.description||this.options.help||null}setTitle(){switch(this.layoutNode().type){case"button":case"checkbox":case"section":case"help":case"msg":case"submit":case"message":case"tabarray":case"tabs":case"$ref":return null;case"advancedfieldset":return this.widgetOptions.expandable=!0,this.widgetOptions.title="Advanced options",null;case"authfieldset":return this.widgetOptions.expandable=!0,this.widgetOptions.title="Authentication settings",null;case"fieldset":return this.widgetOptions.title=this.options.title,null;case"array":return this.widgetOptions.title=this.options.title,null;default:return this.widgetOptions.title=null,this.jsf.setItemTitle(this)}}removeItem(){this.jsf.removeItem(this)}};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=O({type:n,selectors:[["css-framework"]],inputs:{layoutNode:[1,"layoutNode"],layoutIndex:[1,"layoutIndex"],dataIndex:[1,"dataIndex"],widgetStyles:[1,"widgetStyles"]},outputs:{widgetStyles:"widgetStylesChange"},standalone:!1,features:[H],decls:12,vars:24,consts:[["type","button",3,"class","click",4,"ngIf"],[4,"ngIf"],[3,"class","sr-only","innerHTML",4,"ngIf"],[3,"class","innerHTML",4,"ngIf"],[3,"layoutNode","dataIndex","layoutIndex"],["aria-hidden","true","class","form-control-feedback glyphicon",3,"glyphicon-ok","glyphicon-remove",4,"ngIf"],["type","button",3,"click"],["aria-hidden","true"],[3,"innerHTML"],["aria-hidden","true",1,"form-control-feedback","glyphicon"]],template:function(o,e){if(o&1&&(p(0,"div"),v(1,ce,5,4,"button",0)(2,he,2,1,"div",1)(3,fe,1,6,"label",2)(4,ge,4,2,"p",1),p(5,"div"),v(6,_e,1,3,"span",3),g(7,"select-widget-widget",4),v(8,be,1,3,"span",3),c(),v(9,ye,1,4,"span",5)(10,ve,2,1,"div",1),c(),v(11,ke,4,1,"div",1)),o&2){let r,l,m,x;_((e.options==null?null:e.options.htmlClass)||""),F("has-feedback",(e.options==null?null:e.options.feedback)&&(e.options==null?null:e.options.isInputWidget)&&((e.formControl==null?null:e.formControl.dirty)||(e.options==null?null:e.options.feedbackOnRender)))("has-error",(e.options==null?null:e.options.enableErrorState)&&(e.formControl==null?null:e.formControl.errors)&&((e.formControl==null?null:e.formControl.dirty)||(e.options==null?null:e.options.feedbackOnRender)))("has-success",(e.options==null?null:e.options.enableSuccessState)&&!(e.formControl!=null&&e.formControl.errors)&&((e.formControl==null?null:e.formControl.dirty)||(e.options==null?null:e.options.feedbackOnRender))),q("data-bs-theme",e.theme)("data-theme",e.theme),d(),a("ngIf",e.showRemoveButton),d(),a("ngIf",(e.options==null?null:e.options.messageLocation)==="top"&&((r=e.layoutNode())==null?null:r.type)!=="array"),d(),a("ngIf",(e.options==null?null:e.options.title)&&((l=e.layoutNode())==null?null:l.type)!=="tab"&&((l=e.layoutNode())==null?null:l.type)!=="array"),d(),a("ngIf",((m=e.layoutNode())==null?null:m.type)==="submit"&&(e.jsf==null||e.jsf.formOptions==null?null:e.jsf.formOptions.fieldsRequired)),d(),F("input-group",(e.options==null?null:e.options.fieldAddonLeft)||(e.options==null?null:e.options.fieldAddonRight)),d(),a("ngIf",e.options==null?null:e.options.fieldAddonLeft),d(),a("layoutNode",e.widgetLayoutNode)("dataIndex",e.dataIndex())("layoutIndex",e.layoutIndex()),d(),a("ngIf",e.options==null?null:e.options.fieldAddonRight),d(),a("ngIf",(e.options==null?null:e.options.feedback)&&(e.options==null?null:e.options.isInputWidget)&&!(e.options!=null&&e.options.fieldAddonRight)&&!e.layoutNode().arrayItem&&((e.formControl==null?null:e.formControl.dirty)||(e.options==null?null:e.options.feedbackOnRender))),d(),a("ngIf",(e.options==null?null:e.options.messageLocation)!=="top"&&((x=e.layoutNode())==null?null:x.type)!=="array"),d(),a("ngIf",e.debug&&e.debugOutput)}},dependencies:[ie,ee],styles:[`:host ::ng-deep .list-group-item .form-control-feedback{top:40px}:host ::ng-deep .checkbox,:host ::ng-deep .radio{margin-top:0;margin-bottom:0}:host ::ng-deep .checkbox-inline,:host ::ng-deep .checkbox-inline+.checkbox-inline,:host ::ng-deep .checkbox-inline+.radio-inline,:host ::ng-deep .radio-inline,:host ::ng-deep .radio-inline+.radio-inline,:host ::ng-deep .radio-inline+.checkbox-inline{margin-left:0;margin-right:10px}:host ::ng-deep .checkbox-inline:last-child,:host ::ng-deep .radio-inline:last-child{margin-right:0}:host ::ng-deep .ng-invalid.ng-touched{border:1px solid #f44336}.checkbox-inline,.checkbox-inline+.checkbox-inline,.checkbox-inline+.radio-inline,.radio-inline,.radio-inline+.radio-inline,.radio-inline+.checkbox-inline{margin-left:0;margin-right:10px}.checkbox-inline:last-child,.radio-inline:last-child{margin-right:0}.ng-invalid.ng-touched{border:1px solid #f44336}
3
3
  `],encapsulation:2});let i=n;return i})(),we=new J("CSS_FRAMEWORK_CFG"),se;(function(i){class n{}i.csscategories=n})(se||(se={}));var le=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=C({type:n}),n.\u0275inj=y({providers:[S,T,E,j],imports:[N,A,W]});let i=n;return i})(),re=(()=>{let n=class n extends R{constructor(t){super(),this.cssFWService=f(j),this.name="css",this.framework=B,this.name=t.name,this.text=t.text||this.name,this.stylesheets=t.stylesheets,this.scripts=t.scripts,this.config=t,this.widgets=t.widgets}getActiveTheme(){let t=this.cssFWService.getActiveRequestedTheme(),o=this.config?.widgetstyles?.__themes__,e=o&&o[0];if(t&&(e={name:t,text:t},o)){let r=o.filter(l=>l.name==t);e=r&&r[0]||e}return e}requestThemeChange(t){this.cssFWService.requestThemeChange(t)}registerTheme(t,o=!0){let r=(this.config?.widgetstyles?.__themes__||[]).filter(l=>t.name==l.name);if(r&&r[0]){if(o)return r[0].text=t.text,!0;if(!o)return!1}if(!r||r.length==0){let l=this.config;return l.widgetstyles=this.config.widgetstyles||{},l.widgetstyles.__themes__=l.widgetstyles.__themes__||[],l.widgetstyles.__themes__.push(t),!0}}unregisterTheme(t){let o=this.config?.widgetstyles?.__themes__,e=-1;return o&&(o.forEach((r,l)=>{t==r.name&&(e=l)}),e>=0)?(o.splice(e,1),!0):!1}getConfig(){return this.config}};n.\u0275fac=function(o){return new(o||n)(G(we))},n.\u0275prov=M({token:n,factory:n.\u0275fac});let i=n;return i})();var Ie=(()=>{let n=class n{constructor(){this.changeDetector=f(L),this.jsf=f(S),this.frameworkInitialized=!1,this.formControl=null,this.debugOutput="",this.debug="",this.parentArray=null,this.isOrderable=!1,this.layoutNode=k(void 0),this.layoutIndex=k(void 0),this.dataIndex=k(void 0)}ngOnInit(){}ngOnChanges(){}};n.\u0275fac=function(o){return new(o||n)},n.\u0275cmp=O({type:n,selectors:[["bootstrap-5-framework"]],inputs:{layoutNode:[1,"layoutNode"],layoutIndex:[1,"layoutIndex"],dataIndex:[1,"dataIndex"]},standalone:!1,features:[H],decls:2,vars:3,consts:[[3,"layoutNode","layoutIndex","dataIndex"]],template:function(o,e){o&1&&(p(0,"div"),g(1,"css-framework",0),c()),o&2&&(d(),a("layoutNode",e.layoutNode())("layoutIndex",e.layoutIndex())("dataIndex",e.dataIndex()))},dependencies:[B],styles:[`:host ::ng-deep .list-group-item .list-group-item-hb .form-control-feedback{top:40px}:host ::ng-deep .checkbox,:host ::ng-deep .radio{margin-top:0;margin-bottom:0}:host ::ng-deep .checkbox-inline,:host ::ng-deep .checkbox-inline+.checkbox-inline,:host ::ng-deep .checkbox-inline+.radio-inline,:host ::ng-deep .radio-inline,:host ::ng-deep .radio-inline+.radio-inline,:host ::ng-deep .radio-inline+.checkbox-inline{margin-left:0;margin-right:10px}:host ::ng-deep .checkbox-inline:last-child,:host ::ng-deep .radio-inline:last-child{margin-right:0}:host ::ng-deep .ng-invalid.ng-touched{border:1px solid #f44336}.input-group .form-control:first-child,.input-group-text:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.input-group-text:first-child{border-right:0}.input-group .form-control:last-child,.input-group-text:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-text:last-child{border-left:0}.input-group .form-control:not(:first-child):not(:last-child),.input-group-text:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.btn-close>span:first-child{display:none}
4
4
  `],encapsulation:2});let i=n;return i})(),Se={name:"bootstrap-5",text:"Bootstrap 5",scripts:["//cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"],stylesheets:["//cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"],widgetstyles:{__themes__:[{name:"bootstrap5_default",text:"Bootstrap5 default"},{name:"dark",text:"Dark"},{name:"light",text:"Light"}],$ref:{fieldHtmlClass:"btn btn-primary"},__array_item_nonref__:{htmlClass:"list-group-item list-group-item-hb"},__form_group__:{htmlClass:"form-group"},__control_label__:{labelHtmlClass:"control-label"},__active__:{activeClass:"active"},__required_asterisk__:"text-danger",__screen_reader__:"visually-hidden",__remove_item__:"btn-close float-end",__help_block__:"help-block grey-text small",__field_addon_left__:"input-group-text",__field_addon_right__:"input-group-text","alt-date":{},"alt-datetime":{},__array__:{htmlClass:"list-group list-group-hb"},array:{},authfieldset:{},advancedfieldset:{},button:{fieldHtmlClass:"btn btn-sm btn-primary"},checkbox:{fieldHtmlClass:"form-check-input"},checkboxes:{fieldHtmlClass:"form-check-input"},checkboxbuttons:{fieldHtmlClass:"visually-hidden",htmlClass:"btn-group",itemLabelHtmlClass:"btn"},"checkboxes-inline":{htmlClass:"form-check-input",itemLabelHtmlClass:"form-check-inline"},date:{},"datetime-local":{},fieldset:{},integer:{},number:{},optionfieldset:{},password:{},radiobuttons:{fieldHtmlClass:"visually-hidden",htmlClass:"btn-group",itemLabelHtmlClass:"btn"},radio:{fieldHtmlClass:"form-check-input"},radios:{fieldHtmlClass:"form-check-input"},"radios-inline":{htmlClass:"form-check form-check-inline",itemLabelHtmlClass:"form-check-label"},range:{},section:{},selectfieldset:{},select:{fieldHtmlClass:"form-select"},submit:{fieldHtmlClass:"btn btn-primary"},text:{},tabs:{labelHtmlClass:"nav nav-tabs",htmlClass:"tab-content",fieldHtmlClass:"tab-pane",widget_radioClass:"form-check-input"},tabarray:{labelHtmlClass:"nav nav-tabs",htmlClass:"tab-content",fieldHtmlClass:"tab-pane",widget_radioClass:"form-check-input"},"one-of":{labelHtmlClass:"nav nav-tabs",htmlClass:"tab-content",fieldHtmlClass:"tab-pane",widget_radioClass:"form-check-input"},textarea:{},default:{fieldHtmlClass:"form-control"}}},Me=(()=>{let n=class n extends re{constructor(){let t=f(j);super(Se),this.framework=Ie,this.cssFWService=t}};n.\u0275fac=function(o){return new(o||n)},n.\u0275prov=M({token:n,factory:n.\u0275fac});let i=n;return i})(),ae=(()=>{let n=class n{};n.\u0275fac=function(o){return new(o||n)},n.\u0275mod=C({type:n}),n.\u0275inj=y({providers:[S,T,E,{provide:R,useClass:Me,multi:!0}],imports:[N,A,W,le,N]});let i=n;return i})();var de=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=C({type:i});static \u0275inj=y({providers:[ne],imports:[ae,D]})}return i})();var it=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=C({type:i});static \u0275inj=y({providers:[oe],imports:[D,de]})}return i})();export{it as a};
@@ -1 +1 @@
1
- import{h as r}from"./chunk-U4DWGYFO.js";import{Xa as e,fa as t}from"./chunk-JFGYIP5H.js";var u=[{path:"",loadComponent:()=>import("./chunk-73JUFZT3.js").then(o=>o.LogsComponent)}],n=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e({type:o});static \u0275inj=t({imports:[r.forChild(u),r]})}return o})();var p=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e({type:o});static \u0275inj=t({imports:[n]})}return o})();export{p as LogsModule};
1
+ import{h as r}from"./chunk-Z5SXR7XM.js";import{Xa as e,fa as t}from"./chunk-3SCINSZK.js";var u=[{path:"",loadComponent:()=>import("./chunk-OISGHRTF.js").then(o=>o.LogsComponent)}],n=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e({type:o});static \u0275inj=t({imports:[r.forChild(u),r]})}return o})();var p=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=e({type:o});static \u0275inj=t({imports:[n]})}return o})();export{p as LogsModule};
@@ -1 +1 @@
1
- import{a as _}from"./chunk-MDFWWAA2.js";import{a as E}from"./chunk-LZXK6H7U.js";import"./chunk-DDJRQ3JG.js";import"./chunk-LBEK4I2C.js";import"./chunk-654FSKAV.js";import"./chunk-QRGPJA4F.js";import"./chunk-VA5R76B4.js";import"./chunk-7HBESSM4.js";import{b as S}from"./chunk-IJ57RLQG.js";import{k as w,l as C}from"./chunk-FYMWBUO7.js";import{Gb as v,Ka as o,La as c,Pb as f,Qb as g,Vb as p,Wa as u,Wb as T,ja as r,mc as y,n as d,nc as $,vb as l,wb as m,xb as h,xc as b}from"./chunk-JFGYIP5H.js";var B=["terminaloutput"],G=(()=>{class a{$terminal=r(E);$settings=r(S);$navigationGuard=r(_);$translate=r(w);resizeEvent=new d;termTarget=b("terminaloutput");onWindowResize(){this.resizeEvent.next(void 0)}onBeforeUnload(i){return this.$navigationGuard.handleBeforeUnload(i)}onWindowFocus(){this.activateTerminal()}onClick(){this.activateTerminal()}activateTerminal(){this.$terminal.isTerminalReady()&&this.$terminal.term&&this.$terminal.term.focus()}ngOnInit(){let i=this.$translate.instant("menu.linux.label_terminal");this.$settings.setPageTitle(i),window.document.querySelector("body").classList.add("bg-black"),this.$terminal.isTerminalReady()&&this.$terminal.destroyTerminal(),this.$settings.env.terminal?.persistence&&this.$terminal.hasActiveSession()?this.$terminal.reconnectTerminal(this.termTarget(),{},this.resizeEvent):(!this.$settings.env.terminal?.persistence&&this.$terminal.hasActiveSession()&&this.$terminal.destroyPersistentSession(),this.$terminal.startTerminal(this.termTarget(),{},this.resizeEvent)),setTimeout(()=>{this.activateTerminal()},100)}ngAfterViewInit(){document.addEventListener("visibilitychange",this.onVisibilityChange.bind(this))}onVisibilityChange(){!document.hidden&&this.$terminal.isTerminalReady()&&setTimeout(()=>{this.activateTerminal()},100)}canDeactivate(){return this.$navigationGuard.canDeactivate()}ngOnDestroy(){document.removeEventListener("visibilitychange",this.onVisibilityChange.bind(this)),window.document.querySelector("body").classList.remove("bg-black"),this.$settings.env.terminal?.persistence?this.$terminal.detachTerminal():this.$terminal.destroyPersistentSession()}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=u({type:a,selectors:[["ng-component"]],viewQuery:function(e,t){e&1&&f(t.termTarget,B,5),e&2&&g()},hostBindings:function(e,t){e&1&&v("resize",function(n){return t.onWindowResize(n)},o)("beforeunload",function(n){return t.onBeforeUnload(n)},o)("focus",function(n){return t.onWindowFocus(n)},o)("click",function(n){return t.onClick(n)})},decls:8,vars:3,consts:[["terminaloutput",""],[1,"row","mb-3"],[1,"col-12"],[1,"primary-text","m-0"],[1,"flex-column","d-flex","align-items-stretch","adjust-for-mobile"],["id","docker-terminal",1,"align-self-end","w-100","h-100","mb-1"]],template:function(e,t){e&1&&(l(0,"div",1)(1,"div",2)(2,"h3",3),p(3),y(4,"translate"),m()()(),l(5,"div",4),h(6,"div",5,0),m()),e&2&&(c(3),T($(4,1,"menu.linux.label_terminal")))},dependencies:[C],encapsulation:2})}return a})();export{G as TerminalComponent};
1
+ import{a as _}from"./chunk-FEK3NRZH.js";import{a as E}from"./chunk-5WCKLLH6.js";import"./chunk-RWGYAZ5Z.js";import"./chunk-4SJ7LVRB.js";import"./chunk-YNDC5MZW.js";import"./chunk-NKX7JONP.js";import"./chunk-5YQJFB37.js";import"./chunk-PWTIH4WJ.js";import{b as S}from"./chunk-TUKDK3NJ.js";import{k as w,l as C}from"./chunk-AVLU4OBB.js";import{Gb as v,Ka as o,La as c,Pb as f,Qb as g,Vb as p,Wa as u,Wb as T,ja as r,n as d,nc as y,oc as $,vb as l,wb as m,xb as h,yc as b}from"./chunk-3SCINSZK.js";var B=["terminaloutput"],G=(()=>{class a{$terminal=r(E);$settings=r(S);$navigationGuard=r(_);$translate=r(w);resizeEvent=new d;termTarget=b("terminaloutput");onWindowResize(){this.resizeEvent.next(void 0)}onBeforeUnload(i){return this.$navigationGuard.handleBeforeUnload(i)}onWindowFocus(){this.activateTerminal()}onClick(){this.activateTerminal()}activateTerminal(){this.$terminal.isTerminalReady()&&this.$terminal.term&&this.$terminal.term.focus()}ngOnInit(){let i=this.$translate.instant("menu.linux.label_terminal");this.$settings.setPageTitle(i),window.document.querySelector("body").classList.add("bg-black"),this.$terminal.isTerminalReady()&&this.$terminal.destroyTerminal(),this.$settings.env.terminal?.persistence&&this.$terminal.hasActiveSession()?this.$terminal.reconnectTerminal(this.termTarget(),{},this.resizeEvent):(!this.$settings.env.terminal?.persistence&&this.$terminal.hasActiveSession()&&this.$terminal.destroyPersistentSession(),this.$terminal.startTerminal(this.termTarget(),{},this.resizeEvent)),setTimeout(()=>{this.activateTerminal()},100)}ngAfterViewInit(){document.addEventListener("visibilitychange",this.onVisibilityChange.bind(this))}onVisibilityChange(){!document.hidden&&this.$terminal.isTerminalReady()&&setTimeout(()=>{this.activateTerminal()},100)}canDeactivate(){return this.$navigationGuard.canDeactivate()}ngOnDestroy(){document.removeEventListener("visibilitychange",this.onVisibilityChange.bind(this)),window.document.querySelector("body").classList.remove("bg-black"),this.$settings.env.terminal?.persistence?this.$terminal.detachTerminal():this.$terminal.destroyPersistentSession()}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=u({type:a,selectors:[["ng-component"]],viewQuery:function(e,t){e&1&&f(t.termTarget,B,5),e&2&&g()},hostBindings:function(e,t){e&1&&v("resize",function(n){return t.onWindowResize(n)},o)("beforeunload",function(n){return t.onBeforeUnload(n)},o)("focus",function(n){return t.onWindowFocus(n)},o)("click",function(n){return t.onClick(n)})},decls:8,vars:3,consts:[["terminaloutput",""],[1,"row","mb-3"],[1,"col-12"],[1,"primary-text","m-0"],[1,"flex-column","d-flex","align-items-stretch","adjust-for-mobile"],["id","docker-terminal",1,"align-self-end","w-100","h-100","mb-1"]],template:function(e,t){e&1&&(l(0,"div",1)(1,"div",2)(2,"h3",3),p(3),y(4,"translate"),m()()(),l(5,"div",4),h(6,"div",5,0),m()),e&2&&(c(3),T($(4,1,"menu.linux.label_terminal")))},dependencies:[C],encapsulation:2})}return a})();export{G as TerminalComponent};