homebridge-config-ui-x 5.11.3-alpha.3 → 5.11.3-alpha.4

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 (58) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/package.json +1 -1
  3. package/public/{chunk-SXHSYFAC.js → chunk-26MZYMYT.js} +1 -1
  4. package/public/{chunk-7TKN5NB2.js → chunk-3B7LJYJ7.js} +1 -1
  5. package/public/{chunk-FLXBALMU.js → chunk-3GIEAFR7.js} +1 -1
  6. package/public/{chunk-IR7XCQOY.js → chunk-3MCZNS7Q.js} +1 -1
  7. package/public/{chunk-VECCZZAO.js → chunk-4NXMGOVZ.js} +1 -1
  8. package/public/{chunk-OLWWR5SK.js → chunk-4P7VVM4J.js} +1 -1
  9. package/public/{chunk-L7WPLLRL.js → chunk-4ZVRZJUG.js} +1 -1
  10. package/public/{chunk-DM6O6Z44.js → chunk-6KARJMOH.js} +1 -1
  11. package/public/{chunk-YP5WCUYV.js → chunk-7EEBEMER.js} +1 -1
  12. package/public/{chunk-VNYCSQMU.js → chunk-AN6LOLOH.js} +1 -1
  13. package/public/{chunk-U6YE5QTN.js → chunk-B76BC5JA.js} +1 -1
  14. package/public/{chunk-3R5JSBG5.js → chunk-BA566FN3.js} +1 -1
  15. package/public/{chunk-LXMQGNJA.js → chunk-BTMPU4JQ.js} +1 -1
  16. package/public/{chunk-7FVUSPTS.js → chunk-BV7SC4PZ.js} +1 -1
  17. package/public/{chunk-56AOPL73.js → chunk-C2LNKETT.js} +1 -1
  18. package/public/{chunk-IG663MV4.js → chunk-CLZYS34R.js} +1 -1
  19. package/public/{chunk-N225T3OY.js → chunk-CTT2JOIF.js} +1 -1
  20. package/public/{chunk-J4TPCWFM.js → chunk-D2XKJFZX.js} +1 -1
  21. package/public/{chunk-4YC2JT5Q.js → chunk-DU43V6SL.js} +1 -1
  22. package/public/{chunk-OLTM37KP.js → chunk-E44OCQUY.js} +1 -1
  23. package/public/{chunk-MBSISVHI.js → chunk-EJ5V7YHW.js} +1 -1
  24. package/public/{chunk-HB4IMLDG.js → chunk-F2AZCSYO.js} +1 -1
  25. package/public/{chunk-4ILRK6OU.js → chunk-FNOCIPQY.js} +1 -1
  26. package/public/chunk-GAGIBHRL.js +4 -0
  27. package/public/{chunk-LZRA3D5F.js → chunk-GXLASHOQ.js} +1 -1
  28. package/public/{chunk-NEOJWTDW.js → chunk-GZJUTGQO.js} +1 -1
  29. package/public/{chunk-FMKJX3SG.js → chunk-HO3BCZDO.js} +1 -1
  30. package/public/{chunk-YY2SVKVF.js → chunk-JNV4KR4Q.js} +1 -1
  31. package/public/{chunk-ATASJDAJ.js → chunk-KOKWETTN.js} +1 -1
  32. package/public/{chunk-REXPOWCN.js → chunk-KTPY3E3O.js} +1 -1
  33. package/public/{chunk-XIK5D4TC.js → chunk-L4R362JD.js} +1 -1
  34. package/public/{chunk-T5JVIY7Z.js → chunk-NZKH4EF3.js} +1 -1
  35. package/public/{chunk-OS73YPKE.js → chunk-O4M2I2OG.js} +1 -1
  36. package/public/{chunk-TLCHLREA.js → chunk-PLIFSOWL.js} +1 -1
  37. package/public/{chunk-QKXFRCM6.js → chunk-Q4MYCARM.js} +1 -1
  38. package/public/{chunk-WNU5TJUL.js → chunk-QPM4JTGY.js} +1 -1
  39. package/public/{chunk-SURJNEQ7.js → chunk-QQ26P7ID.js} +1 -1
  40. package/public/{chunk-K5WK3CIZ.js → chunk-RKOIYFNB.js} +1 -1
  41. package/public/{chunk-XZCUECHN.js → chunk-SFWPPCVW.js} +1 -1
  42. package/public/{chunk-SGNUUIY3.js → chunk-T3K6SE2L.js} +1 -1
  43. package/public/{chunk-BQNXCAZG.js → chunk-TFQIT6A5.js} +1 -1
  44. package/public/{chunk-FVS7OKLJ.js → chunk-TMU6BRNU.js} +1 -1
  45. package/public/{chunk-UUKCVNSF.js → chunk-TVJ62FKL.js} +1 -1
  46. package/public/{chunk-5QD5JN5Z.js → chunk-U7W5NIWU.js} +1 -1
  47. package/public/{chunk-BQMHMGWF.js → chunk-UUOV3S2G.js} +1 -1
  48. package/public/{chunk-NCA3TUR7.js → chunk-UZIHZ27B.js} +1 -1
  49. package/public/{chunk-5KVGWOJB.js → chunk-V5YS4I4H.js} +1 -1
  50. package/public/{chunk-WEAGF5CI.js → chunk-VDHLKCN6.js} +1 -1
  51. package/public/{chunk-PU7P44L6.js → chunk-VQW3VBAG.js} +1 -1
  52. package/public/{chunk-FBATDVOX.js → chunk-VUOSQPBI.js} +1 -1
  53. package/public/{chunk-PLDBZ3DQ.js → chunk-XPA7WABF.js} +1 -1
  54. package/public/{chunk-EFSGK4AA.js → chunk-XVDBUQ5U.js} +1 -1
  55. package/public/{chunk-MBYSNV75.js → chunk-YHJIWGXV.js} +1 -1
  56. package/public/index.html +1 -1
  57. package/public/{main-GWYT3L2W.js → main-O7KMIMCK.js} +1 -1
  58. package/public/chunk-RFT6CPEK.js +0 -4
