@duplicati/ngclient 0.0.141 → 0.0.142
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.
- package/assets/backgrounds/base-bg.svg +1 -1
- package/assets/duplicati-logo.svg +1 -1
- package/assets/sh-bold.woff2 +0 -0
- package/assets/sh.woff2 +0 -0
- package/assets/ship.css +81 -0
- package/assets/spk.woff2 +0 -0
- package/chunk-2G6UXMJB.js +1 -0
- package/chunk-2RB5RKNM.js +1 -0
- package/chunk-3BODZQHK.js +1 -0
- package/chunk-3L3SGYRX.js +1 -0
- package/{chunk-7QJG4IIT.js → chunk-47WDRGVN.js} +1 -1
- package/chunk-4URGDROZ.js +1 -0
- package/chunk-4YL5DZVH.js +1 -0
- package/chunk-5DO6JZVF.js +1 -0
- package/chunk-5OIM6PRU.js +1 -0
- package/chunk-5SH42EY6.js +1 -0
- package/chunk-5SPGCYAQ.js +1 -0
- package/chunk-65QCOV7I.js +2 -0
- package/{chunk-B6OIHB5W.js → chunk-73RDJP55.js} +1 -1
- package/chunk-7765XHNC.js +8 -0
- package/{chunk-ELFZD53L.js → chunk-7AMBMWZP.js} +1 -1
- package/chunk-7WD3AN66.js +1 -0
- package/chunk-ACH476VA.js +1 -0
- package/chunk-ATYS35R4.js +1 -0
- package/{chunk-UZK7ABRM.js → chunk-B5FUQFEQ.js} +1 -1
- package/chunk-BMYQZKPC.js +2 -0
- package/chunk-BVEALUGN.js +1 -0
- package/chunk-C32RWSXV.js +1 -0
- package/chunk-CNUHBPET.js +2 -0
- package/{chunk-WXARH2SG.js → chunk-CWBEE627.js} +1 -1
- package/chunk-CZLLEVMJ.js +1 -0
- package/chunk-DUKSWBLV.js +1 -0
- package/chunk-E6UP7FUD.js +1 -0
- package/chunk-EDW3WHAP.js +1 -0
- package/chunk-ERIXY2FW.js +3 -0
- package/chunk-FPPZ4BUR.js +1 -0
- package/chunk-GFSWKDRL.js +1 -0
- package/chunk-GUH5TMOS.js +1 -0
- package/chunk-GXARFIQG.js +1 -0
- package/chunk-HBKQWKW7.js +1 -0
- package/{chunk-AM7RYTIO.js → chunk-IHNX6WZQ.js} +1 -1
- package/chunk-JA5QSJM3.js +1 -0
- package/{chunk-ULLALJQ2.js → chunk-JB75BUPF.js} +1 -1
- package/chunk-JF4IGUR6.js +1 -0
- package/{chunk-2W6BEUGU.js → chunk-L2EO4M4B.js} +1 -1
- package/chunk-LAUG2PZW.js +1 -0
- package/chunk-LIJJPCCP.js +1 -0
- package/{chunk-AH5TLYN4.js → chunk-LT2T7TXS.js} +1 -1
- package/{chunk-V5YSQG4X.js → chunk-LZUM5XKC.js} +1 -1
- package/chunk-O2RJYKE4.js +1 -0
- package/chunk-OAW2NFZX.js +1 -0
- package/chunk-OBJPWKDY.js +1 -0
- package/chunk-OICFVPYU.js +1 -0
- package/chunk-OWAZS6AA.js +1 -0
- package/chunk-P2DII6CV.js +1 -0
- package/{chunk-DBD6FOQL.js → chunk-PEWNHZLZ.js} +2 -2
- package/chunk-PHIECUWX.js +1 -0
- package/chunk-PJBVFTZK.js +1 -0
- package/chunk-PMZGBC4U.js +1 -0
- package/chunk-PWV3UKIW.js +1 -0
- package/{chunk-DG7SFNGT.js → chunk-QC2NBFUR.js} +1 -1
- package/chunk-QD2VHHZY.js +1 -0
- package/chunk-QDFCX6XE.js +4 -0
- package/chunk-QFU6VJXV.js +1 -0
- package/chunk-QGFC5ZUR.js +1 -0
- package/chunk-QIQH4ASK.js +2 -0
- package/chunk-QM6X5ZEC.js +2 -0
- package/chunk-R3OYJX7V.js +1 -0
- package/chunk-SWLG7DS7.js +1 -0
- package/chunk-TAPLSJ2K.js +1 -0
- package/chunk-UACX27D3.js +1 -0
- package/chunk-UBFQDZB5.js +1 -0
- package/chunk-UCZV35IF.js +1 -0
- package/{chunk-NSIELNIY.js → chunk-USU2EHJV.js} +1 -1
- package/chunk-UV3WAAEX.js +3 -0
- package/chunk-V7UTQSCX.js +1 -0
- package/chunk-VC6TE2B6.js +1 -0
- package/{chunk-B26UYXA3.js → chunk-VC72SWC4.js} +1 -1
- package/chunk-VMNRHHVY.js +1 -0
- package/chunk-WEAHBXR2.js +1 -0
- package/chunk-WJPLJKPQ.js +1 -0
- package/chunk-WRNQOX5R.js +1 -0
- package/{chunk-32366MQR.js → chunk-X5ISYEI2.js} +1 -1
- package/chunk-X6QMUQPK.js +1 -0
- package/chunk-YCTTQQ6B.js +1 -0
- package/chunk-YIV6PKM7.js +1 -0
- package/chunk-Z2U5JI53.js +1 -0
- package/chunk-ZGU7OKMF.js +1 -0
- package/chunk-ZTHT3VVI.js +1 -0
- package/index.html +4 -4
- package/main-TVE62AWE.js +1 -0
- package/package.json +1 -1
- package/styles-EZGVWHZF.css +1 -0
- package/chunk-23ODVSFI.js +0 -1
- package/chunk-2BX65XJQ.js +0 -1
- package/chunk-2D26BDYB.js +0 -1
- package/chunk-2G6TVFPZ.js +0 -1
- package/chunk-2ULYPLGO.js +0 -1
- package/chunk-3JKXOOME.js +0 -1
- package/chunk-3WCZIRMO.js +0 -1
- package/chunk-3ZVSHKLD.js +0 -1
- package/chunk-52KRFMSD.js +0 -1
- package/chunk-64ZU74CD.js +0 -1
- package/chunk-6DSLFJ4T.js +0 -1
- package/chunk-6JQM2X3B.js +0 -1
- package/chunk-AC7QC7PU.js +0 -1
- package/chunk-AFLQOHXV.js +0 -1
- package/chunk-BCHZRC5K.js +0 -1
- package/chunk-BTMXQPBB.js +0 -7
- package/chunk-C26ZMSTR.js +0 -1
- package/chunk-CCA5ZCEA.js +0 -1
- package/chunk-CDXBWYCI.js +0 -8
- package/chunk-CWLTHXVS.js +0 -1
- package/chunk-DNJOKPEL.js +0 -2
- package/chunk-E4GCCYDQ.js +0 -1
- package/chunk-EBXKOOS2.js +0 -1
- package/chunk-EJZXEK6Z.js +0 -1
- package/chunk-EKP3ML6M.js +0 -1
- package/chunk-EQAVG2TR.js +0 -1
- package/chunk-F3LCHCDX.js +0 -1
- package/chunk-FJ62TYXT.js +0 -1
- package/chunk-FTFVEVRT.js +0 -1
- package/chunk-H2PTENA3.js +0 -1
- package/chunk-HLYFP2CB.js +0 -1
- package/chunk-IBG5YOFG.js +0 -1
- package/chunk-IVBTBJGC.js +0 -1
- package/chunk-IZXB2EWT.js +0 -1
- package/chunk-J6BHRR34.js +0 -1
- package/chunk-JA3Y722G.js +0 -1
- package/chunk-JFOXV66M.js +0 -1
- package/chunk-JOUBVX7V.js +0 -1
- package/chunk-JPMOGXHN.js +0 -1
- package/chunk-KSQIUDEA.js +0 -1
- package/chunk-LDIZ5E5Z.js +0 -1
- package/chunk-MMPTX6PS.js +0 -1
- package/chunk-MQI6JU7H.js +0 -1
- package/chunk-N57J64DN.js +0 -3
- package/chunk-N7RSCHJF.js +0 -3
- package/chunk-NHAGSIVX.js +0 -1
- package/chunk-NS4PAVKI.js +0 -1
- package/chunk-NZ2KKCDC.js +0 -1
- package/chunk-Q6W2U6VI.js +0 -2
- package/chunk-QBJGIKPM.js +0 -1
- package/chunk-QRRKPBY6.js +0 -1
- package/chunk-QU24HTBS.js +0 -2
- package/chunk-QVEGV6V6.js +0 -1
- package/chunk-RCKA5DTC.js +0 -1
- package/chunk-UKPX2XRO.js +0 -1
- package/chunk-V77N2OUE.js +0 -1
- package/chunk-VLBSM6YW.js +0 -1
- package/chunk-WIDMAJIO.js +0 -1
- package/chunk-WPGKMLVU.js +0 -1
- package/chunk-WRWIBPXL.js +0 -2
- package/chunk-WZNH4JPF.js +0 -1
- package/chunk-WZRDKVOR.js +0 -1
- package/chunk-X7SFNRJF.js +0 -1
- package/chunk-XBJRRUMO.js +0 -2
- package/chunk-XIOHRQ3X.js +0 -1
- package/chunk-Y5IRBMLB.js +0 -1
- package/chunk-ZAFFTZSE.js +0 -1
- package/chunk-ZI2XNFAW.js +0 -1
- package/main-A5QFJ7CT.js +0 -1
- package/styles-IH5IS4WG.css +0 -1
- /package/{polyfills-COBLRUJG.js → polyfills-DNO7R5SL.js} +0 -0
- /package/{sparkle-ui-assets → ship-ui-assets}/fonts/InterTight-VariableFont_wght.woff2 +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$a as rt,$c as ve,Aa as Qe,Ba as _e,Da as et,Kc as x,Lb as ut,Lc as ft,Mb as y,Nb as ct,Nc as be,Ob as dt,Pb as l,S as F,Sa as tt,T as Se,Ta as V,V as S,Va as Y,W as Ke,Wa as u,Xa as k,Y as P,Ya as nt,Yc as ht,Z as T,Za as it,Zc as se,_,_c as gt,bd as K,cb as ot,cd as Ie,db as b,eb as v,hc as lt,i as Ye,ia as Xe,ja as j,ma as qe,nb as st,ob as at,ra as Z,ta as Je,ua as W}from"./chunk-QDFCX6XE.js";import{a as re,b as oe}from"./chunk-EUDKD2JW.js";var mt=null;function ae(){return mt}function an(e){mt??=e}var Le=class{},X=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>_(Ct),providedIn:"platform"})}return e})(),un=new P(""),Ct=(()=>{class e extends X{_location;_history;_doc=_(j);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ae().getBaseHref(this._doc)}onPopState(t){let n=ae().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=ae().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",t,!1),()=>n.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,n,r){this._history.pushState(t,n,r)}replaceState(t,n,r){this._history.replaceState(t,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function ue(e,i){return e?i?e.endsWith("/")?i.startsWith("/")?e+i.slice(1):e+i:i.startsWith("/")?e+i:`${e}/${i}`:e:i}function Dt(e){let i=e.search(/#|\?|$/);return e[i-1]==="/"?e.slice(0,i-1)+e.slice(i):e}function O(e){return e&&e[0]!=="?"?`?${e}`:e}var G=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>_(yt),providedIn:"root"})}return e})(),ce=new P(""),yt=(()=>{class e extends G{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??_(j).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return ue(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+O(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${n}${r}`:n}pushState(t,n,r,o){let s=this.prepareExternalUrl(r+O(o));this._platformLocation.pushState(t,n,s)}replaceState(t,n,r,o){let s=this.prepareExternalUrl(r+O(o));this._platformLocation.replaceState(t,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(T(X),T(ce,8))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ft=(()=>{class e{_subject=new Ye;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=ln(Dt(pt(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+O(n))}normalize(t){return e.stripTrailingSlash(dn(this._basePath,pt(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",r=null){this._locationStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+O(n)),r)}replaceState(t,n="",r=null){this._locationStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+O(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(r=>r(t,n))}subscribe(t,n,r){return this._subject.subscribe({next:t,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=O;static joinWithSlash=ue;static stripTrailingSlash=Dt;static \u0275fac=function(n){return new(n||e)(T(G))};static \u0275prov=S({token:e,factory:()=>cn(),providedIn:"root"})}return e})();function cn(){return new Ft(T(G))}function dn(e,i){if(!e||!i.startsWith(e))return i;let t=i.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:i}function pt(e){return e.replace(/\/index.html$/,"")}function ln(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var fn=(()=>{class e extends G{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=ue(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,r,o){let s=this.prepareExternalUrl(r+O(o))||this._platformLocation.pathname;this._platformLocation.pushState(t,n,s)}replaceState(t,n,r,o){let s=this.prepareExternalUrl(r+O(o))||this._platformLocation.pathname;this._platformLocation.replaceState(t,n,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(T(X),T(ce,8))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Lt={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},ne=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(ne||{}),U=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}(U||{}),w=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(w||{}),d=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(d||{}),I=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(I||{}),m={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13},Mt=function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e}(Mt||{});function Tt(e){return y(e)[l.LocaleId]}function Ot(e,i,t){let n=y(e),r=[n[l.DayPeriodsFormat],n[l.DayPeriodsStandalone]],o=M(r,i);return M(o,t)}function Rt(e,i,t){let n=y(e),r=[n[l.DaysFormat],n[l.DaysStandalone]],o=M(r,i);return M(o,t)}function Bt(e,i,t){let n=y(e),r=[n[l.MonthsFormat],n[l.MonthsStandalone]],o=M(r,i);return M(o,t)}function Pt(e,i){let n=y(e)[l.Eras];return M(n,i)}function hn(e){return y(e)[l.FirstDayOfWeek]}function gn(e){return y(e)[l.WeekendRange]}function q(e,i){let t=y(e);return M(t[l.DateFormat],i)}function J(e,i){let t=y(e);return M(t[l.TimeFormat],i)}function Q(e,i){let n=y(e)[l.DateTimeFormat];return M(n,i)}function L(e,i){let t=y(e),n=t[l.NumberSymbols][i];if(typeof n>"u"){if(i===m.CurrencyDecimal)return t[l.NumberSymbols][m.Decimal];if(i===m.CurrencyGroup)return t[l.NumberSymbols][m.Group]}return n}function ye(e,i){return y(e)[l.NumberFormats][i]}function Dn(e){return y(e)[l.CurrencySymbol]||null}function pn(e){return y(e)[l.CurrencyName]||null}function mn(e){return ct(e)}function Cn(e){return y(e)[l.Currencies]}var Nt=dt;function kt(e){if(!e[l.ExtraData])throw new F(2303,!1)}function $t(e){let i=y(e);return kt(i),(i[l.ExtraData][2]||[]).map(n=>typeof n=="string"?Te(n):[Te(n[0]),Te(n[1])])}function xt(e,i,t){let n=y(e);kt(n);let r=[n[l.ExtraData][0],n[l.ExtraData][1]],o=M(r,i)||[];return M(o,t)||[]}function yn(e){return y(e)[l.Directionality]}function M(e,i){for(let t=i;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new F(2304,!1)}function Te(e){let[i,t]=e.split(":");return{hours:+i,minutes:+t}}function Ut(e,i,t="en"){let n=Cn(t)[e]||Lt[e]||[],r=n[1];return i==="narrow"&&typeof r=="string"?r:n[0]||e}var Fn=2;function zt(e){let i,t=Lt[e];return t&&(i=t[2]),typeof i=="number"?i:Fn}var En=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,de={},wn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function jt(e,i,t,n){let r=Tn(e);i=N(t,i)||i;let s=[],a;for(;i;)if(a=wn.exec(i),a){s=s.concat(a.slice(1));let g=s.pop();if(!g)break;i=g}else{s.push(i);break}let D=r.getTimezoneOffset();n&&(D=Gt(n,D),r=Mn(r,n));let h="";return s.forEach(g=>{let c=In(g);h+=c?c(r,t,D):g==="''"?"'":g.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),h}function De(e,i,t){let n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function N(e,i){let t=Tt(e);if(de[t]??={},de[t][i])return de[t][i];let n="";switch(i){case"shortDate":n=q(e,I.Short);break;case"mediumDate":n=q(e,I.Medium);break;case"longDate":n=q(e,I.Long);break;case"fullDate":n=q(e,I.Full);break;case"shortTime":n=J(e,I.Short);break;case"mediumTime":n=J(e,I.Medium);break;case"longTime":n=J(e,I.Long);break;case"fullTime":n=J(e,I.Full);break;case"short":let r=N(e,"shortTime"),o=N(e,"shortDate");n=le(Q(e,I.Short),[r,o]);break;case"medium":let s=N(e,"mediumTime"),a=N(e,"mediumDate");n=le(Q(e,I.Medium),[s,a]);break;case"long":let D=N(e,"longTime"),h=N(e,"longDate");n=le(Q(e,I.Long),[D,h]);break;case"full":let g=N(e,"fullTime"),c=N(e,"fullDate");n=le(Q(e,I.Full),[g,c]);break}return n&&(de[t][i]=n),n}function le(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return i!=null&&n in i?i[n]:t})),e}function R(e,i,t="-",n,r){let o="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,o=t));let s=String(e);for(;s.length<i;)s="0"+s;return n&&(s=s.slice(s.length-i)),o+s}function An(e,i){return R(e,3).substring(0,i)}function C(e,i,t=0,n=!1,r=!1){return function(o,s){let a=Sn(e,o);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return An(a,i);let D=L(s,m.MinusSign);return R(a,i,D,n,r)}}function Sn(e,i){switch(e){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new F(2301,!1)}}function f(e,i,t=w.Format,n=!1){return function(r,o){return _n(r,o,e,i,t,n)}}function _n(e,i,t,n,r,o){switch(t){case 2:return Bt(i,r,n)[e.getMonth()];case 1:return Rt(i,r,n)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(o){let h=$t(i),g=xt(i,r,n),c=h.findIndex(E=>{if(Array.isArray(E)){let[p,A]=E,H=s>=p.hours&&a>=p.minutes,$=s<A.hours||s===A.hours&&a<A.minutes;if(p.hours<A.hours){if(H&&$)return!0}else if(H||$)return!0}else if(E.hours===s&&E.minutes===a)return!0;return!1});if(c!==-1)return g[c]}return Ot(i,r,n)[s<12?0:1];case 3:return Pt(i,n)[e.getFullYear()<=0?0:1];default:let D=t;throw new F(2302,!1)}}function fe(e){return function(i,t,n){let r=-1*n,o=L(t,m.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case 0:return(r>=0?"+":"")+R(s,2,o)+R(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+R(s,1,o);case 2:return"GMT"+(r>=0?"+":"")+R(s,2,o)+":"+R(Math.abs(r%60),2,o);case 3:return n===0?"Z":(r>=0?"+":"")+R(s,2,o)+":"+R(Math.abs(r%60),2,o);default:throw new F(2302,!1)}}}var bn=0,ge=4;function vn(e){let i=De(e,bn,1).getDay();return De(e,0,1+(i<=ge?ge:ge+7)-i)}function Vt(e){let i=e.getDay(),t=i===0?-3:ge-i;return De(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Oe(e,i=!1){return function(t,n){let r;if(i){let o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();r=1+Math.floor((s+o)/7)}else{let o=Vt(t),s=vn(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return R(r,e,L(n,m.MinusSign))}}function he(e,i=!1){return function(t,n){let o=Vt(t).getFullYear();return R(o,e,L(n,m.MinusSign),i)}}var Re={};function In(e){if(Re[e])return Re[e];let i;switch(e){case"G":case"GG":case"GGG":i=f(3,d.Abbreviated);break;case"GGGG":i=f(3,d.Wide);break;case"GGGGG":i=f(3,d.Narrow);break;case"y":i=C(0,1,0,!1,!0);break;case"yy":i=C(0,2,0,!0,!0);break;case"yyy":i=C(0,3,0,!1,!0);break;case"yyyy":i=C(0,4,0,!1,!0);break;case"Y":i=he(1);break;case"YY":i=he(2,!0);break;case"YYY":i=he(3);break;case"YYYY":i=he(4);break;case"M":case"L":i=C(1,1,1);break;case"MM":case"LL":i=C(1,2,1);break;case"MMM":i=f(2,d.Abbreviated);break;case"MMMM":i=f(2,d.Wide);break;case"MMMMM":i=f(2,d.Narrow);break;case"LLL":i=f(2,d.Abbreviated,w.Standalone);break;case"LLLL":i=f(2,d.Wide,w.Standalone);break;case"LLLLL":i=f(2,d.Narrow,w.Standalone);break;case"w":i=Oe(1);break;case"ww":i=Oe(2);break;case"W":i=Oe(1,!0);break;case"d":i=C(2,1);break;case"dd":i=C(2,2);break;case"c":case"cc":i=C(7,1);break;case"ccc":i=f(1,d.Abbreviated,w.Standalone);break;case"cccc":i=f(1,d.Wide,w.Standalone);break;case"ccccc":i=f(1,d.Narrow,w.Standalone);break;case"cccccc":i=f(1,d.Short,w.Standalone);break;case"E":case"EE":case"EEE":i=f(1,d.Abbreviated);break;case"EEEE":i=f(1,d.Wide);break;case"EEEEE":i=f(1,d.Narrow);break;case"EEEEEE":i=f(1,d.Short);break;case"a":case"aa":case"aaa":i=f(0,d.Abbreviated);break;case"aaaa":i=f(0,d.Wide);break;case"aaaaa":i=f(0,d.Narrow);break;case"b":case"bb":case"bbb":i=f(0,d.Abbreviated,w.Standalone,!0);break;case"bbbb":i=f(0,d.Wide,w.Standalone,!0);break;case"bbbbb":i=f(0,d.Narrow,w.Standalone,!0);break;case"B":case"BB":case"BBB":i=f(0,d.Abbreviated,w.Format,!0);break;case"BBBB":i=f(0,d.Wide,w.Format,!0);break;case"BBBBB":i=f(0,d.Narrow,w.Format,!0);break;case"h":i=C(3,1,-12);break;case"hh":i=C(3,2,-12);break;case"H":i=C(3,1);break;case"HH":i=C(3,2);break;case"m":i=C(4,1);break;case"mm":i=C(4,2);break;case"s":i=C(5,1);break;case"ss":i=C(5,2);break;case"S":i=C(6,1);break;case"SS":i=C(6,2);break;case"SSS":i=C(6,3);break;case"Z":case"ZZ":case"ZZZ":i=fe(0);break;case"ZZZZZ":i=fe(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=fe(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=fe(2);break;default:return null}return Re[e]=i,i}function Gt(e,i){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function Ln(e,i){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+i),e}function Mn(e,i,t){let r=e.getTimezoneOffset(),o=Gt(i,r);return Ln(e,-1*(o-r))}function Tn(e){if(Et(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[r,o=1,s=1]=e.split("-").map(a=>+a);return De(r,o-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(En))return On(n)}let i=new Date(e);if(!Et(i))throw new F(2302,!1);return i}function On(e){let i=new Date(0),t=0,n=0,r=e[8]?i.setUTCFullYear:i.setFullYear,o=e[8]?i.setUTCHours:i.setHours;e[9]&&(t=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(i,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-n,D=Number(e[6]||0),h=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return o.call(i,s,a,D,h),i}function Et(e){return e instanceof Date&&!isNaN(e.valueOf())}var Rn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,wt=22,pe=".",ee="0",Bn=";",Pn=",",Be="#",At="\xA4",Nn="%";function xe(e,i,t,n,r,o,s=!1){let a="",D=!1;if(!isFinite(e))a=L(t,m.Infinity);else{let h=$n(e);s&&(h=kn(h));let g=i.minInt,c=i.minFrac,E=i.maxFrac;if(o){let z=o.match(Rn);if(z===null)throw new F(2306,!1);let Ze=z[1],Ae=z[3],We=z[5];Ze!=null&&(g=Pe(Ze)),Ae!=null&&(c=Pe(Ae)),We!=null?E=Pe(We):Ae!=null&&c>E&&(E=c)}xn(h,c,E);let p=h.digits,A=h.integerLen,H=h.exponent,$=[];for(D=p.every(z=>!z);A<g;A++)p.unshift(0);for(;A<0;A++)p.unshift(0);A>0?$=p.splice(A,p.length):($=p,p=[0]);let ie=[];for(p.length>=i.lgSize&&ie.unshift(p.splice(-i.lgSize,p.length).join(""));p.length>i.gSize;)ie.unshift(p.splice(-i.gSize,p.length).join(""));p.length&&ie.unshift(p.join("")),a=ie.join(L(t,n)),$.length&&(a+=L(t,r)+$.join("")),H&&(a+=L(t,m.Exponential)+"+"+H)}return e<0&&!D?a=i.negPre+a+i.negSuf:a=i.posPre+a+i.posSuf,a}function Ht(e,i,t,n,r){let o=ye(i,ne.Currency),s=Ue(o,L(i,m.MinusSign));return s.minFrac=zt(n),s.maxFrac=s.minFrac,xe(e,s,i,m.CurrencyGroup,m.CurrencyDecimal,r).replace(At,t).replace(At,"").trim()}function Zt(e,i,t){let n=ye(i,ne.Percent),r=Ue(n,L(i,m.MinusSign));return xe(e,r,i,m.Group,m.Decimal,t,!0).replace(new RegExp(Nn,"g"),L(i,m.PercentSign))}function Wt(e,i,t){let n=ye(i,ne.Decimal),r=Ue(n,L(i,m.MinusSign));return xe(e,r,i,m.Group,m.Decimal,t)}function Ue(e,i="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(Bn),r=n[0],o=n[1],s=r.indexOf(pe)!==-1?r.split(pe):[r.substring(0,r.lastIndexOf(ee)+1),r.substring(r.lastIndexOf(ee)+1)],a=s[0],D=s[1]||"";t.posPre=a.substring(0,a.indexOf(Be));for(let g=0;g<D.length;g++){let c=D.charAt(g);c===ee?t.minFrac=t.maxFrac=g+1:c===Be?t.maxFrac=g+1:t.posSuf+=c}let h=a.split(Pn);if(t.gSize=h[1]?h[1].length:0,t.lgSize=h[2]||h[1]?(h[2]||h[1]).length:0,o){let g=r.length-t.posPre.length-t.posSuf.length,c=o.indexOf(Be);t.negPre=o.substring(0,c).replace(/'/g,""),t.negSuf=o.slice(c+g).replace(/'/g,"")}else t.negPre=i+t.posPre,t.negSuf=t.posSuf;return t}function kn(e){if(e.digits[0]===0)return e;let i=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(i===0?e.digits.push(0,0):i===1&&e.digits.push(0),e.integerLen+=2),e}function $n(e){let i=Math.abs(e)+"",t=0,n,r,o,s,a;for((r=i.indexOf(pe))>-1&&(i=i.replace(pe,"")),(o=i.search(/e/i))>0?(r<0&&(r=o),r+=+i.slice(o+1),i=i.substring(0,o)):r<0&&(r=i.length),o=0;i.charAt(o)===ee;o++);if(o===(a=i.length))n=[0],r=1;else{for(a--;i.charAt(a)===ee;)a--;for(r-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(i.charAt(o))}return r>wt&&(n=n.splice(0,wt-1),t=r-1,r=1),{digits:n,exponent:t,integerLen:r}}function xn(e,i,t){if(i>t)throw new F(2307,!1);let n=e.digits,r=n.length-e.integerLen,o=Math.min(Math.max(i,r),t),s=o+e.integerLen,a=n[s];if(s>0){n.splice(Math.max(e.integerLen,s));for(let c=s;c<n.length;c++)n[c]=0}else{r=Math.max(0,r),e.integerLen=1,n.length=Math.max(1,s=o+1),n[0]=0;for(let c=1;c<s;c++)n[c]=0}if(a>=5)if(s-1<0){for(let c=0;c>s;c--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[s-1]++;for(;r<Math.max(0,o);r++)n.push(0);let D=o!==0,h=i+e.integerLen,g=n.reduceRight(function(c,E,p,A){return E=E+c,A[p]=E<10?E:E-10,D&&(A[p]===0&&p>=h?A.pop():D=!1),E>=10?1:0},0);g&&(n.unshift(g),e.integerLen++)}function Pe(e){let i=parseInt(e);if(isNaN(i))throw new F(2305,!1);return i}var Fe=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:function(n){let r=null;return n?r=new n:r=(o=>new Kt(o))(T(x)),r},providedIn:"root"})}return e})();function Yt(e,i,t,n){let r=`=${e}`;if(i.indexOf(r)>-1||(r=t.getPluralCategory(e,n),i.indexOf(r)>-1))return r;if(i.indexOf("other")>-1)return"other";throw new F(2308,!1)}var Kt=(()=>{class e extends Fe{locale;constructor(t){super(),this.locale=t}getPluralCategory(t,n){switch(Nt(n||this.locale)(t)){case U.Zero:return"zero";case U.One:return"one";case U.Two:return"two";case U.Few:return"few";case U.Many:return"many";default:return"other"}}static \u0275fac=function(n){return new(n||e)(T(x))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Ne=/\s+/,St=[],Un=(()=>{class e{_ngEl;_renderer;initialClasses=St;rawClass;stateMap=new Map;constructor(t,n){this._ngEl=t,this._renderer=n}set klass(t){this.initialClasses=t!=null?t.trim().split(Ne):St}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Ne):t}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,!0);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff()}_updateState(t,n){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(t,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],r=t[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(t,n){t=t.trim(),t.length>0&&t.split(Ne).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||e)(u(W),u(Y))};static \u0275dir=b({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),zn=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||t.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=rt(this.ngComponentOutletNgModule,_t(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(_t(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[n,r]of this._inputsUsed)r?(t.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(t.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||e)(u(k))};static \u0275dir=b({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[Z]})}return e})();function _t(e){return e.get(it).injector}var me=class{$implicit;ngForOf;index;count;constructor(i,t,n,r){this.$implicit=i,this.ngForOf=t,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Xt=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,n,r){this._viewContainer=t,this._template=n,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let n=this._viewContainer;t.forEachOperation((r,o,s)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new me(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)n.remove(o===null?void 0:o);else if(o!==null){let a=n.get(o);n.move(a,s),bt(a,r)}});for(let r=0,o=n.length;r<o;r++){let a=n.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{let o=n.get(r.currentIndex);bt(o,r)})}static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(u(k),u(V),u(gt))};static \u0275dir=b({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function bt(e,i){e.context.$implicit=i.item}var jn=(()=>{class e{_viewContainer;_context=new Ce;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,n){this._viewContainer=t,this._thenTemplateRef=n}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){vt(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){vt(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(u(k),u(V))};static \u0275dir=b({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Ce=class{$implicit=null;ngIf=null};function vt(e,i){if(e&&!e.createEmbeddedView)throw new F(2020,!1)}var te=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,t){this._viewContainerRef=i,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},ze=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){let n=t===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let n of this._defaultViews)n.enforceState(t)}}static \u0275fac=function(n){return new(n||e)};static \u0275dir=b({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),Vn=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(t,n,r){this.ngSwitch=r,r._addCase(),this._view=new te(t,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||e)(u(k),u(V),u(ze,9))};static \u0275dir=b({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),Gn=(()=>{class e{constructor(t,n,r){r._addDefault(new te(t,n))}static \u0275fac=function(n){return new(n||e)(u(k),u(V),u(ze,9))};static \u0275dir=b({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})();var qt=(()=>{class e{_localization;_activeView;_caseViews={};constructor(t){this._localization=t}set ngPlural(t){this._updateView(t)}addCase(t,n){this._caseViews[t]=n}_updateView(t){this._clearViews();let n=Object.keys(this._caseViews),r=Yt(t,n,this._localization);this._activateView(this._caseViews[r])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(t){t&&(this._activeView=t,this._activeView.create())}static \u0275fac=function(n){return new(n||e)(u(Fe))};static \u0275dir=b({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}})}return e})(),Hn=(()=>{class e{value;constructor(t,n,r,o){this.value=t;let s=!isNaN(Number(t));o.addCase(s?`=${t}`:t,new te(r,n))}static \u0275fac=function(n){return new(n||e)(Je("ngPluralCase"),u(V),u(k),u(qt,1))};static \u0275dir=b({type:e,selectors:[["","ngPluralCase",""]]})}return e})(),Zn=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,n,r){this._ngEl=t,this._differs=n,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,n){let[r,o]=t.split("."),s=r.indexOf("-")===-1?void 0:tt.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${n}${o}`:n,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||e)(u(W),u(ve),u(Y))};static \u0275dir=b({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Wn=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(t,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||e)(u(k))};static \u0275dir=b({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Z]})}return e})();function B(e,i){return new F(2100,!1)}var ke=class{createSubscription(i,t,n){return be(()=>i.subscribe({next:t,error:n}))}dispose(i){be(()=>i.unsubscribe())}},$e=class{createSubscription(i,t,n){return i.then(r=>t?.(r),r=>n?.(r)),{unsubscribe:()=>{t=null,n=null}}}dispose(i){i.unsubscribe()}},Yn=new $e,Kn=new ke,Xn=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=_(qe);constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,n=>this._updateLatestValue(t,n),n=>this.applicationErrorHandler(n))}_selectStrategy(t){if(st(t))return Yn;if(at(t))return Kn;throw B(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,n){t===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||e)(u(se,16))};static \u0275pipe=v({name:"async",type:e,pure:!1})}return e})(),qn=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw B(e,t);return t.toLowerCase()}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"lowercase",type:e,pure:!0})}return e})(),Jn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,Qn=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw B(e,t);return t.replace(Jn,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"titlecase",type:e,pure:!0})}return e})(),ei=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw B(e,t);return t.toUpperCase()}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"uppercase",type:e,pure:!0})}return e})(),ti="mediumDate",Jt=new P(""),Qt=new P(""),ni=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,n,r){this.locale=t,this.defaultTimezone=n,this.defaultOptions=r}transform(t,n,r,o){if(t==null||t===""||t!==t)return null;try{let s=n??this.defaultOptions?.dateFormat??ti,a=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return jt(t,s,o||this.locale,a)}catch(s){throw B(e,s.message)}}static \u0275fac=function(n){return new(n||e)(u(x,16),u(Jt,24),u(Qt,24))};static \u0275pipe=v({name:"date",type:e,pure:!0})}return e})(),ii=/#/g,ri=(()=>{class e{_localization;constructor(t){this._localization=t}transform(t,n,r){if(t==null)return"";if(typeof n!="object"||n===null)throw B(e,n);let o=Yt(t,Object.keys(n),this._localization,r);return n[o].replace(ii,t.toString())}static \u0275fac=function(n){return new(n||e)(u(Fe,16))};static \u0275pipe=v({name:"i18nPlural",type:e,pure:!0})}return e})(),oi=(()=>{class e{transform(t,n){if(t==null)return"";if(typeof n!="object"||typeof t!="string")throw B(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"i18nSelect",type:e,pure:!0})}return e})(),si=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"json",type:e,pure:!1})}return e})();function ai(e,i){return{key:e,value:i}}var ui=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=It;transform(t,n=It){if(!t||!(t instanceof Map)&&typeof t!="object")return null;this.differ??=this.differs.find(t).create();let r=this.differ.diff(t),o=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(s=>{this.keyValues.push(ai(s.key,s.currentValue))})),(r||o)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||e)(u(ve,16))};static \u0275pipe=v({name:"keyvalue",type:e,pure:!1})}return e})();function It(e,i){let t=e.key,n=i.key;if(t===n)return 0;if(t==null)return 1;if(n==null)return-1;if(typeof t=="string"&&typeof n=="string")return t<n?-1:1;if(typeof t=="number"&&typeof n=="number")return t-n;if(typeof t=="boolean"&&typeof n=="boolean")return t<n?-1:1;let r=String(t),o=String(n);return r==o?0:r<o?-1:1}var ci=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!je(t))return null;r||=this._locale;try{let o=Ve(t);return Wt(o,r,n)}catch(o){throw B(e,o.message)}}static \u0275fac=function(n){return new(n||e)(u(x,16))};static \u0275pipe=v({name:"number",type:e,pure:!0})}return e})(),di=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!je(t))return null;r||=this._locale;try{let o=Ve(t);return Zt(o,r,n)}catch(o){throw B(e,o.message)}}static \u0275fac=function(n){return new(n||e)(u(x,16))};static \u0275pipe=v({name:"percent",type:e,pure:!0})}return e})(),li=(()=>{class e{_locale;_defaultCurrencyCode;constructor(t,n="USD"){this._locale=t,this._defaultCurrencyCode=n}transform(t,n=this._defaultCurrencyCode,r="symbol",o,s){if(!je(t))return null;s||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let a=n||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?a=Ut(a,r==="symbol"?"wide":"narrow",s):a=r);try{let D=Ve(t);return Ht(D,s,a,n,o)}catch(D){throw B(e,D.message)}}static \u0275fac=function(n){return new(n||e)(u(x,16),u(ft,16))};static \u0275pipe=v({name:"currency",type:e,pure:!0})}return e})();function je(e){return!(e==null||e===""||e!==e)}function Ve(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new F(2309,!1);return e}var fi=(()=>{class e{transform(t,n,r){if(t==null)return null;if(!(typeof t=="string"||Array.isArray(t)))throw B(e,t);return t.slice(n,r)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=v({name:"slice",type:e,pure:!1})}return e})();var hi=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ot({type:e});static \u0275inj=Ke({})}return e})();var gi=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=S({token:e,factory:()=>window.navigation,providedIn:"platform"})}return e})();function dr(e,i,t){return ut(e,i,t)}var Di="browser",pi="server";function lr(e){return e===Di}function fr(e){return e===pi}var hr=new ht("20.1.4"),gr=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>new Ge(_(j),window)})}return e})(),Ge=class{document;window;offset=()=>[0,0];constructor(i,t){this.document=i,this.window=t}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i,t){this.window.scrollTo(oe(re({},t),{left:i[0],top:i[1]}))}scrollToAnchor(i,t){let n=mi(this.document,i);n&&(this.scrollToElement(n,t),n.focus())}setHistoryScrollRestoration(i){try{this.window.history.scrollRestoration=i}catch{console.warn(Se(2400,!1))}}scrollToElement(i,t){let n=i.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(oe(re({},t),{left:r-s[0],top:o-s[1]}))}};function mi(e,i){let t=e.getElementById(i)||e.getElementsByName(i)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(i)||o.querySelector(`[name="${i}"]`);if(s)return s}r=n.nextNode()}}return null}var en=class{setOffset(i){}getScrollPosition(){return[0,0]}scrollToPosition(i){}scrollToAnchor(i){}setHistoryScrollRestoration(i){}},Ee="20";function rn(e){return/^https?:\/\//.test(e)}function on(e){if(!(typeof e=="string")||e.trim()==="")return!1;try{let t=new URL(e);return!0}catch{return!1}}function Ci(e){return e.endsWith("/")?e.slice(0,-1):e}function yi(e){return e.startsWith("/")?e.slice(1):e}var sn=e=>e.src,He=new P("",{providedIn:"root",factory:()=>sn});function we(e,i){return function(n){return on(n)||Fi(n,i||[]),n=Ci(n),[{provide:He,useValue:s=>(rn(s.src)&&Ei(n,s.src),e(n,oe(re({},s),{src:yi(s.src)})))}]}}function Fi(e,i){throw new F(2959,!1)}function Ei(e,i){throw new F(2959,!1)}var Dr=we(wi,void 0);function wi(e,i){let t="format=auto";return i.width&&(t+=`,width=${i.width}`),i.isPlaceholder&&(t+=`,quality=${Ee}`),`${e}/cdn-cgi/image/${t}/${i.src}`}var pr=we(Ai,void 0);function Ai(e,i){let n=`f_auto,${i.isPlaceholder?"q_auto:low":"q_auto"}`;return i.width&&(n+=`,w_${i.width}`),i.loaderParams?.rounded&&(n+=",r_max"),`${e}/image/upload/${n}/${i.src}`}var mr=we(Si,void 0);function Si(e,i){let{src:t,width:n}=i,r=[];n&&r.push(`w-${n}`),i.isPlaceholder&&r.push(`q-${Ee}`);let o=r.length?[e,`tr:${r.join(",")}`,t]:[e,t];return new URL(o.join("/")).href}var Cr=we(_i,void 0);function _i(e,i){let t=new URL(`${e}/${i.src}`);return t.searchParams.set("auto","format"),i.width&&t.searchParams.set("w",i.width.toString()),i.isPlaceholder&&t.searchParams.set("q",Ee),t.href}function yr(e){if(e&&!on(e))throw new F(2959,!1);return e&&(e=new URL(e).origin),[{provide:He,useValue:n=>bi(n,e)}]}var tn=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]);function bi(e,i){let t=new URL(i??"https://a/");t.pathname="/.netlify/images",!rn(e.src)&&!e.src.startsWith("/")&&(e.src="/"+e.src),t.searchParams.set("url",e.src),e.width&&t.searchParams.set("w",e.width.toString());let n=e.loaderParams?.quality??e.loaderParams?.q;e.isPlaceholder&&!n&&t.searchParams.set("q",Ee);for(let[r,o]of Object.entries(e.loaderParams??{}))tn.has(r)&&t.searchParams.set(tn.get(r),o.toString());return t.hostname==="a"?t.href.replace(t.origin,""):t.href}var Fr=new P("");var nn=/^((\s*\d+w\s*(,|$)){1,})$/;var vi=[1,2],Ii=640;var Li=1920,Mi=1080;var Er=(()=>{class e{imageLoader=_(He);config=Ti(_(_e));renderer=_(Y);imgElement=_(W).nativeElement;injector=_(Xe);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){nt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&nn.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(t){let n=t;return this.loaderParams&&(n.loaderParams=this.loaderParams),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=nn.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let o=t?parseFloat(r):parseFloat(r)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,n=t;return this.sizes?.trim()==="100vw"&&(n=t.filter(o=>o>=Ii)),n.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return vi.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>Li||this.height>Mi),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==sn&&!t}generatePlaceholder(t){let{placeholderResolution:n}=this.config;return t===!0?`url(${this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0})})`:typeof t=="string"?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let n=()=>{let s=this.injector.get(se);r(),o(),this.placeholder=!1,s.markForCheck()},r=this.renderer.listen(t,"load",n),o=this.renderer.listen(t,"error",n);Oi(t,n)}setHostAttribute(t,n){this.renderer.setAttribute(this.imgElement,t,n)}static \u0275fac=function(n){return new(n||e)};static \u0275dir=b({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,r){n&2&<("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",Ri],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Ie],height:[2,"height","height",Ie],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",K],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",K],fill:[2,"fill","fill",K],placeholder:[2,"placeholder","placeholder",Bi],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[Z]})}return e})();function Ti(e){let i={};return e.breakpoints&&(i.breakpoints=e.breakpoints.sort((t,n)=>t-n)),Object.assign({},Qe,e,i)}function Oi(e,i){e.complete&&e.naturalWidth&&i()}function Ri(e){return typeof e=="string"?e:et(e)}function Bi(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:K(e)}export{ae as a,an as b,Le as c,X as d,un as e,Ct as f,O as g,G as h,ce as i,yt as j,Ft as k,fn as l,ne as m,U as n,w as o,d as p,I as q,m as r,Mt as s,Tt as t,Ot as u,Rt as v,Bt as w,Pt as x,hn as y,gn as z,q as A,J as B,Q as C,L as D,ye as E,Dn as F,pn as G,mn as H,Nt as I,$t as J,xt as K,yn as L,Ut as M,zt as N,jt as O,Ht as P,Zt as Q,Wt as R,Fe as S,Kt as T,Un as U,zn as V,me as W,Xt as X,jn as Y,Ce as Z,ze as _,Vn as $,Gn as aa,qt as ba,Hn as ca,Zn as da,Wn as ea,Xn as fa,qn as ga,Qn as ha,ei as ia,Jt as ja,Qt as ka,ni as la,ri as ma,oi as na,si as oa,ui as pa,ci as qa,di as ra,li as sa,fi as ta,hi as ua,gi as va,dr as wa,Di as xa,pi as ya,lr as za,fr as Aa,hr as Ba,gr as Ca,en as Da,He as Ea,Dr as Fa,pr as Ga,mr as Ha,Cr as Ia,yr as Ja,Fr as Ka,Er as La};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ea as gt}from"./chunk-WJPLJKPQ.js";import{Ab as O,Ac as Me,Bb as M,Cb as me,Db as j,Eb as W,Fb as ge,Ib as ye,Jb as ie,Mc as Qe,Oc as L,Pc as U,Qa as lt,Ra as b,Ta as De,Tc as ue,Uc as T,V as Ae,Va as _e,Vc as se,Wb as Y,Wc as mt,Xa as ct,Xb as ce,Xc as G,Y as st,Yb as w,Zb as B,_ as P,_b as y,a as nt,ba as ot,bb as A,ca as rt,da as at,db as Oe,dc as ht,dd as Ye,ea as F,ec as ne,fa as H,fc as ae,gb as Se,gc as pt,hc as ee,ia as Le,ic as $,jc as ut,ka as we,kc as de,lb as He,lc as R,mc as qe,na as Fe,nc as he,oa as k,oc as Te,qb as dt,qc as ze,rc as $e,sc as Ne,tb as be,tc as ft,ua as Q,ub as q,uc as pe,vb as z,vc as te,wb as je,xb as Be,yb as We,zb as le,zc as Ue}from"./chunk-QDFCX6XE.js";import{a as re,b as fe,c as it,d as u,e as x,f as D,g as E}from"./chunk-EUDKD2JW.js";var Z=["*"],It=[[["","icon",""]],[["","title",""]],"*",[["","content",""]]],kt=["[icon]","[title]","*","[content]"];function Rt(t,e){t&1&&(O(0,"sh-icon",3),R(1,"info"),M())}function Vt(t,e){t&1&&(O(0,"sh-icon",3),R(1,"info"),M())}function Pt(t,e){t&1&&(O(0,"sh-icon",3),R(1,"warning"),M())}function At(t,e){t&1&&(O(0,"sh-icon",3),R(1,"warning-octagon"),M())}function Lt(t,e){t&1&&(O(0,"sh-icon",3),R(1,"check-circle"),M())}function Ft(t,e){t&1&&(O(0,"sh-icon",3),R(1,"question"),M())}function Ht(t,e){if(t&1){let s=ie();O(0,"sh-icon",7),Y("click",function(){F(s);let i=w();return H(i.removeAlert())}),R(1,"plus"),M()}}var jt=["dialogRef"];function Bt(t,e){if(t&1){let s=ie();j(0,"div",4),ce("click",function(){F(s);let i=w();return H(i.isOpen.set(!1))}),W()}}var Wt=["shButton",""];var qt=["triggerRef"],zt=["popoverRef"],$t=[[["","trigger",""]],[["button"]],[["","shButton",""]],"*"],Nt=["[trigger]","button","[shButton]","*"];var Ut=()=>({closeOnButton:!1,closeOnEsc:!0});var Qt=[[["label"]],[["","prefix",""]],[["","textPrefix",""]],[["input"]],[["textarea"]],[["","textSuffix",""]],[["","suffix",""]],[["","error",""]],[["","hint",""]]],Yt=["label","[prefix]","[textPrefix]","input","textarea","[textSuffix]","[suffix]","[error]","[hint]"],vt=["input"],Xt=[[["label"]]],Gt=["label"];function Kt(t,e){if(t&1&&(O(0,"div",3),R(1),M()),t&2){let s=w();b(),qe(s.files()[0].name)}}function Zt(t,e){if(t&1&&(O(0,"div",3),R(1),M()),t&2){let s=w();b(),he("",s.files().length," files selected")}}function Jt(t,e){if(t&1&&(O(0,"div",4),R(1),M()),t&2){let s=w();b(),qe(s.filesOver()?s.overlayText():s.placeholder())}}var ei=["optionsRef"],ti=["*",[["","menu",""]]],ii=["*","[menu]"];function ni(t,e){t&1&&(O(0,"sh-icon",5),R(1,"caret-down"),M())}var si=[[["label"]],[["input","type","range"]]],oi=["label","input[type=range]"],ri=["optionsWrap"],ai=[[["label"]],[["input"]],[["textarea"]]],li=["label","input","textarea"],ci=()=>({closeOnButton:!1,closeOnEsc:!1}),Je=t=>({$implicit:t});function di(t,e){if(t&1&&R(0),t&2){let s=w();he(" ",s.inputValue()," ")}}function hi(t,e){t&1&&ye(0)}function pi(t,e){if(t&1&&Se(0,hi,1,0,"ng-container",12),t&2){let s=w(3).$implicit;w(2);let n=te(2);le("ngTemplateOutlet",n)("ngTemplateOutletContext",Me(2,Je,s))}}function ui(t,e){if(t&1&&R(0),t&2){let s=w(3).$implicit,n=w(2);he(" ",n.getLabel(s)," ")}}function fi(t,e){if(t&1){let s=ie();O(0,"sh-chip",11),Y("click",function(i){F(s);let o=w(2).$index,m=w(2);return H(m.removeSelectedOptionByIndex(i,o))}),q(1,pi,1,4,"ng-container")(2,ui,1,1),O(3,"sh-icon"),R(4,"x-bold"),M()()}if(t&2){let s=w(4),n=te(2);de(s.selectClasses()),b(),z(n?1:2)}}function mi(t,e){t&1&&ye(0)}function gi(t,e){if(t&1&&Se(0,mi,1,0,"ng-container",12),t&2){let s=w(4).$implicit;w(2);let n=te(2);le("ngTemplateOutlet",n)("ngTemplateOutletContext",Me(2,Je,s))}}function vi(t,e){if(t&1&&R(0),t&2){let s=w(4),n=s.$implicit,i=s.$index,o=s.$count,m=w(2);he(" ",i===o-1?m.getLabel(n):m.getLabel(n)+","," ")}}function Ci(t,e){if(t&1&&q(0,gi,1,4,"ng-container")(1,vi,1,1),t&2){w(5);let s=te(2);z(s?0:1)}}function _i(t,e){if(t&1&&q(0,Ci,2,1),t&2){w(4);let s=te(5);z(s?-1:0)}}function Si(t,e){if(t&1&&q(0,fi,5,3,"sh-chip",10)(1,_i,1,1),t&2){w(3);let s=te(4);z(s?0:1)}}function yi(t,e){if(t&1&&q(0,Si,2,1),t&2){let s=e.$implicit;z(s?0:-1)}}function xi(t,e){if(t&1&&Be(0,yi,1,1,null,null,je),t&2){w();let s=te(1);We(s)}}function Ei(t,e){t&1&&ye(0)}function wi(t,e){if(t&1&&Se(0,Ei,1,0,"ng-container",13),t&2){w(2);let s=te(0);le("ngTemplateOutlet",s)}}function Di(t,e){if(t&1&&R(0),t&2){let s=w(2);he(" ",s.placeholderText()??""," ")}}function Oi(t,e){if(t&1&&q(0,wi,1,1,"ng-container")(1,Di,1,1),t&2){w();let s=te(0);z(s?0:1)}}function bi(t,e){t&1&&(O(0,"sh-icon",6),R(1,"caret-down"),M())}function Ti(t,e){t&1&&me(0,"sh-spinner",7)}function Mi(t,e){t&1&&(O(0,"sh-icon",6),R(1,"list-magnifying-glass"),M())}function Ii(t,e){t&1&&(O(0,"sh-icon",6),R(1,"magnifying-glass"),M())}function ki(t,e){if(t&1){let s=ie();O(0,"sh-icon",14),Y("click",function(i){F(s);let o=w();return H(o.clear(i))}),R(1,"x-bold"),M()}}function Ri(t,e){t&1&&(O(0,"sh-icon",6),R(1,"caret-down"),M())}function Vi(t,e){t&1&&(O(0,"sh-icon",6),R(1,"caret-up"),M())}function Pi(t,e){if(t&1&&me(0,"sh-checkbox"),t&2){let s=w().$index,n=w();de(n.selectClasses()),$("active",n.isSelected(s))}}function Ai(t,e){t&1&&ye(0)}function Li(t,e){if(t&1&&Se(0,Ai,1,0,"ng-container",12),t&2){let s=w().$implicit;w();let n=te(3);le("ngTemplateOutlet",n)("ngTemplateOutletContext",Me(2,Je,s))}}function Fi(t,e){if(t&1&&R(0),t&2){let s=w().$implicit,n=w();he(" ",n.getLabel(s)," ")}}function Hi(t,e){if(t&1){let s=ie();O(0,"li",15),Y("click",function(){let i=F(s).$index,o=w();return H(o.toggleOptionByIndex(i))}),q(1,Pi,1,4,"sh-checkbox",16),q(2,Li,1,4,"ng-container")(3,Fi,1,1),M()}if(t&2){let s=e.$implicit,n=e.$index,i=w(),o=te(3);$("selected",i.isSelected(n))("focused",n===i.focusedOptionIndex()),le("id",i.getLabelAsSlug(s)),be("aria-selected",i.isSelected(n)),b(),z(i.selectMultiple()?1:-1),b(),z(o?2:3)}}var ji=["dragImageElement"],Bi=[[["","sidenav",""]],[["","sidenav-closed-topbar",""]],"*"],Wi=["[sidenav]","[sidenav-closed-topbar]","*"];function qi(t,e){t&1&&ge(0,"div",1,0)}function zi(t,e){if(t&1){let s=ie();j(0,"div",7),ce("drop",function(i){F(s);let o=w();return H(o.drop(i))})("dragenter",function(){F(s);let i=w();return H(i.dragEnter())})("dragleave",function(){F(s);let i=w();return H(i.dragLeave())}),W()}}function $i(t,e){if(t&1){let s=ie();j(0,"div",8),ce("dragstart",function(i){F(s);let o=w();return H(o.dragStart(i))})("dragend",function(i){F(s);let o=w();return H(o.dragEnd(i))})("drag",function(i){F(s);let o=w();return H(o.drag(i))})("touchstart",function(i){F(s);let o=w();return H(o.touchStart(i))})("touchmove",function(i){F(s);let o=w();return H(o.touchMove(i))})("touchend",function(i){F(s);let o=w();return H(o.touchEnd(i))})("touchcancel",function(i){F(s);let o=w();return H(o.touchCancel(i))}),W()}}var Ni=["tbody"],Ui=["*",[["","table-no-rows",""]]],Qi=["*","[table-no-rows]"];function Yi(t,e){t&1&&me(0,"sh-progress-bar",1)}function Xi(t,e){t&1&&(O(0,"div",2),y(1,1),M())}var Gi=[[["","title",""]],"*"],Ki=["[title]","*"];function Zi(t,e){t&1&&R(0,"Title")}function Ji(t,e){t&1&&(O(0,"sh-icon",1),R(1,"caret-down"),M())}var en=["bold","thin","light","fill"],Ce=(()=>{var e,s;let n=class n{constructor(){x(this,e,P(Q));x(this,s,P(_e))}ngAfterContentInit(){let o=u(this,e).nativeElement.textContent?.trim();if(!o)return;let m=o.split("-").at(-1);m&&en.includes(m)&&u(this,s).addClass(u(this,e).nativeElement,m)}};e=new WeakMap,s=new WeakMap,n.\u0275fac=function(m){return new(m||n)},n.\u0275cmp=A({type:n,selectors:[["sh-icon"]],ngContentSelectors:Z,decls:1,vars:0,template:function(m,p){m&1&&(B(),y(0))},encapsulation:2,changeDetection:0});let t=n;return t})(),Pn=(()=>{let e=class e{constructor(){this._el=P(Q),this.alertService=T(null),this.id=T(null),this.alertClasses=L(()=>this._el.nativeElement.classList.toString())}removeAlert(){this.id()&&this.alertService()&&this.alertService()?.removeAlert(this.id())}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["sh-alert"]],inputs:{alertService:[1,"alertService"],id:[1,"id"]},ngContentSelectors:kt,decls:17,vars:4,consts:[["ref",""],[1,"alert"],[1,"icon"],[1,"state-icon"],[1,"title"],[1,"close-icon"],[1,"content"],[1,"close-icon",3,"click"]],template:function(i,o){if(i&1&&(B(It),O(0,"div",1)(1,"div",2,0),y(3),M(),O(4,"div",2),q(5,Rt,2,0,"sh-icon",3)(6,Vt,2,0,"sh-icon",3)(7,Pt,2,0,"sh-icon",3)(8,At,2,0,"sh-icon",3)(9,Lt,2,0,"sh-icon",3)(10,Ft,2,0,"sh-icon",3),M(),O(11,"div",4),y(12,1),y(13,2),M(),q(14,Ht,2,0,"sh-icon",5),O(15,"div",6),y(16,3),M()()),i&2){let m=pt(2);b(),ee("display",m.children.length?"block":"none");let p=o.alertClasses();b(4),z(p.includes("primary")?5:p.includes("accent")?6:p.includes("warn")?7:p.includes("error")?8:p.includes("success")?9:10),b(9),z(o.id()?14:-1)}},dependencies:[Ce],encapsulation:2,changeDetection:0});let t=e;return t})();function Re(){return Date.now().toString(36)+Math.random().toString(36).substring(2)}var An=(()=>{let e=class e{constructor(){this.alertHistory=k([]),this.alertHistoryIsOpen=k(!1),this.alertHistoryIsHidden=k(!0)}error(n){this.addAlert({type:"error",title:n??"An error occured"})}success(n){this.addAlert({type:"success",title:n})}question(n){this.addAlert({type:"question",title:n})}warning(n){this.addAlert({type:"warn",title:n})}info(n){this.addAlert({type:"primary",title:n})}addAlert(n){let i=Re();this.alertHistory.update(o=>[fe(re({},n),{isOpen:!0,animateIn:!0,animateOut:!1,id:i}),...o]),setTimeout(()=>{this.alertHistory.update(o=>o.map(m=>fe(re({},m),{animateIn:m.id===i?!1:m.animateIn})))},40),setTimeout(()=>{this.hideAlert(i)},2500)}removeAlert(n){this.alertHistory.update(i=>i.map(o=>fe(re({},o),{animateOut:o.id===n?!1:o.animateOut}))),setTimeout(()=>{this.alertHistory.update(i=>i.filter(o=>o.id!==n))},300)}hideAlert(n){this.alertHistory.update(i=>i.map(o=>fe(re({},o),{isOpen:o.id===n?!1:o.isOpen})))}setHidden(n){this.alertHistoryIsHidden.set(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ae({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),et=new st("Ship UI Config"),tn={class:"default",width:void 0,maxWidth:void 0,height:void 0,maxHeight:void 0,closeOnButton:!0,closeOnEsc:!0,closeOnOutsideClick:!0},nn=(()=>{var e;let s=class s{constructor(){x(this,e);D(this,e,P(et,{optional:!0})),this.dialogRef=se("dialogRef"),this.isOpen=G(!1),this.options=T(),this.closed=ue(),this.defaultOptionMerge=L(()=>re(fe(re({},tn),{class:u(this,e)?.dialogType??"default"}),this.options())),this.abortController=null,this.isOpenEffect=U(()=>{let i=this.dialogRef()?.nativeElement;this.abortController&&this.abortController.abort(),this.abortController=new AbortController,this.isOpen()?(i?.showModal(),i?.addEventListener("close",()=>{this.isOpen.set(!1),this.closed.emit()},{signal:this.abortController?.signal}),document.addEventListener("keydown",o=>{o.key==="Escape"&&!this.defaultOptionMerge().closeOnEsc&&o.preventDefault(),o.key==="Escape"&&this.defaultOptionMerge().closeOnEsc&&this.isOpen.set(!1)},{signal:this.abortController?.signal})):(this.closed.emit(),i?.close())})}ngOnDestroy(){this.abortController?.abort()}};e=new WeakMap,s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=A({type:s,selectors:[["sh-dialog"]],viewQuery:function(o,m){o&1&&ne(m.dialogRef,jt,5),o&2&&ae()},inputs:{isOpen:[1,"isOpen"],options:[1,"options"]},outputs:{isOpen:"isOpenChange",closed:"closed"},ngContentSelectors:Z,decls:5,vars:11,consts:[["dialogRef",""],["shDialog",""],[1,"content"],[1,"closeable-overlay"],[1,"closeable-overlay",3,"click"]],template:function(o,m){if(o&1&&(B(),j(0,"dialog",1,0)(2,"div",2),y(3),W(),q(4,Bt,1,0,"div",3),W()),o&2){let p=m.defaultOptionMerge();de(p.class),ee("width",p.width??"")("max-width",p.maxWidth??"")("max-height",p.maxHeight??"")("height",p.height??""),b(4),z(m.defaultOptionMerge().closeOnOutsideClick?4:-1)}},encapsulation:2,changeDetection:0});let t=s;return t})(),Ln=(()=>{var e,s,n,Ct,xe;let m=class m{constructor(){x(this,n);x(this,e);x(this,s);D(this,e,typeof document<"u"?document.querySelector("body"):null),D(this,s,P(dt)),this.compRef=null,this.insertedCompRef=null,this.closedFieldSub=null,this.compClosedSub=null}open(a,r){let d=u(this,s).injector,C=E(this,n,Ct).call(this),_=r||{},{data:v,closed:g}=_,S=it(_,["data","closed"]);this.compRef&&E(this,n,xe).call(this),this.insertedCompRef=Ye(a,{environmentInjector:d}),this.compRef=Ye(nn,{hostElement:C,environmentInjector:d,projectableNodes:[[this.insertedCompRef.location.nativeElement]]});let c=this.insertedCompRef.instance?.data,l=this.insertedCompRef.instance?.closed;if(v){if(Fe(c))this.insertedCompRef.setInput("data",v);else if(!Fe(c))throw new Error("data is not an input signal on the passed component")}l instanceof Qe&&(this.closedFieldSub=l.subscribe((...I)=>{g?.(...I),E(this,n,xe).call(this)})),u(this,s).attachView(this.insertedCompRef.hostView),u(this,s).attachView(this.compRef.hostView),this.insertedCompRef.changeDetectorRef.detectChanges(),this.compRef.changeDetectorRef.detectChanges(),this.compRef.instance.isOpen.set(!0),this.compRef.setInput("options",S),this.compRef.instance.closed.subscribe(()=>f());let h=this;function f(){var I;l&&l instanceof Qe?l.emit(!1):g?.(void 0),E(I=h,n,xe).call(I)}return{component:this.insertedCompRef.instance,close:f}}ngOnDestroy(){E(this,n,xe).call(this)}};e=new WeakMap,s=new WeakMap,n=new WeakSet,Ct=function(){let a=document.createElement("sh-dialog-ref");return a.id="sh-dialog-ref",document.getElementById("sh-dialog-ref")||u(this,e)?.append(a),document.getElementById("sh-dialog-ref")},xe=function(){this.insertedCompRef&&(u(this,s).detachView(this.insertedCompRef.hostView),this.closedFieldSub?.unsubscribe(),this.insertedCompRef.destroy()),this.compRef&&(u(this,s).detachView(this.compRef.hostView),this.compClosedSub?.unsubscribe(),this.compRef.destroy())},m.\u0275fac=function(r){return new(r||m)},m.\u0275prov=Ae({token:m,factory:m.\u0275fac,providedIn:"root"});let t=m;return t})(),Fn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["sh-button-group"]],ngContentSelectors:Z,decls:1,vars:0,template:function(i,o){i&1&&(B(),y(0))},encapsulation:2,changeDetection:0});let t=e;return t})(),Hn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["","shButton",""]],attrs:Wt,ngContentSelectors:Z,decls:1,vars:0,template:function(i,o){i&1&&(B(),y(0))},encapsulation:2,changeDetection:0});let t=e;return t})(),jn=(()=>{var e;let s=class s{constructor(){x(this,e);D(this,e,P(et,{optional:!0})),this.class=k(u(this,e)?.cardType??"default")}};e=new WeakMap,s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=A({type:s,selectors:[["sh-card"]],hostVars:2,hostBindings:function(o,m){o&2&&de(m.class())},ngContentSelectors:Z,decls:1,vars:0,template:function(o,m){o&1&&(B(),y(0))},encapsulation:2,changeDetection:0});let t=s;return t})(),sn=(()=>{var e;let s=class s{constructor(){x(this,e,P(Q))}};e=new WeakMap,s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=A({type:s,selectors:[["sh-checkbox"]],ngContentSelectors:Z,decls:6,vars:0,consts:[[1,"box"],[1,"inherit","default-indicator"],[1,"inherit","indeterminate-indicator"]],template:function(o,m){o&1&&(B(),O(0,"div",0)(1,"sh-icon",1),R(2,"check-bold"),M(),O(3,"sh-icon",2),R(4,"minus-bold"),M()(),y(5))},dependencies:[Ce],encapsulation:2,changeDetection:0});let t=s;return t})(),on=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["sh-chip"]],ngContentSelectors:Z,decls:2,vars:0,template:function(i,o){i&1&&(B(),j(0,"div"),y(1),W())},encapsulation:2,changeDetection:0});let t=e;return t})();var rn=["scroll","auto"],an={width:void 0,height:void 0,closeOnButton:!0,closeOnEsc:!0},_t=(()=>{var e,s,St,Ie;let o=class o{constructor(){x(this,s);x(this,e);D(this,e,4),this.SUPPORTS_ANCHOR=typeof CSS<"u"&&CSS.supports("position-anchor","--abc")&&CSS.supports("anchor-name","--abc"),this.asMultiLayer=T(!1),this.disableOpenByClick=T(!1),this.isOpen=G(!1),this.options=T(),this.closed=ue(),this.defaultOptionMerge=L(()=>re(re({},an),this.options())),this.triggerRef=se.required("triggerRef"),this.popoverRef=se.required("popoverRef"),this.id=k("--"+Re()),this.menuStyle=k(null),this.openAbort=null,this.openEffect=U(()=>{let p=this.popoverRef()?.nativeElement;if(this.isOpen()){this.openAbort&&this.openAbort.abort(),this.openAbort=new AbortController;let r={signal:this.openAbort?.signal};p?.showPopover(),document.addEventListener("keydown",d=>{d.key==="Escape"&&!this.defaultOptionMerge().closeOnEsc&&d.preventDefault(),d.key==="Escape"&&this.defaultOptionMerge().closeOnEsc&&this.isOpen.set(!1)},r),setTimeout(()=>{E(this,s,St).call(this,this.popoverRef()?.nativeElement).addEventListener("scroll",()=>E(this,s,Ie).call(this),r),window?.addEventListener("resize",()=>E(this,s,Ie).call(this),r),E(this,s,Ie).call(this)})}else p.hidePopover&&p.hidePopover(),this.openAbort?.abort(),this.closed.emit()})}toggleIsOpen(p){p.preventDefault(),p.stopPropagation(),this.disableOpenByClick()||this.isOpen.set(!this.isOpen())}eventClose(p){p.stopPropagation(),p.preventDefault(),this.isOpen.set(!1)}};e=new WeakMap,s=new WeakSet,St=function(p){let a=p.parentElement;for(;a;){if(rn.indexOf(window?.getComputedStyle(a).overflowY)>-1&&a.scrollHeight>a.clientHeight)return a;a=a.parentElement}return document.documentElement},Ie=function(){let p=this.triggerRef()?.nativeElement.getBoundingClientRect(),a=this.popoverRef()?.nativeElement.getBoundingClientRect(),r=p.left,d=p.bottom,C=r,v=d+u(this,e),g=C+a.width>window?.innerWidth,S=v+a.height>window?.innerHeight;if(!this.SUPPORTS_ANCHOR){if(C=r,v=d+u(this,e),S){let l=p.top-a.height-u(this,e);l<0||(v=l)}g&&(C=p.right-a.width,C<0&&(C=0));let c={left:C+"px",top:v+"px"};this.menuStyle.set(c)}},o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=A({type:o,selectors:[["sh-popover"]],viewQuery:function(a,r){a&1&&(ne(r.triggerRef,qt,5),ne(r.popoverRef,zt,5)),a&2&&ae(2)},hostVars:2,hostBindings:function(a,r){a&2&&$("multi-layer",r.asMultiLayer())},inputs:{asMultiLayer:[1,"asMultiLayer"],disableOpenByClick:[1,"disableOpenByClick"],isOpen:[1,"isOpen"],options:[1,"options"]},outputs:{isOpen:"isOpenChange",closed:"closed"},ngContentSelectors:Nt,decls:10,vars:6,consts:[["triggerRef",""],["popoverRef",""],[1,"trigger",3,"click"],[1,"trigger-wrapper"],["popover","",1,"popover"],[1,"overlay",3,"click"]],template:function(a,r){if(a&1){let d=ie();B($t),j(0,"div",2,0),ce("click",function(v){return F(d),H(r.toggleIsOpen(v))}),j(2,"div",3),y(3),y(4,1),y(5,2),W()(),j(6,"div",4,1)(8,"div",5),ce("click",function(v){return F(d),H(r.isOpen()&&r.eventClose(v))}),W(),y(9,3),W()}a&2&&(ee("anchor-name",r.id()),b(6),ut(r.menuStyle()),ee("position-anchor",r.id()))},encapsulation:2,changeDetection:0});let t=o;return t})();var Bn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["sh-divider"]],ngContentSelectors:Z,decls:1,vars:0,template:function(i,o){i&1&&(B(),y(0))},encapsulation:2,changeDetection:0});let t=e;return t})(),tt=(()=>{var e;let s=class s{constructor(){x(this,e,P(Q));He(()=>{let i=typeof CSS<"u"&&CSS.supports("field-sizing","content"),o=u(this,e).nativeElement.querySelector("textarea");if(!i&&o!==null){let a=function(){o.style.height="auto",o.style.height=o.scrollHeight+"px"},r=function(){setTimeout(a,0)};var m=a,p=r;o.addEventListener("change",a),o.addEventListener("cut",r),o.addEventListener("paste",r),o.addEventListener("drop",r),o.addEventListener("keydown",r),o.focus(),o.select(),a()}})}onClick(){u(this,e).nativeElement.querySelector("input")&&u(this,e).nativeElement.querySelector("input").focus(),u(this,e).nativeElement.querySelector("textarea")&&u(this,e).nativeElement.querySelector("textarea").focus()}};e=new WeakMap,s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=A({type:s,selectors:[["sh-form-field"]],hostBindings:function(o,m){o&1&&Y("click",function(){return m.onClick()})},ngContentSelectors:Yt,decls:15,vars:0,consts:[[1,"input-wrap"],[1,"prefix"],[1,"suffix"],[1,"helpers"],[1,"error-wrap"],[1,"hint"]],template:function(o,m){o&1&&(B(Qt),y(0),j(1,"div",0)(2,"div",1),y(3,1),y(4,2),W(),y(5,3),y(6,4),j(7,"div",2),y(8,5),y(9,6),W()(),j(10,"div",3)(11,"div",4),y(12,7),W(),j(13,"div",5),y(14,8),W()())},encapsulation:2,changeDetection:0});let t=s;return t})(),Wn=(()=>{let e=class e{constructor(){this._el=P(Q),this.inputRef=se.required("input"),this.filesOver=k(!1),this.multiple=T(),this.accept=T(null),this.placeholder=G("Click or drag files here"),this.overlayText=T("Drop files here"),this.files=G([]),this.fileUploadClasses=L(()=>this._el.nativeElement.classList.toString()),this.inputEffect=U(()=>{let n=this.inputRef().nativeElement;n&&(n.placeholder&&this.placeholder.set(n.placeholder),n.addEventListener("dragover",i=>{i.preventDefault(),this.filesOver.set(!0)}),n.addEventListener("dragleave",i=>{i.preventDefault(),this.filesOver.set(!1)}),n.addEventListener("drop",i=>{i.preventDefault(),this.filesOver.set(!1);let o=i.dataTransfer?.files;o&&o.length>0&&(this.handleFileUpload(Array.from(o)),n.files=o)}),n.addEventListener("change",i=>{i.preventDefault(),this.handleFileUpload(Array.from(i.target.files))}))})}handleFileUpload(n){this.multiple()?this.files.update(i=>[...i,...n]):this.files.set(n)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["sh-file-upload"]],viewQuery:function(i,o){i&1&&ne(o.inputRef,vt,5),i&2&&ae()},inputs:{multiple:[1,"multiple"],accept:[1,"accept"],placeholder:[1,"placeholder"],overlayText:[1,"overlayText"],files:[1,"files"]},outputs:{placeholder:"placeholderChange",files:"filesChange"},ngContentSelectors:Gt,decls:12,vars:7,consts:[["inputWrap",""],["input",""],["ngProjectAs","input",5,["input"],1,"input"],[1,"files-text"],[1,"placeholder"],["type","file"],[1,"bg-overlay"],["suffix",""]],template:function(i,o){i&1&&(B(Xt),O(0,"sh-form-field"),y(1,0,["ngProjectAs","label",5,["label"]]),O(2,"div",2,0),q(4,Kt,2,1,"div",3)(5,Zt,2,1,"div",3)(6,Jt,2,1,"div",4),me(7,"input",5,1)(9,"div",6),M(),O(10,"sh-icon",7),R(11,"upload-simple"),M()()),i&2&&(de(o.fileUploadClasses()),b(4),z(o.files().length===1?4:o.files().length>1?5:6),b(3),be("multiple",o.multiple())("accept",o.accept()),b(2),$("files-over",o.filesOver()))},dependencies:[tt,Ce],encapsulation:2,changeDetection:0});let t=e;return t})(),qn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["sh-list"]],ngContentSelectors:Z,decls:1,vars:0,template:function(i,o){i&1&&(B(),y(0))},encapsulation:2,changeDetection:0});let t=e;return t})();function yt(t,e){let s=e?.injector||(at(yt),P(Le)),{debounce:n=0,initialValue:i=void 0,transform:o=f=>f,compare:m=(f,_)=>f===_,forceType:p=void 0,returnPreviousValue:a=!0}=e||{},r=k(i),d=s.get(we),C=L(()=>{let f=t()?.nativeElement;if(f instanceof HTMLInputElement||f instanceof HTMLTextAreaElement)return l(f)}),v=!1,g,S=null;return U(()=>{let f=C();if(!f)return r.set(a&&g?o(g):void 0);i!==void 0&&f.value===""?r.set(i):f.value!==""&&c();let _=I=>{S!==null&&clearTimeout(S),S=setTimeout(()=>{S=null,c()},n)};f.addEventListener("input",_),f.addEventListener("inputValueChanged",_),d.onDestroy(()=>{f.removeEventListener("input",_),f.removeEventListener("inputValueChanged",_),S!==null&&clearTimeout(S)})},{injector:s}),U(()=>{let f=C();if(!f)return;let _=r()??"",I=_==null?"":String(_);f.value!==I&&(g=I,f.value=I,f.dispatchEvent(new Event("input")))},{injector:s}),r;function c(){if(!v){v=!0;try{let f=C();if(!f)return;let _=f.value,I=p?h(_,p):o(_);g=_,m(r(),I)||r.set(I)}finally{v=!1}}}function l(f){return Object.defineProperty(f,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(Object.getPrototypeOf(f),"value").get.call(this)},set(_){Object.getOwnPropertyDescriptor(Object.getPrototypeOf(f),"value").set.call(this,_);let X=new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:_}});return this.dispatchEvent(X),_}}),f}function h(f,_){switch(_){case"string":return f.toString();case"number":let I=Number(f);return isNaN(I)?void 0:I;case"boolean":return f.toLowerCase()==="true"?!0:f.toLowerCase()==="false"?!1:void 0;default:return f}}}function xt(t,e){let s=P(Le),n=s.get(we),i=k([]),o=null,m=null,p=(r,d)=>{m&&m.disconnect();let C=Array.from(r.nativeElement.querySelectorAll(d.join(",")));i.set(C),typeof MutationObserver<"u"&&(m=new MutationObserver(v=>{queueMicrotask(()=>{let g=Array.from(r.nativeElement.querySelectorAll(d.join(",")));i.set(g)})}),m.observe(r.nativeElement,{childList:!0,subtree:!0})),n.onDestroy(()=>a())};o=U(()=>{let r=typeof t=="function"&&t[nt]?t():t,d=typeof e=="function"?e():e;r&&d?.length>0?p(r,d):(i.set([]),m&&(m.disconnect(),m=null))},{injector:s});function a(){o&&o.destroy(),m&&m.disconnect()}return{signal:i.asReadonly(),destroy:a}}var zn=(()=>{var e,s,Et,Xe;let o=class o{constructor(){x(this,s);x(this,e);D(this,e,P(_e)),this.asMultiLayer=T(!1),this.openIndicator=T(!1),this.disabled=T(!1),this.customOptionElementSelectors=T(["button"]),this.keepClickedOptionActive=T(!1),this.closeOnClick=T(!0),this.isOpen=G(!1),this.closed=ue(),this.searchable=T(!1),this.activeOptionIndex=k(-1),this.inputRef=se("input"),this.optionsRef=se("optionsRef"),this.options=xt(this.optionsRef,this.customOptionElementSelectors),this.optionsEl=L(()=>this.options.signal().filter(p=>!p.disabled)),this.inputValue=yt(this.inputRef),this.abortController=null,this.optionsEffect=U(()=>{if(!this.isOpen())return;this.abortController&&(this.abortController.abort(),this.abortController=null),this.abortController=new AbortController;let p=this.inputRef()?.nativeElement;p&&(queueMicrotask(()=>p.focus()),this.closeOnClick()||this.optionsRef()?.nativeElement?.addEventListener("click",r=>{let d=r.target,C=this.activeElements();if(!C.length){let g=this.optionsEl();this.activeElements.set(g),C=g}let v=C.findIndex(g=>g===d);v>-1&&(this.activeOptionIndex.set(v),p.focus())}),p.addEventListener("keydown",a=>{let r=this.activeOptionIndex();a.key==="ArrowDown"?(a.preventDefault(),this.activeOptionIndex.set(this.nextActiveIndex(r))):a.key==="ArrowUp"?(a.preventDefault(),this.activeOptionIndex.set(this.prevActiveIndex(r))):a.key==="Enter"?(a.preventDefault(),r>-1&&(this.activeElements()[r].click(),queueMicrotask(()=>this.close("active")))):a.key==="Tab"&&(a.preventDefault(),this.close("closed"))},{signal:this.abortController.signal}))}),this._lastElementList=[],this.activeElements=k([]),this.lastInputValue="",this.inputValueEffect=U(()=>{if(!this.searchable())return;let a=(this.inputValue()??"").toLowerCase();if(E(this,s,Xe).call(this),!a||a==="")return;let r=this._lastElementList.length&&a.length>this.lastInputValue.length?this._lastElementList:this.optionsEl();this.lastInputValue=a;for(let d=0;d<r.length;d++){let C=r[d],v=C.textContent?.toLowerCase()||"",g=E(this,s,Et).call(this,v,a);C.value=g}r=r.filter(d=>d.value>0).sort((d,C)=>C.value-d.value);for(let d=0;d<r.length;d++)u(this,e).setStyle(r[d],"order",d);this.activeElements.set(r),this._lastElementList=r}),this.activeOptionIndexEffect=U(()=>{let p=this.activeElements(),a=this.activeOptionIndex();for(let r=0;r<p.length;r++)p[r].classList.remove("active");a>-1&&(p[a].scrollIntoView({block:"center"}),p[a].classList.add("active"))})}nextActiveIndex(p){let a=this.activeElements();if(!a.length){let d=this.optionsEl();this.activeElements.set(d),a=d}if(p===-1||p===a.length-1)return 0;let r=p+1;return a[r].disabled?this.nextActiveIndex(r):r}prevActiveIndex(p){let a=this.activeElements();if(!a.length){let d=this.optionsEl();this.activeElements.set(d),a=d}if(p===0||p===-1)return a.length-1;let r=p-1;return a[r].disabled?this.prevActiveIndex(r):r}close(p="closed",a){this.inputValue.set(""),this.closeOnClick()&&((!this.keepClickedOptionActive()||p==="closed")&&E(this,s,Xe).call(this),this.isOpen.set(!1),this.closed.emit(p==="active"))}ngOnDestroy(){this.abortController&&(this.abortController.abort(),this.abortController=null)}};e=new WeakMap,s=new WeakSet,Et=function(p,a){if(!a)return 0;let r=0,d=-1,C=0,v=!0;for(let g=0;g<a.length;g++){let S=a[g];if(p.length>d+1&&p[d+1]===S)r+=g===0?100:150,d++,C++;else{let c=p.indexOf(S,d+1);if(g>0&&(v=!1),c===-1)return 0;r+=100,d=c,C++}}return v&&a.length===C&&(r+=1e3),r+=C*20,r},Xe=function(){this.activeOptionIndex.set(-1);let p=this.optionsEl();for(let a=0;a<p.length;a++)p[a].classList.remove("active")},o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=A({type:o,selectors:[["sh-menu"]],viewQuery:function(a,r){a&1&&(ne(r.inputRef,vt,5),ne(r.optionsRef,ei,5)),a&2&&ae(2)},hostVars:6,hostBindings:function(a,r){a&2&&$("disabled",r.disabled())("has-search",r.searchable())("multi-layer",r.asMultiLayer())},inputs:{asMultiLayer:[1,"asMultiLayer"],openIndicator:[1,"openIndicator"],disabled:[1,"disabled"],customOptionElementSelectors:[1,"customOptionElementSelectors"],keepClickedOptionActive:[1,"keepClickedOptionActive"],closeOnClick:[1,"closeOnClick"],isOpen:[1,"isOpen"],searchable:[1,"searchable"]},outputs:{isOpen:"isOpenChange",closed:"closed"},ngContentSelectors:ii,decls:12,vars:12,consts:[["formFieldWrapper",""],["input",""],["optionsRef",""],[3,"isOpenChange","closed","isOpen","disableOpenByClick","asMultiLayer","options"],["trigger","",3,"click"],[1,"open-indicator"],[1,"form-field-wrap"],[1,"small","stretch"],["type","text","placeholder","Search"],[1,"options",3,"click"]],template:function(a,r){if(a&1){let d=ie();B(ti),O(0,"sh-popover",3,0),Ne("isOpenChange",function(v){return F(d),$e(r.isOpen,v)||(r.isOpen=v),H(v)}),Y("closed",function(){return F(d),H(r.close("fromPopover"))}),O(2,"div",4),Y("click",function(){return F(d),H(!r.disabled()&&r.isOpen.set(!0))}),y(3),q(4,ni,2,0,"sh-icon",5),M(),O(5,"div",6)(6,"sh-form-field",7),me(7,"input",8,1),M()(),O(9,"div",9,2),Y("click",function(){return F(d),H(r.close("active"))}),y(11,1),M()()}a&2&&(ze("isOpen",r.isOpen),le("disableOpenByClick",!0)("asMultiLayer",r.asMultiLayer())("options",Ue(11,Ut)),b(2),$("is-open",r.isOpen()),b(2),z(r.openIndicator()?4:-1),b(2),$("hidden",r.searchable()===!1),b(3),$("searching",r.searchable()&&r.inputValue()!==""))},dependencies:[_t,tt,Ce],encapsulation:2,changeDetection:0});let t=o;return t})(),ln=(()=>{let e=class e{constructor(){this.value=T(void 0)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["sh-progress-bar"]],inputs:{value:[1,"value"]},decls:1,vars:2,consts:[[1,"progress-bar"]],template:function(i,o){i&1&&ge(0,"div",0),i&2&&ee("width",o.value(),"%")},encapsulation:2,changeDetection:0});let t=e;return t})(),$n=(()=>{var e;let s=class s{constructor(){x(this,e,P(Q))}onClick(){u(this,e).nativeElement.querySelector("input")&&u(this,e).nativeElement.querySelector("input").focus()}};e=new WeakMap,s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=A({type:s,selectors:[["sh-radio"]],hostBindings:function(o,m){o&1&&Y("click",function(){return m.onClick()})},ngContentSelectors:Z,decls:2,vars:0,consts:[[1,"radio"]],template:function(o,m){o&1&&(B(),ge(0,"div",0),y(1))},encapsulation:2,changeDetection:0});let t=s;return t})(),Nn=(()=>{var e,s,n,i,o,Ge,wt,Dt,Ot;let d=class d{constructor(){x(this,o);x(this,e);x(this,s);x(this,n);x(this,i);D(this,e,P(Q)),D(this,s,null),D(this,n,null),D(this,i,0),this.unit=T(""),this.value=G(u(this,i)),this.inputState=k({min:0,max:100,step:1}),this.valuePercentage=L(()=>{let{min:v,max:g}=this.inputState(),S=this.value()??v;if(isNaN(S))return 0;let c=g-v;if(c===0)return 0;let l=(S-v)/c*100;return Math.max(0,Math.min(100,l))}),this.trackFilledPercentage=L(()=>this.valuePercentage()),this.thumbPositionPercentage=L(()=>this.valuePercentage()),this.syncModelToInputEffect=U(()=>{let v=this.value();if(u(this,n)){let g=parseFloat(u(this,n).value);(isNaN(g)||String(g)!==String(v))&&(u(this,n).value=String(v))}})}get hasInputElement(){return!!u(this,n)}ngAfterViewInit(){D(this,n,u(this,e).nativeElement.querySelector('input[type="range"]')),u(this,n)?(E(this,o,Ot).call(this,u(this,n)),u(this,n).oninput=()=>{this.setNewInputValue(u(this,n).value)},u(this,n).addEventListener("inputValueChanged",v=>{this.setNewInputValue(v.detail.value)}),queueMicrotask(()=>E(this,o,Ge).call(this,!0)),E(this,o,wt).call(this)):console.error('ShipRangeSliderComponent: No <input type="range"> element found projected inside.')}setNewInputValue(v){let g=parseFloat(v??"0");if(!isNaN(g)){let{min:S,max:c}=this.inputState();this.value.set(Math.max(S,Math.min(c,g)))}}trackEvent(v){if(!u(this,n)||u(this,n).readOnly||u(this,n).disabled){v.preventDefault(),v.stopPropagation();return}if(v.target===u(this,n)||v.target?.closest(".thumb, .min-indicator, .max-indicator"))return;let S=v.currentTarget.getBoundingClientRect(),c=v.clientX-S.left,l=S.width,{min:h,max:f,step:_}=this.inputState(),I=f-h;if(l>0&&I!==0&&_>0){let N=(c/l*I+h-h)/_,V=h+Math.round(N)*_,K=E(this,o,Dt).call(this,_);V=parseFloat(V.toFixed(K));let oe=Math.max(h,Math.min(f,V));this.value.set(oe)}}ngOnDestroy(){u(this,s)&&u(this,s).disconnect(),u(this,n)&&(u(this,n).oninput=null)}};e=new WeakMap,s=new WeakMap,n=new WeakMap,i=new WeakMap,o=new WeakSet,Ge=function(v=!1){if(!u(this,n))return;let g=parseFloat(u(this,n).min??"0")??0,S=parseFloat(u(this,n).max??"100")??100,c=u(this,n).step,l=1;if(c&&c.toLowerCase()!=="any"){let f=parseFloat(c);!isNaN(f)&&f>0&&(l=f)}this.inputState.set({min:g,max:S,step:l});let h=parseFloat(u(this,n).value??String(g))??g;if(v&&this.value()!==u(this,i)){let f=this.value(),_=Math.max(g,Math.min(S,f));h!==_&&(u(this,n).value=String(_)),f!==_&&this.value.set(_)}else{let f=Math.max(g,Math.min(S,h));this.value()!==f&&this.value.set(f)}},wt=function(){if(!u(this,n)||typeof MutationObserver>"u")return;let v=["min","max","step","value","readonly","disabled"];D(this,s,new MutationObserver(g=>{let S=!1;for(let c of g)if(c.type==="attributes"&&v.includes(c.attributeName??"")){S=!0;break}S&&E(this,o,Ge).call(this,!1)})),u(this,s).observe(u(this,n),{attributes:!0})},Dt=function(v){if(isNaN(v)||Math.floor(v)===v)return 0;let S=v.toString().split(".")[1];return S?S.length:0},Ot=function(v){Object.defineProperty(v,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(Object.getPrototypeOf(v),"value").get.call(this)},set(g){Object.getOwnPropertyDescriptor(Object.getPrototypeOf(v),"value").set.call(this,g);let c=new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:g}});return this.dispatchEvent(c),g}})},d.\u0275fac=function(g){return new(g||d)},d.\u0275cmp=A({type:d,selectors:[["sh-range-slider"]],hostVars:2,hostBindings:function(g,S){g&2&&$("has-input",S.hasInputElement)},inputs:{unit:[1,"unit"],value:[1,"value"]},outputs:{value:"valueChange"},ngContentSelectors:oi,decls:15,vars:10,consts:[[1,"label"],[1,"input-wrap"],[1,"min-indicator"],[1,"track-wrap",3,"click"],[1,"track"],[1,"track-filled"],[1,"thumb-wrap"],[1,"thumb"],[1,"value-indicator"],[1,"max-indicator"]],template:function(g,S){g&1&&(B(si),j(0,"div",0),y(1),W(),j(2,"div",1)(3,"div",2),R(4),W(),j(5,"div",3),ce("click",function(l){return S.trackEvent(l)}),y(6,1),j(7,"div",4),ge(8,"div",5),W(),j(9,"div",6)(10,"div",7)(11,"div",8),R(12),W()()()(),j(13,"div",9),R(14),W()()),g&2&&(b(4),Te("",S.inputState().min,"",S.unit()),b(4),ee("width",S.trackFilledPercentage(),"%"),b(),ee("left",S.thumbPositionPercentage(),"%"),b(3),Te("",S.value(),"",S.unit()),b(2),Te("",S.inputState().max,"",S.unit()))},encapsulation:2,changeDetection:0});let t=d;return t})(),cn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["sh-spinner"]],decls:0,vars:0,template:function(i,o){},encapsulation:2,changeDetection:0});let t=e;return t})(),Un=(()=>{var e,s,n,i,Ke,m,p,Ze,J,bt,Tt,Mt;let g=class g{constructor(){x(this,i);x(this,e);x(this,s);x(this,n);x(this,m);x(this,p);D(this,e,P(Q)),this.value=T(),this.label=T(),this.asFreeText=T(!1),this.placeholder=T(),this.readonly=G(!1),this.disabled=G(!1),this.lazySearch=T(!1),this.inlineSearch=T(!1),this.asText=T(!1),this.isClearable=T(!0),this.selectMultiple=T(!1),this.optionTemplate=T(null),this.selectedOptionTemplate=T(null),this.placeholderTemplate=T(null),this.isOpen=G(!1),this.isLoading=G(!1),this.options=G([]),this.selectedOptions=G([]),this.cleared=ue(),D(this,s,k(null)),this.inlineTemplate=mt(De),this.optionsWrapRef=se.required("optionsWrap"),this.inputRefInput=k(null),D(this,n,typeof MutationObserver<"u"&&new MutationObserver(c=>{for(var l of c)l&&(l.target.nodeName==="INPUT"||l.target.nodeName==="TEXTAREA")&&(this.inputRefInput.set(new Q(l.target)),u(this,n).disconnect())})),this.inputValue=k(""),this.prevInputValue=k(null),this.focusedOptionIndex=k(-1),this._isClearable=L(()=>this.selectMultiple()||this.isClearable()),this.selectClasses=L(()=>u(this,e).nativeElement.classList.toString()),this.stretch=L(()=>this.selectClasses().includes("stretch")),this.small=L(()=>this.selectClasses().includes("small")),this.placeholderText=L(()=>{let c=this.placeholder(),l=this.inputRefEl();return c||l?.placeholder||null}),this.selectedOptionValues=L(()=>{let c=this.selectedOptions(),l=this.value();return l?c.map(h=>E(this,i,J).call(this,h,l)):c}),this.filteredOptions=L(()=>{let c=this.options()||[],l=this.label(),h=this.value(),f=this.inlineSearch(),_=this.inputValue().toLowerCase(),I=E(this,i,Tt).call(this,_);if(c.length<=0)return[];if(!f||_==="")return c;let N=c.filter(V=>{let K=l?(E(this,i,J).call(this,V,l)??"").toString().toLowerCase():(V??"").toString().toLowerCase(),oe=((h?E(this,i,J).call(this,V,h):V)??"").toString().toLowerCase(),Ve=I.test(K),Pe=I.test(oe);return Ve||Pe}).map(V=>{let K=l?(E(this,i,J).call(this,V,l)??"").toString().toLowerCase():(V??"").toString().toLowerCase(),oe=((h?E(this,i,J).call(this,V,h):V)??"").toString().toLowerCase(),Ve=E(this,i,Ke).call(this,K,_),Pe=E(this,i,Ke).call(this,oe,_);return{item:V,score:Math.max(Ve,Pe)}});return N.sort((V,K)=>K.score-V.score),N.map(V=>V.item)}),D(this,m,Re()),this.inputRefEl=L(()=>{let c=this.inputRefInput();if(c===null)return;let l=c?c.nativeElement:null;return l?(l.autocomplete="off",l.setAttribute("role","combobox"),l.setAttribute("id",`combobox-${u(this,m)}`),l.setAttribute("aria-haspopup","listbox"),l.setAttribute("aria-owns","optionsWrapId"),E(this,i,bt).call(this,l),l.addEventListener("focus",()=>{this.readonly()||this.open()}),this.hasSearch()&&l.addEventListener("input",h=>{let f=h.target.value,_=this.inputValue();f!==_&&(this.focusedOptionIndex.set(this.asFreeText()?-1:0),this.inputValue.set(f),this.updateInputElValue())}),l.addEventListener("inputValueChanged",h=>{let f=h.detail.value,_=this.inputValue();if(f!==_){if(f===""){this.clear();return}this.setSelectedOptionsFromValue(f),this.setInputValueFromOptions(this.selectedOptions()),E(this,i,Ze).call(this)}}),l):(console.warn("<sh-select> input element not found are you missing to pass an <input> or <textarea> element to select component?"),null)}),this.focusEffect=U(()=>{let c=this.inputRefEl();if(!c)return;let l=this.getLabelAsSlug(this.filteredOptions()[this.focusedOptionIndex()]);l?c.setAttribute("aria-activedescendant",l):c.removeAttribute("aria-activedescendant")}),this.openAbortController=null,this.isOpenEffect=U(()=>{if(this.isOpen()){this.openAbortController||(this.openAbortController=new AbortController);let l=this.inputRefEl();if(!l)return;l.setAttribute("aria-expanded",this.isOpen().toString()),l.addEventListener("keydown",h=>{if((h.key==="Escape"||h.key==="Tab")&&(h.preventDefault(),this.close()),(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),this.toggleOptionByIndex(this.focusedOptionIndex())),h.key==="ArrowDown"){h.preventDefault();let f=this.focusedOptionIndex()+1;this.focusedOptionIndex.set(f>this.filteredOptions().length-1?0:f)}if(h.key==="ArrowUp"){h.preventDefault();let f=this.focusedOptionIndex()-1;this.focusedOptionIndex.set(f<0?this.filteredOptions().length-1:f)}},{signal:this.openAbortController?.signal})}else{let l=this.inputRefEl();if(!l)return;l.setAttribute("aria-expanded",this.isOpen().toString()),this.openAbortController&&(this.openAbortController.abort(),this.openAbortController=null)}}),this._inputValue="",this.inputValueEffect=U(()=>{let c=this.inputValue();this._inputValue=c}),this.inputRefElEffect=U(()=>{let c=this.inputRefEl();c&&c.value!==this._inputValue&&(this.disabled.set(c.disabled),this.setSelectedOptionsFromValue(c.value),this.setInputValueFromOptions(this.selectedOptions()))}),this.selectedLabels=L(()=>{let c=this.selectedOptions();return this.label()?c.map(h=>this.getLabel(h)).join(", "):c.join(", ")}),this.inputState=L(()=>(this.selectedOptions().length>0||this.asFreeText()&&this.inputValue().length>0)&&!this.isOpen()?"selected":this.isLoading()?"loading":this.isOpen()&&(this.lazySearch()||this.inlineSearch())?"open-searching":this.isOpen()?"open":this.inlineSearch()||this.lazySearch()?"searching":"closed"),this.hasSearch=L(()=>this.inlineSearch()||this.lazySearch()),D(this,p,U(()=>{if(this.selectMultiple()&&this.hasSearch())return;let c=this.selectedOptions(),l=this.value(),h=c.map(f=>l?E(this,i,J).call(this,f,l):f).join(",");this.inputValue.set(h)}))}ngOnInit(){this.setInitInput()}setInitInput(){let c=u(this,e).nativeElement.querySelector("input");if(c){this.inputRefInput.set(new Q(c));return}let l=u(this,e).nativeElement.querySelector("textarea");if(l){this.inputRefInput.set(new Q(l));return}typeof MutationObserver<"u"&&u(this,n).observe(u(this,e).nativeElement,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}setSelectedOptionsFromValue(c){let l=this.options()||[],h=this.value(),f=this.selectMultiple(),_=c.toString().split(",");if(_.length===0){this.selectedOptions.set([]);return}let I=f?_:[_[0]],X=l.filter(N=>{let V=h?E(this,i,J).call(this,N,h)?.toString():N?.toString();return V&&I.includes(V)});this.selectedOptions.set(f?X:[X[0]])}setInputValueFromOptions(c){let l=this.value();if(c.length===0){this.inputValue.set(""),this.updateInputElValue();return}let h=c.map(f=>l?E(this,i,J).call(this,f,l):f).join(",");h!==this.inputValue()&&(this.inputValue.set(h),this.updateInputElValue())}getLabel(c){let l=this.label();return l?E(this,i,J).call(this,c,l):c}getLabelAsSlug(c){let l=this.getLabel(c);return!l||typeof l!="string"?"":l.replaceAll(" ","-")}toggleOptionByIndex(c,l){let h=this.filteredOptions()[c];if(this.asFreeText()&&c===-1||!h){this.close();return}l&&l.stopPropagation();let f=this.selectMultiple(),_=this._isClearable(),I=this.value(),X=this.selectedOptionValues(),N=I?E(this,i,J).call(this,h,I):h;this.prevInputValue.set(null),u(this,s).set(null),this.selectedOptions.update(V=>{let K=X.indexOf(N);if(K>-1){let oe=[...V.slice(0,K),...V.slice(K+1)];return _||oe.length>0?oe:V}else return this.focusedOptionIndex.set(c),f?[...V,h]:[h]}),f?this.inputRefEl()?.focus():this.isOpen.set(!1),this.setInputValueFromOptions(this.selectedOptions()),f&&this.hasSearch()&&(this.inputValue.set(""),this.updateInputElValue())}removeSelectedOptionByIndex(c,l){c.stopPropagation(),this.selectedOptions.update(h=>[...h.slice(0,l),...h.slice(l+1)]),this.setInputValueFromOptions(this.selectedOptions())}isSelected(c){let l=this.value(),h=this.filteredOptions()[c],f=l?E(this,i,J).call(this,h,l):h;return this.selectedOptionValues().indexOf(f)>-1}open(){this.isOpen()||(this.isOpen.set(!0),this.hasSearch()?(this.prevInputValue.set(this.inputValue()??""),this.inputValue.set(""),this.updateInputElValue()):u(this,s).set(this.selectedOptions()),this.selectMultiple()||E(this,i,Ze).call(this))}close(){this.isOpen.set(!1);let c=this.prevInputValue(),l=u(this,s).call(this);if(this.asFreeText()){this.updateInputElValue();return}this.hasSearch()&&c&&(this.inputValue.set(c),this.setInputValueFromOptions(this.selectedOptions())),!this.hasSearch()&&l!==null&&this.setInputValueFromOptions(l),this.selectMultiple()&&this.setInputValueFromOptions(this.selectedOptions())}clear(c){c?.stopPropagation(),this.inputValue.set(""),this.selectedOptions.set([]),this.isOpen.set(!1),this.prevInputValue.set(null),this.cleared.emit(),this.updateInputElValue()}updateInputElValue(){let c=this.inputRefEl(),l=this.inputValue();c&&(c.value=l,c.dispatchEvent(new Event("input")))}ngOnDestroy(){this.openAbortController&&(this.openAbortController.abort(),this.openAbortController=null),typeof MutationObserver<"u"&&u(this,n).disconnect()}};e=new WeakMap,s=new WeakMap,n=new WeakMap,i=new WeakSet,Ke=function(c,l){if(!l)return 0;let h=0,f=-1,_=0,I=!0;for(let X=0;X<l.length;X++){let N=l[X];if(c.length>f+1&&c[f+1]===N)h+=X===0?100:150,f++,_++;else{let V=c.indexOf(N,f+1);if(X>0&&(I=!1),V===-1)return 0;h+=100,f=V,_++}}return I&&l.length===_&&(h+=1e3),h+=_*20,h},m=new WeakMap,p=new WeakMap,Ze=function(){let c=this.selectedOptionValues()[0],l=this.value();if(c){let h=this.filteredOptions().findIndex(f=>l?E(this,i,J).call(this,f,l)===c:f===c);this.focusedOptionIndex.set(h)}else this.focusedOptionIndex.set(-1)},J=function(c,l){return l.split(".").reduce((h,f)=>h?.[f],c)},bt=function(c){Object.defineProperty(c,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(Object.getPrototypeOf(c),"value").get.call(this)},set(l){Object.getOwnPropertyDescriptor(Object.getPrototypeOf(c),"value").set.call(this,l);let f=new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:l}});return this.dispatchEvent(f),l}})},Tt=function(c){let l=(c??"").toLowerCase(),h="^";for(let f of l)h+=".*"+E(this,i,Mt).call(this,f);return h+=".*$",new RegExp(h,"i")},Mt=function(c){return c.replace(/[-\/\\^$+?.()|[\]{}]/g,"\\$&")},g.\u0275fac=function(l){return new(l||g)},g.\u0275cmp=A({type:g,selectors:[["sh-select"]],contentQueries:function(l,h,f){l&1&&ht(f,h.inlineTemplate,De,5),l&2&&ae()},viewQuery:function(l,h){l&1&&ne(h.optionsWrapRef,ri,5),l&2&&ae()},hostVars:2,hostBindings:function(l,h){l&2&&$("multiple",h.selectMultiple())},inputs:{value:[1,"value"],label:[1,"label"],asFreeText:[1,"asFreeText"],placeholder:[1,"placeholder"],readonly:[1,"readonly"],disabled:[1,"disabled"],lazySearch:[1,"lazySearch"],inlineSearch:[1,"inlineSearch"],asText:[1,"asText"],isClearable:[1,"isClearable"],selectMultiple:[1,"selectMultiple"],optionTemplate:[1,"optionTemplate"],selectedOptionTemplate:[1,"selectedOptionTemplate"],placeholderTemplate:[1,"placeholderTemplate"],isOpen:[1,"isOpen"],isLoading:[1,"isLoading"],options:[1,"options"],selectedOptions:[1,"selectedOptions"]},outputs:{readonly:"readonlyChange",disabled:"disabledChange",isOpen:"isOpenChange",isLoading:"isLoadingChange",options:"optionsChange",selectedOptions:"selectedOptionsChange",cleared:"cleared"},ngContentSelectors:li,decls:28,vars:22,consts:[["formFieldWrapper",""],["optionsWrap",""],[3,"isOpenChange","closed","isOpen","disableOpenByClick","options"],["trigger","",3,"click"],["ngProjectAs","input",5,["input"],1,"input"],[1,"selected-value"],["suffix",""],["suffix","",1,"primary"],["id","optionsWrapId","role","listbox",1,"ship-options"],[1,"option",3,"id","selected","focused"],[1,"small",3,"class"],[1,"small",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["suffix","",3,"click"],[1,"option",3,"click","id"],[3,"class","active"]],template:function(l,h){if(l&1){let f=ie();B(ai),ft(0)(1)(2)(3)(4)(5),O(6,"sh-popover",2,0),Ne("isOpenChange",function(I){return F(f),$e(h.isOpen,I)||(h.isOpen=I),H(I)}),Y("closed",function(){return F(f),H(h.close())}),O(8,"sh-form-field",3),Y("click",function(){return F(f),H(h.open())}),y(9,0,["ngProjectAs","label",5,["label"]]),O(10,"div",4)(11,"div",5),q(12,di,1,1)(13,xi,2,0)(14,Oi,2,1),y(15,1),y(16,2),M()(),q(17,bi,2,0,"sh-icon",6)(18,Ti,1,0,"sh-spinner",7)(19,Mi,2,0,"sh-icon",6)(20,Ii,2,0,"sh-icon",6)(21,ki,2,0,"sh-icon",6)(22,Ri,2,0,"sh-icon",6)(23,Vi,2,0,"sh-icon",6),M(),O(24,"div",8,1),Be(26,Hi,4,8,"li",9,je),M()()}if(l&2){pe(h.placeholderTemplate());let f=h.optionTemplate(),_=h.selectedOptionTemplate(),I=h.inlineTemplate();b();let X=pe(h.selectedOptions()),N=h.inputState();b(),pe(_||f||I),b(),pe(f||I),b();let V=pe(!h.asText()&&h.selectMultiple());b();let K=pe(h.isOpen()&&h.hasSearch()&&(V||h.inputValue().length>0));b(),ze("isOpen",h.isOpen),le("disableOpenByClick",!0)("options",Ue(21,ci)),b(2),$("stretch",h.stretch())("small",h.small())("readonly",h.readonly()||h.disabled()),b(2),$("show-search-text",K),b(),$("is-selected",N==="selected"),b(),z(h.asFreeText()&&h.inputValue().length>0&&!h.isOpen()?12:X.length>0?13:K?-1:14),b(5),z(N==="closed"?17:N==="loading"?18:N==="open-searching"?19:N==="searching"?20:N==="selected"&&h._isClearable()?21:N==="selected"&&!h._isClearable()?22:23),b(9),We(h.filteredOptions())}},dependencies:[gt,_t,tt,Ce,sn,cn,on],encapsulation:2,changeDetection:0});let t=g;return t})();function dn(t){let e=P(Q),s=P(we),n=k(!1),i=typeof MutationObserver<"u"&&new MutationObserver(o=>{o.forEach(m=>{m.type==="attributes"&&m.attributeName==="class"&&n.set(e.nativeElement.classList.contains(t))})});return rt(e.nativeElement,()=>{i&&i.observe(e.nativeElement,{attributes:!0}),n.set(e.nativeElement.classList.contains(t))}),s.onDestroy(()=>{i&&i.disconnect()}),n}var Qn=(()=>{var e,s,n,i,Ee;let m=class m{constructor(){x(this,i);x(this,e);x(this,s);x(this,n);D(this,e,P(Q)),this.openWidth=280,this.openWidthTreshold=this.openWidth*.5,this.disableDrag=T(!1),this.isOpen=G(!1),this.isOverlay=dn("overlay"),D(this,s,u(this,e).nativeElement.parentElement),D(this,n,u(this,s).getBoundingClientRect&&u(this,s).getBoundingClientRect()),this.dragImageElement=se.required("dragImageElement"),this.dragIsEnding=k(!1),this.dragIsOnScreen=k(!0),this.isDragging=k(!1),this.dragPositionX=k(0),this.dragActualPositionX=L(()=>{let a=this.dragPositionX(),r=280,d=100,C=.008,v=r/2,g=v-d/2,S=v+d/2;if(a>S){let c=a-S,h=(r-S)*(1-Math.exp(-C*c));return S+h}else if(a<g){let c=g-a,h=g*(1-Math.exp(-C*c));return g-h}return a}),this.draggingStyle=L(()=>this.isOverlay()?this.isDragging()?`translateX(${this.dragActualPositionX()}px)`:this.isOpen()?`translateX(${this.openWidth}px)`:"translateX(0px)":null),this.draggingEffect=U(()=>{typeof document>"u"||(this.isDragging()?document.body.classList.add("dragging"):document.body.classList.remove("dragging"))})}drop(a){a.stopPropagation(),E(this,i,Ee).call(this,a.clientX-u(this,n).left)}dragEnd(a){a.clientX-u(this,n).left<0&&E(this,i,Ee).call(this,0),a.clientX-u(this,n).left>this.openWidthTreshold&&E(this,i,Ee).call(this,this.openWidthTreshold)}dragEnter(){this.dragIsOnScreen.set(!0)}dragLeave(){this.dragIsOnScreen.set(!1)}dragStart(a){a.stopPropagation(),D(this,n,u(this,s).getBoundingClientRect()),this.isDragging.set(!0)}drag(a){a.stopPropagation(),this.isDragging()&&(a.clientX!==0||a.clientY!==0)&&this.dragPositionX.set(a.clientX-u(this,n).left)}touchStart(a){a.stopPropagation(),this.isDragging.set(!0),D(this,n,u(this,s).getBoundingClientRect()),this.dragPositionX.set(0)}touchMove(a){a.stopPropagation(),this.isDragging()&&this.dragPositionX.set(a.touches[0].clientX-u(this,n).left)}touchEnd(a){a.stopPropagation(),E(this,i,Ee).call(this,a.changedTouches[0].clientX-u(this,n).left)}touchCancel(a){a.stopPropagation(),this.isDragging.set(!1)}};e=new WeakMap,s=new WeakMap,n=new WeakMap,i=new WeakSet,Ee=function(a){this.isDragging.set(!1),a>=this.openWidthTreshold?this.isOpen.set(!0):this.isOpen.set(!1)},m.\u0275fac=function(r){return new(r||m)},m.\u0275cmp=A({type:m,selectors:[["sh-sidenav"]],viewQuery:function(r,d){r&1&&ne(d.dragImageElement,ji,5),r&2&&ae()},hostVars:6,hostBindings:function(r,d){r&2&&$("open",d.isOpen())("closed",!d.isOpen())("is-dragging",d.isDragging())},inputs:{disableDrag:[1,"disableDrag"],isOpen:[1,"isOpen"]},outputs:{isOpen:"isOpenChange"},ngContentSelectors:Wi,decls:10,vars:5,consts:[["dragImageElement",""],[1,"drag-image"],[1,"dropping-surface"],[1,"sidenav"],[1,"main-wrap"],["draggable","true",1,"dragable"],[1,"closed-topbar"],[1,"dropping-surface",3,"drop","dragenter","dragleave"],["draggable","true",1,"dragable",3,"dragstart","dragend","drag","touchstart","touchmove","touchend","touchcancel"]],template:function(r,d){r&1&&(B(Bi),q(0,qi,2,0,"div",1),q(1,zi,1,0,"div",2),j(2,"div",3),y(3),W(),j(4,"div",4),q(5,$i,1,0,"div",5),j(6,"div",6),y(7,1),W(),j(8,"main"),y(9,2),W()()),r&2&&(z(d.isOverlay()?0:-1),b(),z(d.isOverlay()&&d.isDragging()?1:-1),b(3),ee("transform",d.draggingStyle()),b(),z(d.isOverlay()&&!d.disableDrag()?5:-1))},encapsulation:2,changeDetection:0});let t=m;return t})();var Yn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["sh-stepper"]],ngContentSelectors:Z,decls:1,vars:0,template:function(i,o){i&1&&(B(),y(0))},encapsulation:2,changeDetection:0});let t=e;return t})();var Xn=(()=>{var e;let s=class s{constructor(){x(this,e);D(this,e,P(hn)),this.shSort=T(),this.sortAsc=L(()=>{let i=u(this,e).sortByColumn(),o=this.shSort();return!i||!o?!1:i===o}),this.sortDesc=L(()=>{let i=u(this,e).sortByColumn(),o=this.shSort();return!i||!o?!1:i===`-${o}`})}toggleSort(){let i=this.shSort();i&&u(this,e).toggleSort(i)}};e=new WeakMap,s.\u0275fac=function(o){return new(o||s)},s.\u0275dir=Oe({type:s,selectors:[["","shSort",""]],hostAttrs:[1,"sortable"],hostVars:4,hostBindings:function(o,m){o&1&&Y("mousedown",function(){return m.toggleSort()}),o&2&&$("sort-asc",m.sortAsc())("sort-desc",m.sortDesc())},inputs:{shSort:[1,"shSort"]}});let t=s;return t})();var ve=1.5,hn=(()=>{var e,s,n,i,o,ke;let p=class p{constructor(){x(this,o);x(this,e);x(this,s);x(this,n);x(this,i);D(this,e,P(Q)),D(this,s,P(et,{optional:!0})),this.loading=T(!1),this.data=T([]),this.dataChange=ue(),this.sortByColumn=G(null),this.tbody=se("tbody"),this.columns=xt(this.tbody,["tr:first-child th"]),this.class=k(u(this,s)?.tableType??"default"),this.resizing=k(!1),this.sizeTrigger=k(!0),D(this,n,null),D(this,i,k(!1)),this.scrollXState=k(-1),this.scrollYState=k(-1),this.canScrollX=k(!1),this.canScrollY=k(!1),this.columnSizes=L(()=>{this.sizeTrigger();let r=this.columns.signal();return r.reduce((d,C,v)=>{let g=C,S=g.getAttribute("size"),c=v===r.length-1;return S?`${d} ${S}`:g.classList.contains("sticky")||g.classList.contains("sticky-end")?`${d} min-content`:c?`${d} 1fr`:`${d} 1fr`},"")}),this.e=U(()=>{let r=this.sortByColumn();if(r===null)return u(this,i).call(this)||(D(this,n,this.data()),u(this,i).set(!0)),this.dataChange.emit(structuredClone(u(this,n)));let d=r.startsWith("-")?r.slice(1):r,C=r.startsWith("-"),v=this.data().sort((g,S)=>{let c=g[d],l=S[d],h=0;return typeof c=="number"&&typeof l=="number"&&(h=c-l),c instanceof Date&&l instanceof Date&&(h=c.getTime()-l.getTime()),typeof c=="string"&&typeof l=="string"&&(h=c.localeCompare(l,void 0,{sensitivity:"base"})),C?-h:h});this.dataChange.emit(v)})}updateColumnSizes(){this.sizeTrigger.set(!this.sizeTrigger())}onScroll(){E(this,o,ke).call(this)}onResize(r){E(this,o,ke).call(this)}ngAfterViewInit(){queueMicrotask(()=>E(this,o,ke).call(this))}toggleSort(r){let d=this.sortByColumn(),C=d===r?`-${r}`:d===`-${r}`?null:r;this.sortByColumn.set(C)}};e=new WeakMap,s=new WeakMap,n=new WeakMap,i=new WeakMap,o=new WeakSet,ke=function(){let r=u(this,e).nativeElement,d=-1,C=-1,v=r.scrollWidth>r.clientWidth+ve;if(v){let S=r.scrollLeft<=ve;r.scrollWidth-(r.scrollLeft+r.clientWidth)<ve?d=1:S||(d=0)}this.scrollXState.set(d),this.canScrollX.set(v);let g=r.scrollHeight>r.clientHeight+ve;if(g){let S=r.scrollTop<=ve;r.scrollHeight-(r.scrollTop+r.clientHeight)<ve?C=1:S||(C=0)}this.scrollYState.set(C),this.canScrollY.set(g)},p.\u0275fac=function(d){return new(d||p)},p.\u0275cmp=A({type:p,selectors:[["sh-table"]],viewQuery:function(d,C){d&1&&ne(C.tbody,Ni,5),d&2&&ae()},hostVars:18,hostBindings:function(d,C){d&1&&Y("scroll",function(){return C.onScroll()})("resize",function(g){return C.onResize(g)},lt),d&2&&(de(C.class()),ee("grid-template-columns",C.columnSizes()),$("resizing",C.resizing())("can-scroll-x",C.canScrollX())("can-scroll-y",C.canScrollY())("scrolled-x",C.scrollXState()>=0)("scrolled-x-end",C.scrollXState()===1)("scrolled-y",C.scrollYState()>=0)("scrolled-y-end",C.scrollYState()===1))},inputs:{loading:[1,"loading"],data:[1,"data"],sortByColumn:[1,"sortByColumn"]},outputs:{dataChange:"dataChange",sortByColumn:"sortByColumnChange"},ngContentSelectors:Qi,decls:5,vars:2,consts:[["tbody",""],[1,"indeterminate","primary"],[1,"no-rows"]],template:function(d,C){d&1&&(B(Ui),q(0,Yi,1,0,"sh-progress-bar",1),O(1,"tbody",null,0),y(3),M(),q(4,Xi,2,0,"div",2)),d&2&&(z(C.loading()?0:-1),b(4),z(C.loading()?-1:4))},dependencies:[ln],encapsulation:2,changeDetection:0});let t=p;return t})(),Gn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["sh-tabs"]],ngContentSelectors:Z,decls:1,vars:0,template:function(i,o){i&1&&(B(),y(0))},encapsulation:2,changeDetection:0});let t=e;return t})(),Kn=(()=>{let e=class e{constructor(){this.isActive=G(!1),this.disallowToggle=T(!1)}ngOnInit(){this.disallowToggle()&&this.isActive.set(!0)}toggle(){this.isActive.set(!this.isActive())}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["sh-toggle-card"]],hostVars:2,hostBindings:function(i,o){i&2&&$("active",o.isActive())},inputs:{isActive:[1,"isActive"],disallowToggle:[1,"disallowToggle"]},outputs:{isActive:"isActiveChange"},ngContentSelectors:Ki,decls:7,vars:1,consts:[[3,"click"],[1,"toggle-icon"],[1,"collapsable"],[1,"content"]],template:function(i,o){i&1&&(B(Gi),O(0,"h3",0),Y("click",function(){return o.disallowToggle()||o.toggle()}),y(1,0,null,Zi,1,0),q(3,Ji,2,0,"sh-icon",1),M(),O(4,"div",2)(5,"div",3),y(6,1),M()()),i&2&&(b(3),z(o.disallowToggle()?-1:3))},dependencies:[Ce],encapsulation:2,changeDetection:0});let t=e;return t})(),Zn=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=A({type:e,selectors:[["sh-toggle"]],ngContentSelectors:Z,decls:3,vars:0,consts:[[1,"box"],[1,"knob"]],template:function(i,o){i&1&&(B(),j(0,"div",0),ge(1,"div",1),W(),y(2))},encapsulation:2,changeDetection:0});let t=e;return t})();var Jn=(()=>{let e=class e{constructor(){this.filesOver=k(!1),this.filesDropped=ue()}onDragOver(n){n.preventDefault(),n.stopPropagation(),this.filesOver.set(!0)}onDragLeave(n){n.preventDefault(),n.stopPropagation(),this.filesOver.set(!1)}ondrop(n){n.preventDefault(),n.stopPropagation(),this.filesOver.set(!1);let i=n.dataTransfer?.files;i&&i.length>0&&this.filesDropped.emit(i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=Oe({type:e,selectors:[["","shDragDrop",""]],hostVars:2,hostBindings:function(i,o){i&1&&Y("dragover",function(p){return o.onDragOver(p)})("dragleave",function(p){return o.onDragLeave(p)})("drop",function(p){return o.ondrop(p)}),i&2&&$("filesover",o.filesOver())},outputs:{filesDropped:"filesDropped"}});let t=e;return t})();var pn=(()=>{var e,s,n;let i=class i{constructor(){x(this,e);x(this,s);x(this,n);this.positionAnchorName=T.required(),this.anchorEl=T.required(),this.isOpen=T(!1),D(this,e,P(Q)),D(this,s,P(_e)),D(this,n,null),this.SUPPORTS_ANCHOR=typeof CSS<"u"&&CSS.supports("position-anchor","--abc"),this.isBelow=k(!1),this.openEffect=U(()=>{this.isOpen()?setTimeout(()=>{u(this,e).nativeElement.showPopover(),this.calculateTooltipPosition()}):u(this,e).nativeElement.hidePopover()}),this.calculateTooltipPosition=()=>{if(!this.anchorEl())return;let m=this.anchorEl().nativeElement.getBoundingClientRect(),p=u(this,e).nativeElement,a=p.getBoundingClientRect();if(a.width===0&&a.height===0)return;let r=m.top-a.height<0;if(this.isBelow.set(r),!this.SUPPORTS_ANCHOR){let d=m.top-a.height,C=m.left+m.width/2-a.width/2;r&&(d=m.top+m.height),C+a.width>window?.innerWidth&&(C=m.right-a.width/2),C<0&&(C=-(a.width/2)),u(this,s).setStyle(p,"left",`${C}px`),u(this,s).setStyle(p,"top",`${d}px`),u(this,s).setStyle(p,"position","fixed")}},He(()=>{D(this,n,new AbortController);let m={signal:u(this,n).signal,capture:!0};window?.addEventListener("scroll",this.calculateTooltipPosition,m),window?.addEventListener("resize",this.calculateTooltipPosition,{signal:u(this,n).signal}),setTimeout(()=>this.calculateTooltipPosition())})}ngOnDestroy(){u(this,n)?.abort()}};e=new WeakMap,s=new WeakMap,n=new WeakMap,i.\u0275fac=function(p){return new(p||i)},i.\u0275cmp=A({type:i,selectors:[["ship-tooltip-wrapper"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(p,a){p&2&&(be("popover","auto"),ee("position-anchor",a.positionAnchorName()),$("below",a.isBelow()))},inputs:{positionAnchorName:[1,"positionAnchorName"],anchorEl:[1,"anchorEl"],isOpen:[1,"isOpen"]},ngContentSelectors:Z,decls:2,vars:0,consts:[[1,"tooltip-content"]],template:function(p,a){p&1&&(B(),j(0,"div",0),y(1),W())},encapsulation:2});let t=i;return t})(),es=(()=>{var e,s,n,i,o,m;let p=class p{constructor(){x(this,e);x(this,s);x(this,n);x(this,i);x(this,o);x(this,m);this.shTooltip=T.required(),D(this,e,P(Q)),D(this,s,P(ct)),D(this,n,P(ot)),D(this,i,P(_e)),D(this,o,null),D(this,m,null),this.anchorName=`--${Re()}`,this.isOpen=k(!1)}onMouseEnter(){this.cleanupTooltip(),queueMicrotask(()=>this.showTooltip())}ngOnDestroy(){this.cleanupTooltip()}showTooltip(){if(u(this,o)||!this.shTooltip())return;this.isOpen.set(!0);let r,d=this.shTooltip();if(typeof d=="string")r=[[u(this,i).createText(d)]];else if(d instanceof De)D(this,m,d.createEmbeddedView({})),u(this,m).detectChanges(),r=[u(this,m).rootNodes];else return;D(this,o,u(this,s).createComponent(pn,{environmentInjector:u(this,n),projectableNodes:r})),u(this,o).setInput("positionAnchorName",this.anchorName),u(this,o).setInput("anchorEl",u(this,e)),u(this,o).setInput("isOpen",this.isOpen),u(this,o).changeDetectorRef.detectChanges()}cleanupTooltip(){this.isOpen.set(!1),u(this,o)&&(u(this,o).destroy(),D(this,o,null)),u(this,m)&&(u(this,m).destroy(),D(this,m,null))}};e=new WeakMap,s=new WeakMap,n=new WeakMap,i=new WeakMap,o=new WeakMap,m=new WeakMap,p.\u0275fac=function(d){return new(d||p)},p.\u0275dir=Oe({type:p,selectors:[["","shTooltip",""]],hostAttrs:[1,"tooltip"],hostVars:4,hostBindings:function(d,C){d&1&&Y("mouseenter",function(){return C.onMouseEnter()}),d&2&&(ee("anchor-name",C.anchorName),$("active",C.isOpen()))},inputs:{shTooltip:[1,"shTooltip"]}});let t=p;return t})();export{Ce as a,Pn as b,An as c,nn as d,Ln as e,Fn as f,Hn as g,jn as h,sn as i,on as j,Bn as k,tt as l,Wn as m,qn as n,zn as o,ln as p,$n as q,Nn as r,cn as s,Un as t,Qn as u,Yn as v,Xn as w,hn as x,Gn as y,Kn as z,Zn as A,Jn as B,es as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as
|
|
1
|
+
import{h as d}from"./chunk-QM6X5ZEC.js";import{H as r,Oc as s,Pc as g,V as n,_ as o,oa as l}from"./chunk-QDFCX6XE.js";var u=[{value:"Disabled",label:$localize`Disabled`},{value:"Verbose",label:$localize`Verbose`},{value:"ExplicitOnly",label:$localize`Explicit only`},{value:"Profiling",label:$localize`Profiling`},{value:"Retry",label:$localize`Retry`},{value:"Information",label:$localize`Information`},{value:"DryRun",label:$localize`Dry run`},{value:"Warning",label:$localize`Warning`},{value:"Error",label:$localize`Error`}],v=class a{#l=o(d);#e=l([]);LOG_LEVELS=u;logLevel=l("Disabled");logLevelByLabel=s(()=>u.find(e=>e.value===this.logLevel())?.label);whenFilter=l(null);backupIdFilter=l(null);id=l(0);logs=s(()=>this.whenFilter()&&this.backupIdFilter()?this.#e().filter(e=>e.BackupID===this.backupIdFilter()&&new Date(e.When).getTime()>=this.whenFilter()&&e.BackupID===this.backupIdFilter()):this.#e());timerInterval;logsLoading=l(!1);isPolling=l(!1);pagination=l({offset:0,pagesize:100});logLevelEffect=g(()=>{this.logLevel()==="Disabled"?this.timerInterval=void 0:this.isPolling()?(this.#e.set([]),this.id.set(0),queueMicrotask(()=>this.loadLogs()),this.timerInterval&&clearInterval(this.timerInterval),this.timerInterval=setInterval(()=>{this.loadLogs()},3e3)):(this.timerInterval&&clearInterval(this.timerInterval),this.timerInterval=void 0)});setWhenFilter(e){this.whenFilter.set(e)}setBackupIdFilter(e){this.backupIdFilter.set(e)}loadLogs(){this.logsLoading.set(!0),this.#l.getApiV1LogdataPoll({id:this.id(),level:this.logLevel(),pagesize:this.pagination().pagesize}).pipe(r(()=>this.logsLoading.set(!1))).subscribe({next:e=>{let t=e.reverse(),i=this.#t(t);i>0&&this.id.set(i),this.#e.set([...t,...this.#e()])}})}updateLogLevel(e){this.logLevel.set(e)}#t(e){return e.reduce((t,i)=>Math.max(t,i.ID),0)}destroy(){this.logLevel.set("Disabled"),this.timerInterval&&clearInterval(this.timerInterval)}static \u0275fac=function(t){return new(t||a)};static \u0275prov=n({token:a,factory:a.\u0275fac,providedIn:"root"})};export{v as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b,c}from"./chunk-LIJJPCCP.js";import"./chunk-BVEALUGN.js";import"./chunk-UACX27D3.js";import"./chunk-VC72SWC4.js";import"./chunk-QGFC5ZUR.js";import"./chunk-GUH5TMOS.js";import"./chunk-RHW5QVAY.js";import"./chunk-OWAZS6AA.js";import"./chunk-USU2EHJV.js";import"./chunk-L2EO4M4B.js";import"./chunk-4YL5DZVH.js";import"./chunk-WRNQOX5R.js";import"./chunk-QM6X5ZEC.js";import"./chunk-WJPLJKPQ.js";import"./chunk-FPPZ4BUR.js";import"./chunk-QDFCX6XE.js";import"./chunk-EUDKD2JW.js";export{b as NONE_OPTION,a as createGeneralForm,c as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-EUDKD2JW.js";var o=[{path:"",loadComponent:()=>import("./chunk-ZGU7OKMF.js"),children:[{path:"",redirectTo:"stored",pathMatch:"full"},{path:"stored",loadComponent:()=>import("./chunk-QIQH4ASK.js")},{path:"live",loadComponent:()=>import("./chunk-5OIM6PRU.js")}]}],t=o;export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as v}from"./chunk-JB75BUPF.js";import"./chunk-P2DII6CV.js";import"./chunk-RHW5QVAY.js";import"./chunk-OWAZS6AA.js";import{b as k,c as G,e as L,f as w,j as U,o as x,q as j,r as K,t as X}from"./chunk-USU2EHJV.js";import"./chunk-47WDRGVN.js";import"./chunk-4URGDROZ.js";import{d as A,e as O}from"./chunk-L2EO4M4B.js";import"./chunk-4YL5DZVH.js";import{A as E,a as y,c as N,g as b,l as B,m as R}from"./chunk-WRNQOX5R.js";import{h as $}from"./chunk-QM6X5ZEC.js";import"./chunk-WJPLJKPQ.js";import"./chunk-FPPZ4BUR.js";import{Ab as a,Bb as n,Cb as l,H as g,Qb as C,Ra as s,Rb as h,Sb as _,Vb as I,Wb as d,_ as F,bb as T,ic as P,oa as m,ub as S,vb as D,zb as c,zc as M}from"./chunk-QDFCX6XE.js";import"./chunk-EUDKD2JW.js";var V=()=>["/"];function z(p,o){p&1&&(a(0,"sh-form-field")(1,"label",14),_(2,3),n(),l(3,"input",15),n())}var u=new K,f=class p{#e=F(N);#o=F($);#n=F(v);#t=F(A);isImporting=m(!1);isSecureFile=m(!1);importForm=u.group({config:u.control(""),cmdline:u.control(!1),import_metadata:u.control(!1),direct:u.control(!1),passphrase:u.control("")});selectedFile=m([]);onFileDropped(o){let e=o[0];if(e){let t=new FileReader;this.isSecureFile.set(e.type!=="application/json"),t.onload=this.#i.bind(this),t.readAsArrayBuffer(e)}}#i(o){let e=o.target?.result;this.isSecureFile.set(this.#r(e)!=="json"),this.importForm.patchValue({config:this.#a(e)})}#r(o){let e=new Uint8Array(o);if(e.length>=5&&e[0]===65&&e[1]===69&&e[2]===83&&e[4]===0)return"aes";try{let t=new TextDecoder().decode(o),i=JSON.parse(t);if(typeof i=="object"&&i!==null)return"json"}catch{}return"unknown"}#a(o){let e=new Uint8Array(o),t=e.byteLength,i="";for(let r=0;r<t;r++)i+=String.fromCharCode(e[r]);return btoa(i)}submit(){this.isImporting.set(!0);let o=this.importForm.value.direct??!1;this.#o.postApiV1BackupsImport({requestBody:this.importForm.value}).pipe(g(()=>this.isImporting.set(!1))).subscribe({next:e=>{if(o){this.#e.success("Backup imported successfully."),this.#t.navigate(["/"]);return}let t=this.#n.addDraftBackup(e.data);this.#t.navigate(["/backup-draft",t])},error:e=>{this.#e.error(e.message)}})}static \u0275fac=function(e){return new(e||p)};static \u0275cmp=T({type:p,selectors:[["app-import"]],decls:19,vars:8,consts:()=>{let o;o=$localize` Import backup configuration ${"\uFFFD#3\uFFFD"}:START_TAG_DIV:${"\uFFFD#4\uFFFD"}:START_TAG_BUTTON:${"[\uFFFD#5\uFFFD|\uFFFD#7\uFFFD]"}:START_TAG_SH_ICON:arrow-left${"[\uFFFD/#5\uFFFD|\uFFFD/#7\uFFFD]"}:CLOSE_TAG_SH_ICON: Back ${"[\uFFFD/#4\uFFFD|\uFFFD/#6\uFFFD]"}:CLOSE_TAG_BUTTON:${"\uFFFD#6\uFFFD"}:START_TAG_BUTTON_1:${"[\uFFFD#5\uFFFD|\uFFFD#7\uFFFD]"}:START_TAG_SH_ICON:download-simple${"[\uFFFD/#5\uFFFD|\uFFFD/#7\uFFFD]"}:CLOSE_TAG_SH_ICON: Import ${"[\uFFFD/#4\uFFFD|\uFFFD/#6\uFFFD]"}:CLOSE_TAG_BUTTON:${"\uFFFD/#3\uFFFD"}:CLOSE_TAG_DIV:`,o=I(o);let e;e=$localize`Import Metadata`;let t;t=$localize`Save now`;let i;return i=$localize`Passphrase`,[o,e,t,i,[1,"actions"],["shButton","","type","button",1,"outlined",3,"routerLink"],["shButton","","type","submit",1,"raised","primary",3,"click","disabled"],["autocomplete","off",3,"formGroup"],["accept",".json,.aes",3,"filesChange","files"],[1,"primary","raised"],["for","importMetadata"],["type","checkbox","formControlName","import_metadata"],["for","direct"],["type","checkbox","formControlName","direct"],["for","passphrase"],["type","password","formControlName","passphrase"]]},template:function(e,t){e&1&&(a(0,"header")(1,"h3"),C(2,0),a(3,"div",4)(4,"button",5),l(5,"sh-icon"),n(),a(6,"button",6),d("click",function(){return t.submit()}),l(7,"sh-icon"),n()(),h(),n()(),a(8,"form",7)(9,"sh-file-upload",8),d("filesChange",function(r){return t.onFileDropped(r)}),n(),S(10,z,4,0,"sh-form-field"),a(11,"sh-toggle",9)(12,"label",10),_(13,1),n(),l(14,"input",11),n(),a(15,"sh-toggle",9)(16,"label",12),_(17,2),n(),l(18,"input",13),n()()),e&2&&(s(4),c("routerLink",M(7,V)),s(2),P("loader",t.isImporting()),c("disabled",t.isImporting()),s(2),c("formGroup",t.importForm),s(),c("files",t.selectedFile()),s(),D(t.isSecureFile()?10:-1))},dependencies:[X,U,G,k,L,w,x,j,O,B,y,b,E,R],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:3rem}h3[_ngcontent-%COMP%]{font:var(--title-30);display:flex;align-items:center;justify-content:space-between}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;max-width:31.25rem}sh-file-upload[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})};export{f as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as Y,d as nn}from"./chunk-LT2T7TXS.js";import{a as tn}from"./chunk-VC6TE2B6.js";import{a as en}from"./chunk-5SPGCYAQ.js";import{a as Ze}from"./chunk-JB75BUPF.js";import"./chunk-P2DII6CV.js";import"./chunk-GUH5TMOS.js";import"./chunk-RHW5QVAY.js";import"./chunk-OWAZS6AA.js";import"./chunk-CWBEE627.js";import"./chunk-USU2EHJV.js";import{a as Ye}from"./chunk-47WDRGVN.js";import"./chunk-4URGDROZ.js";import{e as Xe}from"./chunk-L2EO4M4B.js";import"./chunk-4YL5DZVH.js";import{a as Q,f as we,g as ze,h as Ve,j as Ue,k as Ke,o as je,p as We,w as qe,x as Je}from"./chunk-WRNQOX5R.js";import{h as Qe}from"./chunk-QM6X5ZEC.js";import"./chunk-B5FUQFEQ.js";import"./chunk-WJPLJKPQ.js";import"./chunk-FPPZ4BUR.js";import"./chunk-73RDJP55.js";import{Ab as o,Ac as P,Bb as t,Cb as p,Dc as N,Ec as x,Fc as A,Gb as m,H as j,Hb as M,Hc as J,Ib as $,Jb as k,Pc as ve,Qb as s,Ra as _,Rb as u,Sb as g,Tb as h,Ub as H,Vb as W,Wb as I,Yb as F,_ as v,bb as Re,ea as D,fa as f,gb as O,gc as U,hb as ke,ic as R,lc as r,mc as Be,nc as E,oa as X,qc as Le,rb as xe,rc as Ge,sb as ye,sc as be,ub as C,vb as S,wb as w,xb as z,yb as V,zb as T,zc as q}from"./chunk-QDFCX6XE.js";import"./chunk-EUDKD2JW.js";var _n=()=>[import("./chunk-ACH476VA.js").then(n=>n.NgTemplateOutlet),Q,Ue,Je,qe,import("./chunk-2RB5RKNM.js").then(n=>n.DurationFormatPipe),import("./chunk-QFU6VJXV.js").then(n=>n.BytesPipe),import("./chunk-7WD3AN66.js").then(n=>n.RelativeTimePipe)],ln=()=>["/add-backup"],rn=()=>["/restore"],an=n=>({$implicit:n}),cn=n=>["/backup",n],sn=n=>["/restore",n],un=n=>["/backup",n,"export"],Fn=n=>["/backup",n,"delete"],dn=n=>["/backup",n,"database"],pn=n=>["/backup",n,"commandline"],gn=n=>["/backup",n,"log"];function Tn(n,i){if(n&1){let e=k();o(0,"button",51),I("click",function(){let c=D(e).$implicit,d=F(2);return f(d.sortByColumn.set(c.value))}),g(1,15),t()}if(n&2){let e=i.$implicit,a=F(2);R("active",a.orderBy()===e.value),_(),h(e.label),H(1)}}function Cn(n,i){if(n&1&&(o(0,"sh-menu",52)(1,"button",53),s(2,14),p(3,"strong")(4,"sh-icon"),u(),t(),m(5,54),z(6,Tn,2,3,"button",55,w),M(),t()),n&2){let e=F();_(4),h(e.orderBy()),H(2),_(2),V(e.sortOrderOptions())}}function Sn(n,i){if(n&1&&(o(0,"p")(1,"span"),g(2,21),t(),r(3),N(4,"relativeTime"),t()),n&2){let e=F().$implicit,a=F(4);_(3),E(" ",A(4,1,e.Schedule==null?null:e.Schedule.Time,a.timeType()==="actual")," ")}}function En(n,i){if(n&1&&(r(0),N(1,"durationFormat")),n&2){let e=F().$implicit,a=F(4);E(" ",A(1,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.LastBackupDuration,a.timeType()==="actual")," ")}}function mn(n,i){n&1&&(m(0),r(1,"-"),M())}function Mn(n,i){if(n&1&&(r(0),N(1,"bytes")),n&2){let e=F().$implicit;E(" ",x(1,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.SourceFilesSize)," ")}}function On(n,i){n&1&&(m(0),r(1,"-"),M())}function Nn(n,i){if(n&1&&(r(0),N(1,"bytes")),n&2){let e=F().$implicit;E(" ",x(1,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.TargetFilesSize)," ")}}function Dn(n,i){n&1&&(m(0),r(1,"-"),M())}function fn(n,i){n&1&&$(0)}function $n(n,i){if(n&1&&(o(0,"div",58)(1,"div",45)(2,"h3"),r(3),o(4,"sh-chip")(5,"sh-icon"),r(6),t(),r(7),t()(),o(8,"p")(9,"span"),g(10,16),t(),r(11),N(12,"relativeTime"),t(),C(13,Sn,5,4,"p"),o(14,"p")(15,"span"),g(16,17),t(),C(17,En,2,4)(18,mn,2,0,"ng-container"),t(),o(19,"p")(20,"span"),g(21,18),t(),C(22,Mn,2,3)(23,On,2,0,"ng-container"),t(),o(24,"p")(25,"span"),g(26,19),t(),C(27,Nn,2,3)(28,Dn,2,0,"ng-container"),t()(),o(29,"sh-chip",59),g(30,20),t(),o(31,"div",49),O(32,fn,1,0,"ng-container",60),t()()),n&2){let e=i.$implicit,a=F(4),c=U(51);_(3),E(" ",(e.Backup==null?null:e.Backup.Name)??a.MISSING_BACKUP_NAME," "),_(3),Be(a.getBackendIcon(e.Backup==null?null:e.Backup.TargetURL)),_(),E(" ",a.getBackendType(e.Backup==null?null:e.Backup.TargetURL)," "),_(4),E(" ",A(12,12,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.LastBackupFinished,a.timeType()==="actual")," "),_(2),S(e.Schedule!=null&&e.Schedule.Time?13:-1),_(4),S(!(e.Backup==null||e.Backup.Metadata==null)&&e.Backup.Metadata.LastBackupDuration?17:18),_(5),S(!(e.Backup==null||e.Backup.Metadata==null)&&e.Backup.Metadata.SourceFilesSize?22:23),_(5),S(!(e.Backup==null||e.Backup.Metadata==null)&&e.Backup.Metadata.TargetFilesSize?27:28);let d=a.getBackupVersionCount(e);_(3),h(d)(d),H(30),_(2),T("ngTemplateOutlet",c)("ngTemplateOutletContext",P(15,an,e))}}function Pn(n,i){if(n&1&&z(0,$n,33,17,"div",58,w),n&2){let e=F(3);V(e.backups())}}function In(n,i){n&1&&(m(0),g(1,22),M())}function An(n,i){if(n&1&&(o(0,"div",56),C(1,Pn,2,0)(2,In,2,0,"ng-container"),t()),n&2){let e=F(2);_(),S(e.backups().length?1:2)}}function hn(n,i){n&1&&(s(0,23,1),$(1),u())}function Hn(n,i){n&1&&(s(0,24,1),$(1),u())}function Rn(n,i){n&1&&(s(0,25,1),$(1),u())}function kn(n,i){n&1&&(s(0,26,1),$(1),u())}function xn(n,i){n&1&&(s(0,27,1),$(1),u())}function yn(n,i){n&1&&(s(0,28,1),$(1),u())}function Bn(n,i){n&1&&(s(0,29,1),$(1),u())}function Ln(n,i){if(n&1&&(r(0),N(1,"relativeTime")),n&2){let e=F().$implicit,a=F(3);E(" ",A(1,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.LastBackupDate,a.timeType()==="actual")," ")}}function Gn(n,i){n&1&&(m(0),r(1,"-"),M())}function bn(n,i){if(n&1&&(r(0),N(1,"relativeTime")),n&2){let e=F().$implicit,a=F(3);E(" ",A(1,1,e.Schedule==null?null:e.Schedule.Time,a.timeType()==="actual")," ")}}function vn(n,i){n&1&&(m(0),r(1,"-"),M())}function Xn(n,i){if(n&1&&(r(0),N(1,"durationFormat")),n&2){let e=F().$implicit,a=F(3);E(" ",A(1,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.LastBackupDuration,a.timeType()==="actual")," ")}}function wn(n,i){n&1&&(m(0),r(1,"-"),M())}function zn(n,i){if(n&1&&(r(0),N(1,"bytes")),n&2){let e=F().$implicit;E(" ",x(1,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.SourceFilesSize)," ")}}function Vn(n,i){n&1&&(m(0),r(1,"-"),M())}function Un(n,i){if(n&1&&(r(0),N(1,"bytes")),n&2){let e=F().$implicit;E(" ",x(1,1,e.Backup==null||e.Backup.Metadata==null?null:e.Backup.Metadata.TargetFilesSize)," ")}}function Kn(n,i){n&1&&(m(0),r(1,"-"),M())}function jn(n,i){n&1&&$(0)}function Wn(n,i){if(n&1&&(o(0,"tr")(1,"td"),r(2),t(),o(3,"td"),r(4),t(),o(5,"td"),C(6,Ln,2,4)(7,Gn,2,0,"ng-container"),t(),o(8,"td"),C(9,bn,2,4)(10,vn,2,0,"ng-container"),t(),o(11,"td"),C(12,Xn,2,4)(13,wn,2,0,"ng-container"),t(),o(14,"td"),C(15,zn,2,3)(16,Vn,2,0,"ng-container"),t(),o(17,"td"),C(18,Un,2,3)(19,Kn,2,0,"ng-container"),t(),o(20,"td")(21,"span"),g(22,32),t()(),o(23,"td"),O(24,jn,1,0,"ng-container",60),t()()),n&2){let e=i.$implicit,a=F(3),c=U(51);_(2),E(" ",(e.Backup==null?null:e.Backup.Name)??a.MISSING_BACKUP_NAME," "),_(2),E(" ",a.getBackendType(e.Backup==null?null:e.Backup.TargetURL)," "),_(2),S(!(e.Backup==null||e.Backup.Metadata==null)&&e.Backup.Metadata.LastBackupDate?6:7),_(3),S(e.Schedule!=null&&e.Schedule.Time?9:10),_(3),S(!(e.Backup==null||e.Backup.Metadata==null)&&e.Backup.Metadata.LastBackupDuration?12:13),_(3),S(!(e.Backup==null||e.Backup.Metadata==null)&&e.Backup.Metadata.SourceFilesSize?15:16),_(3),S(!(e.Backup==null||e.Backup.Metadata==null)&&e.Backup.Metadata.TargetFilesSize?18:19);let d=a.getBackupVersionCount(e);_(4),h(d)(d),H(22),_(2),T("ngTemplateOutlet",c)("ngTemplateOutletContext",P(11,an,e))}}function qn(n,i){if(n&1){let e=k();o(0,"sh-table",61),be("sortByColumnChange",function(c){D(e);let d=F(2);return Ge(d.sortByColumn,c)||(d.sortByColumn=c),f(c)}),o(1,"tr",62)(2,"th",63),s(3,23),O(4,hn,2,0,"ng-container",64),u(),t(),o(5,"th",65),s(6,24),O(7,Hn,2,0,"ng-container",64),u(),t(),o(8,"th",66),s(9,25),O(10,Rn,2,0,"ng-container",64),u(),t(),o(11,"th",67),s(12,26),O(13,kn,2,0,"ng-container",64),u(),t(),o(14,"th",68),s(15,27),O(16,xn,2,0,"ng-container",64),u(),t(),o(17,"th",69),s(18,28),O(19,yn,2,0,"ng-container",64),u(),t(),o(20,"th",70),s(21,29),O(22,Bn,2,0,"ng-container",64),u(),t(),o(23,"th"),g(24,30),t(),o(25,"th"),g(26,31),t()(),z(27,Wn,25,13,"tr",null,w),t()}if(n&2){let e=F(2),a=U(53);T("data",e.backups())("loading",e.backupsLoading()),Le("sortByColumn",e.sortByColumn),_(4),T("ngTemplateOutlet",a),_(3),T("ngTemplateOutlet",a),_(3),T("ngTemplateOutlet",a),_(3),T("ngTemplateOutlet",a),_(3),T("ngTemplateOutlet",a),_(3),T("ngTemplateOutlet",a),_(3),T("ngTemplateOutlet",a),_(5),V(e.backups())}}function Jn(n,i){if(n&1&&C(0,An,3,1,"div",56)(1,qn,29,10,"sh-table",57),n&2){let e=F();S(e.viewMode()==="list"?0:e.viewMode()==="details"?1:-1)}}function Qn(n,i){n&1&&(o(0,"div",71),p(1,"sh-progress-bar",72),o(2,"div",45)(3,"h3"),g(4,33),t()()())}function Yn(n,i){n&1&&g(0,34,1)}function Zn(n,i){n&1&&(o(0,"sh-icon"),r(1,"check"),t())}function et(n,i){n&1&&(o(0,"sh-icon"),r(1,"dots-three-vertical"),t())}function nt(n,i){if(n&1){let e=k();o(0,"button",73),I("click",function(){let c=D(e).$implicit,d=F();return f(d.startBackup(c.Backup==null?null:c.Backup.ID))}),s(1,34),p(2,"sh-icon"),C(3,Yn,1,0),u(),t(),o(4,"button",74)(5,"sh-icon"),r(6,"pencil-simple"),t()(),o(7,"sh-menu")(8,"button",46),C(9,Zn,2,0,"sh-icon")(10,et,2,0,"sh-icon"),t(),m(11,54),o(12,"h3",75),r(13,"Operations"),t(),o(14,"button",76),s(15,35),p(16,"sh-icon"),u(),t(),o(17,"button",76),s(18,36),p(19,"sh-icon"),u(),t(),o(20,"button",76),s(21,37),p(22,"sh-icon"),u(),t(),p(23,"sh-divider"),o(24,"h3",75),r(25,"Advanced"),t(),o(26,"button",76),s(27,38),p(28,"sh-icon"),u(),t(),o(29,"button",51),I("click",function(){let c=D(e).$implicit,d=F();return f(d.verifyFiles(c.Backup==null?null:c.Backup.ID))}),s(30,39),p(31,"sh-icon"),u(),t(),o(32,"button",51),I("click",function(){let c=D(e).$implicit,d=F();return f(d.compressBackup(c.Backup==null?null:c.Backup.ID))}),s(33,40),p(34,"sh-icon"),u(),t(),o(35,"button",76),s(36,41),p(37,"sh-icon"),u(),t(),p(38,"sh-divider"),o(39,"h3",75),r(40,"Reporting"),t(),o(41,"button",76),s(42,42),p(43,"sh-icon"),u(),t(),M(),t()}if(n&2){let e=i.$implicit,a=F();R("loader",a.startingBackup()===(e.Backup==null?null:e.Backup.ID)),_(3),S(a.viewMode()==="list"?3:-1),_(),T("routerLink",P(15,cn,e.Backup==null?null:e.Backup.ID)),_(4),R("loader",a.loadingId()===(e.Backup==null?null:e.Backup.ID))("success",a.successId()===(e.Backup==null?null:e.Backup.ID)),_(),S(a.successId()===(e.Backup==null?null:e.Backup.ID)?9:10),_(5),T("routerLink",P(17,sn,e.Backup==null?null:e.Backup.ID)),_(3),T("routerLink",P(19,un,e.Backup==null?null:e.Backup.ID)),_(3),T("routerLink",P(21,Fn,e.Backup==null?null:e.Backup.ID)),_(6),T("routerLink",P(23,dn,e.Backup==null?null:e.Backup.ID)),_(9),T("routerLink",P(25,pn,e.Backup==null?null:e.Backup.ID)),_(6),T("routerLink",P(27,gn,e.Backup==null?null:e.Backup.ID))}}function tt(n,i){n&1&&(o(0,"sh-icon",77),r(1,"funnel-simple"),t(),o(2,"sh-icon",78),r(3,"sort-ascending"),t(),o(4,"sh-icon",79),r(5,"sort-descending"),t())}var on={file:{Display:$localize`Local`,Icon:null}},Z=class n{#n=v(Qe);#t=v(en);#e=v(Ze);MISSING_BACKUP_NAME=$localize`Backup name missing`;sortOrderOptions=this.#e.orderByOptions;orderBy=this.#e.orderBy;backups=this.#e.backups;backupsLoading=this.#e.backupsLoading;startingBackup=this.#e.startingBackup;deletingBackup=this.#e.deletingBackup;timeType=this.#e.timeType;viewMode=Ye("viewMode","list");sortByColumn=X(this.#e.orderBy());loadingId=X(null);successId=X(null);sortEffect=ve(()=>this.#e.setOrderBy(this.sortByColumn()));ngOnInit(){this.#e.getBackups(!0)}setOrderBy(i){this.#e.setOrderBy(i)}setTimeType(i){this.#e.setTimeType(i)}startBackup(i){this.#t.resumeDialogCheck(()=>this.#e.startBackup(i))}getBackendIcon(i){if(!i)return"";let e=i.split("://")[0],a=Y(e);return on[a.key]?.Icon??"database"}getBackendType(i){if(!i)return"";let e=i.split("://")[0],a=Y(e);if(!a)return"";let c=on[a.key];if(c?.Display)return c.Display;if(a.key==="s3"){let d="http://null?"+i.split("?")[1],y=new URL(d).searchParams.get("s3-server-name")?.toLowerCase()??"";for(let[B,L]of Object.entries(nn))if(y.endsWith(B))return L}return a.displayName}getBackupVersionCount(i){return parseInt(i?.Backup?.Metadata?.BackupListCount??"",10)||0}verifyFiles(i){this.loadingId.set(i),this.#n.postApiV1BackupByIdVerify({id:i}).pipe(j(()=>this.loadingId.set(null))).subscribe({next:()=>{this.successId.set(i),setTimeout(()=>this.successId.set(null),2e3)}})}compressBackup(i){this.loadingId.set(i),this.#n.postApiV1BackupByIdCompact({id:i}).pipe(j(()=>this.loadingId.set(null))).subscribe({next:()=>{this.successId.set(i),setTimeout(()=>this.successId.set(null),2e3)}})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=Re({type:n,selectors:[["app-home"]],decls:54,vars:11,consts:()=>{let i;i=$localize`Backups`;let e;e=$localize`Backups are stored in the cloud and can be restored at any time.`;let a;a=$localize` Add ${"\uFFFD#12\uFFFD"}:START_TAG_SH_ICON:plus${"\uFFFD/#12\uFFFD"}:CLOSE_TAG_SH_ICON:`;let c;c=$localize`Restores`;let d;d=$localize`Restores allow you to restore your data from the cloud.`;let K;K=$localize` Start ${"\uFFFD#22\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#22\uFFFD"}:CLOSE_TAG_SH_ICON:`;let y;y=$localize`My backups`;let B;B=$localize`${"\uFFFD#31\uFFFD"}:START_TAG_SH_ICON:rows${"\uFFFD/#31\uFFFD"}:CLOSE_TAG_SH_ICON: List `;let L;L=$localize`${"\uFFFD#34\uFFFD"}:START_TAG_SH_ICON:list${"\uFFFD/#34\uFFFD"}:CLOSE_TAG_SH_ICON: Details `;let ee;ee=$localize` Time: ${"\uFFFD#38\uFFFD"}:START_TAG_STRONG:${"\uFFFD0\uFFFD"}:INTERPOLATION:${"\uFFFD/#38\uFFFD"}:CLOSE_TAG_STRONG:${"\uFFFD#39\uFFFD"}:START_TAG_SH_ICON:clock${"\uFFFD/#39\uFFFD"}:CLOSE_TAG_SH_ICON:`;let ne;ne=$localize`Relative time`;let te;te=$localize`Actual time`;let ie;ie=$localize` Order by: ${"\uFFFD#3\uFFFD"}:START_TAG_STRONG:${"\uFFFD0\uFFFD"}:INTERPOLATION:${"\uFFFD/#3\uFFFD"}:CLOSE_TAG_STRONG:${"\uFFFD#4\uFFFD"}:START_TAG_SH_ICON:arrows-down-up${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_SH_ICON:`;let oe;oe=$localize` ${"\uFFFD0\uFFFD"}:INTERPOLATION: `;let ae;ae=$localize`Last successful backup:`;let _e;_e=$localize`Duration:`;let le;le=$localize`Source:`;let re;re=$localize`Destination:`;let G;G=$localize`{VAR_PLURAL, plural, =0 {No version yet} =1 {1 Version} other {{INTERPOLATION} Versions}}`,G=W(G,{INTERPOLATION:"\uFFFD1\uFFFD",VAR_PLURAL:"\uFFFD0\uFFFD"});let ce;ce=$localize` ${G}:ICU@@6502601490918455200: `;let se;se=$localize`Next scheduled run:`;let ue;ue=$localize`No backups founds`;let Fe;Fe=$localize` Backup ${"\uFFFD*4:1\uFFFD\uFFFD#1:1\uFFFD"}:START_TAG_NG_CONTAINER:${"\uFFFD/#1:1\uFFFD\uFFFD/*4:1\uFFFD"}:CLOSE_TAG_NG_CONTAINER:`;let de;de=$localize` Type ${"\uFFFD*7:1\uFFFD\uFFFD#1:1\uFFFD"}:START_TAG_NG_CONTAINER:${"\uFFFD/#1:1\uFFFD\uFFFD/*7:1\uFFFD"}:CLOSE_TAG_NG_CONTAINER:`;let pe;pe=$localize` Last backup ${"\uFFFD*10:1\uFFFD\uFFFD#1:1\uFFFD"}:START_TAG_NG_CONTAINER:${"\uFFFD/#1:1\uFFFD\uFFFD/*10:1\uFFFD"}:CLOSE_TAG_NG_CONTAINER:`;let ge;ge=$localize` Next run ${"\uFFFD*13:1\uFFFD\uFFFD#1:1\uFFFD"}:START_TAG_NG_CONTAINER:${"\uFFFD/#1:1\uFFFD\uFFFD/*13:1\uFFFD"}:CLOSE_TAG_NG_CONTAINER:`;let Te;Te=$localize` Duration ${"\uFFFD*16:1\uFFFD\uFFFD#1:1\uFFFD"}:START_TAG_NG_CONTAINER:${"\uFFFD/#1:1\uFFFD\uFFFD/*16:1\uFFFD"}:CLOSE_TAG_NG_CONTAINER:`;let Ce;Ce=$localize` Source ${"\uFFFD*19:1\uFFFD\uFFFD#1:1\uFFFD"}:START_TAG_NG_CONTAINER:${"\uFFFD/#1:1\uFFFD\uFFFD/*19:1\uFFFD"}:CLOSE_TAG_NG_CONTAINER:`;let Se;Se=$localize` Destination ${"\uFFFD*22:1\uFFFD\uFFFD#1:1\uFFFD"}:START_TAG_NG_CONTAINER:${"\uFFFD/#1:1\uFFFD\uFFFD/*22:1\uFFFD"}:CLOSE_TAG_NG_CONTAINER:`;let Ee;Ee=$localize`Version`;let me;me=$localize`Actions`;let b;b=$localize`{VAR_PLURAL, plural, =0 {No versions} =1 {1 Version} other {{INTERPOLATION} Versions}}`,b=W(b,{INTERPOLATION:"\uFFFD1\uFFFD",VAR_PLURAL:"\uFFFD0\uFFFD"});let Me;Me=$localize` ${b}:ICU@@3521773141017690117: `;let Oe;Oe=$localize`Loading backups...`;let Ne;Ne=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:play-circle${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:${"\uFFFD*3:1\uFFFD"}:START_BLOCK_IF: Start ${"\uFFFD/*3:1\uFFFD"}:CLOSE_BLOCK_IF:`;let De;De=$localize`${"\uFFFD#16\uFFFD"}:START_TAG_SH_ICON:clock-counter-clockwise${"\uFFFD/#16\uFFFD"}:CLOSE_TAG_SH_ICON: Restore `;let fe;fe=$localize`${"\uFFFD#19\uFFFD"}:START_TAG_SH_ICON:export${"\uFFFD/#19\uFFFD"}:CLOSE_TAG_SH_ICON: Export `;let $e;$e=$localize`${"\uFFFD#22\uFFFD"}:START_TAG_SH_ICON:x-circle${"\uFFFD/#22\uFFFD"}:CLOSE_TAG_SH_ICON: Delete `;let Pe;Pe=$localize`${"\uFFFD#28\uFFFD"}:START_TAG_SH_ICON:database${"\uFFFD/#28\uFFFD"}:CLOSE_TAG_SH_ICON: Database `;let Ie;Ie=$localize`${"\uFFFD#31\uFFFD"}:START_TAG_SH_ICON:check-square-offset${"\uFFFD/#31\uFFFD"}:CLOSE_TAG_SH_ICON: Verify files `;let Ae;Ae=$localize`${"\uFFFD#34\uFFFD"}:START_TAG_SH_ICON:file-archive${"\uFFFD/#34\uFFFD"}:CLOSE_TAG_SH_ICON: Compress now `;let he;he=$localize`${"\uFFFD#37\uFFFD"}:START_TAG_SH_ICON:terminal-window${"\uFFFD/#37\uFFFD"}:CLOSE_TAG_SH_ICON: Commandline `;let He;return He=$localize`${"\uFFFD#43\uFFFD"}:START_TAG_SH_ICON:notepad${"\uFFFD/#43\uFFFD"}:CLOSE_TAG_SH_ICON: Log `,[["actions",""],["sortIcons",""],i,e,a,c,d,K,y,B,L,ee,ne,te,ie,oe,ae,_e,le,re,ce,se,ue,Fe,de,pe,ge,Te,Ce,Se,Ee,me,Me,Oe,Ne,De,fe,$e,Pe,Ie,Ae,he,He,[1,"type-a",3,"routerLink"],["src","assets/images/backup.png","alt","","width","48px"],[1,"text"],["type","button","shButton",""],["src","assets/images/restore.png","alt","","width","48px"],[1,"content"],[1,"actions"],[1,"small"],["type","button",3,"click"],[1,"table-overview"],["type","button","shButton","",1,"small"],["menu",""],["type","button",3,"active"],[1,"backups"],[1,"type-b",3,"data","loading","sortByColumn"],[1,"backup"],[1,"simple","success"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"type-b",3,"sortByColumnChange","data","loading","sortByColumn"],["table-header",""],["shSort","name"],[4,"ngTemplateOutlet"],["shSort","type"],["shSort","lastrun"],["shSort","nextrun"],["shSort","duration"],["shSort","sourcesize"],["shSort","destinationsize"],[1,"loading-list"],[1,"indeterminate","primary"],["shButton","",3,"click"],["type","button","shButton","",3,"routerLink"],["title",""],["type","button",3,"routerLink"],[1,"filter"],[1,"asc"],[1,"desc"]]},template:function(e,a){if(e&1){let c=k();p(0,"app-status-bar"),o(1,"section")(2,"header")(3,"sh-card",43),p(4,"img",44),o(5,"div",45)(6,"h3"),g(7,2),t(),o(8,"p"),g(9,3),t()(),o(10,"button",46),s(11,4),p(12,"sh-icon"),u(),t()(),o(13,"sh-card",43),p(14,"img",47),o(15,"div",45)(16,"h3"),g(17,5),t(),o(18,"p"),g(19,6),t()(),o(20,"button",46),s(21,7),p(22,"sh-icon"),u(),t()()(),o(23,"div",48)(24,"h2"),m(25),g(26,8),M(),o(27,"div",49)(28,"sh-button-group",50)(29,"button",51),I("click",function(){return D(c),f(a.viewMode.set("list"))}),s(30,9),p(31,"sh-icon"),u(),t(),o(32,"button",51),I("click",function(){return D(c),f(a.viewMode.set("details"))}),s(33,10),p(34,"sh-icon"),u(),t()(),o(35,"sh-menu",52)(36,"button",53),s(37,11),p(38,"strong")(39,"sh-icon"),u(),t(),m(40,54),o(41,"button",51),I("click",function(){return D(c),f(a.setTimeType("relative"))}),g(42,12),t(),o(43,"button",51),I("click",function(){return D(c),f(a.setTimeType("actual"))}),g(44,13),t(),M(),t(),C(45,Cn,8,1,"sh-menu",52),t()(),ke(46,Jn,2,1)(47,Qn,5,0),xe(48,46,_n,null,47),t()(),O(50,nt,44,29,"ng-template",null,0,J)(52,tt,6,0,"ng-template",null,1,J)}e&2&&(_(3),T("routerLink",q(9,ln)),_(10),T("routerLink",q(10,rn)),_(16),R("active",a.viewMode()==="list"),_(3),R("active",a.viewMode()==="details"),_(7),h(a.timeType()),H(37),_(6),S(a.viewMode()==="list"?45:-1),_(3),ye(!a.backupsLoading()))},dependencies:[Xe,tn,Ve,ze,Q,Ke,je,We,we],styles:["[_nghost-%COMP%]{display:block}h2[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:2rem 0}header[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem;gap:1rem}sh-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}sh-card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{flex:1 0;display:flex;flex-direction:column;gap:.25rem}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{padding:0 2rem}.backups[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 2rem;gap:.5rem}.backup[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:2rem;gap:1rem;border:1px solid var(--base-4);border-radius:var(--shape-3);box-shadow:var(--box-shadow-10)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;width:100%;max-width:40%}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{color:var(--base-8)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--base-12)}.actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.sortable[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.sortable[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{margin-left:.5rem;font-size:1rem;justify-self:flex-end;display:none}.sortable[_ngcontent-%COMP%]:not(.sort-asc):not(.sort-desc) sh-icon.filter[_ngcontent-%COMP%]{display:block}.sortable.sort-asc[_ngcontent-%COMP%] sh-icon.asc[_ngcontent-%COMP%]{display:block;color:var(--base-12)}.sortable.sort-desc[_ngcontent-%COMP%] sh-icon.desc[_ngcontent-%COMP%]{display:block;color:var(--base-12)}"],changeDetection:0})};export{Z as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as z}from"./chunk-X5ISYEI2.js";import{a as x,c as B,d as w,e as U,f as k}from"./chunk-L2EO4M4B.js";import"./chunk-4YL5DZVH.js";import{a as X,f as H,o as V}from"./chunk-WRNQOX5R.js";import"./chunk-QM6X5ZEC.js";import"./chunk-WJPLJKPQ.js";import"./chunk-FPPZ4BUR.js";import{Ab as i,Bb as t,Cb as _,Gb as f,Hb as P,Jb as R,Qb as l,Ra as O,Rb as s,Sb as b,Tb as v,Ub as y,Wb as u,Yb as c,_ as T,bb as D,ea as a,fa as S,oa as $,ub as N,vb as G,zb as M}from"./chunk-QDFCX6XE.js";import"./chunk-EUDKD2JW.js";function W(g,F){if(g&1){let n=R();i(0,"sh-menu",15)(1,"button",16),b(2,2),t(),f(3,17),i(4,"button",18),u("click",function(){a(n);let e=c();return S(e.updateLogLevel("Disabled"))}),l(5,3),_(6,"sh-icon"),s(),t(),i(7,"button",18),u("click",function(){a(n);let e=c();return S(e.updateLogLevel("Verbose"))}),l(8,4),_(9,"sh-icon"),s(),t(),i(10,"button",18),u("click",function(){a(n);let e=c();return S(e.updateLogLevel("ExplicitOnly"))}),l(11,5),_(12,"sh-icon"),s(),t(),i(13,"button",18),u("click",function(){a(n);let e=c();return S(e.updateLogLevel("Profiling"))}),l(14,6),_(15,"sh-icon"),s(),t(),i(16,"button",18),u("click",function(){a(n);let e=c();return S(e.updateLogLevel("Retry"))}),l(17,7),_(18,"sh-icon"),s(),t(),i(19,"button",18),u("click",function(){a(n);let e=c();return S(e.updateLogLevel("Information"))}),l(20,8),_(21,"sh-icon"),s(),t(),i(22,"button",18),u("click",function(){a(n);let e=c();return S(e.updateLogLevel("DryRun"))}),l(23,9),_(24,"sh-icon"),s(),t(),i(25,"button",18),u("click",function(){a(n);let e=c();return S(e.updateLogLevel("Warning"))}),l(26,10),_(27,"sh-icon"),s(),t(),i(28,"button",18),u("click",function(){a(n);let e=c();return S(e.updateLogLevel("Error"))}),l(29,11),_(30,"sh-icon"),s(),t(),P(),t()}if(g&2){let n=c();M("openIndicator",!0),O(2),v(n.logLevelByLabel()),y(2)}}var C=class g{#n=T(w);#e=T(z);logLevel=this.#e.logLevel;logLevelByLabel=this.#e.logLevelByLabel;currentUrl=$(this.#n.url);constructor(){this.#n.events.subscribe(F=>{F instanceof x&&this.currentUrl.set(F.urlAfterRedirects)})}updateLogLevel(F){this.#e.isPolling.set(!0),this.#e.updateLogLevel(F)}static \u0275fac=function(n){return new(n||g)};static \u0275cmp=D({type:g,selectors:[["app-logs"]],decls:10,vars:1,consts:()=>{let F;F=$localize`${"\uFFFD#4\uFFFD"}:START_TAG_SH_ICON:archive${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_SH_ICON: Stored `;let n;n=$localize`${"\uFFFD#7\uFFFD"}:START_TAG_SH_ICON:play${"\uFFFD/#7\uFFFD"}:CLOSE_TAG_SH_ICON: Live `;let o;o=$localize`Log level: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let e;e=$localize`${"\uFFFD#6\uFFFD"}:START_TAG_SH_ICON:bell-simple-slash${"\uFFFD/#6\uFFFD"}:CLOSE_TAG_SH_ICON: Disabled `;let L;L=$localize`${"\uFFFD#9\uFFFD"}:START_TAG_SH_ICON:megaphone-simple${"\uFFFD/#9\uFFFD"}:CLOSE_TAG_SH_ICON: Verbose `;let d;d=$localize`${"\uFFFD#12\uFFFD"}:START_TAG_SH_ICON:flow-arrow${"\uFFFD/#12\uFFFD"}:CLOSE_TAG_SH_ICON: Explicit only `;let h;h=$localize`${"\uFFFD#15\uFFFD"}:START_TAG_SH_ICON:speedometer${"\uFFFD/#15\uFFFD"}:CLOSE_TAG_SH_ICON: Profiling `;let I;I=$localize`${"\uFFFD#18\uFFFD"}:START_TAG_SH_ICON:arrow-arc-left${"\uFFFD/#18\uFFFD"}:CLOSE_TAG_SH_ICON: Retry `;let E;E=$localize`${"\uFFFD#21\uFFFD"}:START_TAG_SH_ICON:info${"\uFFFD/#21\uFFFD"}:CLOSE_TAG_SH_ICON: Information `;let A;A=$localize`${"\uFFFD#24\uFFFD"}:START_TAG_SH_ICON:person-simple-run${"\uFFFD/#24\uFFFD"}:CLOSE_TAG_SH_ICON: Dry run `;let m;m=$localize`${"\uFFFD#27\uFFFD"}:START_TAG_SH_ICON:warning${"\uFFFD/#27\uFFFD"}:CLOSE_TAG_SH_ICON: Warning `;let p;return p=$localize`${"\uFFFD#30\uFFFD"}:START_TAG_SH_ICON:warning-octagon${"\uFFFD/#30\uFFFD"}:CLOSE_TAG_SH_ICON: Error `,[F,n,o,e,L,d,h,I,E,A,m,p,[1,"filters"],["type","button","routerLink","/about/logs/stored","routerLinkActive","active"],["type","button","routerLink","/about/logs/live","routerLinkActive","active"],[3,"openIndicator"],["shButton","","type","button"],["menu",""],["shButton","","type","button",1,"small",3,"click"]]},template:function(n,o){n&1&&(i(0,"div",12)(1,"sh-button-group")(2,"button",13),l(3,0),_(4,"sh-icon"),s(),t(),i(5,"button",14),l(6,1),_(7,"sh-icon"),s(),t()(),N(8,W,31,2,"sh-menu",15),t(),_(9,"router-outlet")),n&2&&(O(8),G(o.currentUrl().startsWith("/about/logs/live")?8:-1))},dependencies:[H,X,V,B,k,U],styles:["[_nghost-%COMP%]{display:block}.filters[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;padding:0 2rem;margin-bottom:1.25rem}"],changeDetection:0})};export{C as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as le}from"./chunk-VC6TE2B6.js";import{a as re,b as E}from"./chunk-QGFC5ZUR.js";import"./chunk-5SPGCYAQ.js";import{a as ae}from"./chunk-JB75BUPF.js";import"./chunk-P2DII6CV.js";import{a as P}from"./chunk-GUH5TMOS.js";import"./chunk-RHW5QVAY.js";import"./chunk-OWAZS6AA.js";import"./chunk-CWBEE627.js";import{c as ie,e as ne,i as oe,s as se}from"./chunk-USU2EHJV.js";import"./chunk-47WDRGVN.js";import"./chunk-4URGDROZ.js";import{b as j,e as J}from"./chunk-L2EO4M4B.js";import"./chunk-4YL5DZVH.js";import{C as ee,a as Q,e as Y,g as Z,l as x}from"./chunk-WRNQOX5R.js";import{h as te}from"./chunk-QM6X5ZEC.js";import"./chunk-B5FUQFEQ.js";import"./chunk-WJPLJKPQ.js";import"./chunk-FPPZ4BUR.js";import"./chunk-73RDJP55.js";import{Ab as n,Bb as i,Cb as _,D as G,F as S,G as L,H as p,Oc as b,Pc as m,Qb as u,Ra as r,Rb as h,Sb as T,Tb as H,Ub as K,Wb as g,_ as F,bb as V,ic as D,kc as X,lc as C,oa as s,qc as z,r as y,rc as W,sc as q,ub as w,vb as U,zb as d}from"./chunk-QDFCX6XE.js";import"./chunk-EUDKD2JW.js";function ce(c,t){c&1&&(n(0,"sh-icon",19),C(1,"spinner"),i())}function _e(c,t){c&1&&(n(0,"sh-icon",20),C(1,"check"),i())}function de(c,t){c&1&&(n(0,"sh-icon",21),C(1,"warning"),i()),c&2&&d("shTooltip","File not found")}function ue(c,t){let a=re(c).pipe(G(t),L());return E(a,{initialValue:c()})}var f=class c{#o=F(j);#s=F(ae);#e=F(te);#a=F(Y);#t=s("");backupId=E(this.#o.params.pipe(y(t=>t.id)));activeBackup=b(()=>this.#s.backups().find(t=>t.Backup?.ID===this.backupId()));backupFilePath=s("");lastValidatedPath=s("");isValidatedPath=b(()=>this.lastValidatedPath()===this.backupFilePath());pathHasChanged=b(()=>this.backupFilePath()!==this.#t());isValidatingPath=s(!1);#i=ue(this.backupFilePath,500);#n=s(!1);isWaitingForValidation=b(()=>this.#i()!=this.backupFilePath()||this.isValidatingPath());backupFilePathEffect=m(()=>{let t=this.#i(),a=this.activeBackup(),e=this.#n();t!==""&&(this.isValidatingPath.set(!0),this.#e.postApiV1FilesystemValidate({requestBody:{path:t}}).pipe(S(1),p(()=>this.isValidatingPath.set(!1))).subscribe(()=>this.lastValidatedPath.set(t)))});isRestoring=s(!1);isRepairing=s(!1);isDeleting=s(!1);isSavingDbPath=s(!1);isSavingAndRepairing=s(!1);isMovingDb=s(!1);isCreatingBugReport=s(!1);createdReport=s(!1);activeBackupEffect=m(()=>{let t=this.activeBackup();if(!t)return;let a=t.Backup?.DBPath??"";this.backupFilePath.set(a),this.#t.set(a)});repairDatabase(){this.isRepairing.set(!0),this.#e.postApiV1BackupByIdRepair({id:this.backupId()}).pipe(S(1),p(()=>this.isRepairing.set(!1))).subscribe()}deleteDatabase(t=null){this.isValidatedPath()?this.#a.open(P,{data:{title:$localize`Confirm delete?`,message:$localize`Do you really want to delete the database for ${this.activeBackup()?.Backup?.Name}?`,confirmText:$localize`Delete database`,cancelText:$localize`Cancel`},closed:a=>{a&&this.doDeleteDatabase(t)}}):this.doDeleteDatabase(t)}doDeleteDatabase(t=null){this.isDeleting.set(!0),this.#e.postApiV1BackupByIdDeletedb({id:this.backupId()}).pipe(S(1),p(()=>this.isDeleting.set(!1))).subscribe(()=>{this.lastValidatedPath.set(""),t?.()})}restoreDatabase(){this.isValidatedPath()?this.deleteDatabase(()=>{this.doRepairDatabase()}):this.doRepairDatabase()}doRepairDatabase(){this.isRestoring.set(!0),this.#e.postApiV1BackupByIdRepair({id:this.backupId()}).pipe(S(1),p(()=>this.isRestoring.set(!1))).subscribe()}resetDatabasePath(){this.backupFilePath.set(this.#t())}saveDatabasePath(t=null){this.isValidatedPath()?this.#a.open(P,{data:{title:$localize`Confirm reassign?`,message:$localize`The target database path already exists and may belong to another backup. Are you sure you want to assign this backup to an existing database?`,confirmText:$localize`Assign existing database`,cancelText:$localize`Cancel`},closed:a=>{a&&this.doSaveDatabasePath(t)}}):this.doSaveDatabasePath(t)}doSaveDatabasePath(t=null){this.isSavingDbPath.set(!0);let a=this.backupFilePath();this.#e.postApiV1BackupByIdUpdatedb({id:this.backupId(),requestBody:{path:a}}).pipe(p(()=>this.isSavingDbPath.set(!1))).subscribe(()=>{this.#t.set(a),t?.()})}saveAndRepairDatabasePath(){this.saveDatabasePath(()=>(this.isSavingAndRepairing.set(!0),this.#e.postApiV1BackupByIdRepair({id:this.backupId()}).pipe(S(1),p(()=>this.isSavingAndRepairing.set(!1))).subscribe()))}moveDatabasePath(){this.isMovingDb.set(!0);let t=this.backupFilePath();this.#e.postApiV1BackupByIdMovedb({id:this.backupId(),requestBody:{path:t}}).pipe(p(()=>this.isMovingDb.set(!1))).subscribe(()=>{this.#n.update(a=>!a),this.#t.set(t)})}createErrorReport(){this.isCreatingBugReport.set(!0),this.#e.postApiV1BackupByIdCreatereport({id:this.backupId()}).pipe(p(()=>this.isCreatingBugReport.set(!1))).subscribe({next:()=>{this.createdReport.set(!0),window.setTimeout(()=>this.createdReport.set(!1),3e3)}})}static \u0275fac=function(a){return new(a||c)};static \u0275cmp=V({type:c,selectors:[["app-database"]],decls:50,vars:21,consts:()=>{let t;t=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SH_ICON: Back `;let a;a=$localize`Local database for ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let e;e=$localize` Each backup has a local database associated with it, which stores information about the remote backup on the local machine. This makes it faster to perform many operations, and reduces the amount of data that needs to be downloaded for each operation. `;let o;o=$localize`Maintenance`;let A;A=$localize` If the backup and the remote storage is out of sync, Duplicati will require that you perform a repair operation to synchronize the database. If the repair is unsuccessful, you can delete the local database and re-generate. The bug report button can be used to create a copy of the database with path information removed. This should only be used if a developer requests to investigate an issue with your database. `;let M;M=$localize`${"\uFFFD#19\uFFFD"}:START_TAG_SH_ICON:wrench${"\uFFFD/#19\uFFFD"}:CLOSE_TAG_SH_ICON: Repair `;let B;B=$localize`${"\uFFFD#22\uFFFD"}:START_TAG_SH_ICON:trash${"\uFFFD/#22\uFFFD"}:CLOSE_TAG_SH_ICON: Delete `;let N;N=$localize`${"\uFFFD#25\uFFFD"}:START_TAG_SH_ICON:clock-counter-clockwise${"\uFFFD/#25\uFFFD"}:CLOSE_TAG_SH_ICON: Restore (delete and repair) `;let I;I=$localize`${"\uFFFD#28\uFFFD"}:START_TAG_SH_ICON:file-plus${"\uFFFD/#28\uFFFD"}:CLOSE_TAG_SH_ICON: Create bug report database `;let $;$=$localize`Placement`;let R;R=$localize`${"\uFFFD#40\uFFFD"}:START_TAG_SH_ICON:backspace${"\uFFFD/#40\uFFFD"}:CLOSE_TAG_SH_ICON: Reset `;let v;v=$localize`${"\uFFFD#43\uFFFD"}:START_TAG_SH_ICON:floppy-disk${"\uFFFD/#43\uFFFD"}:CLOSE_TAG_SH_ICON: Save `;let k;k=$localize`${"\uFFFD#46\uFFFD"}:START_TAG_SH_ICON:wrench${"\uFFFD/#46\uFFFD"}:CLOSE_TAG_SH_ICON: Save & Repair `;let O;return O=$localize`${"\uFFFD#49\uFFFD"}:START_TAG_SH_ICON:flow-arrow${"\uFFFD/#49\uFFFD"}:CLOSE_TAG_SH_ICON: Move existing database `,[t,a,e,o,A,M,B,N,I,$,R,v,k,O,[1,"back"],["type","button","shButton","","routerLink","/",1,"small"],[1,"actions","maintenance"],["shButton","",3,"click","disabled"],["type","text",3,"ngModelChange","ngModel"],["prefix","",1,"primary"],["prefix",""],["prefix","",3,"shTooltip"],[1,"actions","placement"]]},template:function(a,e){if(a&1&&(_(0,"app-status-bar"),n(1,"section")(2,"div",14)(3,"button",15),u(4,0),_(5,"sh-icon"),h(),i()(),n(6,"article")(7,"h1"),T(8,1),i(),n(9,"p"),T(10,2),i()(),n(11,"article")(12,"h2"),T(13,3),i(),n(14,"p"),T(15,4),i(),n(16,"div",16)(17,"button",17),g("click",function(){return e.repairDatabase()}),u(18,5),_(19,"sh-icon"),h(),i(),n(20,"button",17),g("click",function(){return e.deleteDatabase()}),u(21,6),_(22,"sh-icon"),h(),i(),n(23,"button",17),g("click",function(){return e.restoreDatabase()}),u(24,7),_(25,"sh-icon"),h(),i(),n(26,"button",17),g("click",function(){return e.createErrorReport()}),u(27,8),_(28,"sh-icon"),h(),i()()(),n(29,"article")(30,"h2"),T(31,9),i(),n(32,"sh-form-field")(33,"input",18),q("ngModelChange",function(A){return W(e.backupFilePath,A)||(e.backupFilePath=A),A}),i(),w(34,ce,2,0,"sh-icon",19)(35,_e,2,0,"sh-icon",20)(36,de,2,1,"sh-icon",21),i(),n(37,"div",22)(38,"button",17),g("click",function(){return e.resetDatabasePath()}),u(39,10),_(40,"sh-icon"),h(),i(),n(41,"button",17),g("click",function(){return e.saveDatabasePath()}),u(42,11),_(43,"sh-icon"),h(),i(),n(44,"button",17),g("click",function(){return e.saveAndRepairDatabasePath()}),u(45,12),_(46,"sh-icon"),h(),i(),n(47,"button",17),g("click",function(){return e.moveDatabasePath()}),u(48,13),_(49,"sh-icon"),h(),i()()()()),a&2){let o;r(8),H((o=e.activeBackup())==null||o.Backup==null?null:o.Backup.Name),K(8),r(9),D("loader",e.isRepairing()),d("disabled",!e.isValidatedPath()||e.pathHasChanged()),r(3),D("loader",e.isDeleting()),d("disabled",!e.isValidatedPath()||e.pathHasChanged()),r(3),D("loader",e.isRestoring()),d("disabled",e.pathHasChanged()),r(3),D("loader",e.isCreatingBugReport()),d("disabled",e.isCreatingBugReport()||!e.isValidatedPath()||e.pathHasChanged()),r(6),X(e.isValidatedPath()?"success":"error"),r(),z("ngModel",e.backupFilePath),r(),U(e.isWaitingForValidation()?34:e.isValidatedPath()?35:36),r(4),d("disabled",!e.pathHasChanged()),r(3),d("disabled",!e.pathHasChanged()||e.isWaitingForValidation()),r(3),d("disabled",!e.pathHasChanged()||e.isWaitingForValidation()),r(3),d("disabled",!e.pathHasChanged()||e.isValidatedPath()||e.isWaitingForValidation())}},dependencies:[se,ie,ne,oe,le,Z,x,Q,ee,J],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:2rem}article[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}h1[_ngcontent-%COMP%]{font:var(--title-20)}h2[_ngcontent-%COMP%]{font:var(--title-30)}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}"],changeDetection:0})};export{f as default};
|
package/index.html
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
8
|
<!-- <link rel="icon" type="image/x-icon" href="favicon.ico" /> -->
|
|
9
9
|
<link rel="icon" href="assets/duplicati-logo.png">
|
|
10
|
-
<link rel="stylesheet" href="assets/
|
|
10
|
+
<link rel="stylesheet" href="assets/ship.css">
|
|
11
11
|
<style type="text/css">
|
|
12
12
|
@font-face {
|
|
13
13
|
font-family: 'Inter Tight';
|
|
14
|
-
src: url('
|
|
14
|
+
src: url('ship-ui-assets/fonts/InterTight-VariableFont_wght.woff2') format('woff2-variations');
|
|
15
15
|
font-weight: 100 900;
|
|
16
16
|
font-stretch: 75% 125%;
|
|
17
17
|
font-style: normal;
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
</style>
|
|
62
|
-
<style>:root{--font-size:16px;font-size:var(--font-size)}html body{--sparkle-light:initial;--sparkle-dark: ;color-scheme:light dark;--primary-1:var(--sparkle-light, hsl(217, 91%, 95%)) var(--sparkle-dark, hsl(217, 91%, 9.5%));--primary-2:var(--sparkle-light, hsl(217, 91%, 90%)) var(--sparkle-dark, hsl(217, 91%, 15%));--primary-3:var(--sparkle-light, hsl(217, 91%, 85%)) var(--sparkle-dark, hsl(217, 91%, 22.5%));--primary-4:var(--sparkle-light, hsl(217, 91%, 80%)) var(--sparkle-dark, hsl(217, 91%, 30%));--primary-5:var(--sparkle-light, hsl(217, 91%, 75%)) var(--sparkle-dark, hsl(217, 91%, 37.5%));--primary-6:var(--sparkle-light, hsl(217, 91%, 70%)) var(--sparkle-dark, hsl(217, 91%, 45%));--primary-7:var(--sparkle-light, hsl(217, 91%, 65%)) var(--sparkle-dark, hsl(217, 91%, 52.5%));--primary-8:var(--sparkle-light, hsl(217, 91%, 60%)) var(--sparkle-dark, hsl(217, 91%, 60%));--primary-9:var(--sparkle-light, hsl(217, 91%, 46.5%)) var(--sparkle-dark, hsl(217, 91%, 70%));--primary-10:var(--sparkle-light, hsl(217, 91%, 33%)) var(--sparkle-dark, hsl(217, 91%, 80%));--primary-11:var(--sparkle-light, hsl(217, 91%, 19.5%)) var(--sparkle-dark, hsl(217, 91%, 90%));--primary-12:var(--sparkle-light, hsl(217, 91%, 6%)) var(--sparkle-dark, hsl(217, 91%, 100%));--primary-g2:linear-gradient(180deg, hsl(217, 91%, 70%) 0%, hsl(217, 91%, 60%) 50%);--primary-g3:linear-gradient(180deg, hsl(217, 91%, 80%) 0%, hsl(217, 91%, 60%) 50%);--accent-1:var(--sparkle-light, hsl(258, 90%, 95.75%)) var(--sparkle-dark, hsl(258, 90%, 9.25%));--accent-2:var(--sparkle-light, hsl(258, 90%, 91.5%)) var(--sparkle-dark, hsl(258, 90%, 16.5%));--accent-3:var(--sparkle-light, hsl(258, 90%, 87.25%)) var(--sparkle-dark, hsl(258, 90%, 24.75%));--accent-4:var(--sparkle-light, hsl(258, 90%, 83%)) var(--sparkle-dark, hsl(258, 90%, 33%));--accent-5:var(--sparkle-light, hsl(258, 90%, 78.75%)) var(--sparkle-dark, hsl(258, 90%, 41.25%));--accent-6:var(--sparkle-light, hsl(258, 90%, 74.5%)) var(--sparkle-dark, hsl(258, 90%, 49.5%));--accent-7:var(--sparkle-light, hsl(258, 90%, 70.25%)) var(--sparkle-dark, hsl(258, 90%, 57.75%));--accent-8:var(--sparkle-light, hsl(258, 90%, 66%)) var(--sparkle-dark, hsl(258, 90%, 66%));--accent-9:var(--sparkle-light, hsl(258, 90%, 51.15%)) var(--sparkle-dark, hsl(258, 90%, 74.5%));--accent-10:var(--sparkle-light, hsl(258, 90%, 36.3%)) var(--sparkle-dark, hsl(258, 90%, 83%));--accent-11:var(--sparkle-light, hsl(258, 90%, 21.45%)) var(--sparkle-dark, hsl(258, 90%, 91.5%));--accent-12:var(--sparkle-light, hsl(258, 90%, 6.6%)) var(--sparkle-dark, hsl(258, 90%, 100%));--accent-g2:linear-gradient(180deg, hsl(258, 90%, 74.5%) 0%, hsl(258, 90%, 66%) 50%);--accent-g3:linear-gradient(180deg, hsl(258, 90%, 83%) 0%, hsl(258, 90%, 66%) 50%);--warn-1:var(--sparkle-light, hsl(37, 92%, 93.75%)) var(--sparkle-dark, hsl(37, 92%, 9.25%));--warn-2:var(--sparkle-light, hsl(37, 92%, 87.5%)) var(--sparkle-dark, hsl(37, 92%, 12.5%));--warn-3:var(--sparkle-light, hsl(37, 92%, 81.25%)) var(--sparkle-dark, hsl(37, 92%, 18.75%));--warn-4:var(--sparkle-light, hsl(37, 92%, 75%)) var(--sparkle-dark, hsl(37, 92%, 25%));--warn-5:var(--sparkle-light, hsl(37, 92%, 68.75%)) var(--sparkle-dark, hsl(37, 92%, 31.25%));--warn-6:var(--sparkle-light, hsl(37, 92%, 62.5%)) var(--sparkle-dark, hsl(37, 92%, 37.5%));--warn-7:var(--sparkle-light, hsl(37, 92%, 56.25%)) var(--sparkle-dark, hsl(37, 92%, 43.75%));--warn-8:var(--sparkle-light, hsl(37, 92%, 50%)) var(--sparkle-dark, hsl(37, 92%, 50%));--warn-9:var(--sparkle-light, hsl(37, 92%, 38.75%)) var(--sparkle-dark, hsl(37, 92%, 62.5%));--warn-10:var(--sparkle-light, hsl(37, 92%, 27.5%)) var(--sparkle-dark, hsl(37, 92%, 75%));--warn-11:var(--sparkle-light, hsl(37, 92%, 16.25%)) var(--sparkle-dark, hsl(37, 92%, 87.5%));--warn-12:var(--sparkle-light, hsl(37, 92%, 5%)) var(--sparkle-dark, hsl(37, 92%, 100%));--warn-g2:linear-gradient(180deg, hsl(37, 92%, 62.5%) 0%, hsl(37, 92%, 50%) 50%);--warn-g3:linear-gradient(180deg, hsl(37, 92%, 75%) 0%, hsl(37, 92%, 50%) 50%);--error-1:var(--sparkle-light, hsl(0, 84%, 95%)) var(--sparkle-dark, hsl(0, 84%, 7.5%));--error-2:var(--sparkle-light, hsl(0, 84%, 90%)) var(--sparkle-dark, hsl(0, 84%, 15%));--error-3:var(--sparkle-light, hsl(0, 84%, 85%)) var(--sparkle-dark, hsl(0, 84%, 22.5%));--error-4:var(--sparkle-light, hsl(0, 84%, 80%)) var(--sparkle-dark, hsl(0, 84%, 30%));--error-5:var(--sparkle-light, hsl(0, 84%, 75%)) var(--sparkle-dark, hsl(0, 27%, 10%));--error-6:var(--sparkle-light, hsl(0, 84%, 70%)) var(--sparkle-dark, hsl(0, 84%, 45%));--error-7:var(--sparkle-light, hsl(0, 84%, 65%)) var(--sparkle-dark, hsl(0, 84%, 52.5%));--error-8:var(--sparkle-light, hsl(0, 84%, 60%)) var(--sparkle-dark, hsl(0, 84%, 60%));--error-9:var(--sparkle-light, hsl(0, 84%, 46.5%)) var(--sparkle-dark, hsl(0, 84%, 70%));--error-10:var(--sparkle-light, hsl(0, 84%, 33%)) var(--sparkle-dark, hsl(0, 84%, 80%));--error-11:var(--sparkle-light, hsl(0, 84%, 19.5%)) var(--sparkle-dark, hsl(0, 84%, 90%));--error-12:var(--sparkle-light, hsl(0, 84%, 6%)) var(--sparkle-dark, hsl(0, 84%, 100%));--error-g2:linear-gradient(180deg, hsl(0, 84%, 70%) 0%, hsl(0, 84%, 60%) 50%);--error-g3:linear-gradient(180deg, hsl(0, 84%, 80%) 0%, hsl(0, 84%, 60%) 50%);--success-1:var(--sparkle-light, hsl(160, 84%, 92.38%)) var(--sparkle-dark, hsl(160, 84%, 7.88%));--success-2:var(--sparkle-light, hsl(160, 84%, 84.75%)) var(--sparkle-dark, hsl(160, 3%, 17%));--success-3:var(--sparkle-light, hsl(160, 84%, 77.13%)) var(--sparkle-dark, hsl(160, 84%, 14.63%));--success-4:var(--sparkle-light, hsl(160, 84%, 69.5%)) var(--sparkle-dark, hsl(160, 84%, 19.5%));--success-5:var(--sparkle-light, hsl(160, 84%, 61.88%)) var(--sparkle-dark, hsl(160, 84%, 24.38%));--success-6:var(--sparkle-light, hsl(160, 84%, 54.25%)) var(--sparkle-dark, hsl(160, 84%, 29.25%));--success-7:var(--sparkle-light, hsl(160, 84%, 46.63%)) var(--sparkle-dark, hsl(160, 84%, 34.13%));--success-8:var(--sparkle-light, hsl(160, 84%, 39%)) var(--sparkle-dark, hsl(160, 84%, 39%));--success-9:var(--sparkle-light, hsl(160, 84%, 30.23%)) var(--sparkle-dark, hsl(160, 84%, 54.25%));--success-10:var(--sparkle-light, hsl(160, 84%, 21.45%)) var(--sparkle-dark, hsl(160, 84%, 69.5%));--success-11:var(--sparkle-light, hsl(160, 84%, 12.67%)) var(--sparkle-dark, hsl(160, 84%, 84.75%));--success-12:var(--sparkle-light, hsl(160, 84%, 3.9%)) var(--sparkle-dark, hsl(160, 84%, 100%));--success-g2:linear-gradient(180deg, hsl(160, 84%, 54.25%) 0%, hsl(160, 84%, 39%) 50%);--success-g3:linear-gradient(180deg, hsl(160, 84%, 69.5%) 0%, hsl(160, 84%, 39%) 50%);--base-1:var(--sparkle-light, #fff) var(--sparkle-dark, hsl(0, 0%, 5.75%));--base-2:var(--sparkle-light, hsl(0, 0%, 98.05%)) var(--sparkle-dark, hsl(0, 0%, 8.75%));--base-3:var(--sparkle-light, hsl(0, 0%, 94.5%)) var(--sparkle-dark, hsl(0, 0%, 11.5%));--base-4:var(--sparkle-light, hsl(0, 0%, 84.75%)) var(--sparkle-dark, hsl(0, 0%, 17.25%));--base-5:var(--sparkle-light, hsl(0, 0%, 79.75%)) var(--sparkle-dark, hsl(0, 0%, 17.25%));--base-6:var(--sparkle-light, hsl(0, 0%, 66.25%)) var(--sparkle-dark, hsl(0, 0%, 28.75%));--base-7:var(--sparkle-light, hsl(0, 0%, 54.5%)) var(--sparkle-dark, hsl(0, 0%, 34.5%));--base-8:var(--sparkle-light, hsl(0, 0%, 46%)) var(--sparkle-dark, hsl(0, 0%, 46%));--base-9:var(--sparkle-light, hsl(0, 0%, 35.65%)) var(--sparkle-dark, hsl(0, 0%, 59.5%));--base-10:var(--sparkle-light, hsl(0, 0%, 25.3%)) var(--sparkle-dark, hsl(0, 0%, 73%));--base-11:var(--sparkle-light, hsl(0, 0%, 14.95%)) var(--sparkle-dark, hsl(0, 0%, 86.5%));--base-12:var(--sparkle-light, hsl(0, 0%, 4.6%)) var(--sparkle-dark, hsl(0, 0%, 100%));--base-g2:linear-gradient(180deg, hsl(0, 0%, 66.25%) 0%, hsl(0, 0%, 46%) 50%);--base-g3:linear-gradient(180deg, hsl(0, 0%, 73%) 0%, hsl(0, 0%, 46%) 50%);--base-g6:linear-gradient(180deg, hsl(0, 0%, 25.3%) 0%, hsl(0, 0%, 14.95%) 50%);--base-g7:linear-gradient(180deg, hsl(0, 0%, 35.65%) 0%, hsl(0, 0%, 14.95%) 50%);--primary-c8:var(--light-text);--accent-c8:var(--light-text);--warn-c8:var(--light-text);--error-c8:var(--light-text);--success-c8:var(--light-text);--display-10:600 5rem / normal Inter Tight, sans-serif;--display-20:600 4.5rem / normal Inter Tight, sans-serif;--display-30:600 4rem / normal Inter Tight, sans-serif;--display-40:600 3.5rem / normal Inter Tight, sans-serif;--display-50:600 3rem / normal Inter Tight, sans-serif;--title-10:500 2.5rem / normal Inter Tight, sans-serif;--title-20:500 2rem / normal Inter Tight, sans-serif;--title-30:500 1.5rem / normal Inter Tight, sans-serif;--title-10B:600 2.5rem / normal Inter Tight, sans-serif;--title-20B:600 2rem / normal Inter Tight, sans-serif;--title-30B:600 1.5rem / normal Inter Tight, sans-serif;--paragraph-10:500 1.125rem / normal Inter Tight, sans-serif;--paragraph-20:500 1rem / normal Inter Tight, sans-serif;--paragraph-30:500 .875rem / normal Inter Tight, sans-serif;--paragraph-40:500 .75rem / normal Inter Tight, sans-serif;--paragraph-10B:600 1.125rem / normal Inter Tight, sans-serif;--paragraph-20B:600 1rem / normal Inter Tight, sans-serif;--paragraph-30B:600 .875rem / 1.125rem Inter Tight, sans-serif;--paragraph-40B:600 .75rem / normal Inter Tight, sans-serif;--code-10:500 1rem / normal monospace;--code-20:500 .875rem / normal monospace;--code-30:500 .75rem / normal monospace;--shape-1:.25rem;--shape-2:.5rem;--shape-3:.75rem;--shape-4:1rem;--shape-5:1.25rem;--box-shadow-10:0 1px 2px 0 rgba(18, 18, 23, .07);--box-shadow-20:0 1px 3px 0 rgba(18, 18, 23, .1);--box-shadow-30:0 1px 4px -1px rgba(18, 18, 23, .08);--box-shadow-35:0 4px 6px -1px rgba(18, 18, 23, .08);--box-shadow-40:0 10px 15px -3px rgba(18, 18, 23, .08);--box-shadow-50:0 20px 25px -5px rgba(18, 18, 23, .1);--box-shadow-60:0 25px 50px -12px rgba(18, 18, 23, .25);--dark-text:#000;--light-text:#fff}*{box-sizing:border-box}html,body,app-root{width:100vw;min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--base-2)}body{margin:0;font:var(--paragraph-30);color:var(--base-12)}.loading{position:relative}.loading:before{content:"";width:1rem;height:1rem;border:2px solid var(--loader-c);border-bottom-color:transparent;border-radius:50%;display:flex;box-sizing:border-box;animation:rotation 1s linear infinite;margin:auto;inset:0;position:absolute}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}</style><link rel="stylesheet" href="styles-IH5IS4WG.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-IH5IS4WG.css"></noscript></head>
|
|
62
|
+
<style>:root{--font-size:16px;font-size:var(--font-size)}html body{--ship-light:initial;--ship-dark: ;color-scheme:light dark;--primary-1:var(--ship-light, hsl(217, 91%, 95%)) var(--ship-dark, hsl(217, 91%, 9.5%));--primary-2:var(--ship-light, hsl(217, 91%, 90%)) var(--ship-dark, hsl(217, 91%, 15%));--primary-3:var(--ship-light, hsl(217, 91%, 85%)) var(--ship-dark, hsl(217, 91%, 22.5%));--primary-4:var(--ship-light, hsl(217, 91%, 80%)) var(--ship-dark, hsl(217, 91%, 30%));--primary-5:var(--ship-light, hsl(217, 91%, 75%)) var(--ship-dark, hsl(217, 91%, 37.5%));--primary-6:var(--ship-light, hsl(217, 91%, 70%)) var(--ship-dark, hsl(217, 91%, 45%));--primary-7:var(--ship-light, hsl(217, 91%, 65%)) var(--ship-dark, hsl(217, 91%, 52.5%));--primary-8:var(--ship-light, hsl(217, 91%, 60%)) var(--ship-dark, hsl(217, 91%, 60%));--primary-9:var(--ship-light, hsl(217, 91%, 46.5%)) var(--ship-dark, hsl(217, 91%, 70%));--primary-10:var(--ship-light, hsl(217, 91%, 33%)) var(--ship-dark, hsl(217, 91%, 80%));--primary-11:var(--ship-light, hsl(217, 91%, 19.5%)) var(--ship-dark, hsl(217, 91%, 90%));--primary-12:var(--ship-light, hsl(217, 91%, 6%)) var(--ship-dark, hsl(217, 91%, 100%));--primary-g2:linear-gradient(180deg, hsl(217, 91%, 70%) 0%, hsl(217, 91%, 60%) 50%);--primary-g3:linear-gradient(180deg, hsl(217, 91%, 80%) 0%, hsl(217, 91%, 60%) 50%);--accent-1:var(--ship-light, hsl(258, 90%, 95.75%)) var(--ship-dark, hsl(258, 90%, 9.25%));--accent-2:var(--ship-light, hsl(258, 90%, 91.5%)) var(--ship-dark, hsl(258, 90%, 16.5%));--accent-3:var(--ship-light, hsl(258, 90%, 87.25%)) var(--ship-dark, hsl(258, 90%, 24.75%));--accent-4:var(--ship-light, hsl(258, 90%, 83%)) var(--ship-dark, hsl(258, 90%, 33%));--accent-5:var(--ship-light, hsl(258, 90%, 78.75%)) var(--ship-dark, hsl(258, 90%, 41.25%));--accent-6:var(--ship-light, hsl(258, 90%, 74.5%)) var(--ship-dark, hsl(258, 90%, 49.5%));--accent-7:var(--ship-light, hsl(258, 90%, 70.25%)) var(--ship-dark, hsl(258, 90%, 57.75%));--accent-8:var(--ship-light, hsl(258, 90%, 66%)) var(--ship-dark, hsl(258, 90%, 66%));--accent-9:var(--ship-light, hsl(258, 90%, 51.15%)) var(--ship-dark, hsl(258, 90%, 74.5%));--accent-10:var(--ship-light, hsl(258, 90%, 36.3%)) var(--ship-dark, hsl(258, 90%, 83%));--accent-11:var(--ship-light, hsl(258, 90%, 21.45%)) var(--ship-dark, hsl(258, 90%, 91.5%));--accent-12:var(--ship-light, hsl(258, 90%, 6.6%)) var(--ship-dark, hsl(258, 90%, 100%));--accent-g2:linear-gradient(180deg, hsl(258, 90%, 74.5%) 0%, hsl(258, 90%, 66%) 50%);--accent-g3:linear-gradient(180deg, hsl(258, 90%, 83%) 0%, hsl(258, 90%, 66%) 50%);--warn-1:var(--ship-light, hsl(37, 92%, 93.75%)) var(--ship-dark, hsl(37, 92%, 9.25%));--warn-2:var(--ship-light, hsl(37, 92%, 87.5%)) var(--ship-dark, hsl(37, 92%, 12.5%));--warn-3:var(--ship-light, hsl(37, 92%, 81.25%)) var(--ship-dark, hsl(37, 92%, 18.75%));--warn-4:var(--ship-light, hsl(37, 92%, 75%)) var(--ship-dark, hsl(37, 92%, 25%));--warn-5:var(--ship-light, hsl(37, 92%, 68.75%)) var(--ship-dark, hsl(37, 92%, 31.25%));--warn-6:var(--ship-light, hsl(37, 92%, 62.5%)) var(--ship-dark, hsl(37, 92%, 37.5%));--warn-7:var(--ship-light, hsl(37, 92%, 56.25%)) var(--ship-dark, hsl(37, 92%, 43.75%));--warn-8:var(--ship-light, hsl(37, 92%, 50%)) var(--ship-dark, hsl(37, 92%, 50%));--warn-9:var(--ship-light, hsl(37, 92%, 38.75%)) var(--ship-dark, hsl(37, 92%, 62.5%));--warn-10:var(--ship-light, hsl(37, 92%, 27.5%)) var(--ship-dark, hsl(37, 92%, 75%));--warn-11:var(--ship-light, hsl(37, 92%, 16.25%)) var(--ship-dark, hsl(37, 92%, 87.5%));--warn-12:var(--ship-light, hsl(37, 92%, 5%)) var(--ship-dark, hsl(37, 92%, 100%));--warn-g2:linear-gradient(180deg, hsl(37, 92%, 62.5%) 0%, hsl(37, 92%, 50%) 50%);--warn-g3:linear-gradient(180deg, hsl(37, 92%, 75%) 0%, hsl(37, 92%, 50%) 50%);--error-1:var(--ship-light, hsl(0, 84%, 95%)) var(--ship-dark, hsl(0, 84%, 7.5%));--error-2:var(--ship-light, hsl(0, 84%, 90%)) var(--ship-dark, hsl(0, 84%, 15%));--error-3:var(--ship-light, hsl(0, 84%, 85%)) var(--ship-dark, hsl(0, 84%, 22.5%));--error-4:var(--ship-light, hsl(0, 84%, 80%)) var(--ship-dark, hsl(0, 84%, 30%));--error-5:var(--ship-light, hsl(0, 84%, 75%)) var(--ship-dark, hsl(0, 27%, 10%));--error-6:var(--ship-light, hsl(0, 84%, 70%)) var(--ship-dark, hsl(0, 84%, 45%));--error-7:var(--ship-light, hsl(0, 84%, 65%)) var(--ship-dark, hsl(0, 84%, 52.5%));--error-8:var(--ship-light, hsl(0, 84%, 60%)) var(--ship-dark, hsl(0, 84%, 60%));--error-9:var(--ship-light, hsl(0, 84%, 46.5%)) var(--ship-dark, hsl(0, 84%, 70%));--error-10:var(--ship-light, hsl(0, 84%, 33%)) var(--ship-dark, hsl(0, 84%, 80%));--error-11:var(--ship-light, hsl(0, 84%, 19.5%)) var(--ship-dark, hsl(0, 84%, 90%));--error-12:var(--ship-light, hsl(0, 84%, 6%)) var(--ship-dark, hsl(0, 84%, 100%));--error-g2:linear-gradient(180deg, hsl(0, 84%, 70%) 0%, hsl(0, 84%, 60%) 50%);--error-g3:linear-gradient(180deg, hsl(0, 84%, 80%) 0%, hsl(0, 84%, 60%) 50%);--success-1:var(--ship-light, hsl(160, 84%, 92.38%)) var(--ship-dark, hsl(160, 84%, 7.88%));--success-2:var(--ship-light, hsl(160, 84%, 84.75%)) var(--ship-dark, hsl(160, 3%, 17%));--success-3:var(--ship-light, hsl(160, 84%, 77.13%)) var(--ship-dark, hsl(160, 84%, 14.63%));--success-4:var(--ship-light, hsl(160, 84%, 69.5%)) var(--ship-dark, hsl(160, 84%, 19.5%));--success-5:var(--ship-light, hsl(160, 84%, 61.88%)) var(--ship-dark, hsl(160, 84%, 24.38%));--success-6:var(--ship-light, hsl(160, 84%, 54.25%)) var(--ship-dark, hsl(160, 84%, 29.25%));--success-7:var(--ship-light, hsl(160, 84%, 46.63%)) var(--ship-dark, hsl(160, 84%, 34.13%));--success-8:var(--ship-light, hsl(160, 84%, 39%)) var(--ship-dark, hsl(160, 84%, 39%));--success-9:var(--ship-light, hsl(160, 84%, 30.23%)) var(--ship-dark, hsl(160, 84%, 54.25%));--success-10:var(--ship-light, hsl(160, 84%, 21.45%)) var(--ship-dark, hsl(160, 84%, 69.5%));--success-11:var(--ship-light, hsl(160, 84%, 12.67%)) var(--ship-dark, hsl(160, 84%, 84.75%));--success-12:var(--ship-light, hsl(160, 84%, 3.9%)) var(--ship-dark, hsl(160, 84%, 100%));--success-g2:linear-gradient(180deg, hsl(160, 84%, 54.25%) 0%, hsl(160, 84%, 39%) 50%);--success-g3:linear-gradient(180deg, hsl(160, 84%, 69.5%) 0%, hsl(160, 84%, 39%) 50%);--base-1:var(--ship-light, #fff) var(--ship-dark, hsl(0, 0%, 5.75%));--base-2:var(--ship-light, hsl(0, 0%, 98.05%)) var(--ship-dark, hsl(0, 0%, 8.75%));--base-3:var(--ship-light, hsl(0, 0%, 94.5%)) var(--ship-dark, hsl(0, 0%, 11.5%));--base-4:var(--ship-light, hsl(0, 0%, 84.75%)) var(--ship-dark, hsl(0, 0%, 17.25%));--base-5:var(--ship-light, hsl(0, 0%, 79.75%)) var(--ship-dark, hsl(0, 0%, 17.25%));--base-6:var(--ship-light, hsl(0, 0%, 66.25%)) var(--ship-dark, hsl(0, 0%, 28.75%));--base-7:var(--ship-light, hsl(0, 0%, 54.5%)) var(--ship-dark, hsl(0, 0%, 34.5%));--base-8:var(--ship-light, hsl(0, 0%, 46%)) var(--ship-dark, hsl(0, 0%, 46%));--base-9:var(--ship-light, hsl(0, 0%, 35.65%)) var(--ship-dark, hsl(0, 0%, 59.5%));--base-10:var(--ship-light, hsl(0, 0%, 25.3%)) var(--ship-dark, hsl(0, 0%, 73%));--base-11:var(--ship-light, hsl(0, 0%, 14.95%)) var(--ship-dark, hsl(0, 0%, 86.5%));--base-12:var(--ship-light, hsl(0, 0%, 4.6%)) var(--ship-dark, hsl(0, 0%, 100%));--base-g2:linear-gradient(180deg, hsl(0, 0%, 66.25%) 0%, hsl(0, 0%, 46%) 50%);--base-g3:linear-gradient(180deg, hsl(0, 0%, 73%) 0%, hsl(0, 0%, 46%) 50%);--base-g6:linear-gradient(180deg, hsl(0, 0%, 25.3%) 0%, hsl(0, 0%, 14.95%) 50%);--base-g7:linear-gradient(180deg, hsl(0, 0%, 35.65%) 0%, hsl(0, 0%, 14.95%) 50%);--primary-c8:var(--light-text);--accent-c8:var(--light-text);--warn-c8:var(--light-text);--error-c8:var(--light-text);--success-c8:var(--light-text);--display-10:600 5rem / normal Inter Tight, sans-serif;--display-20:600 4.5rem / normal Inter Tight, sans-serif;--display-30:600 4rem / normal Inter Tight, sans-serif;--display-40:600 3.5rem / normal Inter Tight, sans-serif;--display-50:600 3rem / normal Inter Tight, sans-serif;--title-10:500 2.5rem / normal Inter Tight, sans-serif;--title-20:500 2rem / normal Inter Tight, sans-serif;--title-30:500 1.5rem / normal Inter Tight, sans-serif;--title-10B:600 2.5rem / normal Inter Tight, sans-serif;--title-20B:600 2rem / normal Inter Tight, sans-serif;--title-30B:600 1.5rem / normal Inter Tight, sans-serif;--paragraph-10:500 1.125rem / normal Inter Tight, sans-serif;--paragraph-20:500 1rem / normal Inter Tight, sans-serif;--paragraph-30:500 .875rem / normal Inter Tight, sans-serif;--paragraph-40:500 .75rem / normal Inter Tight, sans-serif;--paragraph-10B:600 1.125rem / normal Inter Tight, sans-serif;--paragraph-20B:600 1rem / normal Inter Tight, sans-serif;--paragraph-30B:600 .875rem / 1.125rem Inter Tight, sans-serif;--paragraph-40B:600 .75rem / normal Inter Tight, sans-serif;--code-10:500 1rem / normal monospace;--code-20:500 .875rem / normal monospace;--code-30:500 .75rem / normal monospace;--shape-1:.25rem;--shape-2:.5rem;--shape-3:.75rem;--shape-4:1rem;--shape-5:1.25rem;--box-shadow-10:0 1px 2px 0 rgba(18, 18, 23, .07);--box-shadow-20:0 1px 3px 0 rgba(18, 18, 23, .1);--box-shadow-30:0 1px 4px -1px rgba(18, 18, 23, .08);--box-shadow-35:0 4px 6px -1px rgba(18, 18, 23, .08);--box-shadow-40:0 10px 15px -3px rgba(18, 18, 23, .08);--box-shadow-50:0 20px 25px -5px rgba(18, 18, 23, .1);--box-shadow-60:0 25px 50px -12px rgba(18, 18, 23, .25);--dark-text:#000;--light-text:#fff}*{box-sizing:border-box}html,body,app-root{width:100vw;min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--base-2)}body{margin:0;font:var(--paragraph-30);color:var(--base-12)}.loading{position:relative}.loading:before{content:"";width:1rem;height:1rem;border:2px solid var(--loader-c);border-bottom-color:transparent;border-radius:50%;display:flex;box-sizing:border-box;animation:rotation 1s linear infinite;margin:auto;inset:0;position:absolute}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}</style><link rel="stylesheet" href="styles-EZGVWHZF.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-EZGVWHZF.css"></noscript></head>
|
|
63
63
|
<body>
|
|
64
64
|
<app-root></app-root>
|
|
65
65
|
<div class="loading">Connecting ...</div>
|
|
66
|
-
<link rel="modulepreload" href="chunk-
|
|
66
|
+
<link rel="modulepreload" href="chunk-LZUM5XKC.js"><link rel="modulepreload" href="chunk-PWV3UKIW.js"><link rel="modulepreload" href="chunk-5SPGCYAQ.js"><link rel="modulepreload" href="chunk-JB75BUPF.js"><link rel="modulepreload" href="chunk-P2DII6CV.js"><link rel="modulepreload" href="chunk-GUH5TMOS.js"><link rel="modulepreload" href="chunk-RHW5QVAY.js"><link rel="modulepreload" href="chunk-OWAZS6AA.js"><link rel="modulepreload" href="chunk-CWBEE627.js"><link rel="modulepreload" href="chunk-47WDRGVN.js"><script src="polyfills-DNO7R5SL.js" type="module"></script><script src="main-TVE62AWE.js" type="module"></script></body>
|
|
67
67
|
</html>
|
package/main-TVE62AWE.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as be,c as ve}from"./chunk-LZUM5XKC.js";import{a as he}from"./chunk-PWV3UKIW.js";import{a as I}from"./chunk-5SPGCYAQ.js";import"./chunk-JB75BUPF.js";import"./chunk-P2DII6CV.js";import"./chunk-GUH5TMOS.js";import{a as D}from"./chunk-RHW5QVAY.js";import{a as L}from"./chunk-OWAZS6AA.js";import{a as de}from"./chunk-CWBEE627.js";import"./chunk-47WDRGVN.js";import{a as b,b as v,c as ue,d as k}from"./chunk-4URGDROZ.js";import{c as ie,d as ae,g as pe,h as ce}from"./chunk-L2EO4M4B.js";import{a as ee}from"./chunk-4YL5DZVH.js";import{c as le}from"./chunk-WRNQOX5R.js";import{a as te,b as oe,d as ne,e as re,f as se,i as me}from"./chunk-QM6X5ZEC.js";import{a as ge}from"./chunk-B5FUQFEQ.js";import{la as Y,qa as Z}from"./chunk-WJPLJKPQ.js";import"./chunk-FPPZ4BUR.js";import{a as ye}from"./chunk-IHNX6WZQ.js";import{b as fe}from"./chunk-73RDJP55.js";import{A as x,B as G,Cb as z,H as w,Jc as q,Kc as X,N as J,P as R,Pc as Q,R as B,V as M,Y as $,_ as s,bb as _,f as W,i as j,ia as K,n as F,o as U,oa as d,r as S}from"./chunk-QDFCX6XE.js";import"./chunk-EUDKD2JW.js";var E=class e{#o=s(b);#s=s(v);ngOnInit(){this.#s.fetchConfig(),this.#o.clearAllNotCurrentVersion()}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=_({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(o,n){o&1&&z(0,"router-outlet")},dependencies:[ie],encapsulation:2})};var Se={production:!0,baseUrl:"/api",machineServerUrl:"${WS_URL}",defaultTimeout:3e4};var h=new $("ENVIRONMENT");var A=class e{#o=s(me);isLoaded=d(!1);webmodules=d(null);preload(t=!1){let o=this.#o.getApiV1Webmodules().pipe(B(n=>this.webmodules.set(n)),w(()=>this.isLoaded.set(!0)));if(t)return o;o.subscribe()}static \u0275fac=function(o){return new(o||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})};var Ee=()=>{let e=s(k);return e.token()?!0:e.checkProxyAuthed().pipe(R(t=>t?F(!0):e.refreshToken().pipe(S(()=>!0))))},Ae=()=>{let e=s(v),t=s(I),o=s(K),n=e.relayIsEnabled()?"longpoll":"websocket",i=[o.get(L).preload(!0),o.get(L).preloadFilterGroups(!0),o.get(A).preload(!0)];return e.configLoaded===null?x(i).pipe(S(()=>n)):e.configLoaded?.pipe(R(()=>x(i)))},Re=[{path:"",children:[{path:"login",canActivate:[],loadComponent:()=>import("./chunk-PMZGBC4U.js")},{path:"logout",loadComponent:()=>import("./chunk-UCZV35IF.js")},{path:"",canActivate:[Ee],children:[{path:"",canActivate:[Ae],loadComponent:()=>import("./chunk-HBKQWKW7.js"),children:[{path:"",loadComponent:()=>import("./chunk-Z2U5JI53.js")},{path:"add-backup",loadComponent:()=>import("./chunk-VMNRHHVY.js")},{path:"backup/:id/export",loadComponent:()=>import("./chunk-GFSWKDRL.js")},{path:"backup/import",loadComponent:()=>import("./chunk-YIV6PKM7.js")},{path:"backup-draft/:id",loadComponent:()=>import("./chunk-PHIECUWX.js"),loadChildren:()=>import("./chunk-E6UP7FUD.js")},{path:"backup/:id",loadComponent:()=>import("./chunk-PHIECUWX.js"),loadChildren:()=>import("./chunk-E6UP7FUD.js")},{path:"backup/:id/log",loadComponent:()=>import("./chunk-DUKSWBLV.js")},{path:"backup/:id/database",loadComponent:()=>import("./chunk-ZTHT3VVI.js")},{path:"backup/:id/commandline",loadComponent:()=>import("./chunk-ERIXY2FW.js")},{path:"backup/:id/commandline/:runId",loadComponent:()=>import("./chunk-V7UTQSCX.js")},{path:"backup/:id/delete",loadComponent:()=>import("./chunk-QD2VHHZY.js")},{path:"restore",children:[{path:"",loadComponent:()=>import("./chunk-EDW3WHAP.js")},{path:"from-config",loadComponent:()=>import("./chunk-UBFQDZB5.js")}]},{path:"restore-from-files",loadComponent:()=>import("./chunk-PJBVFTZK.js"),loadChildren:()=>import("./chunk-R3OYJX7V.js")},{path:"restore-draft/:id",loadComponent:()=>import("./chunk-PJBVFTZK.js"),loadChildren:()=>import("./chunk-R3OYJX7V.js")},{path:"restore/:id",loadComponent:()=>import("./chunk-PJBVFTZK.js"),loadChildren:()=>import("./chunk-R3OYJX7V.js")},{path:"settings",loadComponent:()=>import("./chunk-O2RJYKE4.js")},{path:"about",loadComponent:()=>import("./chunk-OICFVPYU.js"),children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-2G6UXMJB.js")},{path:"changelog",loadComponent:()=>import("./chunk-PEWNHZLZ.js")},{path:"libraries",loadComponent:()=>import("./chunk-65QCOV7I.js")},{path:"system-info",loadComponent:()=>import("./chunk-C32RWSXV.js")},{path:"server-settings",loadComponent:()=>import("./chunk-TAPLSJ2K.js")},{path:"logs",loadChildren:()=>import("./chunk-YCTTQQ6B.js")},{path:"crashlogs",loadComponent:()=>import("./chunk-BMYQZKPC.js")}]}]}]}]}];var P=null,Te=(e,t)=>{let o=s(k),n=s(ae),i=s(b),l=s(h),r=i.getItem("locale"),u=s(le),a=be(r),p=e.url==="/api/v1/auth/login",m=e.url==="/api/v1/auth/refresh",C=e.url==="/api/v1/progressstate",g=e.url==="/api/v1/remoteoperation/test",y=e.url==="/api/v1/filesystem/validate",T=e.url.startsWith("/api/v2/"),O=o.token(),V=e,H=e.headers.has("custom-proxy-check")||O===ue;if(O&&e.url.startsWith(l.baseUrl)&&!H){let c=e.headers.set("Authorization",`Bearer ${O}`);r&&r!=="en-US"&&(c=c.set("X-Ui-Language",a)),V=e.clone({headers:c})}return t(V).pipe(S(c=>{if(c.type===4&&c.status===200&&T){let f=c.body;if(f?.Success===!1)throw{status:200,message:f?.Error??"Unknown error",error:{Error:f?.Error??"Unknown error"},body:f}}return c}),G(c=>{let f=c.error?.Error||`Error Code: ${c.status}, Message: ${c.message}`;return!H&&(C&&c.status===404||g||y||u.error(f),m&&c.status===401&&(o.logout(),n.navigate(["/logout"])),!p&&!m&&c.status===401)?(o.clearSessionToken(),P??=o.refreshToken().pipe(J()),P.pipe(R(()=>t(e.clone({headers:e.headers.set("Authorization",`Bearer ${o.token()}`)}))),w(()=>P=null))):U(()=>({error:c,message:f}))}))};var Ne="1.0.0",we=`portal-proxy-client-${D()}`,Oe=1,N=class e{#o=1e3;#s=s(h);#t=d("disconnected");#l=d(this.#o);#i=d(!1);#n=d(!1);#a=d(null);isConnectedToMachineServer=this.#n.asReadonly();wsState=this.#t.asReadonly();#p=[];#r={};#e=null;#m=new TextDecoder("utf-8");#c=null;#d=Q(()=>{let t=this.#i(),o=this.#l(),n=this.#a();if(!n||!t||!o||o<this.#o){this.#c&&window.clearInterval(this.#c);return}this.#c=window.setInterval(()=>{this.connectToMachineServer(n)},o)});utf8Atob(t){let o=Uint8Array.from(atob(t),i=>i.charCodeAt(0)),n=this.#m.decode(o);return n?JSON.parse(n):null}connectToMachineServer(t,o){let n=o?.reconnect??!1,i=this.wsState();(i==="disconnected"||i==="error"||n)&&(this.#e?.close(),this.#e=null),!this.#e&&(this.#e=new WebSocket(this.#s.machineServerUrl),this.#t.set("connecting"),this.#e.onopen=()=>{this.#t.set("connect"),this.#n.set(!0),this.#i.set(!1),this.#a.set(null)},this.#e.onclose=()=>{this.#t.set("disconnected"),this.#n.set(!1),this.#a.set(t),this.#i.set(!0)},this.#e.onerror=()=>{this.#t.set("error")},this.#e.onmessage=l=>{let r=JSON.parse(l.data);if(this.wsState()==="connect"){if(r.type!=="welcome"){this.disconnectFromMachineServer(`Unexpected message type, expected 'welcome' but got '${r.type}'`);return}let a={token:t,publicKey:"",clientVersion:Ne,protocolVersion:Oe},p=this.createResponse(r,"authportal",a);this.#t.set("welcome"),this.#e?.send(p)}else if(this.wsState()==="welcome"){if(r.type!=="authportal"){this.disconnectFromMachineServer(`Unexpected message type, expected 'authportal' but got '${r.type}'`);return}var u=JSON.parse(r.payload??"");if(u.accepted===!1){this.disconnectFromMachineServer("Authentication failed");return}for(this.#t.set("authenticated"),this.#n.set(!0);this.#p.length>0;){let a=this.#p.pop();a&&this.#r[a.messageId]&&this.activateCommand(a)}}else if(this.wsState()==="authenticated"){if(r.type!=="command"){console.warn(`Unexpected message type, expected 'command' but got '${r.type}'`);return}let a=this.#r[r.messageId];if(a){if(r.errorMessage){a.reject(r.errorMessage);return}else{let p=JSON.parse(r.payload??"");p.body=p?.body==null?null:this.utf8Atob(p.body),a.resolve(p)}delete this.#r[r.messageId],window.clearTimeout(a.timer)}}})}disconnectFromMachineServer(t=null){t&&console.error(t),this.#e?.close(),this.#e=null,this.#t.set("disconnected"),this.#n.set(!1)}createResponse(t,o,n){let i={from:we,to:t.from,type:o,messageId:t.messageId,payload:JSON.stringify(n)};return JSON.stringify(i)}sendCommand(t,o,n,i,l,r,u=5e3){return(this.wsState()==="disconnected"||this.wsState()==="error")&&this.connectToMachineServer(t),new Promise((a,p)=>{let m=D(),g={from:we,to:o,type:"command",messageId:m,payload:JSON.stringify({method:n,path:i,body:l,headers:r})},y={resolve:a,reject:p,timer:window.setTimeout(()=>{let T=this.#r[m];T&&(delete this.#r[m],T.reject("Timeout"))},u)};this.#r[m]=y,this.#n()?this.activateCommand(g):this.#p.push(g)})}activateCommand(t){this.#e?.send(JSON.stringify(t))}static \u0275fac=function(o){return new(o||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})};function xe(e){if(typeof e!="string")return null;let o=new TextEncoder().encode(e);return window.btoa(String.fromCharCode(...o))}function Me(e,t,o){let n=e.relayconfigState.config();if(n===null)return o(t);let i=xe(t.body),l={};t.headers.keys().forEach(p=>{l[p]=t.headers.get(p)??""});let r=t.headers.get("timeout"),u=r!==null?parseInt(r):e.defaultTimeout;t.url.startsWith("/api/v1/serverstate")&&t.url.includes("longpoll=true")&&(u=1e3*99);let a=e.relayWebsocket.sendCommand(n.accessToken,n.clientId,t.method,t.url,i,l,u);return new W(p=>{a.then(m=>{let C=new te;l!=null&&Object.keys(l).forEach(y=>{C.set(y,l[y])});let g=new oe({body:m.body,status:m.code,statusText:"OK",headers:C});p.next(g),p.complete()})})}var ke=(e,t)=>{let o={relayconfigState:s(v),defaultTimeout:s(h).defaultTimeout,relayWebsocket:s(N)},n=o.relayconfigState.config();if(o.relayconfigState.configLoaded!==null&&n===null){let i=new j;return o.relayconfigState.configLoaded.subscribe(l=>{l&&Me(o,e,t).subscribe(i)}),i}return Me(o,e,t)};var Ie={providers:[q(),pe(Re,ce()),ne(se(),re([ke,Te])),b,{provide:h,useValue:Se},{provide:X,useValue:ve()},he,I,fe,Z,de,Y,ge,ye]};ee(E,Ie);
|
package/package.json
CHANGED