@@ -1 +1 @@
1
- import{k as v,l as E,n as _,q as h}from"./chunk-XIK5D4TC.js";import{$b as a,Ab as i,Bb as e,Cb as f,Nb as u,Qa as n,_b as o,db as d,na as l,qb as c,rb as x,rc as p,sc as s}from"./chunk-ZRDN4L2J.js";function y(t,w){if(t&1&&(i(0,"div",7),o(1),e()),t&2){let r=u();n(),a(r.error)}}function C(t,w){t&1&&(i(0,"p",8),o(1),p(2,"translate"),e()),t&2&&(n(),a(s(2,1,"platform.linux.server_will_power_down")))}var B=(()=>{class t{$api=l(h);$toastr=l(_);$translate=l(v);error=!1;ngOnInit(){this.$api.put("/platform-tools/linux/shutdown-host",{}).subscribe({error:r=>{console.error(r),this.error=this.$translate.instant("platform.linux.server_restart_error"),this.$toastr.error(this.$translate.instant("platform.linux.server_restart_error"),this.$translate.instant("toast.title_error"))}})}static \u0275fac=function(m){return new(m||t)};static \u0275cmp=d({type:t,selectors:[["ng-component"]],decls:13,vars:7,consts:[[1,"d-flex","justify-content-between"],[1,"primary-text","m-0"],[1,"my-4","align-items-center",2,"max-width","1000px","margin","auto"],[1,"w-100","text-center","primary-text","mb-5"],[1,"fas","fa-power-off",2,"font-size","75px"],[1,"text-center"],[1,"primary-text","mb-4"],[1,"alert","alert-error","my-4"],[1,"grey-text"]],template:function(m,S){m&1&&(i(0,"div",0)(1,"h3",1),o(2),p(3,"translate"),e()(),i(4,"div",2)(5,"div",3),f(6,"i",4),e(),i(7,"div",5)(8,"h4",6),o(9),p(10,"translate"),e(),c(11,y,2,1,"div",7)(12,C,3,3,"p",8),e()()),m&2&&(n(2),a(s(3,3,"menu.restart.title")),n(7),a(s(10,5,"platform.linux.shutting_down_server")),n(2),x(S.error?11:12))},dependencies:[E],encapsulation:2})}return t})();export{B as ShutdownLinuxComponent};
1
+ import{k as v,l as E,n as _,q as h}from"./chunk-L4R362JD.js";import{$b as a,Ab as i,Bb as e,Cb as f,Nb as u,Qa as n,_b as o,db as d,na as l,qb as c,rb as x,rc as p,sc as s}from"./chunk-ZRDN4L2J.js";function y(t,w){if(t&1&&(i(0,"div",7),o(1),e()),t&2){let r=u();n(),a(r.error)}}function C(t,w){t&1&&(i(0,"p",8),o(1),p(2,"translate"),e()),t&2&&(n(),a(s(2,1,"platform.linux.server_will_power_down")))}var B=(()=>{class t{$api=l(h);$toastr=l(_);$translate=l(v);error=!1;ngOnInit(){this.$api.put("/platform-tools/linux/shutdown-host",{}).subscribe({error:r=>{console.error(r),this.error=this.$translate.instant("platform.linux.server_restart_error"),this.$toastr.error(this.$translate.instant("platform.linux.server_restart_error"),this.$translate.instant("toast.title_error"))}})}static \u0275fac=function(m){return new(m||t)};static \u0275cmp=d({type:t,selectors:[["ng-component"]],decls:13,vars:7,consts:[[1,"d-flex","justify-content-between"],[1,"primary-text","m-0"],[1,"my-4","align-items-center",2,"max-width","1000px","margin","auto"],[1,"w-100","text-center","primary-text","mb-5"],[1,"fas","fa-power-off",2,"font-size","75px"],[1,"text-center"],[1,"primary-text","mb-4"],[1,"alert","alert-error","my-4"],[1,"grey-text"]],template:function(m,S){m&1&&(i(0,"div",0)(1,"h3",1),o(2),p(3,"translate"),e()(),i(4,"div",2)(5,"div",3),f(6,"i",4),e(),i(7,"div",5)(8,"h4",6),o(9),p(10,"translate"),e(),c(11,y,2,1,"div",7)(12,C,3,3,"p",8),e()()),m&2&&(n(2),a(s(3,3,"menu.restart.title")),n(7),a(s(10,5,"platform.linux.shutting_down_server")),n(2),x(S.error?11:12))},dependencies:[E],encapsulation:2})}return t})();export{B as ShutdownLinuxComponent};
@@ -1 +1 @@
1
- import{a as D}from"./chunk-BQNXCAZG.js";import"./chunk-3R5JSBG5.js";import{e as E}from"./chunk-5ZHDYUXA.js";import{b as R}from"./chunk-SURJNEQ7.js";import{k as T,l as I,n as O,q as B}from"./chunk-XIK5D4TC.js";import{$b as c,Ib as S,Lb as w,Nb as d,Pc as k,Qa as i,_b as a,ac as h,db as $,lc as b,mc as g,na as m,qb as _,rb as f,rc as o,sa as C,sc as l,ta as y,wb as v,xb as r,yb as n,zb as x}from"./chunk-ZRDN4L2J.js";var U=(t,p)=>({"fas fa-spinner fa-spin":t,"far fa-check-circle":p}),F=t=>({"grey-text":t}),P=(t,p)=>({"far fa-circle":t,"fas fa-spinner fa-spin":p});function j(t,p){if(t&1&&(r(0,"div",7),a(1),n()),t&2){let e=d();i(),c(e.error)}}function M(t,p){if(t&1&&(r(0,"p",9),a(1),o(2,"translate"),n(),r(3,"div",10)(4,"div",11)(5,"span"),x(6,"i",12),a(7),o(8,"translate"),n()(),r(9,"div",11)(10,"span",12),x(11,"i",12),a(12),o(13,"translate"),n()()()),t&2){let e=d();i(),c(l(2,6,"restart.please_wait_while_server_restarts")),i(5),v("ngClass",g(12,U,!e.uiOnline,e.uiOnline)),i(),h(" ",l(8,8,"restart.ui_online")," "),i(3),v("ngClass",b(15,F,!e.uiOnline)),i(),v("ngClass",g(17,P,!e.uiOnline,e.uiOnline)),i(),h(" ",l(13,10,"restart.service_ready")," ")}}function V(t,p){if(t&1){let e=S();r(0,"p",15)(1,"button",16),w("click",function(){C(e);let u=d(2);return y(u.viewLogs())}),a(2),o(3,"translate"),n()()}t&2&&(i(2),c(l(3,1,"menu.tooltip_view_logs")))}function z(t,p){if(t&1&&(r(0,"div",8)(1,"p"),a(2),o(3,"translate"),n(),r(4,"p",13),a(5),o(6,"translate"),r(7,"span",14),a(8),n()(),_(9,V,4,3,"p",15),n()),t&2){let e=d();i(2),c(l(3,4,"restart.server_is_taking_long_time_to_restart")),i(3),h(" ",l(6,6,"restart.label_restart_command_executed"),": "),i(3),c(e.resp.command||"End Process"),i(),f(e.uiOnline?9:-1)}}var X=(()=>{class t{$api=m(B);$router=m(E);$settings=m(R);$toastr=m(O);$translate=m(T);$ws=m(D);checkTimeout;checkDelay;io;uiOnline=!1;error=!1;resp={};timeout=!1;ngOnInit(){this.io=this.$ws.connectToNamespace("status"),this.io.connected.subscribe(()=>{this.io.socket.emit("monitor-server-status"),this.$settings.getAppSettings().catch(()=>{})}),this.$router.parseUrl(this.$router.url).queryParams.restarting?(this.uiOnline=!0,this.checkIfServerUp()):this.$api.put("/server/restart",{}).subscribe({next:s=>{this.resp=s,this.checkIfServerUp(),s.restartingUI||(this.uiOnline=!0)},error:s=>{console.error(s),this.error=this.$translate.instant("restart.toast_server_restart_error"),this.$toastr.error(this.$translate.instant("restart.toast_server_restart_error"),this.$translate.instant("toast.title_error"))}})}viewLogs(){this.$router.navigate(["/logs"])}ngOnDestroy(){this.io.end(),clearTimeout(this.checkDelay),clearTimeout(this.checkTimeout)}checkIfServerUp(){this.checkDelay=setTimeout(()=>{this.io.socket.on("homebridge-status",e=>{this.uiOnline=!0,(e.status==="ok"||e.status==="pending")&&(this.$toastr.success(this.$translate.instant("restart.toast_server_restarted"),this.$translate.instant("toast.title_success")),this.$router.navigate(["/"]))})},7e3),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},4e4)}static \u0275fac=function(s){return new(s||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,"fas","fa-power-off",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"],[3,"ngClass"],[1,"grey-text","mb-0"],[1,"font-monospace"],[1,"mt-2","mb-0"],[1,"btn","btn-primary","mb-0",3,"click"]],template:function(s,u){s&1&&(r(0,"div",0)(1,"h3",1),a(2),o(3,"translate"),n()(),r(4,"div",2)(5,"div",3),x(6,"i",4),n(),r(7,"div",5)(8,"h4",6),a(9),o(10,"translate"),n(),_(11,j,2,1,"div",7)(12,M,14,20),_(13,z,10,8,"div",8),n()()),s&2&&(i(2),c(l(3,4,"menu.restart.title")),i(7),c(l(10,6,"restart.title_restart")),i(2),f(u.error?11:12),i(2),f(u.timeout?13:-1))},dependencies:[k,I],styles:[".restart-progress-box[_ngcontent-%COMP%]{font-size:22px;font-weight:300;margin-top:15px}"]})}return t})();export{X as RestartComponent};
1
+ import{a as D}from"./chunk-TFQIT6A5.js";import"./chunk-BA566FN3.js";import{e as E}from"./chunk-5ZHDYUXA.js";import{b as R}from"./chunk-QQ26P7ID.js";import{k as T,l as I,n as O,q as B}from"./chunk-L4R362JD.js";import{$b as c,Ib as S,Lb as w,Nb as d,Pc as k,Qa as i,_b as a,ac as h,db as $,lc as b,mc as g,na as m,qb as _,rb as f,rc as o,sa as C,sc as l,ta as y,wb as v,xb as r,yb as n,zb as x}from"./chunk-ZRDN4L2J.js";var U=(t,p)=>({"fas fa-spinner fa-spin":t,"far fa-check-circle":p}),F=t=>({"grey-text":t}),P=(t,p)=>({"far fa-circle":t,"fas fa-spinner fa-spin":p});function j(t,p){if(t&1&&(r(0,"div",7),a(1),n()),t&2){let e=d();i(),c(e.error)}}function M(t,p){if(t&1&&(r(0,"p",9),a(1),o(2,"translate"),n(),r(3,"div",10)(4,"div",11)(5,"span"),x(6,"i",12),a(7),o(8,"translate"),n()(),r(9,"div",11)(10,"span",12),x(11,"i",12),a(12),o(13,"translate"),n()()()),t&2){let e=d();i(),c(l(2,6,"restart.please_wait_while_server_restarts")),i(5),v("ngClass",g(12,U,!e.uiOnline,e.uiOnline)),i(),h(" ",l(8,8,"restart.ui_online")," "),i(3),v("ngClass",b(15,F,!e.uiOnline)),i(),v("ngClass",g(17,P,!e.uiOnline,e.uiOnline)),i(),h(" ",l(13,10,"restart.service_ready")," ")}}function V(t,p){if(t&1){let e=S();r(0,"p",15)(1,"button",16),w("click",function(){C(e);let u=d(2);return y(u.viewLogs())}),a(2),o(3,"translate"),n()()}t&2&&(i(2),c(l(3,1,"menu.tooltip_view_logs")))}function z(t,p){if(t&1&&(r(0,"div",8)(1,"p"),a(2),o(3,"translate"),n(),r(4,"p",13),a(5),o(6,"translate"),r(7,"span",14),a(8),n()(),_(9,V,4,3,"p",15),n()),t&2){let e=d();i(2),c(l(3,4,"restart.server_is_taking_long_time_to_restart")),i(3),h(" ",l(6,6,"restart.label_restart_command_executed"),": "),i(3),c(e.resp.command||"End Process"),i(),f(e.uiOnline?9:-1)}}var X=(()=>{class t{$api=m(B);$router=m(E);$settings=m(R);$toastr=m(O);$translate=m(T);$ws=m(D);checkTimeout;checkDelay;io;uiOnline=!1;error=!1;resp={};timeout=!1;ngOnInit(){this.io=this.$ws.connectToNamespace("status"),this.io.connected.subscribe(()=>{this.io.socket.emit("monitor-server-status"),this.$settings.getAppSettings().catch(()=>{})}),this.$router.parseUrl(this.$router.url).queryParams.restarting?(this.uiOnline=!0,this.checkIfServerUp()):this.$api.put("/server/restart",{}).subscribe({next:s=>{this.resp=s,this.checkIfServerUp(),s.restartingUI||(this.uiOnline=!0)},error:s=>{console.error(s),this.error=this.$translate.instant("restart.toast_server_restart_error"),this.$toastr.error(this.$translate.instant("restart.toast_server_restart_error"),this.$translate.instant("toast.title_error"))}})}viewLogs(){this.$router.navigate(["/logs"])}ngOnDestroy(){this.io.end(),clearTimeout(this.checkDelay),clearTimeout(this.checkTimeout)}checkIfServerUp(){this.checkDelay=setTimeout(()=>{this.io.socket.on("homebridge-status",e=>{this.uiOnline=!0,(e.status==="ok"||e.status==="pending")&&(this.$toastr.success(this.$translate.instant("restart.toast_server_restarted"),this.$translate.instant("toast.title_success")),this.$router.navigate(["/"]))})},7e3),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},4e4)}static \u0275fac=function(s){return new(s||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,"fas","fa-power-off",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"],[3,"ngClass"],[1,"grey-text","mb-0"],[1,"font-monospace"],[1,"mt-2","mb-0"],[1,"btn","btn-primary","mb-0",3,"click"]],template:function(s,u){s&1&&(r(0,"div",0)(1,"h3",1),a(2),o(3,"translate"),n()(),r(4,"div",2)(5,"div",3),x(6,"i",4),n(),r(7,"div",5)(8,"h4",6),a(9),o(10,"translate"),n(),_(11,j,2,1,"div",7)(12,M,14,20),_(13,z,10,8,"div",8),n()()),s&2&&(i(2),c(l(3,4,"menu.restart.title")),i(7),c(l(10,6,"restart.title_restart")),i(2),f(u.error?11:12),i(2),f(u.timeout?13:-1))},dependencies:[k,I],styles:[".restart-progress-box[_ngcontent-%COMP%]{font-size:22px;font-weight:300;margin-top:15px}"]})}return t})();export{X as RestartComponent};
@@ -1 +1 @@
1
- import{a as s}from"./chunk-PU7P44L6.js";import"./chunk-U6YE5QTN.js";import"./chunk-J4TPCWFM.js";import"./chunk-TGQIPKOK.js";import"./chunk-54X33YUH.js";import"./chunk-3PGUQRQW.js";import"./chunk-BQNXCAZG.js";import"./chunk-3R5JSBG5.js";import{h as i}from"./chunk-5ZHDYUXA.js";import"./chunk-SURJNEQ7.js";import"./chunk-XIK5D4TC.js";import{eb as t,ja as e}from"./chunk-ZRDN4L2J.js";var u=[{path:"",loadComponent:()=>import("./chunk-SXHSYFAC.js").then(o=>o.AccessoriesComponent)}],c=(()=>{class o{static \u0275fac=function(r){return new(r||o)};static \u0275mod=t({type:o});static \u0275inj=e({imports:[i.forChild(u),i]})}return o})();var l=(()=>{class o{static \u0275fac=function(r){return new(r||o)};static \u0275mod=t({type:o});static \u0275inj=e({imports:[s,c]})}return o})();export{l as AccessoriesModule};
1
+ import{a as s}from"./chunk-VQW3VBAG.js";import"./chunk-B76BC5JA.js";import"./chunk-D2XKJFZX.js";import"./chunk-TGQIPKOK.js";import"./chunk-54X33YUH.js";import"./chunk-3PGUQRQW.js";import"./chunk-TFQIT6A5.js";import"./chunk-BA566FN3.js";import{h as i}from"./chunk-5ZHDYUXA.js";import"./chunk-QQ26P7ID.js";import"./chunk-L4R362JD.js";import{eb as t,ja as e}from"./chunk-ZRDN4L2J.js";var u=[{path:"",loadComponent:()=>import("./chunk-26MZYMYT.js").then(o=>o.AccessoriesComponent)}],c=(()=>{class o{static \u0275fac=function(r){return new(r||o)};static \u0275mod=t({type:o});static \u0275inj=e({imports:[i.forChild(u),i]})}return o})();var l=(()=>{class o{static \u0275fac=function(r){return new(r||o)};static \u0275mod=t({type:o});static \u0275inj=e({imports:[s,c]})}return o})();export{l as AccessoriesModule};
@@ -1 +1 @@
1
- import{c as t}from"./chunk-U6YE5QTN.js";import{b as i}from"./chunk-TGQIPKOK.js";import{eb as r,ja as o}from"./chunk-ZRDN4L2J.js";var f=(()=>{class e{static \u0275fac=function(s){return new(s||e)};static \u0275mod=r({type:e});static \u0275inj=o({providers:[t],imports:[i]})}return e})();export{f as a};
1
+ import{c as t}from"./chunk-B76BC5JA.js";import{b as i}from"./chunk-TGQIPKOK.js";import{eb as r,ja as o}from"./chunk-ZRDN4L2J.js";var f=(()=>{class e{static \u0275fac=function(s){return new(s||e)};static \u0275mod=r({type:e});static \u0275inj=o({providers:[t],imports:[i]})}return e})();export{f as a};
@@ -1 +1 @@
1
- import{a as c}from"./chunk-RFT6CPEK.js";import"./chunk-PLDBZ3DQ.js";import"./chunk-OLTM37KP.js";import"./chunk-LXMQGNJA.js";import"./chunk-JHD5MRCG.js";import"./chunk-STRTFJ4I.js";import"./chunk-FMKJX3SG.js";import"./chunk-SIVN6M76.js";import"./chunk-V4JCOKHQ.js";import"./chunk-TMGK6CPZ.js";import"./chunk-NXNTFMYU.js";import"./chunk-TGQIPKOK.js";import"./chunk-DM6O6Z44.js";import"./chunk-54X33YUH.js";import"./chunk-3PGUQRQW.js";import"./chunk-BQNXCAZG.js";import"./chunk-3R5JSBG5.js";import{h as n}from"./chunk-5ZHDYUXA.js";import"./chunk-SURJNEQ7.js";import"./chunk-XIK5D4TC.js";import{eb as i,ia as a,ja as r}from"./chunk-ZRDN4L2J.js";var s=(()=>{class t{canDeactivate(o,e,p,m){return o.canDeactivate?o.canDeactivate(m?.url):!0}static \u0275fac=function(e){return new(e||t)};static \u0275prov=a({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var f=[{path:"",loadComponent:()=>import("./chunk-7FVUSPTS.js").then(t=>t.PluginsComponent),canDeactivate:[s]}],l=(()=>{class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=i({type:t});static \u0275inj=r({imports:[n.forChild(f),n]})}return t})();var P=(()=>{class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=i({type:t});static \u0275inj=r({imports:[c,l]})}return t})();export{P as PluginsModule};
1
+ import{a as c}from"./chunk-GAGIBHRL.js";import"./chunk-XPA7WABF.js";import"./chunk-E44OCQUY.js";import"./chunk-BTMPU4JQ.js";import"./chunk-JHD5MRCG.js";import"./chunk-STRTFJ4I.js";import"./chunk-HO3BCZDO.js";import"./chunk-SIVN6M76.js";import"./chunk-V4JCOKHQ.js";import"./chunk-TMGK6CPZ.js";import"./chunk-NXNTFMYU.js";import"./chunk-TGQIPKOK.js";import"./chunk-6KARJMOH.js";import"./chunk-54X33YUH.js";import"./chunk-3PGUQRQW.js";import"./chunk-TFQIT6A5.js";import"./chunk-BA566FN3.js";import{h as n}from"./chunk-5ZHDYUXA.js";import"./chunk-QQ26P7ID.js";import"./chunk-L4R362JD.js";import{eb as i,ia as a,ja as r}from"./chunk-ZRDN4L2J.js";var s=(()=>{class t{canDeactivate(o,e,p,m){return o.canDeactivate?o.canDeactivate(m?.url):!0}static \u0275fac=function(e){return new(e||t)};static \u0275prov=a({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var f=[{path:"",loadComponent:()=>import("./chunk-BV7SC4PZ.js").then(t=>t.PluginsComponent),canDeactivate:[s]}],l=(()=>{class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=i({type:t});static \u0275inj=r({imports:[n.forChild(f),n]})}return t})();var P=(()=>{class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=i({type:t});static \u0275inj=r({imports:[c,l]})}return t})();export{P as PluginsModule};
@@ -1,4 +1,4 @@
1
- import{a as jv}from"./chunk-OLTM37KP.js";import{a as ep,c as Iv,d as Pv,e as Ys,f as Av,g as rU,h as tp}from"./chunk-LXMQGNJA.js";import{a as wv}from"./chunk-JHD5MRCG.js";import{a as xv}from"./chunk-STRTFJ4I.js";import{a as zv}from"./chunk-FMKJX3SG.js";import{a as Hv,b as Sv,c as Cv}from"./chunk-SIVN6M76.js";import{a as pa}from"./chunk-V4JCOKHQ.js";import{a as Tv}from"./chunk-TMGK6CPZ.js";import{a as Gc,b as Ko}from"./chunk-NXNTFMYU.js";import{a as qo,b as Lo}from"./chunk-TGQIPKOK.js";import{a as kv}from"./chunk-DM6O6Z44.js";import{a as Fc,b as Vc,c as qc,d as Lc,e as Kc,f as $c,g as Vo,m as Ct,n as ki,o as hv,p as fv,q as bv,r as yv,s as vv,t as Pr}from"./chunk-54X33YUH.js";import{B as _v,C as gs,D as ga,a as rv,b as Sr,c as ro,e as Zt,f as ov,h as nv,i as av,j as lv,k as cv,l as Ji,m as dv,n as uv,o as gv,p as Cr,s as Fo,t as xr,u as Xg,v as Ir,w as pv,x as mv}from"./chunk-3PGUQRQW.js";import{a as zr}from"./chunk-BQNXCAZG.js";import{e as Ts}from"./chunk-5ZHDYUXA.js";import{b as It}from"./chunk-SURJNEQ7.js";import{k as it,l as xt,n as st,p as Tr,q as Ze}from"./chunk-XIK5D4TC.js";import{$ as Wg,$b as re,Aa as Cs,Ab as na,Ac as ui,Bb as aa,Bc as ne,Ca as xs,Cb as la,Cc as kr,Da as Ky,Db as ca,E as My,Eb as da,Ec as us,Fa as Is,Fc as so,Ga as $y,Gc as Xy,H as Uy,Ha as Gy,Hc as ev,I as Ac,Ib as ie,J as Oy,La as Ue,Lb as Q,M as Gg,Ma as Wy,Mb as Nc,Nb as H,P as Bo,Pa as Yy,Pc as wi,Qa as m,Qc as Hr,R as Fy,Rb as Rc,Rc as Jt,Sa as Ri,Sb as Ec,Ta as fr,Tb as Bc,Ub as yr,Va as Zg,Vb as vr,Wb as Mc,Xb as vi,Ya as Mo,Yb as Ei,Yc as Oc,Za as Dc,Zb as _e,_a as oa,_b as j,_c as tv,a as fe,aa as jc,ab as Ps,ac as oe,ad as iv,b as Ge,ba as Yg,bc as wr,c as Ny,ca as ds,cc as Uc,da as Vy,db as ve,e as w,eb as br,ed as sv,fb as Ws,fc as nt,g as ot,gb as Jy,gc as at,h as ge,ha as Jg,hc as lt,i as eo,ia as gt,ic as Zy,ja as hr,jb as Ie,jc as Uo,k as to,kc as tt,la as Gs,lc as ci,ma as qy,mc as ua,n as Ee,na as A,nc as di,o as Tc,ob as Qg,oc as Oo,p as $g,pb as pe,pc as Qy,qa as Ly,qb as O,r as Ry,rb as F,rc as N,s as Ey,sa as J,sc as M,ta as Z,tb as ni,tc as St,ub as ai,vb as li,w as By,wa as ra,wb as x,x as je,xa as io,xb as b,y as zc,yb as f,zb as B}from"./chunk-ZRDN4L2J.js";var Ov=w(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.formatNames=As.fastFormats=As.fullFormats=void 0;function zs(e,i){return{validate:e,compare:i}}As.fullFormats={date:zs(Ev,op),time:zs(sp(!0),np),"date-time":zs(Dv(!0),Mv),"iso-time":zs(sp(),Bv),"iso-date-time":zs(Dv(),Uv),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:dU,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:fU,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:uU,int32:{type:"number",validate:mU},int64:{type:"number",validate:_U},float:{type:"number",validate:Rv},double:{type:"number",validate:Rv},password:!0,binary:!0};As.fastFormats=Ge(fe({},As.fullFormats),{date:zs(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,op),time:zs(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,np),"date-time":zs(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,Mv),"iso-time":zs(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,Bv),"iso-date-time":zs(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,Uv),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i});As.formatNames=Object.keys(As.fullFormats);function oU(e){return e%4===0&&(e%100!==0||e%400===0)}var nU=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,aU=[0,31,28,31,30,31,30,31,31,30,31,30,31];function Ev(e){let i=nU.exec(e);if(!i)return!1;let t=+i[1],s=+i[2],r=+i[3];return s>=1&&s<=12&&r>=1&&r<=(s===2&&oU(t)?29:aU[s])}function op(e,i){if(e&&i)return e>i?1:e<i?-1:0}var ip=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function sp(e){return function(t){let s=ip.exec(t);if(!s)return!1;let r=+s[1],n=+s[2],l=+s[3],c=s[4],u=s[5]==="-"?-1:1,p=+(s[6]||0),_=+(s[7]||0);if(p>23||_>59||e&&!c)return!1;if(r<=23&&n<=59&&l<60)return!0;let v=n-_*u,S=r-p*u-(v<0?1:0);return(S===23||S===-1)&&(v===59||v===-1)&&l<61}}function np(e,i){if(!(e&&i))return;let t=new Date("2020-01-01T"+e).valueOf(),s=new Date("2020-01-01T"+i).valueOf();if(t&&s)return t-s}function Bv(e,i){if(!(e&&i))return;let t=ip.exec(e),s=ip.exec(i);if(t&&s)return e=t[1]+t[2]+t[3],i=s[1]+s[2]+s[3],e>i?1:e<i?-1:0}var rp=/t|\s/i;function Dv(e){let i=sp(e);return function(s){let r=s.split(rp);return r.length===2&&Ev(r[0])&&i(r[1])}}function Mv(e,i){if(!(e&&i))return;let t=new Date(e).valueOf(),s=new Date(i).valueOf();if(t&&s)return t-s}function Uv(e,i){if(!(e&&i))return;let[t,s]=e.split(rp),[r,n]=i.split(rp),l=op(t,r);if(l!==void 0)return l||np(s,n)}var lU=/\/|:/,cU=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function dU(e){return lU.test(e)&&cU.test(e)}var Nv=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function uU(e){return Nv.lastIndex=0,Nv.test(e)}var gU=-(2**31),pU=2**31-1;function mU(e){return Number.isInteger(e)&&e<=pU&&e>=gU}function _U(e){return Number.isInteger(e)}function Rv(){return!0}var hU=/[^\\]\\Z/;function fU(e){if(hU.test(e))return!1;try{return new RegExp(e),!0}catch{return!1}}});var ha=w(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.regexpCode=Ye.getEsmExportName=Ye.getProperty=Ye.safeStringify=Ye.stringify=Ye.strConcat=Ye.addCodeArg=Ye.str=Ye._=Ye.nil=Ye._Code=Ye.Name=Ye.IDENTIFIER=Ye._CodeOrName=void 0;var ma=class{};Ye._CodeOrName=ma;Ye.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var oo=class extends ma{constructor(i){if(super(),!Ye.IDENTIFIER.test(i))throw new Error("CodeGen: name must be a valid identifier");this.str=i}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};Ye.Name=oo;var Zi=class extends ma{constructor(i){super(),this._items=typeof i=="string"?[i]:i}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let i=this._items[0];return i===""||i==='""'}get str(){var i;return(i=this._str)!==null&&i!==void 0?i:this._str=this._items.reduce((t,s)=>`${t}${s}`,"")}get names(){var i;return(i=this._names)!==null&&i!==void 0?i:this._names=this._items.reduce((t,s)=>(s instanceof oo&&(t[s.str]=(t[s.str]||0)+1),t),{})}};Ye._Code=Zi;Ye.nil=new Zi("");function Fv(e,...i){let t=[e[0]],s=0;for(;s<i.length;)lp(t,i[s]),t.push(e[++s]);return new Zi(t)}Ye._=Fv;var ap=new Zi("+");function Vv(e,...i){let t=[_a(e[0])],s=0;for(;s<i.length;)t.push(ap),lp(t,i[s]),t.push(ap,_a(e[++s]));return bU(t),new Zi(t)}Ye.str=Vv;function lp(e,i){i instanceof Zi?e.push(...i._items):i instanceof oo?e.push(i):e.push(wU(i))}Ye.addCodeArg=lp;function bU(e){let i=1;for(;i<e.length-1;){if(e[i]===ap){let t=yU(e[i-1],e[i+1]);if(t!==void 0){e.splice(i-1,3,t);continue}e[i++]="+"}i++}}function yU(e,i){if(i==='""')return e;if(e==='""')return i;if(typeof e=="string")return i instanceof oo||e[e.length-1]!=='"'?void 0:typeof i!="string"?`${e.slice(0,-1)}${i}"`:i[0]==='"'?e.slice(0,-1)+i.slice(1):void 0;if(typeof i=="string"&&i[0]==='"'&&!(e instanceof oo))return`"${e}${i.slice(1)}`}function vU(e,i){return i.emptyStr()?e:e.emptyStr()?i:Vv`${e}${i}`}Ye.strConcat=vU;function wU(e){return typeof e=="number"||typeof e=="boolean"||e===null?e:_a(Array.isArray(e)?e.join(","):e)}function kU(e){return new Zi(_a(e))}Ye.stringify=kU;function _a(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}Ye.safeStringify=_a;function HU(e){return typeof e=="string"&&Ye.IDENTIFIER.test(e)?new Zi(`.${e}`):Fv`[${e}]`}Ye.getProperty=HU;function SU(e){if(typeof e=="string"&&Ye.IDENTIFIER.test(e))return new Zi(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)}Ye.getEsmExportName=SU;function CU(e){return new Zi(e.toString())}Ye.regexpCode=CU});var up=w(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.ValueScope=Si.ValueScopeName=Si.Scope=Si.varKinds=Si.UsedValueState=void 0;var Hi=ha(),cp=class extends Error{constructor(i){super(`CodeGen: "code" for ${i} not defined`),this.value=i.value}},Wc=(function(e){return e[e.Started=0]="Started",e[e.Completed=1]="Completed",e})(Wc||(Si.UsedValueState=Wc={}));Si.varKinds={const:new Hi.Name("const"),let:new Hi.Name("let"),var:new Hi.Name("var")};var Yc=class{constructor({prefixes:i,parent:t}={}){this._names={},this._prefixes=i,this._parent=t}toName(i){return i instanceof Hi.Name?i:this.name(i)}name(i){return new Hi.Name(this._newName(i))}_newName(i){let t=this._names[i]||this._nameGroup(i);return`${i}${t.index++}`}_nameGroup(i){var t,s;if(!((s=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||s===void 0)&&s.has(i)||this._prefixes&&!this._prefixes.has(i))throw new Error(`CodeGen: prefix "${i}" is not allowed in this scope`);return this._names[i]={prefix:i,index:0}}};Si.Scope=Yc;var Jc=class extends Hi.Name{constructor(i,t){super(t),this.prefix=i}setValue(i,{property:t,itemIndex:s}){this.value=i,this.scopePath=(0,Hi._)`.${new Hi.Name(t)}[${s}]`}};Si.ValueScopeName=Jc;var xU=(0,Hi._)`\n`,dp=class extends Yc{constructor(i){super(i),this._values={},this._scope=i.scope,this.opts=Ge(fe({},i),{_n:i.lines?xU:Hi.nil})}get(){return this._scope}name(i){return new Jc(i,this._newName(i))}value(i,t){var s;if(t.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let r=this.toName(i),{prefix:n}=r,l=(s=t.key)!==null&&s!==void 0?s:t.ref,c=this._values[n];if(c){let _=c.get(l);if(_)return _}else c=this._values[n]=new Map;c.set(l,r);let u=this._scope[n]||(this._scope[n]=[]),p=u.length;return u[p]=t.ref,r.setValue(t,{property:n,itemIndex:p}),r}getValue(i,t){let s=this._values[i];if(s)return s.get(t)}scopeRefs(i,t=this._values){return this._reduceValues(t,s=>{if(s.scopePath===void 0)throw new Error(`CodeGen: name "${s}" has no value`);return(0,Hi._)`${i}${s.scopePath}`})}scopeCode(i=this._values,t,s){return this._reduceValues(i,r=>{if(r.value===void 0)throw new Error(`CodeGen: name "${r}" has no value`);return r.value.code},t,s)}_reduceValues(i,t,s={},r){let n=Hi.nil;for(let l in i){let c=i[l];if(!c)continue;let u=s[l]=s[l]||new Map;c.forEach(p=>{if(u.has(p))return;u.set(p,Wc.Started);let _=t(p);if(_){let v=this.opts.es5?Si.varKinds.var:Si.varKinds.const;n=(0,Hi._)`${n}${v} ${p} = ${_};${this.opts._n}`}else if(_=r?.(p))n=(0,Hi._)`${n}${_}${this.opts._n}`;else throw new cp(p);u.set(p,Wc.Completed)})}return n}};Si.ValueScope=dp});var we=w(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.or=Oe.and=Oe.not=Oe.CodeGen=Oe.operators=Oe.varKinds=Oe.ValueScopeName=Oe.ValueScope=Oe.Scope=Oe.Name=Oe.regexpCode=Oe.stringify=Oe.getProperty=Oe.nil=Oe.strConcat=Oe.str=Oe._=void 0;var $e=ha(),ps=up(),Ar=ha();Object.defineProperty(Oe,"_",{enumerable:!0,get:function(){return Ar._}});Object.defineProperty(Oe,"str",{enumerable:!0,get:function(){return Ar.str}});Object.defineProperty(Oe,"strConcat",{enumerable:!0,get:function(){return Ar.strConcat}});Object.defineProperty(Oe,"nil",{enumerable:!0,get:function(){return Ar.nil}});Object.defineProperty(Oe,"getProperty",{enumerable:!0,get:function(){return Ar.getProperty}});Object.defineProperty(Oe,"stringify",{enumerable:!0,get:function(){return Ar.stringify}});Object.defineProperty(Oe,"regexpCode",{enumerable:!0,get:function(){return Ar.regexpCode}});Object.defineProperty(Oe,"Name",{enumerable:!0,get:function(){return Ar.Name}});var td=up();Object.defineProperty(Oe,"Scope",{enumerable:!0,get:function(){return td.Scope}});Object.defineProperty(Oe,"ValueScope",{enumerable:!0,get:function(){return td.ValueScope}});Object.defineProperty(Oe,"ValueScopeName",{enumerable:!0,get:function(){return td.ValueScopeName}});Object.defineProperty(Oe,"varKinds",{enumerable:!0,get:function(){return td.varKinds}});Oe.operators={GT:new $e._Code(">"),GTE:new $e._Code(">="),LT:new $e._Code("<"),LTE:new $e._Code("<="),EQ:new $e._Code("==="),NEQ:new $e._Code("!=="),NOT:new $e._Code("!"),OR:new $e._Code("||"),AND:new $e._Code("&&"),ADD:new $e._Code("+")};var Js=class{optimizeNodes(){return this}optimizeNames(i,t){return this}},gp=class extends Js{constructor(i,t,s){super(),this.varKind=i,this.name=t,this.rhs=s}render({es5:i,_n:t}){let s=i?ps.varKinds.var:this.varKind,r=this.rhs===void 0?"":` = ${this.rhs}`;return`${s} ${this.name}${r};`+t}optimizeNames(i,t){if(i[this.name.str])return this.rhs&&(this.rhs=Go(this.rhs,i,t)),this}get names(){return this.rhs instanceof $e._CodeOrName?this.rhs.names:{}}},Qc=class extends Js{constructor(i,t,s){super(),this.lhs=i,this.rhs=t,this.sideEffects=s}render({_n:i}){return`${this.lhs} = ${this.rhs};`+i}optimizeNames(i,t){if(!(this.lhs instanceof $e.Name&&!i[this.lhs.str]&&!this.sideEffects))return this.rhs=Go(this.rhs,i,t),this}get names(){let i=this.lhs instanceof $e.Name?{}:fe({},this.lhs.names);return ed(i,this.rhs)}},pp=class extends Qc{constructor(i,t,s,r){super(i,s,r),this.op=t}render({_n:i}){return`${this.lhs} ${this.op}= ${this.rhs};`+i}},mp=class extends Js{constructor(i){super(),this.label=i,this.names={}}render({_n:i}){return`${this.label}:`+i}},_p=class extends Js{constructor(i){super(),this.label=i,this.names={}}render({_n:i}){return`break${this.label?` ${this.label}`:""};`+i}},hp=class extends Js{constructor(i){super(),this.error=i}render({_n:i}){return`throw ${this.error};`+i}get names(){return this.error.names}},fp=class extends Js{constructor(i){super(),this.code=i}render({_n:i}){return`${this.code};`+i}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(i,t){return this.code=Go(this.code,i,t),this}get names(){return this.code instanceof $e._CodeOrName?this.code.names:{}}},fa=class extends Js{constructor(i=[]){super(),this.nodes=i}render(i){return this.nodes.reduce((t,s)=>t+s.render(i),"")}optimizeNodes(){let{nodes:i}=this,t=i.length;for(;t--;){let s=i[t].optimizeNodes();Array.isArray(s)?i.splice(t,1,...s):s?i[t]=s:i.splice(t,1)}return i.length>0?this:void 0}optimizeNames(i,t){let{nodes:s}=this,r=s.length;for(;r--;){let n=s[r];n.optimizeNames(i,t)||(IU(i,n.names),s.splice(r,1))}return s.length>0?this:void 0}get names(){return this.nodes.reduce((i,t)=>no(i,t.names),{})}},Zs=class extends fa{render(i){return"{"+i._n+super.render(i)+"}"+i._n}},bp=class extends fa{},yp=(()=>{class e extends Zs{}return e.kind="else",e})(),Zc=(()=>{class e extends Zs{constructor(t,s){super(s),this.condition=t}render(t){let s=`if(${this.condition})`+super.render(t);return this.else&&(s+="else "+this.else.render(t)),s}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let s=this.else;if(s){let r=s.optimizeNodes();s=this.else=Array.isArray(r)?new yp(r):r}if(s)return t===!1?s instanceof e?s:s.nodes:this.nodes.length?this:new e(Gv(t),s instanceof e?[s]:s.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(t,s){var r;if(this.else=(r=this.else)===null||r===void 0?void 0:r.optimizeNames(t,s),!!(super.optimizeNames(t,s)||this.else))return this.condition=Go(this.condition,t,s),this}get names(){let t=super.names;return ed(t,this.condition),this.else&&no(t,this.else.names),t}}return e.kind="if",e})(),id=(()=>{class e extends Zs{}return e.kind="for",e})(),vp=class extends id{constructor(i){super(),this.iteration=i}render(i){return`for(${this.iteration})`+super.render(i)}optimizeNames(i,t){if(super.optimizeNames(i,t))return this.iteration=Go(this.iteration,i,t),this}get names(){return no(super.names,this.iteration.names)}},wp=class extends id{constructor(i,t,s,r){super(),this.varKind=i,this.name=t,this.from=s,this.to=r}render(i){let t=i.es5?ps.varKinds.var:this.varKind,{name:s,from:r,to:n}=this;return`for(${t} ${s}=${r}; ${s}<${n}; ${s}++)`+super.render(i)}get names(){let i=ed(super.names,this.from);return ed(i,this.to)}},Xc=class extends id{constructor(i,t,s,r){super(),this.loop=i,this.varKind=t,this.name=s,this.iterable=r}render(i){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(i)}optimizeNames(i,t){if(super.optimizeNames(i,t))return this.iterable=Go(this.iterable,i,t),this}get names(){return no(super.names,this.iterable.names)}},qv=(()=>{class e extends Zs{constructor(t,s,r){super(),this.name=t,this.args=s,this.async=r}render(t){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(t)}}return e.kind="func",e})(),Lv=(()=>{class e extends fa{render(t){return"return "+super.render(t)}}return e.kind="return",e})(),kp=class extends Zs{render(i){let t="try"+super.render(i);return this.catch&&(t+=this.catch.render(i)),this.finally&&(t+=this.finally.render(i)),t}optimizeNodes(){var i,t;return super.optimizeNodes(),(i=this.catch)===null||i===void 0||i.optimizeNodes(),(t=this.finally)===null||t===void 0||t.optimizeNodes(),this}optimizeNames(i,t){var s,r;return super.optimizeNames(i,t),(s=this.catch)===null||s===void 0||s.optimizeNames(i,t),(r=this.finally)===null||r===void 0||r.optimizeNames(i,t),this}get names(){let i=super.names;return this.catch&&no(i,this.catch.names),this.finally&&no(i,this.finally.names),i}},Kv=(()=>{class e extends Zs{constructor(t){super(),this.error=t}render(t){return`catch(${this.error})`+super.render(t)}}return e.kind="catch",e})(),$v=(()=>{class e extends Zs{render(t){return"finally"+super.render(t)}}return e.kind="finally",e})(),Hp=class{constructor(i,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts=Ge(fe({},t),{_n:t.lines?`
1
+ import{a as jv}from"./chunk-E44OCQUY.js";import{a as ep,c as Iv,d as Pv,e as Ys,f as Av,g as rU,h as tp}from"./chunk-BTMPU4JQ.js";import{a as wv}from"./chunk-JHD5MRCG.js";import{a as xv}from"./chunk-STRTFJ4I.js";import{a as zv}from"./chunk-HO3BCZDO.js";import{a as Hv,b as Sv,c as Cv}from"./chunk-SIVN6M76.js";import{a as pa}from"./chunk-V4JCOKHQ.js";import{a as Tv}from"./chunk-TMGK6CPZ.js";import{a as Gc,b as Ko}from"./chunk-NXNTFMYU.js";import{a as qo,b as Lo}from"./chunk-TGQIPKOK.js";import{a as kv}from"./chunk-6KARJMOH.js";import{a as Fc,b as Vc,c as qc,d as Lc,e as Kc,f as $c,g as Vo,m as Ct,n as ki,o as hv,p as fv,q as bv,r as yv,s as vv,t as Pr}from"./chunk-54X33YUH.js";import{B as _v,C as gs,D as ga,a as rv,b as Sr,c as ro,e as Zt,f as ov,h as nv,i as av,j as lv,k as cv,l as Ji,m as dv,n as uv,o as gv,p as Cr,s as Fo,t as xr,u as Xg,v as Ir,w as pv,x as mv}from"./chunk-3PGUQRQW.js";import{a as zr}from"./chunk-TFQIT6A5.js";import{e as Ts}from"./chunk-5ZHDYUXA.js";import{b as It}from"./chunk-QQ26P7ID.js";import{k as it,l as xt,n as st,p as Tr,q as Ze}from"./chunk-L4R362JD.js";import{$ as Wg,$b as re,Aa as Cs,Ab as na,Ac as ui,Bb as aa,Bc as ne,Ca as xs,Cb as la,Cc as kr,Da as Ky,Db as ca,E as My,Eb as da,Ec as us,Fa as Is,Fc as so,Ga as $y,Gc as Xy,H as Uy,Ha as Gy,Hc as ev,I as Ac,Ib as ie,J as Oy,La as Ue,Lb as Q,M as Gg,Ma as Wy,Mb as Nc,Nb as H,P as Bo,Pa as Yy,Pc as wi,Qa as m,Qc as Hr,R as Fy,Rb as Rc,Rc as Jt,Sa as Ri,Sb as Ec,Ta as fr,Tb as Bc,Ub as yr,Va as Zg,Vb as vr,Wb as Mc,Xb as vi,Ya as Mo,Yb as Ei,Yc as Oc,Za as Dc,Zb as _e,_a as oa,_b as j,_c as tv,a as fe,aa as jc,ab as Ps,ac as oe,ad as iv,b as Ge,ba as Yg,bc as wr,c as Ny,ca as ds,cc as Uc,da as Vy,db as ve,e as w,eb as br,ed as sv,fb as Ws,fc as nt,g as ot,gb as Jy,gc as at,h as ge,ha as Jg,hc as lt,i as eo,ia as gt,ic as Zy,ja as hr,jb as Ie,jc as Uo,k as to,kc as tt,la as Gs,lc as ci,ma as qy,mc as ua,n as Ee,na as A,nc as di,o as Tc,ob as Qg,oc as Oo,p as $g,pb as pe,pc as Qy,qa as Ly,qb as O,r as Ry,rb as F,rc as N,s as Ey,sa as J,sc as M,ta as Z,tb as ni,tc as St,ub as ai,vb as li,w as By,wa as ra,wb as x,x as je,xa as io,xb as b,y as zc,yb as f,zb as B}from"./chunk-ZRDN4L2J.js";var Ov=w(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.formatNames=As.fastFormats=As.fullFormats=void 0;function zs(e,i){return{validate:e,compare:i}}As.fullFormats={date:zs(Ev,op),time:zs(sp(!0),np),"date-time":zs(Dv(!0),Mv),"iso-time":zs(sp(),Bv),"iso-date-time":zs(Dv(),Uv),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:dU,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:fU,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:uU,int32:{type:"number",validate:mU},int64:{type:"number",validate:_U},float:{type:"number",validate:Rv},double:{type:"number",validate:Rv},password:!0,binary:!0};As.fastFormats=Ge(fe({},As.fullFormats),{date:zs(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,op),time:zs(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,np),"date-time":zs(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,Mv),"iso-time":zs(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,Bv),"iso-date-time":zs(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,Uv),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i});As.formatNames=Object.keys(As.fullFormats);function oU(e){return e%4===0&&(e%100!==0||e%400===0)}var nU=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,aU=[0,31,28,31,30,31,30,31,31,30,31,30,31];function Ev(e){let i=nU.exec(e);if(!i)return!1;let t=+i[1],s=+i[2],r=+i[3];return s>=1&&s<=12&&r>=1&&r<=(s===2&&oU(t)?29:aU[s])}function op(e,i){if(e&&i)return e>i?1:e<i?-1:0}var ip=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function sp(e){return function(t){let s=ip.exec(t);if(!s)return!1;let r=+s[1],n=+s[2],l=+s[3],c=s[4],u=s[5]==="-"?-1:1,p=+(s[6]||0),_=+(s[7]||0);if(p>23||_>59||e&&!c)return!1;if(r<=23&&n<=59&&l<60)return!0;let v=n-_*u,S=r-p*u-(v<0?1:0);return(S===23||S===-1)&&(v===59||v===-1)&&l<61}}function np(e,i){if(!(e&&i))return;let t=new Date("2020-01-01T"+e).valueOf(),s=new Date("2020-01-01T"+i).valueOf();if(t&&s)return t-s}function Bv(e,i){if(!(e&&i))return;let t=ip.exec(e),s=ip.exec(i);if(t&&s)return e=t[1]+t[2]+t[3],i=s[1]+s[2]+s[3],e>i?1:e<i?-1:0}var rp=/t|\s/i;function Dv(e){let i=sp(e);return function(s){let r=s.split(rp);return r.length===2&&Ev(r[0])&&i(r[1])}}function Mv(e,i){if(!(e&&i))return;let t=new Date(e).valueOf(),s=new Date(i).valueOf();if(t&&s)return t-s}function Uv(e,i){if(!(e&&i))return;let[t,s]=e.split(rp),[r,n]=i.split(rp),l=op(t,r);if(l!==void 0)return l||np(s,n)}var lU=/\/|:/,cU=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function dU(e){return lU.test(e)&&cU.test(e)}var Nv=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function uU(e){return Nv.lastIndex=0,Nv.test(e)}var gU=-(2**31),pU=2**31-1;function mU(e){return Number.isInteger(e)&&e<=pU&&e>=gU}function _U(e){return Number.isInteger(e)}function Rv(){return!0}var hU=/[^\\]\\Z/;function fU(e){if(hU.test(e))return!1;try{return new RegExp(e),!0}catch{return!1}}});var ha=w(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.regexpCode=Ye.getEsmExportName=Ye.getProperty=Ye.safeStringify=Ye.stringify=Ye.strConcat=Ye.addCodeArg=Ye.str=Ye._=Ye.nil=Ye._Code=Ye.Name=Ye.IDENTIFIER=Ye._CodeOrName=void 0;var ma=class{};Ye._CodeOrName=ma;Ye.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var oo=class extends ma{constructor(i){if(super(),!Ye.IDENTIFIER.test(i))throw new Error("CodeGen: name must be a valid identifier");this.str=i}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};Ye.Name=oo;var Zi=class extends ma{constructor(i){super(),this._items=typeof i=="string"?[i]:i}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let i=this._items[0];return i===""||i==='""'}get str(){var i;return(i=this._str)!==null&&i!==void 0?i:this._str=this._items.reduce((t,s)=>`${t}${s}`,"")}get names(){var i;return(i=this._names)!==null&&i!==void 0?i:this._names=this._items.reduce((t,s)=>(s instanceof oo&&(t[s.str]=(t[s.str]||0)+1),t),{})}};Ye._Code=Zi;Ye.nil=new Zi("");function Fv(e,...i){let t=[e[0]],s=0;for(;s<i.length;)lp(t,i[s]),t.push(e[++s]);return new Zi(t)}Ye._=Fv;var ap=new Zi("+");function Vv(e,...i){let t=[_a(e[0])],s=0;for(;s<i.length;)t.push(ap),lp(t,i[s]),t.push(ap,_a(e[++s]));return bU(t),new Zi(t)}Ye.str=Vv;function lp(e,i){i instanceof Zi?e.push(...i._items):i instanceof oo?e.push(i):e.push(wU(i))}Ye.addCodeArg=lp;function bU(e){let i=1;for(;i<e.length-1;){if(e[i]===ap){let t=yU(e[i-1],e[i+1]);if(t!==void 0){e.splice(i-1,3,t);continue}e[i++]="+"}i++}}function yU(e,i){if(i==='""')return e;if(e==='""')return i;if(typeof e=="string")return i instanceof oo||e[e.length-1]!=='"'?void 0:typeof i!="string"?`${e.slice(0,-1)}${i}"`:i[0]==='"'?e.slice(0,-1)+i.slice(1):void 0;if(typeof i=="string"&&i[0]==='"'&&!(e instanceof oo))return`"${e}${i.slice(1)}`}function vU(e,i){return i.emptyStr()?e:e.emptyStr()?i:Vv`${e}${i}`}Ye.strConcat=vU;function wU(e){return typeof e=="number"||typeof e=="boolean"||e===null?e:_a(Array.isArray(e)?e.join(","):e)}function kU(e){return new Zi(_a(e))}Ye.stringify=kU;function _a(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}Ye.safeStringify=_a;function HU(e){return typeof e=="string"&&Ye.IDENTIFIER.test(e)?new Zi(`.${e}`):Fv`[${e}]`}Ye.getProperty=HU;function SU(e){if(typeof e=="string"&&Ye.IDENTIFIER.test(e))return new Zi(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)}Ye.getEsmExportName=SU;function CU(e){return new Zi(e.toString())}Ye.regexpCode=CU});var up=w(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.ValueScope=Si.ValueScopeName=Si.Scope=Si.varKinds=Si.UsedValueState=void 0;var Hi=ha(),cp=class extends Error{constructor(i){super(`CodeGen: "code" for ${i} not defined`),this.value=i.value}},Wc=(function(e){return e[e.Started=0]="Started",e[e.Completed=1]="Completed",e})(Wc||(Si.UsedValueState=Wc={}));Si.varKinds={const:new Hi.Name("const"),let:new Hi.Name("let"),var:new Hi.Name("var")};var Yc=class{constructor({prefixes:i,parent:t}={}){this._names={},this._prefixes=i,this._parent=t}toName(i){return i instanceof Hi.Name?i:this.name(i)}name(i){return new Hi.Name(this._newName(i))}_newName(i){let t=this._names[i]||this._nameGroup(i);return`${i}${t.index++}`}_nameGroup(i){var t,s;if(!((s=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||s===void 0)&&s.has(i)||this._prefixes&&!this._prefixes.has(i))throw new Error(`CodeGen: prefix "${i}" is not allowed in this scope`);return this._names[i]={prefix:i,index:0}}};Si.Scope=Yc;var Jc=class extends Hi.Name{constructor(i,t){super(t),this.prefix=i}setValue(i,{property:t,itemIndex:s}){this.value=i,this.scopePath=(0,Hi._)`.${new Hi.Name(t)}[${s}]`}};Si.ValueScopeName=Jc;var xU=(0,Hi._)`\n`,dp=class extends Yc{constructor(i){super(i),this._values={},this._scope=i.scope,this.opts=Ge(fe({},i),{_n:i.lines?xU:Hi.nil})}get(){return this._scope}name(i){return new Jc(i,this._newName(i))}value(i,t){var s;if(t.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let r=this.toName(i),{prefix:n}=r,l=(s=t.key)!==null&&s!==void 0?s:t.ref,c=this._values[n];if(c){let _=c.get(l);if(_)return _}else c=this._values[n]=new Map;c.set(l,r);let u=this._scope[n]||(this._scope[n]=[]),p=u.length;return u[p]=t.ref,r.setValue(t,{property:n,itemIndex:p}),r}getValue(i,t){let s=this._values[i];if(s)return s.get(t)}scopeRefs(i,t=this._values){return this._reduceValues(t,s=>{if(s.scopePath===void 0)throw new Error(`CodeGen: name "${s}" has no value`);return(0,Hi._)`${i}${s.scopePath}`})}scopeCode(i=this._values,t,s){return this._reduceValues(i,r=>{if(r.value===void 0)throw new Error(`CodeGen: name "${r}" has no value`);return r.value.code},t,s)}_reduceValues(i,t,s={},r){let n=Hi.nil;for(let l in i){let c=i[l];if(!c)continue;let u=s[l]=s[l]||new Map;c.forEach(p=>{if(u.has(p))return;u.set(p,Wc.Started);let _=t(p);if(_){let v=this.opts.es5?Si.varKinds.var:Si.varKinds.const;n=(0,Hi._)`${n}${v} ${p} = ${_};${this.opts._n}`}else if(_=r?.(p))n=(0,Hi._)`${n}${_}${this.opts._n}`;else throw new cp(p);u.set(p,Wc.Completed)})}return n}};Si.ValueScope=dp});var we=w(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.or=Oe.and=Oe.not=Oe.CodeGen=Oe.operators=Oe.varKinds=Oe.ValueScopeName=Oe.ValueScope=Oe.Scope=Oe.Name=Oe.regexpCode=Oe.stringify=Oe.getProperty=Oe.nil=Oe.strConcat=Oe.str=Oe._=void 0;var $e=ha(),ps=up(),Ar=ha();Object.defineProperty(Oe,"_",{enumerable:!0,get:function(){return Ar._}});Object.defineProperty(Oe,"str",{enumerable:!0,get:function(){return Ar.str}});Object.defineProperty(Oe,"strConcat",{enumerable:!0,get:function(){return Ar.strConcat}});Object.defineProperty(Oe,"nil",{enumerable:!0,get:function(){return Ar.nil}});Object.defineProperty(Oe,"getProperty",{enumerable:!0,get:function(){return Ar.getProperty}});Object.defineProperty(Oe,"stringify",{enumerable:!0,get:function(){return Ar.stringify}});Object.defineProperty(Oe,"regexpCode",{enumerable:!0,get:function(){return Ar.regexpCode}});Object.defineProperty(Oe,"Name",{enumerable:!0,get:function(){return Ar.Name}});var td=up();Object.defineProperty(Oe,"Scope",{enumerable:!0,get:function(){return td.Scope}});Object.defineProperty(Oe,"ValueScope",{enumerable:!0,get:function(){return td.ValueScope}});Object.defineProperty(Oe,"ValueScopeName",{enumerable:!0,get:function(){return td.ValueScopeName}});Object.defineProperty(Oe,"varKinds",{enumerable:!0,get:function(){return td.varKinds}});Oe.operators={GT:new $e._Code(">"),GTE:new $e._Code(">="),LT:new $e._Code("<"),LTE:new $e._Code("<="),EQ:new $e._Code("==="),NEQ:new $e._Code("!=="),NOT:new $e._Code("!"),OR:new $e._Code("||"),AND:new $e._Code("&&"),ADD:new $e._Code("+")};var Js=class{optimizeNodes(){return this}optimizeNames(i,t){return this}},gp=class extends Js{constructor(i,t,s){super(),this.varKind=i,this.name=t,this.rhs=s}render({es5:i,_n:t}){let s=i?ps.varKinds.var:this.varKind,r=this.rhs===void 0?"":` = ${this.rhs}`;return`${s} ${this.name}${r};`+t}optimizeNames(i,t){if(i[this.name.str])return this.rhs&&(this.rhs=Go(this.rhs,i,t)),this}get names(){return this.rhs instanceof $e._CodeOrName?this.rhs.names:{}}},Qc=class extends Js{constructor(i,t,s){super(),this.lhs=i,this.rhs=t,this.sideEffects=s}render({_n:i}){return`${this.lhs} = ${this.rhs};`+i}optimizeNames(i,t){if(!(this.lhs instanceof $e.Name&&!i[this.lhs.str]&&!this.sideEffects))return this.rhs=Go(this.rhs,i,t),this}get names(){let i=this.lhs instanceof $e.Name?{}:fe({},this.lhs.names);return ed(i,this.rhs)}},pp=class extends Qc{constructor(i,t,s,r){super(i,s,r),this.op=t}render({_n:i}){return`${this.lhs} ${this.op}= ${this.rhs};`+i}},mp=class extends Js{constructor(i){super(),this.label=i,this.names={}}render({_n:i}){return`${this.label}:`+i}},_p=class extends Js{constructor(i){super(),this.label=i,this.names={}}render({_n:i}){return`break${this.label?` ${this.label}`:""};`+i}},hp=class extends Js{constructor(i){super(),this.error=i}render({_n:i}){return`throw ${this.error};`+i}get names(){return this.error.names}},fp=class extends Js{constructor(i){super(),this.code=i}render({_n:i}){return`${this.code};`+i}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(i,t){return this.code=Go(this.code,i,t),this}get names(){return this.code instanceof $e._CodeOrName?this.code.names:{}}},fa=class extends Js{constructor(i=[]){super(),this.nodes=i}render(i){return this.nodes.reduce((t,s)=>t+s.render(i),"")}optimizeNodes(){let{nodes:i}=this,t=i.length;for(;t--;){let s=i[t].optimizeNodes();Array.isArray(s)?i.splice(t,1,...s):s?i[t]=s:i.splice(t,1)}return i.length>0?this:void 0}optimizeNames(i,t){let{nodes:s}=this,r=s.length;for(;r--;){let n=s[r];n.optimizeNames(i,t)||(IU(i,n.names),s.splice(r,1))}return s.length>0?this:void 0}get names(){return this.nodes.reduce((i,t)=>no(i,t.names),{})}},Zs=class extends fa{render(i){return"{"+i._n+super.render(i)+"}"+i._n}},bp=class extends fa{},yp=(()=>{class e extends Zs{}return e.kind="else",e})(),Zc=(()=>{class e extends Zs{constructor(t,s){super(s),this.condition=t}render(t){let s=`if(${this.condition})`+super.render(t);return this.else&&(s+="else "+this.else.render(t)),s}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let s=this.else;if(s){let r=s.optimizeNodes();s=this.else=Array.isArray(r)?new yp(r):r}if(s)return t===!1?s instanceof e?s:s.nodes:this.nodes.length?this:new e(Gv(t),s instanceof e?[s]:s.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(t,s){var r;if(this.else=(r=this.else)===null||r===void 0?void 0:r.optimizeNames(t,s),!!(super.optimizeNames(t,s)||this.else))return this.condition=Go(this.condition,t,s),this}get names(){let t=super.names;return ed(t,this.condition),this.else&&no(t,this.else.names),t}}return e.kind="if",e})(),id=(()=>{class e extends Zs{}return e.kind="for",e})(),vp=class extends id{constructor(i){super(),this.iteration=i}render(i){return`for(${this.iteration})`+super.render(i)}optimizeNames(i,t){if(super.optimizeNames(i,t))return this.iteration=Go(this.iteration,i,t),this}get names(){return no(super.names,this.iteration.names)}},wp=class extends id{constructor(i,t,s,r){super(),this.varKind=i,this.name=t,this.from=s,this.to=r}render(i){let t=i.es5?ps.varKinds.var:this.varKind,{name:s,from:r,to:n}=this;return`for(${t} ${s}=${r}; ${s}<${n}; ${s}++)`+super.render(i)}get names(){let i=ed(super.names,this.from);return ed(i,this.to)}},Xc=class extends id{constructor(i,t,s,r){super(),this.loop=i,this.varKind=t,this.name=s,this.iterable=r}render(i){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(i)}optimizeNames(i,t){if(super.optimizeNames(i,t))return this.iterable=Go(this.iterable,i,t),this}get names(){return no(super.names,this.iterable.names)}},qv=(()=>{class e extends Zs{constructor(t,s,r){super(),this.name=t,this.args=s,this.async=r}render(t){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(t)}}return e.kind="func",e})(),Lv=(()=>{class e extends fa{render(t){return"return "+super.render(t)}}return e.kind="return",e})(),kp=class extends Zs{render(i){let t="try"+super.render(i);return this.catch&&(t+=this.catch.render(i)),this.finally&&(t+=this.finally.render(i)),t}optimizeNodes(){var i,t;return super.optimizeNodes(),(i=this.catch)===null||i===void 0||i.optimizeNodes(),(t=this.finally)===null||t===void 0||t.optimizeNodes(),this}optimizeNames(i,t){var s,r;return super.optimizeNames(i,t),(s=this.catch)===null||s===void 0||s.optimizeNames(i,t),(r=this.finally)===null||r===void 0||r.optimizeNames(i,t),this}get names(){let i=super.names;return this.catch&&no(i,this.catch.names),this.finally&&no(i,this.finally.names),i}},Kv=(()=>{class e extends Zs{constructor(t){super(),this.error=t}render(t){return`catch(${this.error})`+super.render(t)}}return e.kind="catch",e})(),$v=(()=>{class e extends Zs{render(t){return"finally"+super.render(t)}}return e.kind="finally",e})(),Hp=class{constructor(i,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts=Ge(fe({},t),{_n:t.lines?`
2
2
  `:""}),this._extScope=i,this._scope=new ps.Scope({parent:i}),this._nodes=[new bp]}toString(){return this._root.render(this.opts)}name(i){return this._scope.name(i)}scopeName(i){return this._extScope.name(i)}scopeValue(i,t){let s=this._extScope.value(i,t);return(this._values[s.prefix]||(this._values[s.prefix]=new Set)).add(s),s}getScopeValue(i,t){return this._extScope.getValue(i,t)}scopeRefs(i){return this._extScope.scopeRefs(i,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(i,t,s,r){let n=this._scope.toName(t);return s!==void 0&&r&&(this._constants[n.str]=s),this._leafNode(new gp(i,n,s)),n}const(i,t,s){return this._def(ps.varKinds.const,i,t,s)}let(i,t,s){return this._def(ps.varKinds.let,i,t,s)}var(i,t,s){return this._def(ps.varKinds.var,i,t,s)}assign(i,t,s){return this._leafNode(new Qc(i,t,s))}add(i,t){return this._leafNode(new pp(i,Oe.operators.ADD,t))}code(i){return typeof i=="function"?i():i!==$e.nil&&this._leafNode(new fp(i)),this}object(...i){let t=["{"];for(let[s,r]of i)t.length>1&&t.push(","),t.push(s),(s!==r||this.opts.es5)&&(t.push(":"),(0,$e.addCodeArg)(t,r));return t.push("}"),new $e._Code(t)}if(i,t,s){if(this._blockNode(new Zc(i)),t&&s)this.code(t).else().code(s).endIf();else if(t)this.code(t).endIf();else if(s)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(i){return this._elseNode(new Zc(i))}else(){return this._elseNode(new yp)}endIf(){return this._endBlockNode(Zc,yp)}_for(i,t){return this._blockNode(i),t&&this.code(t).endFor(),this}for(i,t){return this._for(new vp(i),t)}forRange(i,t,s,r,n=this.opts.es5?ps.varKinds.var:ps.varKinds.let){let l=this._scope.toName(i);return this._for(new wp(n,l,t,s),()=>r(l))}forOf(i,t,s,r=ps.varKinds.const){let n=this._scope.toName(i);if(this.opts.es5){let l=t instanceof $e.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,$e._)`${l}.length`,c=>{this.var(n,(0,$e._)`${l}[${c}]`),s(n)})}return this._for(new Xc("of",r,n,t),()=>s(n))}forIn(i,t,s,r=this.opts.es5?ps.varKinds.var:ps.varKinds.const){if(this.opts.ownProperties)return this.forOf(i,(0,$e._)`Object.keys(${t})`,s);let n=this._scope.toName(i);return this._for(new Xc("in",r,n,t),()=>s(n))}endFor(){return this._endBlockNode(id)}label(i){return this._leafNode(new mp(i))}break(i){return this._leafNode(new _p(i))}return(i){let t=new Lv;if(this._blockNode(t),this.code(i),t.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Lv)}try(i,t,s){if(!t&&!s)throw new Error('CodeGen: "try" without "catch" and "finally"');let r=new kp;if(this._blockNode(r),this.code(i),t){let n=this.name("e");this._currNode=r.catch=new Kv(n),t(n)}return s&&(this._currNode=r.finally=new $v,this.code(s)),this._endBlockNode(Kv,$v)}throw(i){return this._leafNode(new hp(i))}block(i,t){return this._blockStarts.push(this._nodes.length),i&&this.code(i).endBlock(t),this}endBlock(i){let t=this._blockStarts.pop();if(t===void 0)throw new Error("CodeGen: not in self-balancing block");let s=this._nodes.length-t;if(s<0||i!==void 0&&s!==i)throw new Error(`CodeGen: wrong number of nodes: ${s} vs ${i} expected`);return this._nodes.length=t,this}func(i,t=$e.nil,s,r){return this._blockNode(new qv(i,t,s)),r&&this.code(r).endFunc(),this}endFunc(){return this._endBlockNode(qv)}optimize(i=1){for(;i-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(i){return this._currNode.nodes.push(i),this}_blockNode(i){this._currNode.nodes.push(i),this._nodes.push(i)}_endBlockNode(i,t){let s=this._currNode;if(s instanceof i||t&&s instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${i.kind}/${t.kind}`:i.kind}"`)}_elseNode(i){let t=this._currNode;if(!(t instanceof Zc))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=i,this}get _root(){return this._nodes[0]}get _currNode(){let i=this._nodes;return i[i.length-1]}set _currNode(i){let t=this._nodes;t[t.length-1]=i}};Oe.CodeGen=Hp;function no(e,i){for(let t in i)e[t]=(e[t]||0)+(i[t]||0);return e}function ed(e,i){return i instanceof $e._CodeOrName?no(e,i.names):e}function Go(e,i,t){if(e instanceof $e.Name)return s(e);if(!r(e))return e;return new $e._Code(e._items.reduce((n,l)=>(l instanceof $e.Name&&(l=s(l)),l instanceof $e._Code?n.push(...l._items):n.push(l),n),[]));function s(n){let l=t[n.str];return l===void 0||i[n.str]!==1?n:(delete i[n.str],l)}function r(n){return n instanceof $e._Code&&n._items.some(l=>l instanceof $e.Name&&i[l.str]===1&&t[l.str]!==void 0)}}function IU(e,i){for(let t in i)e[t]=(e[t]||0)-(i[t]||0)}function Gv(e){return typeof e=="boolean"||typeof e=="number"||e===null?!e:(0,$e._)`!${Sp(e)}`}Oe.not=Gv;var PU=Wv(Oe.operators.AND);function TU(...e){return e.reduce(PU)}Oe.and=TU;var zU=Wv(Oe.operators.OR);function AU(...e){return e.reduce(zU)}Oe.or=AU;function Wv(e){return(i,t)=>i===$e.nil?t:t===$e.nil?i:(0,$e._)`${Sp(i)} ${e} ${Sp(t)}`}function Sp(e){return e instanceof $e.Name?e:(0,$e._)`(${e})`}});var qe=w(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.checkStrictMode=Fe.getErrorPath=Fe.Type=Fe.useFunc=Fe.setEvaluated=Fe.evaluatedPropsToName=Fe.mergeEvaluated=Fe.eachItem=Fe.unescapeJsonPointer=Fe.escapeJsonPointer=Fe.escapeFragment=Fe.unescapeFragment=Fe.schemaRefOrVal=Fe.schemaHasRulesButRef=Fe.schemaHasRules=Fe.checkUnknownRules=Fe.alwaysValidSchema=Fe.toHash=void 0;var pt=we(),jU=ha();function DU(e){let i={};for(let t of e)i[t]=!0;return i}Fe.toHash=DU;function NU(e,i){return typeof i=="boolean"?i:Object.keys(i).length===0?!0:(Zv(e,i),!Qv(i,e.self.RULES.all))}Fe.alwaysValidSchema=NU;function Zv(e,i=e.schema){let{opts:t,self:s}=e;if(!t.strictSchema||typeof i=="boolean")return;let r=s.RULES.keywords;for(let n in i)r[n]||tw(e,`unknown keyword: "${n}"`)}Fe.checkUnknownRules=Zv;function Qv(e,i){if(typeof e=="boolean")return!e;for(let t in e)if(i[t])return!0;return!1}Fe.schemaHasRules=Qv;function RU(e,i){if(typeof e=="boolean")return!e;for(let t in e)if(t!=="$ref"&&i.all[t])return!0;return!1}Fe.schemaHasRulesButRef=RU;function EU({topSchemaRef:e,schemaPath:i},t,s,r){if(!r){if(typeof t=="number"||typeof t=="boolean")return t;if(typeof t=="string")return(0,pt._)`${t}`}return(0,pt._)`${e}${i}${(0,pt.getProperty)(s)}`}Fe.schemaRefOrVal=EU;function BU(e){return Xv(decodeURIComponent(e))}Fe.unescapeFragment=BU;function MU(e){return encodeURIComponent(xp(e))}Fe.escapeFragment=MU;function xp(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}Fe.escapeJsonPointer=xp;function Xv(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}Fe.unescapeJsonPointer=Xv;function UU(e,i){if(Array.isArray(e))for(let t of e)i(t);else i(e)}Fe.eachItem=UU;function Yv({mergeNames:e,mergeToName:i,mergeValues:t,resultToName:s}){return(r,n,l,c)=>{let u=l===void 0?n:l instanceof pt.Name?(n instanceof pt.Name?e(r,n,l):i(r,n,l),l):n instanceof pt.Name?(i(r,l,n),n):t(n,l);return c===pt.Name&&!(u instanceof pt.Name)?s(r,u):u}}Fe.mergeEvaluated={props:Yv({mergeNames:(e,i,t)=>e.if((0,pt._)`${t} !== true && ${i} !== undefined`,()=>{e.if((0,pt._)`${i} === true`,()=>e.assign(t,!0),()=>e.assign(t,(0,pt._)`${t} || {}`).code((0,pt._)`Object.assign(${t}, ${i})`))}),mergeToName:(e,i,t)=>e.if((0,pt._)`${t} !== true`,()=>{i===!0?e.assign(t,!0):(e.assign(t,(0,pt._)`${t} || {}`),Ip(e,t,i))}),mergeValues:(e,i)=>e===!0?!0:fe(fe({},e),i),resultToName:ew}),items:Yv({mergeNames:(e,i,t)=>e.if((0,pt._)`${t} !== true && ${i} !== undefined`,()=>e.assign(t,(0,pt._)`${i} === true ? true : ${t} > ${i} ? ${t} : ${i}`)),mergeToName:(e,i,t)=>e.if((0,pt._)`${t} !== true`,()=>e.assign(t,i===!0?!0:(0,pt._)`${t} > ${i} ? ${t} : ${i}`)),mergeValues:(e,i)=>e===!0?!0:Math.max(e,i),resultToName:(e,i)=>e.var("items",i)})};function ew(e,i){if(i===!0)return e.var("props",!0);let t=e.var("props",(0,pt._)`{}`);return i!==void 0&&Ip(e,t,i),t}Fe.evaluatedPropsToName=ew;function Ip(e,i,t){Object.keys(t).forEach(s=>e.assign((0,pt._)`${i}${(0,pt.getProperty)(s)}`,!0))}Fe.setEvaluated=Ip;var Jv={};function OU(e,i){return e.scopeValue("func",{ref:i,code:Jv[i.code]||(Jv[i.code]=new jU._Code(i.code))})}Fe.useFunc=OU;var Cp=(function(e){return e[e.Num=0]="Num",e[e.Str=1]="Str",e})(Cp||(Fe.Type=Cp={}));function FU(e,i,t){if(e instanceof pt.Name){let s=i===Cp.Num;return t?s?(0,pt._)`"[" + ${e} + "]"`:(0,pt._)`"['" + ${e} + "']"`:s?(0,pt._)`"/" + ${e}`:(0,pt._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return t?(0,pt.getProperty)(e).toString():"/"+xp(e)}Fe.getErrorPath=FU;function tw(e,i,t=e.opts.strictSchema){if(t){if(i=`strict mode: ${i}`,t===!0)throw new Error(i);e.self.logger.warn(i)}}Fe.checkStrictMode=tw});var Qi=w(Pp=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});var Qt=we(),VU={data:new Qt.Name("data"),valCxt:new Qt.Name("valCxt"),instancePath:new Qt.Name("instancePath"),parentData:new Qt.Name("parentData"),parentDataProperty:new Qt.Name("parentDataProperty"),rootData:new Qt.Name("rootData"),dynamicAnchors:new Qt.Name("dynamicAnchors"),vErrors:new Qt.Name("vErrors"),errors:new Qt.Name("errors"),this:new Qt.Name("this"),self:new Qt.Name("self"),scope:new Qt.Name("scope"),json:new Qt.Name("json"),jsonPos:new Qt.Name("jsonPos"),jsonLen:new Qt.Name("jsonLen"),jsonPart:new Qt.Name("jsonPart")};Pp.default=VU});var ba=w(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.extendErrors=Xt.resetErrorsCount=Xt.reportExtraError=Xt.reportError=Xt.keyword$DataError=Xt.keywordError=void 0;var We=we(),sd=qe(),gi=Qi();Xt.keywordError={message:({keyword:e})=>(0,We.str)`must pass "${e}" keyword validation`};Xt.keyword$DataError={message:({keyword:e,schemaType:i})=>i?(0,We.str)`"${e}" keyword must be ${i} ($data)`:(0,We.str)`"${e}" keyword is invalid ($data)`};function qU(e,i=Xt.keywordError,t,s){let{it:r}=e,{gen:n,compositeRule:l,allErrors:c}=r,u=rw(e,i,t);s??(l||c)?iw(n,u):sw(r,(0,We._)`[${u}]`)}Xt.reportError=qU;function LU(e,i=Xt.keywordError,t){let{it:s}=e,{gen:r,compositeRule:n,allErrors:l}=s,c=rw(e,i,t);iw(r,c),n||l||sw(s,gi.default.vErrors)}Xt.reportExtraError=LU;function KU(e,i){e.assign(gi.default.errors,i),e.if((0,We._)`${gi.default.vErrors} !== null`,()=>e.if(i,()=>e.assign((0,We._)`${gi.default.vErrors}.length`,i),()=>e.assign(gi.default.vErrors,null)))}Xt.resetErrorsCount=KU;function $U({gen:e,keyword:i,schemaValue:t,data:s,errsCount:r,it:n}){if(r===void 0)throw new Error("ajv implementation error");let l=e.name("err");e.forRange("i",r,gi.default.errors,c=>{e.const(l,(0,We._)`${gi.default.vErrors}[${c}]`),e.if((0,We._)`${l}.instancePath === undefined`,()=>e.assign((0,We._)`${l}.instancePath`,(0,We.strConcat)(gi.default.instancePath,n.errorPath))),e.assign((0,We._)`${l}.schemaPath`,(0,We.str)`${n.errSchemaPath}/${i}`),n.opts.verbose&&(e.assign((0,We._)`${l}.schema`,t),e.assign((0,We._)`${l}.data`,s))})}Xt.extendErrors=$U;function iw(e,i){let t=e.const("err",i);e.if((0,We._)`${gi.default.vErrors} === null`,()=>e.assign(gi.default.vErrors,(0,We._)`[${t}]`),(0,We._)`${gi.default.vErrors}.push(${t})`),e.code((0,We._)`${gi.default.errors}++`)}function sw(e,i){let{gen:t,validateName:s,schemaEnv:r}=e;r.$async?t.throw((0,We._)`new ${e.ValidationError}(${i})`):(t.assign((0,We._)`${s}.errors`,i),t.return(!1))}var ao={keyword:new We.Name("keyword"),schemaPath:new We.Name("schemaPath"),params:new We.Name("params"),propertyName:new We.Name("propertyName"),message:new We.Name("message"),schema:new We.Name("schema"),parentSchema:new We.Name("parentSchema")};function rw(e,i,t){let{createErrors:s}=e.it;return s===!1?(0,We._)`{}`:GU(e,i,t)}function GU(e,i,t={}){let{gen:s,it:r}=e,n=[WU(r,t),YU(e,t)];return JU(e,i,n),s.object(...n)}function WU({errorPath:e},{instancePath:i}){let t=i?(0,We.str)`${e}${(0,sd.getErrorPath)(i,sd.Type.Str)}`:e;return[gi.default.instancePath,(0,We.strConcat)(gi.default.instancePath,t)]}function YU({keyword:e,it:{errSchemaPath:i}},{schemaPath:t,parentSchema:s}){let r=s?i:(0,We.str)`${i}/${e}`;return t&&(r=(0,We.str)`${r}${(0,sd.getErrorPath)(t,sd.Type.Str)}`),[ao.schemaPath,r]}function JU(e,{params:i,message:t},s){let{keyword:r,data:n,schemaValue:l,it:c}=e,{opts:u,propertyName:p,topSchemaRef:_,schemaPath:v}=c;s.push([ao.keyword,r],[ao.params,typeof i=="function"?i(e):i||(0,We._)`{}`]),u.messages&&s.push([ao.message,typeof t=="function"?t(e):t]),u.verbose&&s.push([ao.schema,l],[ao.parentSchema,(0,We._)`${_}${v}`],[gi.default.data,n]),p&&s.push([ao.propertyName,p])}});var nw=w(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.boolOrEmptySchema=Wo.topBoolOrEmptySchema=void 0;var ZU=ba(),QU=we(),XU=Qi(),eO={message:"boolean schema is false"};function tO(e){let{gen:i,schema:t,validateName:s}=e;t===!1?ow(e,!1):typeof t=="object"&&t.$async===!0?i.return(XU.default.data):(i.assign((0,QU._)`${s}.errors`,null),i.return(!0))}Wo.topBoolOrEmptySchema=tO;function iO(e,i){let{gen:t,schema:s}=e;s===!1?(t.var(i,!1),ow(e)):t.var(i,!0)}Wo.boolOrEmptySchema=iO;function ow(e,i){let{gen:t,data:s}=e,r={gen:t,keyword:"false schema",data:s,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,ZU.reportError)(r,eO,void 0,i)}});var Tp=w(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.getRules=Yo.isJSONType=void 0;var sO=["string","number","integer","boolean","null","object","array"],rO=new Set(sO);function oO(e){return typeof e=="string"&&rO.has(e)}Yo.isJSONType=oO;function nO(){let e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:Ge(fe({},e),{integer:!0,boolean:!0,null:!0}),rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}Yo.getRules=nO});var zp=w(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.shouldUseRule=jr.shouldUseGroup=jr.schemaHasRulesForType=void 0;function aO({schema:e,self:i},t){let s=i.RULES.types[t];return s&&s!==!0&&aw(e,s)}jr.schemaHasRulesForType=aO;function aw(e,i){return i.rules.some(t=>lw(e,t))}jr.shouldUseGroup=aw;function lw(e,i){var t;return e[i.keyword]!==void 0||((t=i.definition.implements)===null||t===void 0?void 0:t.some(s=>e[s]!==void 0))}jr.shouldUseRule=lw});var ya=w(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.reportTypeError=ei.checkDataTypes=ei.checkDataType=ei.coerceAndCheckDataType=ei.getJSONTypes=ei.getSchemaTypes=ei.DataType=void 0;var lO=Tp(),cO=zp(),dO=ba(),Ne=we(),cw=qe(),Jo=(function(e){return e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong",e})(Jo||(ei.DataType=Jo={}));function uO(e){let i=dw(e.type);if(i.includes("null")){if(e.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!i.length&&e.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');e.nullable===!0&&i.push("null")}return i}ei.getSchemaTypes=uO;function dw(e){let i=Array.isArray(e)?e:e?[e]:[];if(i.every(lO.isJSONType))return i;throw new Error("type must be JSONType or JSONType[]: "+i.join(","))}ei.getJSONTypes=dw;function gO(e,i){let{gen:t,data:s,opts:r}=e,n=pO(i,r.coerceTypes),l=i.length>0&&!(n.length===0&&i.length===1&&(0,cO.schemaHasRulesForType)(e,i[0]));if(l){let c=jp(i,s,r.strictNumbers,Jo.Wrong);t.if(c,()=>{n.length?mO(e,i,n):Dp(e)})}return l}ei.coerceAndCheckDataType=gO;var uw=new Set(["string","number","integer","boolean","null"]);function pO(e,i){return i?e.filter(t=>uw.has(t)||i==="array"&&t==="array"):[]}function mO(e,i,t){let{gen:s,data:r,opts:n}=e,l=s.let("dataType",(0,Ne._)`typeof ${r}`),c=s.let("coerced",(0,Ne._)`undefined`);n.coerceTypes==="array"&&s.if((0,Ne._)`${l} == 'object' && Array.isArray(${r}) && ${r}.length == 1`,()=>s.assign(r,(0,Ne._)`${r}[0]`).assign(l,(0,Ne._)`typeof ${r}`).if(jp(i,r,n.strictNumbers),()=>s.assign(c,r))),s.if((0,Ne._)`${c} !== undefined`);for(let p of t)(uw.has(p)||p==="array"&&n.coerceTypes==="array")&&u(p);s.else(),Dp(e),s.endIf(),s.if((0,Ne._)`${c} !== undefined`,()=>{s.assign(r,c),_O(e,c)});function u(p){switch(p){case"string":s.elseIf((0,Ne._)`${l} == "number" || ${l} == "boolean"`).assign(c,(0,Ne._)`"" + ${r}`).elseIf((0,Ne._)`${r} === null`).assign(c,(0,Ne._)`""`);return;case"number":s.elseIf((0,Ne._)`${l} == "boolean" || ${r} === null
3
3
  || (${l} == "string" && ${r} && ${r} == +${r})`).assign(c,(0,Ne._)`+${r}`);return;case"integer":s.elseIf((0,Ne._)`${l} === "boolean" || ${r} === null
4
4
  || (${l} === "string" && ${r} && ${r} == +${r} && !(${r} % 1))`).assign(c,(0,Ne._)`+${r}`);return;case"boolean":s.elseIf((0,Ne._)`${r} === "false" || ${r} === 0 || ${r} === null`).assign(c,!1).elseIf((0,Ne._)`${r} === "true" || ${r} === 1`).assign(c,!0);return;case"null":s.elseIf((0,Ne._)`${r} === "" || ${r} === 0 || ${r} === false`),s.assign(c,null);return;case"array":s.elseIf((0,Ne._)`${l} === "string" || ${l} === "number"
@@ -1 +1 @@
1
- import{h as i}from"./chunk-5ZHDYUXA.js";import{eb as e,ja as o}from"./chunk-ZRDN4L2J.js";var m=[{path:"",redirectTo:"/",pathMatch:"full"},{path:"restart-server",loadComponent:()=>import("./chunk-L7WPLLRL.js").then(t=>t.RestartLinuxComponent)},{path:"shutdown-server",loadComponent:()=>import("./chunk-NCA3TUR7.js").then(t=>t.ShutdownLinuxComponent)}],n=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=e({type:t});static \u0275inj=o({imports:[i.forChild(m),i]})}return t})();var c=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=e({type:t});static \u0275inj=o({imports:[n]})}return t})();export{c as LinuxModule};
1
+ import{h as i}from"./chunk-5ZHDYUXA.js";import{eb as e,ja as o}from"./chunk-ZRDN4L2J.js";var m=[{path:"",redirectTo:"/",pathMatch:"full"},{path:"restart-server",loadComponent:()=>import("./chunk-4ZVRZJUG.js").then(t=>t.RestartLinuxComponent)},{path:"shutdown-server",loadComponent:()=>import("./chunk-UZIHZ27B.js").then(t=>t.ShutdownLinuxComponent)}],n=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=e({type:t});static \u0275inj=o({imports:[i.forChild(m),i]})}return t})();var c=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=e({type:t});static \u0275inj=o({imports:[n]})}return t})();export{c as LinuxModule};
@@ -1 +1 @@
1
- import{a as E}from"./chunk-WNU5TJUL.js";import{a as S}from"./chunk-MBSISVHI.js";import"./chunk-SIVN6M76.js";import"./chunk-DM6O6Z44.js";import"./chunk-54X33YUH.js";import"./chunk-3PGUQRQW.js";import"./chunk-BQNXCAZG.js";import"./chunk-3R5JSBG5.js";import{b as C}from"./chunk-SURJNEQ7.js";import{k as $,l as _}from"./chunk-XIK5D4TC.js";import{$b as y,Ab as l,Bb as m,Cb as g,Cc as w,Lb as h,Pa as a,Qa as c,Ub as f,Vb as v,_b as p,db as u,n as d,na as s,rc as T,sc as b}from"./chunk-ZRDN4L2J.js";var k=["terminaloutput"],x=(()=>{class r{$terminal=s(S);$settings=s(C);$navigationGuard=s(E);$translate=s($);resizeEvent=new d;termTarget=w("terminaloutput");onWindowResize(){this.resizeEvent.next(void 0)}onBeforeUnload(t){return this.$navigationGuard.handleBeforeUnload(t)}onWindowFocus(){this.activateTerminal()}onClick(){this.activateTerminal()}activateTerminal(){this.$terminal.isTerminalReady()&&this.$terminal.term&&this.$terminal.term.focus()}ngOnInit(){let t=this.$translate.instant("menu.linux.label_terminal");if(this.$settings.setPageTitle(t),window.document.querySelector("body").classList.add("bg-black"),this.$settings.actualLightingMode==="light"){window.document.querySelector("body").classList.add("light-mode");let e=this.termTarget()?.nativeElement;e&&e.classList.add("light-mode")}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(t){let e=this.$navigationGuard.canDeactivate();if(e===!1||e instanceof Promise&&e.then)return e;if(this.$settings.actualLightingMode!=="light")return window.document.querySelector("body").classList.remove("bg-black"),Promise.resolve(!0);window.document.querySelector("body").classList.remove("light-mode");let n=t&&(t.includes("/platform-tools/terminal")||t.includes("/logs"));return new Promise(o=>{let i=this.termTarget()?.nativeElement;i&&i.classList.add("fade-out"),n?setTimeout(()=>{o(!0)},250):(setTimeout(()=>{window.document.querySelector("body").classList.remove("bg-black")},250),setTimeout(()=>{o(!0)},500))})}ngOnDestroy(){document.removeEventListener("visibilitychange",this.onVisibilityChange.bind(this)),window.document.querySelector("body").classList.remove("light-mode"),this.$settings.env.terminal?.persistence?this.$terminal.detachTerminal():this.$terminal.destroyPersistentSession()}static \u0275fac=function(e){return new(e||r)};static \u0275cmp=u({type:r,selectors:[["ng-component"]],viewQuery:function(e,n){e&1&&f(n.termTarget,k,5),e&2&&v()},hostBindings:function(e,n){e&1&&h("resize",function(i){return n.onWindowResize(i)},a)("beforeunload",function(i){return n.onBeforeUnload(i)},a)("focus",function(i){return n.onWindowFocus(i)},a)("click",function(i){return n.onClick(i)})},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,n){e&1&&(l(0,"div",1)(1,"div",2)(2,"h3",3),p(3),T(4,"translate"),m()()(),l(5,"div",4),g(6,"div",5,0),m()),e&2&&(c(3),y(b(4,1,"menu.linux.label_terminal")))},dependencies:[_],styles:["body.light-mode{transition:background-color .25s ease-in-out}#docker-terminal.light-mode[_ngcontent-%COMP%]{opacity:0;animation:_ngcontent-%COMP%_fadeIn .25s ease-in-out .25s forwards}#docker-terminal.light-mode.fade-out[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeOut .25s ease-in-out forwards!important;opacity:1}@keyframes _ngcontent-%COMP%_fadeIn{to{opacity:1}}@keyframes _ngcontent-%COMP%_fadeOut{to{opacity:0}}.adjust-for-mobile[_ngcontent-%COMP%]{height:calc(100% - 60px)}"]})}return r})();export{x as TerminalComponent};
1
+ import{a as E}from"./chunk-QPM4JTGY.js";import{a as S}from"./chunk-EJ5V7YHW.js";import"./chunk-SIVN6M76.js";import"./chunk-6KARJMOH.js";import"./chunk-54X33YUH.js";import"./chunk-3PGUQRQW.js";import"./chunk-TFQIT6A5.js";import"./chunk-BA566FN3.js";import{b as C}from"./chunk-QQ26P7ID.js";import{k as $,l as _}from"./chunk-L4R362JD.js";import{$b as y,Ab as l,Bb as m,Cb as g,Cc as w,Lb as h,Pa as a,Qa as c,Ub as f,Vb as v,_b as p,db as u,n as d,na as s,rc as T,sc as b}from"./chunk-ZRDN4L2J.js";var k=["terminaloutput"],x=(()=>{class r{$terminal=s(S);$settings=s(C);$navigationGuard=s(E);$translate=s($);resizeEvent=new d;termTarget=w("terminaloutput");onWindowResize(){this.resizeEvent.next(void 0)}onBeforeUnload(t){return this.$navigationGuard.handleBeforeUnload(t)}onWindowFocus(){this.activateTerminal()}onClick(){this.activateTerminal()}activateTerminal(){this.$terminal.isTerminalReady()&&this.$terminal.term&&this.$terminal.term.focus()}ngOnInit(){let t=this.$translate.instant("menu.linux.label_terminal");if(this.$settings.setPageTitle(t),window.document.querySelector("body").classList.add("bg-black"),this.$settings.actualLightingMode==="light"){window.document.querySelector("body").classList.add("light-mode");let e=this.termTarget()?.nativeElement;e&&e.classList.add("light-mode")}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(t){let e=this.$navigationGuard.canDeactivate();if(e===!1||e instanceof Promise&&e.then)return e;if(this.$settings.actualLightingMode!=="light")return window.document.querySelector("body").classList.remove("bg-black"),Promise.resolve(!0);window.document.querySelector("body").classList.remove("light-mode");let n=t&&(t.includes("/platform-tools/terminal")||t.includes("/logs"));return new Promise(o=>{let i=this.termTarget()?.nativeElement;i&&i.classList.add("fade-out"),n?setTimeout(()=>{o(!0)},250):(setTimeout(()=>{window.document.querySelector("body").classList.remove("bg-black")},250),setTimeout(()=>{o(!0)},500))})}ngOnDestroy(){document.removeEventListener("visibilitychange",this.onVisibilityChange.bind(this)),window.document.querySelector("body").classList.remove("light-mode"),this.$settings.env.terminal?.persistence?this.$terminal.detachTerminal():this.$terminal.destroyPersistentSession()}static \u0275fac=function(e){return new(e||r)};static \u0275cmp=u({type:r,selectors:[["ng-component"]],viewQuery:function(e,n){e&1&&f(n.termTarget,k,5),e&2&&v()},hostBindings:function(e,n){e&1&&h("resize",function(i){return n.onWindowResize(i)},a)("beforeunload",function(i){return n.onBeforeUnload(i)},a)("focus",function(i){return n.onWindowFocus(i)},a)("click",function(i){return n.onClick(i)})},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,n){e&1&&(l(0,"div",1)(1,"div",2)(2,"h3",3),p(3),T(4,"translate"),m()()(),l(5,"div",4),g(6,"div",5,0),m()),e&2&&(c(3),y(b(4,1,"menu.linux.label_terminal")))},dependencies:[_],styles:["body.light-mode{transition:background-color .25s ease-in-out}#docker-terminal.light-mode[_ngcontent-%COMP%]{opacity:0;animation:_ngcontent-%COMP%_fadeIn .25s ease-in-out .25s forwards}#docker-terminal.light-mode.fade-out[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeOut .25s ease-in-out forwards!important;opacity:1}@keyframes _ngcontent-%COMP%_fadeIn{to{opacity:1}}@keyframes _ngcontent-%COMP%_fadeOut{to{opacity:0}}.adjust-for-mobile[_ngcontent-%COMP%]{height:calc(100% - 60px)}"]})}return r})();export{x as TerminalComponent};
package/public/index.html CHANGED
@@ -20,5 +20,5 @@
20
20
 
21
21
  <body>
22
22
  <app-root></app-root>
23
- <link rel="modulepreload" href="chunk-VECCZZAO.js"><link rel="modulepreload" href="chunk-RFT6CPEK.js"><link rel="modulepreload" href="chunk-JYAM3PTI.js"><link rel="modulepreload" href="chunk-PU7P44L6.js"><link rel="modulepreload" href="chunk-56AOPL73.js"><link rel="modulepreload" href="chunk-NEOJWTDW.js"><link rel="modulepreload" href="chunk-YY2SVKVF.js"><link rel="modulepreload" href="chunk-EQHGBDO3.js"><link rel="modulepreload" href="chunk-U6YE5QTN.js"><link rel="modulepreload" href="chunk-J4TPCWFM.js"><script src="polyfills-5KWHJ7II.js" type="module" crossorigin="use-credentials"></script><script src="main-GWYT3L2W.js" type="module" crossorigin="use-credentials"></script></body>
23
+ <link rel="modulepreload" href="chunk-4NXMGOVZ.js"><link rel="modulepreload" href="chunk-GAGIBHRL.js"><link rel="modulepreload" href="chunk-JYAM3PTI.js"><link rel="modulepreload" href="chunk-VQW3VBAG.js"><link rel="modulepreload" href="chunk-C2LNKETT.js"><link rel="modulepreload" href="chunk-GZJUTGQO.js"><link rel="modulepreload" href="chunk-JNV4KR4Q.js"><link rel="modulepreload" href="chunk-EQHGBDO3.js"><link rel="modulepreload" href="chunk-B76BC5JA.js"><link rel="modulepreload" href="chunk-D2XKJFZX.js"><script src="polyfills-5KWHJ7II.js" type="module" crossorigin="use-credentials"></script><script src="main-O7KMIMCK.js" type="module" crossorigin="use-credentials"></script></body>
24
24
  </html>