@duplicati/ngclient 0.0.165 → 0.0.166
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/chunk-25QJ7OWU.js +1 -0
- package/{chunk-ZSP3PG56.js → chunk-2HQTO4LT.js} +1 -1
- package/{chunk-NXROYR6L.js → chunk-3ADKRLYD.js} +1 -1
- package/{chunk-BB73BKGN.js → chunk-3O255C2R.js} +1 -1
- package/{chunk-K6IL54XE.js → chunk-3VHQLGKM.js} +1 -1
- package/{chunk-IEGVSOLM.js → chunk-4IAJY6E3.js} +1 -1
- package/chunk-4N7O6OWH.js +1 -0
- package/{chunk-LEYSCNJE.js → chunk-53GUCO6P.js} +1 -1
- package/{chunk-VCLWADQK.js → chunk-53V6KV3I.js} +1 -1
- package/{chunk-Q6RATRPG.js → chunk-5RCKMVGY.js} +1 -1
- package/{chunk-2NUXSSQT.js → chunk-7WATCQLK.js} +1 -1
- package/chunk-A4HSV37F.js +1 -0
- package/{chunk-EM7XX5OF.js → chunk-AROXMP46.js} +1 -1
- package/{chunk-HVB6ARTT.js → chunk-AUMCM45B.js} +1 -1
- package/{chunk-Y27QHU4A.js → chunk-AY4BUZJQ.js} +1 -1
- package/{chunk-WNP2PFJP.js → chunk-BRPGUJ77.js} +1 -1
- package/{chunk-RVELYERL.js → chunk-CMFSS355.js} +1 -1
- package/{chunk-XAUZOGDI.js → chunk-CMMGGY2S.js} +1 -1
- package/{chunk-P2GZAEQX.js → chunk-CO4VU5IU.js} +1 -1
- package/chunk-DPQEDR6U.js +1 -0
- package/{chunk-KLODM6IK.js → chunk-E4KSSC6K.js} +1 -1
- package/chunk-EEXKY2IJ.js +1 -0
- package/chunk-EYFKXXER.js +1 -0
- package/chunk-FUPYLAQ6.js +1 -0
- package/{chunk-F3EXRAZJ.js → chunk-G4Z3JAJB.js} +1 -1
- package/{chunk-H3W2UQY2.js → chunk-GGNFAVSC.js} +1 -1
- package/{chunk-VLCXKEIA.js → chunk-GHJ4MU3O.js} +1 -1
- package/{chunk-WJDMMKWE.js → chunk-GRPEAINE.js} +1 -1
- package/{chunk-RPJFKWMV.js → chunk-HEST3B3S.js} +1 -1
- package/chunk-HJSCQF6V.js +1 -0
- package/{chunk-ORLZQJMN.js → chunk-HKYSIIV5.js} +1 -1
- package/{chunk-AT6BXXSP.js → chunk-HW7A5ZWV.js} +1 -1
- package/{chunk-ISCGGOPN.js → chunk-ILGMXHEE.js} +1 -1
- package/chunk-IMF5BUVN.js +1 -0
- package/{chunk-TVD2HREV.js → chunk-IQ52IXSC.js} +1 -1
- package/{chunk-2DP4QU4T.js → chunk-J64OAILA.js} +1 -1
- package/{chunk-JEWYZWQN.js → chunk-JGXPFEYZ.js} +1 -1
- package/{chunk-PFZG7ACX.js → chunk-JXLBFHEH.js} +1 -1
- package/chunk-KKLVMIFL.js +1 -0
- package/{chunk-H4H72SDD.js → chunk-KUP2T6AG.js} +1 -1
- package/{chunk-YGVXQBSL.js → chunk-L7WPKNLR.js} +1 -1
- package/{chunk-5NPUZRFY.js → chunk-LHOHOKP5.js} +1 -1
- package/{chunk-PZOMPDFS.js → chunk-M2BAPEJT.js} +1 -1
- package/{chunk-IKPQDSQK.js → chunk-NA6MTRHY.js} +2 -2
- package/{chunk-2QQJ6ZBU.js → chunk-NDZU2O2Q.js} +1 -1
- package/chunk-NLXY47SY.js +1 -0
- package/{chunk-ZTM5RK6J.js → chunk-NXJQU7IR.js} +1 -1
- package/{chunk-POJT4MSX.js → chunk-NY63VRAY.js} +1 -1
- package/{chunk-E3KF5SRU.js → chunk-O2M7MRKP.js} +1 -1
- package/{chunk-AWXWGD4T.js → chunk-OQ2HMOSQ.js} +1 -1
- package/{chunk-YIMKL4H6.js → chunk-OVLLX4US.js} +1 -1
- package/{chunk-TC7HZO7D.js → chunk-P7OKMMNZ.js} +1 -1
- package/chunk-POAVE42X.js +1 -0
- package/{chunk-PKK4MIRQ.js → chunk-Q4I4JXKZ.js} +1 -1
- package/chunk-QAY6UFT6.js +1 -0
- package/chunk-QE4NBN5H.js +2 -0
- package/{chunk-QBHHGHBJ.js → chunk-QLUEDPL4.js} +1 -1
- package/{chunk-E6DCTQ34.js → chunk-QOQI2ALM.js} +1 -1
- package/{chunk-5KMPTDRJ.js → chunk-R2N5UWYB.js} +1 -1
- package/chunk-R3F6GIHW.js +1 -0
- package/{chunk-CENUQU54.js → chunk-RRM5OZPV.js} +2 -2
- package/{chunk-D2ZTG4GG.js → chunk-SFSDLKTN.js} +1 -1
- package/{chunk-QNEJVXLY.js → chunk-SHNCRKXQ.js} +1 -1
- package/chunk-SKFITJZT.js +1 -0
- package/{chunk-IME3RCXO.js → chunk-SNVT3M5C.js} +1 -1
- package/chunk-TPYX7QC7.js +1 -0
- package/{chunk-A66RJUYO.js → chunk-ULR2EPP5.js} +1 -1
- package/{chunk-5U6T552I.js → chunk-V5B247QH.js} +1 -1
- package/{chunk-UEUGGMU7.js → chunk-V7OQKE2Z.js} +1 -1
- package/{chunk-SQSTMZR3.js → chunk-VXJJGZ5F.js} +1 -1
- package/{chunk-DQAT6VCF.js → chunk-W7NX3PWJ.js} +1 -1
- package/chunk-WJEUX75A.js +1 -0
- package/{chunk-DQ7EARGM.js → chunk-WKA7CSGA.js} +1 -1
- package/{chunk-D7OP5FPA.js → chunk-WNHQELMC.js} +1 -1
- package/{chunk-J34TTKLN.js → chunk-WPIVIZS6.js} +1 -1
- package/{chunk-4VZNWPWO.js → chunk-X6SJVQXW.js} +1 -1
- package/{chunk-TX7FNDPL.js → chunk-X7XIFHAV.js} +1 -1
- package/{chunk-ATGKEH5N.js → chunk-XUQ74HFK.js} +1 -1
- package/{chunk-KIUZUG7C.js → chunk-Y2LISX47.js} +1 -1
- package/chunk-Y7PHGRGB.js +4 -0
- package/{chunk-AAIMJHAS.js → chunk-YU5AMM6C.js} +1 -1
- package/{chunk-35ZUPRX7.js → chunk-YWZRYOES.js} +1 -1
- package/{chunk-AE7T2DAH.js → chunk-ZQ56M63S.js} +1 -1
- package/chunk-ZSEZR472.js +1 -0
- package/{chunk-ULC4PUPL.js → chunk-ZXEF3CNK.js} +1 -1
- package/{chunk-GNJTDWT4.js → chunk-ZZBUNZZO.js} +1 -1
- package/{chunk-KFYMEXS6.js → chunk-ZZBZEHXF.js} +1 -1
- package/index.html +2 -2
- package/locale/messages.en.json +3 -0
- package/locale/messages.json +3 -0
- package/{main-NIJHUKOR.js → main-L5HX5P6R.js} +1 -1
- package/package.json +1 -1
- package/styles-5QAJP4BI.css +1 -0
- package/chunk-2DSLXKCS.js +0 -1
- package/chunk-43UBTE3L.js +0 -1
- package/chunk-4M7H3XII.js +0 -1
- package/chunk-FG7TM7PO.js +0 -1
- package/chunk-I3AX7HPO.js +0 -1
- package/chunk-IFCA5KWR.js +0 -1
- package/chunk-JIVJVJKU.js +0 -1
- package/chunk-KGO3OR7H.js +0 -1
- package/chunk-LH6XLRJU.js +0 -1
- package/chunk-PIMTQKQK.js +0 -1
- package/chunk-RIX6H2ZX.js +0 -1
- package/chunk-SDIOWQX7.js +0 -1
- package/chunk-TCDG7C5J.js +0 -1
- package/chunk-TGNUULAU.js +0 -1
- package/chunk-UVPLU2YS.js +0 -1
- package/chunk-XRI2BFC2.js +0 -2
- package/chunk-Z34TVTJN.js +0 -1
- package/chunk-Z4MDYLVI.js +0 -1
- package/chunk-ZBK64QS2.js +0 -4
- package/chunk-ZNZH3TU5.js +0 -1
- package/styles-JSM72RCO.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Aa as Ii,a as Xt,ea as Ai}from"./chunk-3ADKRLYD.js";import{$b as W,$c as qt,Ab as Ht,Ac as $t,Bb as ge,Bc as mt,Cb as E,Cc as Wt,Db as T,Eb as Ae,Fb as U,Gb as z,Hb as Ie,Kb as Pe,Lb as he,Oc as Gt,Pc as be,Qa as Mi,Qc as F,Ra as S,Rc as J,S as ht,Ta as pt,U as ue,V as Be,Va as ye,Vc as xe,W as Xe,Wa as N,Wc as V,Xa as Ei,Xc as fe,Y as Ce,Yb as $,Yc as Ti,Zb as Fe,Zc as ne,_ as A,_b as y,a as mi,ac as b,ba as Di,bb as B,ca as bi,cb as Ze,da as H,db as X,dd as Ni,ea as j,ec as xi,fb as ie,fc as pe,fd as Yt,gb as Ne,gc as De,hc as Oi,i as vi,ia as He,ic as se,ja as je,jb as Me,jc as G,ka as Te,kc as Vi,lb as kt,lc as ve,m as _i,mc as I,na as Ft,nb as wi,nc as Ke,oa as O,oc as we,pc as ft,qb as Rt,r as Ci,ra as Qe,rc as jt,sa as Ue,sc as Ut,tb as Ee,tc as zt,ua as Y,uc as gt,vc as me,wb as k,wc as K,x as yi,xb as R,ya as Si,yb as Lt,zb as Bt,zc as re}from"./chunk-Y7PHGRGB.js";import{a as Z,b as te,c as gi,d as f,e as w,f as x,g as M}from"./chunk-EUDKD2JW.js";var Ui=(()=>{class i{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,n){this._renderer=t,this._elementRef=n}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(n){return new(n||i)(N(ye),N(Y))};static \u0275dir=X({type:i})}return i})(),rt=(()=>{class i extends Ui{static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(i)))(o||i)}})();static \u0275dir=X({type:i,features:[ie]})}return i})(),Ve=new Ce(""),Vn={provide:Ve,useExisting:ue(()=>Tn),multi:!0},Tn=(()=>{class i extends rt{writeValue(t){this.setProperty("checked",t)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(i)))(o||i)}})();static \u0275dir=X({type:i,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,o){n&1&&$("change",function(c){return o.onChange(c.target.checked)})("blur",function(){return o.onTouched()})},standalone:!1,features:[re([Vn]),ie]})}return i})(),Nn={provide:Ve,useExisting:ue(()=>zi),multi:!0};function An(){let i=Xt()?Xt().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var In=new Ce(""),zi=(()=>{class i extends Ui{_compositionMode;_composing=!1;constructor(t,n,o){super(t,n),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!An())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(n){return new(n||i)(N(ye),N(Y),N(In,8))};static \u0275dir=X({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,o){n&1&&$("input",function(c){return o._handleInput(c.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(c){return o._compositionEnd(c.target.value)})},standalone:!1,features:[re([Nn]),ie]})}return i})();function Jt(i){return i==null||ei(i)===0}function ei(i){return i==null?null:Array.isArray(i)||typeof i=="string"?i.length:i instanceof Set?i.size:null}var ke=new Ce(""),Re=new Ce(""),Pn=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Pi=class{static min(e){return Fn(e)}static max(e){return kn(e)}static required(e){return Rn(e)}static requiredTrue(e){return Ln(e)}static email(e){return Bn(e)}static minLength(e){return Hn(e)}static maxLength(e){return jn(e)}static pattern(e){return Un(e)}static nullValidator(e){return $i()}static compose(e){return Qi(e)}static composeAsync(e){return Zi(e)}};function Fn(i){return e=>{if(e.value==null||i==null)return null;let t=parseFloat(e.value);return!isNaN(t)&&t<i?{min:{min:i,actual:e.value}}:null}}function kn(i){return e=>{if(e.value==null||i==null)return null;let t=parseFloat(e.value);return!isNaN(t)&&t>i?{max:{max:i,actual:e.value}}:null}}function Rn(i){return Jt(i.value)?{required:!0}:null}function Ln(i){return i.value===!0?null:{required:!0}}function Bn(i){return Jt(i.value)||Pn.test(i.value)?null:{email:!0}}function Hn(i){return e=>{let t=e.value?.length??ei(e.value);return t===null||t===0?null:t<i?{minlength:{requiredLength:i,actualLength:t}}:null}}function jn(i){return e=>{let t=e.value?.length??ei(e.value);return t!==null&&t>i?{maxlength:{requiredLength:i,actualLength:t}}:null}}function Un(i){if(!i)return $i;let e,t;return typeof i=="string"?(t="",i.charAt(0)!=="^"&&(t+="^"),t+=i,i.charAt(i.length-1)!=="$"&&(t+="$"),e=new RegExp(t)):(t=i.toString(),e=i),n=>{if(Jt(n.value))return null;let o=n.value;return e.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}function $i(i){return null}function Wi(i){return i!=null}function Gi(i){return wi(i)?_i(i):i}function qi(i){let e={};return i.forEach(t=>{e=t!=null?Z(Z({},e),t):e}),Object.keys(e).length===0?null:e}function Yi(i,e){return e.map(t=>t(i))}function zn(i){return!i.validate}function Xi(i){return i.map(e=>zn(e)?e:t=>e.validate(t))}function Qi(i){if(!i)return null;let e=i.filter(Wi);return e.length==0?null:function(t){return qi(Yi(t,e))}}function ti(i){return i!=null?Qi(Xi(i)):null}function Zi(i){if(!i)return null;let e=i.filter(Wi);return e.length==0?null:function(t){let n=Yi(t,e).map(Gi);return yi(n).pipe(Ci(qi))}}function ii(i){return i!=null?Zi(Xi(i)):null}function Fi(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function Ki(i){return i._rawValidators}function Ji(i){return i._rawAsyncValidators}function Qt(i){return i?Array.isArray(i)?i:[i]:[]}function _t(i,e){return Array.isArray(i)?i.includes(e):i===e}function ki(i,e){let t=Qt(e);return Qt(i).forEach(o=>{_t(t,o)||t.push(o)}),t}function Ri(i,e){return Qt(e).filter(t=>!_t(i,t))}var Ct=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=ti(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=ii(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,t){return this.control?this.control.hasError(e,t):!1}getError(e,t){return this.control?this.control.getError(e,t):null}},oe=class extends Ct{name;get formDirective(){return null}get path(){return null}},_e=class extends Ct{_parent=null;name=null;valueAccessor=null},yt=class{_cd;constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},$n={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},jr=te(Z({},$n),{"[class.ng-submitted]":"isSubmitted"}),Ur=(()=>{class i extends yt{constructor(t){super(t)}static \u0275fac=function(n){return new(n||i)(N(_e,2))};static \u0275dir=X({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&G("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[ie]})}return i})(),zr=(()=>{class i extends yt{constructor(t){super(t)}static \u0275fac=function(n){return new(n||i)(N(oe,10))};static \u0275dir=X({type:i,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,o){n&2&&G("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[ie]})}return i})();var Je="VALID",vt="INVALID",ze="PENDING",et="DISABLED",Oe=class{},Dt=class extends Oe{value;source;constructor(e,t){super(),this.value=e,this.source=t}},it=class extends Oe{pristine;source;constructor(e,t){super(),this.pristine=e,this.source=t}},nt=class extends Oe{touched;source;constructor(e,t){super(),this.touched=e,this.source=t}},$e=class extends Oe{status;source;constructor(e,t){super(),this.status=e,this.source=t}},bt=class extends Oe{source;constructor(e){super(),this.source=e}},St=class extends Oe{source;constructor(e){super(),this.source=e}};function ni(i){return(xt(i)?i.validators:i)||null}function Wn(i){return Array.isArray(i)?ti(i):i||null}function oi(i,e){return(xt(e)?e.asyncValidators:i)||null}function Gn(i){return Array.isArray(i)?ii(i):i||null}function xt(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function en(i,e,t){let n=i.controls;if(!(e?Object.keys(n):n).length)throw new ht(1e3,"");if(!n[t])throw new ht(1001,"")}function tn(i,e,t){i._forEachChild((n,o)=>{if(t[o]===void 0)throw new ht(1002,"")})}var We=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(e,t){this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return be(this.statusReactive)}set status(e){be(()=>this.statusReactive.set(e))}_status=F(()=>this.statusReactive());statusReactive=O(void 0);get valid(){return this.status===Je}get invalid(){return this.status===vt}get pending(){return this.status==ze}get disabled(){return this.status===et}get enabled(){return this.status!==et}errors;get pristine(){return be(this.pristineReactive)}set pristine(e){be(()=>this.pristineReactive.set(e))}_pristine=F(()=>this.pristineReactive());pristineReactive=O(!0);get dirty(){return!this.pristine}get touched(){return be(this.touchedReactive)}set touched(e){be(()=>this.touchedReactive.set(e))}_touched=F(()=>this.touchedReactive());touchedReactive=O(!1);get untouched(){return!this.touched}_events=new vi;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(ki(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(ki(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Ri(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Ri(e,this._rawAsyncValidators))}hasValidator(e){return _t(this._rawValidators,e)}hasAsyncValidator(e){return _t(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let t=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(te(Z({},e),{sourceControl:n})),t&&e.emitEvent!==!1&&this._events.next(new nt(!0,n))}markAllAsDirty(e={}){this.markAsDirty({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(e))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),t&&e.emitEvent!==!1&&this._events.next(new nt(!1,n))}markAsDirty(e={}){let t=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(te(Z({},e),{sourceControl:n})),t&&e.emitEvent!==!1&&this._events.next(new it(!1,n))}markAsPristine(e={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),t&&e.emitEvent!==!1&&this._events.next(new it(!0,n))}markAsPending(e={}){this.status=ze;let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new $e(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(te(Z({},e),{sourceControl:t}))}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=et,this.errors=null,this._forEachChild(o=>{o.disable(te(Z({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Dt(this.value,n)),this._events.next(new $e(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(te(Z({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Je,this._forEachChild(n=>{n.enable(te(Z({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(te(Z({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,t){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Je||this.status===ze)&&this._runAsyncValidator(n,e.emitEvent)}let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Dt(this.value,t)),this._events.next(new $e(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(te(Z({},e),{sourceControl:t}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?et:Je}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=ze,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:e!==!1};let n=Gi(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((n,o)=>n&&n._find(o),this)}getError(e,t){let n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,t,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new $e(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,n)}_initObservables(){this.valueChanges=new Me,this.statusChanges=new Me}_calculateStatus(){return this._allControlsDisabled()?et:this.errors?vt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ze)?ze:this._anyControlsHaveStatus(vt)?vt:Je}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,t){let n=!this._anyControlsDirty(),o=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),o&&this._events.next(new it(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new nt(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_onDisabledChange=[];_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){xt(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Wn(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Gn(this._rawAsyncValidators)}},Ge=class extends We{constructor(e,t,n){super(ni(t),oi(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,n={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){tn(this,!0,e),Object.keys(e).forEach(n=>{en(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(Object.keys(e).forEach(n=>{let o=this.controls[n];o&&o.patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,o)=>{n.reset(e?e[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,n)=>n._syncPendingControls()?!0:t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{let n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[t,n]of Object.entries(this.controls))if(this.contains(t)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(t,n,o)=>((n.enabled||this.disabled)&&(t[o]=n.value),t))}_reduceChildren(e,t){let n=e;return this._forEachChild((o,s)=>{n=t(n,o,s)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Zt=class extends Ge{};var Le=new Ce("",{providedIn:"root",factory:()=>at}),at="always";function Ot(i,e){return[...e.path,i]}function st(i,e,t=at){si(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||t==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),Yn(i,e),Qn(i,e),Xn(i,e),qn(i,e)}function Mt(i,e,t=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),wt(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function Et(i,e){i.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function qn(i,e){if(e.valueAccessor.setDisabledState){let t=n=>{e.valueAccessor.setDisabledState(n)};i.registerOnDisabledChange(t),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(t)})}}function si(i,e){let t=Ki(i);e.validator!==null?i.setValidators(Fi(t,e.validator)):typeof t=="function"&&i.setValidators([t]);let n=Ji(i);e.asyncValidator!==null?i.setAsyncValidators(Fi(n,e.asyncValidator)):typeof n=="function"&&i.setAsyncValidators([n]);let o=()=>i.updateValueAndValidity();Et(e._rawValidators,o),Et(e._rawAsyncValidators,o)}function wt(i,e){let t=!1;if(i!==null){if(e.validator!==null){let o=Ki(i);if(Array.isArray(o)&&o.length>0){let s=o.filter(c=>c!==e.validator);s.length!==o.length&&(t=!0,i.setValidators(s))}}if(e.asyncValidator!==null){let o=Ji(i);if(Array.isArray(o)&&o.length>0){let s=o.filter(c=>c!==e.asyncValidator);s.length!==o.length&&(t=!0,i.setAsyncValidators(s))}}}let n=()=>{};return Et(e._rawValidators,n),Et(e._rawAsyncValidators,n),t}function Yn(i,e){e.valueAccessor.registerOnChange(t=>{i._pendingValue=t,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&nn(i,e)})}function Xn(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&nn(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function nn(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Qn(i,e){let t=(n,o)=>{e.valueAccessor.writeValue(n),o&&e.viewToModelUpdate(n)};i.registerOnChange(t),e._registerOnDestroy(()=>{i._unregisterOnChange(t)})}function on(i,e){i==null,si(i,e)}function Zn(i,e){return wt(i,e)}function ri(i,e){if(!i.hasOwnProperty("model"))return!1;let t=i.model;return t.isFirstChange()?!0:!Object.is(e,t.currentValue)}function Kn(i){return Object.getPrototypeOf(i.constructor)===rt}function sn(i,e){i._syncPendingControls(),e.forEach(t=>{let n=t.control;n.updateOn==="submit"&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function ai(i,e){if(!e)return null;Array.isArray(e);let t,n,o;return e.forEach(s=>{s.constructor===zi?t=s:Kn(s)?n=s:o=s}),o||n||t||null}function Jn(i,e){let t=i.indexOf(e);t>-1&&i.splice(t,1)}var eo={provide:oe,useExisting:ue(()=>to)},tt=Promise.resolve(),to=(()=>{class i extends oe{callSetDisabledState;get submitted(){return be(this.submittedReactive)}_submitted=F(()=>this.submittedReactive());submittedReactive=O(!1);_directives=new Set;form;ngSubmit=new Me;options;constructor(t,n,o){super(),this.callSetDisabledState=o,this.form=new Ge({},ti(t),ii(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){tt.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),st(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){tt.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){tt.then(()=>{let n=this._findContainer(t.path),o=new Ge({});on(o,t),n.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){tt.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){tt.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),sn(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new bt(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1),this.form._events.next(new St(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(n){return new(n||i)(N(ke,10),N(Re,10),N(Le,8))};static \u0275dir=X({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&$("submit",function(c){return o.onSubmit(c)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[re([eo]),ie]})}return i})();function Li(i,e){let t=i.indexOf(e);t>-1&&i.splice(t,1)}function Bi(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var ot=class extends We{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(e=null,t,n){super(ni(t),oi(n,t)),this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),xt(t)&&(t.nonNullable||t.initialValueIsDefault)&&(Bi(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Li(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Li(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Bi(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var io=i=>i instanceof ot,no=(()=>{class i extends oe{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ot(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(i)))(o||i)}})();static \u0275dir=X({type:i,standalone:!1,features:[ie]})}return i})();var oo={provide:_e,useExisting:ue(()=>so)},Hi=Promise.resolve(),so=(()=>{class i extends _e{_changeDetectorRef;callSetDisabledState;control=new ot;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new Me;constructor(t,n,o,s,c,_){super(),this._changeDetectorRef=c,this.callSetDisabledState=_,this._parent=t,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=ai(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),ri(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){st(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Hi.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,o=n!==0&&Ni(n);Hi.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Ot(t,this._parent):[t]}static \u0275fac=function(n){return new(n||i)(N(oe,9),N(ke,10),N(Re,10),N(Ve,10),N(qt,8),N(Le,8))};static \u0275dir=X({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[re([oo]),ie,Qe]})}return i})();var Wr=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275dir=X({type:i,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return i})(),ro={provide:Ve,useExisting:ue(()=>ao),multi:!0},ao=(()=>{class i extends rt{writeValue(t){let n=t??"";this.setProperty("value",n)}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(i)))(o||i)}})();static \u0275dir=X({type:i,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,o){n&1&&$("input",function(c){return o.onChange(c.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[re([ro]),ie]})}return i})(),lo={provide:Ve,useExisting:ue(()=>uo),multi:!0};var co=(()=>{class i{_accessors=[];add(t,n){this._accessors.push([t,n])}remove(t){for(let n=this._accessors.length-1;n>=0;--n)if(this._accessors[n][1]===t){this._accessors.splice(n,1);return}}select(t){this._accessors.forEach(n=>{this._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})}_isSameGroup(t,n){return t[0].control?t[0]._parent===n._control._parent&&t[1].name===n.name:!1}static \u0275fac=function(n){return new(n||i)};static \u0275prov=Be({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),uo=(()=>{class i extends rt{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=A(Le,{optional:!0})??at;constructor(t,n,o,s){super(t,n),this._registry=o,this._injector=s}ngOnInit(){this._control=this._injector.get(_e),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(n){return new(n||i)(N(ye),N(Y),N(co),N(He))};static \u0275dir=X({type:i,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,o){n&1&&$("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[re([lo]),ie]})}return i})(),ho={provide:Ve,useExisting:ue(()=>po),multi:!0},po=(()=>{class i extends rt{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(i)))(o||i)}})();static \u0275dir=X({type:i,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(n,o){n&1&&$("change",function(c){return o.onChange(c.target.value)})("input",function(c){return o.onChange(c.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[re([ho]),ie]})}return i})(),li=new Ce(""),fo={provide:_e,useExisting:ue(()=>go)},go=(()=>{class i extends _e{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(t){}model;update=new Me;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,n,o,s,c){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=c,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=ai(this,o)}ngOnChanges(t){if(this._isControlChanged(t)){let n=t.form.previousValue;n&&Mt(n,this,!1),st(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ri(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Mt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||i)(N(ke,10),N(Re,10),N(Ve,10),N(li,8),N(Le,8))};static \u0275dir=X({type:i,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[re([fo]),ie,Qe]})}return i})(),mo={provide:oe,useExisting:ue(()=>rn)},rn=(()=>{class i extends oe{callSetDisabledState;get submitted(){return be(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=F(()=>this._submittedReactive());_submittedReactive=O(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new Me;constructor(t,n,o){super(),this.callSetDisabledState=o,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(wt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return st(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){Mt(t.control||null,t,!1),Jn(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this._submittedReactive.set(!0),sn(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new bt(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0,n={}){this.form.reset(t,n),this._submittedReactive.set(!1),n?.emitEvent!==!1&&this.form._events.next(new St(this.form))}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,o=this.form.get(t.path);n!==o&&(Mt(n||null,t),io(o)&&(st(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);on(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&Zn(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){si(this.form,this),this._oldForm&&wt(this._oldForm,this)}static \u0275fac=function(n){return new(n||i)(N(ke,10),N(Re,10),N(Le,8))};static \u0275dir=X({type:i,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&$("submit",function(c){return o.onSubmit(c)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[re([mo]),ie,Qe]})}return i})(),vo={provide:oe,useExisting:ue(()=>an)},an=(()=>{class i extends no{name=null;constructor(t,n,o){super(),this._parent=t,this._setValidators(n),this._setAsyncValidators(o)}_checkParentType(){cn(this._parent)}static \u0275fac=function(n){return new(n||i)(N(oe,13),N(ke,10),N(Re,10))};static \u0275dir=X({type:i,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[re([vo]),ie]})}return i})(),_o={provide:oe,useExisting:ue(()=>ln)},ln=(()=>{class i extends oe{_parent;name=null;constructor(t,n,o){super(),this._parent=t,this._setValidators(n),this._setAsyncValidators(o)}ngOnInit(){cn(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Ot(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(n){return new(n||i)(N(oe,13),N(ke,10),N(Re,10))};static \u0275dir=X({type:i,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[re([_o]),ie]})}return i})();function cn(i){return!(i instanceof an)&&!(i instanceof rn)&&!(i instanceof ln)}var Co={provide:_e,useExisting:ue(()=>yo)},yo=(()=>{class i extends _e{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new Me;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,n,o,s,c){super(),this._ngModelWarningConfig=c,this._parent=t,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=ai(this,s)}ngOnChanges(t){this._added||this._setUpControl(),ri(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Ot(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||i)(N(oe,13),N(ke,10),N(Re,10),N(Ve,10),N(li,8))};static \u0275dir=X({type:i,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[re([Co]),ie,Qe]})}return i})();var dn=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=Ze({type:i});static \u0275inj=Xe({})}return i})(),Kt=class extends We{constructor(e,t,n){super(ni(t),oi(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(e){return this.controls[this._adjustIndex(e)]}push(e,t={}){Array.isArray(e)?e.forEach(n=>{this.controls.push(n),this._registerControl(n)}):(this.controls.push(e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,n={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,t={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,n={}){let o=this._adjustIndex(e);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){tn(this,!1,e),e.forEach((n,o)=>{en(this,!1,o),this.at(o).setValue(n,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(e.forEach((n,o)=>{this.at(o)&&this.at(o).patchValue(n,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,o)=>{n.reset(e[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((t,n)=>n._syncPendingControls()?!0:t,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function ji(i){return!!i&&(i.asyncValidators!==void 0||i.validators!==void 0||i.updateOn!==void 0)}var Gr=(()=>{class i{useNonNullable=!1;get nonNullable(){let t=new i;return t.useNonNullable=!0,t}group(t,n=null){let o=this._reduceControls(t),s={};return ji(n)?s=n:n!==null&&(s.validators=n.validator,s.asyncValidators=n.asyncValidator),new Ge(o,s)}record(t,n=null){let o=this._reduceControls(t);return new Zt(o,n)}control(t,n,o){let s={};return this.useNonNullable?(ji(n)?s=n:(s.validators=n,s.asyncValidators=o),new ot(t,te(Z({},s),{nonNullable:!0}))):new ot(t,n,o)}array(t,n,o){let s=t.map(c=>this._createControl(c));return new Kt(s,n,o)}_reduceControls(t){let n={};return Object.keys(t).forEach(o=>{n[o]=this._createControl(t[o])}),n}_createControl(t){if(t instanceof ot)return t;if(t instanceof We)return t;if(Array.isArray(t)){let n=t[0],o=t.length>1?t[1]:null,s=t.length>2?t[2]:null;return this.control(n,o,s)}else return this.control(t)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=Be({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var qr=(()=>{class i{static withConfig(t){return{ngModule:i,providers:[{provide:Le,useValue:t.callSetDisabledState??at}]}}static \u0275fac=function(n){return new(n||i)};static \u0275mod=Ze({type:i});static \u0275inj=Xe({imports:[dn]})}return i})(),Yr=(()=>{class i{static withConfig(t){return{ngModule:i,providers:[{provide:li,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Le,useValue:t.callSetDisabledState??at}]}}static \u0275fac=function(n){return new(n||i)};static \u0275mod=Ze({type:i});static \u0275inj=Xe({imports:[dn]})}return i})();var ce=["*"],Do=[[["","icon",""]],[["sh-icon"]],[["","title",""]],"*",[["","content",""]],[["p"]]],bo=["[icon]","sh-icon","[title]","*","[content]","p"];function So(i,e){i&1&&(E(0,"sh-icon",3),I(1,"info"),T())}function Mo(i,e){i&1&&(E(0,"sh-icon",3),I(1,"info"),T())}function Eo(i,e){i&1&&(E(0,"sh-icon",3),I(1,"warning"),T())}function wo(i,e){i&1&&(E(0,"sh-icon",3),I(1,"warning-octagon"),T())}function xo(i,e){i&1&&(E(0,"sh-icon",3),I(1,"check-circle"),T())}function Oo(i,e){i&1&&(E(0,"sh-icon",3),I(1,"question"),T())}function Vo(i,e){if(i&1){let t=he();E(0,"sh-icon",7),$("click",function(){H(t);let o=y();return j(o.removeAlert())}),I(1,"plus"),T()}}var To=["dialogRef"];function No(i,e){if(i&1){let t=he();U(0,"div",5),Fe("click",function(){H(t);let o=y(2);return j(o.isOpen.set(!1))}),z()}}function Ao(i,e){if(i&1&&(U(0,"dialog",2,0)(2,"div",3),b(3),z(),k(4,No,1,0,"div",4),z()),i&2){let t=y(),n=K(0);ve(n.class),se("width",n.width??"")("max-width",n.maxWidth??"")("max-height",n.maxHeight??"")("height",n.height??""),S(4),R(t.defaultOptionMerge().closeOnOutsideClick?4:-1)}}var Io=["shButton",""];var Po=["triggerRef"],Fo=["popoverRef"],ko=["popoverContentRef"],Ro=[[["","trigger",""]],[["button"]],[["","shButton",""]],"*"],Lo=["[trigger]","button","[shButton]","*"];function Bo(i,e){if(i&1){let t=he();U(0,"div",6,1)(2,"div",7),Fe("click",function(o){H(t);let s=y();return j(s.eventClose(o))}),z(),U(3,"div",8,2),b(5,3),z()()}if(i&2){let t=y();Ee("id",t.id()+"hello"),S(3),Vi(t.menuStyle()),se("position-anchor",t.id())}}var Ho=()=>({closeOnButton:!1,closeOnEsc:!0});var jo=[[["label"]],[["","boxPrefix",""]],[["","prefix",""]],[["","textPrefix",""]],[["input"]],[["textarea"]],[["","textSuffix",""]],[["","suffix",""]],[["","boxSuffix",""]],[["","error",""]],[["","hint",""]]],Uo=["label","[boxPrefix]","[prefix]","[textPrefix]","input","textarea","[textSuffix]","[suffix]","[boxSuffix]","[error]","[hint]"],zo=["input"],$o=[[["label"]]],Wo=["label"];function Go(i,e){if(i&1&&(E(0,"div",3),I(1),T()),i&2){let t=y();S(),Ke(t.files()[0].name)}}function qo(i,e){if(i&1&&(E(0,"div",3),I(1),T()),i&2){let t=y();S(),we("",t.files().length," files selected")}}function Yo(i,e){if(i&1&&(E(0,"div",4),I(1),T()),i&2){let t=y();S(),Ke(t.filesOver()?t.overlayText():t.placeholder())}}var Xo=["inputRef"],Qo=["optionsRef"],Zo=["*",[["","menu",""]]],Ko=["*","[menu]"];function Jo(i,e){i&1&&(E(0,"sh-icon",5),I(1,"caret-down"),T())}var es=[[["label"]],[["input","type","range"]]],ts=["label","input[type=range]"],is=["optionsWrap"],ns=[[["label"]],[["","prefix",""]],[["","boxPrefix",""]],[["input"]],[["textarea"]]],os=["label","[prefix]","[boxPrefix]","input","textarea"],ss=()=>({closeOnButton:!1,closeOnEsc:!1}),un=(i,e)=>({$implicit:i,last:e}),pi=i=>({$implicit:i});function rs(i,e){if(i&1&&I(0),i&2){let t=y();we(" ",t.inputValue()," ")}}function as(i,e){i&1&&Pe(0)}function ls(i,e){if(i&1&&Ne(0,as,1,0,"ng-container",13),i&2){let t=y(3),n=t.$implicit,o=t.$index,s=t.$count;y(2);let c=K(3);ge("ngTemplateOutlet",c)("ngTemplateOutletContext",Wt(2,un,n,o===s-1))}}function cs(i,e){if(i&1&&I(0),i&2){let t=y(3).$implicit,n=y(2);we(" ",n.getLabel(t)," ")}}function ds(i,e){if(i&1){let t=he();E(0,"sh-chip",12),$("click",function(o){H(t);let s=y(2).$index,c=y(2);return j(c.removeSelectedOptionByIndex(o,s))}),k(1,ls,1,5,"ng-container")(2,cs,1,1),E(3,"sh-icon"),I(4,"x-bold"),T()()}if(i&2){let t=y(4),n=K(3);ve(t.selectClasses()),S(),R(n?1:2)}}function us(i,e){i&1&&Pe(0)}function hs(i,e){if(i&1&&Ne(0,us,1,0,"ng-container",13),i&2){let t=y(4),n=t.$implicit,o=t.$index,s=t.$count;y(2);let c=K(3);ge("ngTemplateOutlet",c)("ngTemplateOutletContext",Wt(2,un,n,o===s-1))}}function ps(i,e){if(i&1&&I(0),i&2){let t=y(4),n=t.$implicit,o=t.$index,s=t.$count,c=y(2);we(" ",o===s-1?c.getLabel(n):c.getLabel(n)+","," ")}}function fs(i,e){if(i&1&&k(0,hs,1,5,"ng-container")(1,ps,1,1),i&2){y(5);let t=K(3);R(t?0:1)}}function gs(i,e){if(i&1&&k(0,fs,2,1),i&2){y(4);let t=K(6);R(t?-1:0)}}function ms(i,e){if(i&1&&k(0,ds,5,3,"sh-chip",11)(1,gs,1,1),i&2){y(3);let t=K(5);R(t?0:1)}}function vs(i,e){if(i&1&&k(0,ms,2,1),i&2){let t=e.$implicit;R(t?0:-1)}}function _s(i,e){if(i&1&&Bt(0,vs,1,1,null,null,Lt),i&2){y();let t=K(2);Ht(t)}}function Cs(i,e){i&1&&Pe(0)}function ys(i,e){if(i&1&&Ne(0,Cs,1,0,"ng-container",14),i&2){y(2);let t=K(0);ge("ngTemplateOutlet",t)}}function Ds(i,e){if(i&1&&I(0),i&2){let t=y(2);we(" ",t.placeholderText()??""," ")}}function bs(i,e){if(i&1&&k(0,ys,1,1,"ng-container")(1,Ds,1,1),i&2){y();let t=K(0);R(t?0:1)}}function Ss(i,e){i&1&&(E(0,"sh-icon",6),I(1,"caret-down"),T())}function Ms(i,e){i&1&&Ae(0,"sh-spinner",7)}function Es(i,e){i&1&&(E(0,"sh-icon",6),I(1,"list-magnifying-glass"),T())}function ws(i,e){i&1&&(E(0,"sh-icon",6),I(1,"magnifying-glass"),T())}function xs(i,e){if(i&1){let t=he();E(0,"sh-icon",15),$("click",function(o){H(t);let s=y();return j(s.clear(o))}),I(1,"x-bold"),T()}}function Os(i,e){i&1&&(E(0,"sh-icon",6),I(1,"caret-down"),T())}function Vs(i,e){i&1&&(E(0,"sh-icon",6),I(1,"caret-up"),T())}function Ts(i,e){if(i&1&&(E(0,"p",9),I(1),T()),i&2){let t=y(3);S(),Ke(t.freeTextTitle())}}function Ns(i,e){i&1&&Pe(0)}function As(i,e){if(i&1&&Ne(0,Ns,1,0,"ng-container",13),i&2){y(2);let t=K(0);y();let n=K(1);ge("ngTemplateOutlet",n)("ngTemplateOutletContext",mt(2,pi,t))}}function Is(i,e){i&1&&Pe(0)}function Ps(i,e){if(i&1&&Ne(0,Is,1,0,"ng-container",13),i&2){y(2);let t=K(0);y();let n=K(4);ge("ngTemplateOutlet",n)("ngTemplateOutletContext",mt(2,pi,t))}}function Fs(i,e){if(i&1&&I(0),i&2){y(2);let t=K(1);we(" ",t," ")}}function ks(i,e){i&1&&Ae(0,"sh-divider")}function Rs(i,e){if(i&1){let t=he();k(0,Ts,2,1,"p",9),E(1,"li",16),$("click",function(){H(t);let o=y(2);return j(o.toggleOptionByIndex(-1))}),k(2,As,1,4,"ng-container")(3,Ps,1,4,"ng-container")(4,Fs,1,1),T(),k(5,ks,1,0,"sh-divider")}if(i&2){y();let t=K(0),n=y(),o=K(1),s=K(4);R(n.freeTextTitle()?0:-1),S(),G("selected",n.isSelected(-1))("focused",n.focusedOptionIndex()===-1),ge("id",n.getLabelAsSlug(t)),Ee("aria-selected",n.isSelected(-1)),S(),R(o?2:s?3:4),S(3),R(n.freeTextTitle()&&n.filteredOptions().length>0?5:-1)}}function Ls(i,e){if(i&1&&(gt(0)(1),k(2,Rs,6,9)),i&2){let t=y(),n=me(t.computedFreeTextOption());S();let o=me(t.getValue(n));S(),R(o.length>0?2:-1)}}function Bs(i,e){if(i&1&&(E(0,"p",9),I(1),T()),i&2){let t=y();S(),Ke(t.optionTitle())}}function Hs(i,e){if(i&1&&Ae(0,"sh-checkbox"),i&2){let t=y().$index,n=y();ve(n.selectClasses()),G("active",n.isSelected(t))}}function js(i,e){i&1&&Pe(0)}function Us(i,e){if(i&1&&Ne(0,js,1,0,"ng-container",13),i&2){let t=y().$implicit;y();let n=K(4);ge("ngTemplateOutlet",n)("ngTemplateOutletContext",mt(2,pi,t))}}function zs(i,e){if(i&1&&I(0),i&2){let t=y().$implicit,n=y();we(" ",n.getLabel(t)," ")}}function $s(i,e){if(i&1){let t=he();E(0,"li",16),$("click",function(){let o=H(t).$index,s=y();return j(s.toggleOptionByIndex(o))}),k(1,Hs,1,4,"sh-checkbox",17),k(2,Us,1,4,"ng-container")(3,zs,1,1),T()}if(i&2){let t=e.$implicit,n=e.$index,o=y(),s=K(4);G("selected",o.isSelected(n))("focused",n===o.focusedOptionIndex()),ge("id",o.getLabelAsSlug(t)),Ee("aria-selected",o.isSelected(n)),S(),R(o.selectMultiple()?1:-1),S(),R(s?2:3)}}var Ws=["dragImageElement"],Gs=[[["","sidenav",""]],[["","sidenav-closed-topbar",""]],"*"],qs=["[sidenav]","[sidenav-closed-topbar]","*"];function Ys(i,e){i&1&&Ie(0,"div",1,0)}function Xs(i,e){if(i&1){let t=he();U(0,"div",7),Fe("drop",function(o){H(t);let s=y();return j(s.drop(o))})("dragenter",function(){H(t);let o=y();return j(o.dragEnter())})("dragleave",function(){H(t);let o=y();return j(o.dragLeave())}),z()}}function Qs(i,e){if(i&1){let t=he();U(0,"div",8),Fe("dragstart",function(o){H(t);let s=y();return j(s.dragStart(o))})("dragend",function(o){H(t);let s=y();return j(s.dragEnd(o))})("drag",function(o){H(t);let s=y();return j(s.drag(o))})("touchstart",function(o){H(t);let s=y();return j(s.touchStart(o))})("touchmove",function(o){H(t);let s=y();return j(s.touchMove(o))})("touchend",function(o){H(t);let s=y();return j(s.touchEnd(o))})("touchcancel",function(o){H(t);let s=y();return j(s.touchCancel(o))}),z()}}var Zs=["thead"],Ks=["tbody"],Js=[[["th"]],[["","thead",""]],"*",[["","table-no-rows",""]]],er=["th","[thead]","*","[table-no-rows]"];function tr(i,e){i&1&&Ae(0,"sh-progress-bar",2)}function ir(i,e){i&1&&(E(0,"div",3),b(1,3),T())}var nr=[[["","title",""]],"*"],or=["[title]","*"];function sr(i,e){i&1&&I(0,"Title")}function rr(i,e){i&1&&(E(0,"sh-icon",1),I(1,"caret-down"),T())}var ar=["bold","thin","light","fill","duotone"],Ye=(()=>{var e,t;let n=class n{constructor(){w(this,e,A(Y));w(this,t,A(ye))}ngAfterContentInit(){let s=f(this,e).nativeElement.textContent?.trim();if(!s)return;let c=s.split("-").at(-1);c&&ar.includes(c)&&f(this,t).addClass(f(this,e).nativeElement,c)}};e=new WeakMap,t=new WeakMap,n.\u0275fac=function(c){return new(c||n)},n.\u0275cmp=B({type:n,selectors:[["sh-icon"]],ngContentSelectors:ce,decls:1,vars:0,template:function(c,_){c&1&&(W(),b(0))},encapsulation:2,changeDetection:0});let i=n;return i})();function At(i=null){let e=i??A(Y).nativeElement;if(!e)return O("");let t=O(e.className);if(typeof MutationObserver>"u")return t.asReadonly();let n=A(Te),o=new MutationObserver(s=>{for(let c of s)if(c.type==="attributes"&&c.attributeName==="class"){let _=c.target;t.set(_.className)}});return o.observe(e,{attributes:!0,attributeFilter:["class"]}),n.onDestroy(()=>o.disconnect()),t.asReadonly()}var It=new Ce("Ship UI Config"),lr=["simple","outlined","flat","raised"],Da=(()=>{var e;let t=class t{constructor(){w(this,e);x(this,e,A(It,{optional:!0})),this.variant=O(f(this,e)?.alertVariant??""),this._el=A(Y),this.alertService=V(null),this.id=V(null),this.currentClasses=At(),this.activeClass=F(()=>{let o=this.variant(),s=`${this.currentClasses()} sh-sheet`;return o?lr.find(_=>this.currentClasses().includes(_))?s:`${s} ${o}`:s})}removeAlert(){this.id()&&this.alertService()&&this.alertService()?.removeAlert(this.id())}};e=new WeakMap,t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=B({type:t,selectors:[["sh-alert"]],hostVars:2,hostBindings:function(s,c){s&2&&ve(c.activeClass())},inputs:{alertService:[1,"alertService"],id:[1,"id"]},ngContentSelectors:bo,decls:19,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(s,c){if(s&1&&(W(Do),E(0,"div",1)(1,"div",2,0),b(3),b(4,1),T(),E(5,"div",2),k(6,So,2,0,"sh-icon",3)(7,Mo,2,0,"sh-icon",3)(8,Eo,2,0,"sh-icon",3)(9,wo,2,0,"sh-icon",3)(10,xo,2,0,"sh-icon",3)(11,Oo,2,0,"sh-icon",3),T(),E(12,"div",4),b(13,2),b(14,3),T(),k(15,Vo,2,0,"sh-icon",5),E(16,"div",6),b(17,4),b(18,5),T()()),s&2){let _=Oi(2);S(),se("display",_.children.length?"block":"none");let m=c.currentClasses();S(5),R(m.includes("primary")?6:m.includes("accent")?7:m.includes("warn")?8:m.includes("error")?9:m.includes("success")?10:11),S(9),R(c.id()?15:-1)}},dependencies:[Ye],encapsulation:2,changeDetection:0});let i=t;return i})();function Pt(){return Date.now().toString(36)+Math.random().toString(36).substring(2)}var ba=(()=>{let e=class e{constructor(){this.alertHistory=O([]),this.alertHistoryIsOpen=O(!1),this.alertHistoryIsHidden=O(!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 o=Pt();this.alertHistory.update(s=>[te(Z({},n),{isOpen:!0,animateIn:!0,animateOut:!1,id:o}),...s]),setTimeout(()=>{this.alertHistory.update(s=>s.map(c=>te(Z({},c),{animateIn:c.id===o?!1:c.animateIn})))},40),setTimeout(()=>{this.hideAlert(o)},2500)}removeAlert(n){this.alertHistory.update(o=>o.map(s=>te(Z({},s),{animateOut:s.id===n?!1:s.animateOut}))),setTimeout(()=>{this.alertHistory.update(o=>o.filter(s=>s.id!==n))},300)}hideAlert(n){this.alertHistory.update(o=>o.map(s=>te(Z({},s),{isOpen:s.id===n?!1:s.isOpen})))}setHidden(n){this.alertHistoryIsHidden.set(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=Be({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),cr={class:"default",width:void 0,maxWidth:void 0,height:void 0,maxHeight:void 0,closeOnButton:!0,closeOnEsc:!0,closeOnOutsideClick:!0},dr=(()=>{var e,t;let n=class n{constructor(){w(this,e);w(this,t);x(this,e,A(je)),x(this,t,A(It,{optional:!0})),this.dialogRef=fe("dialogRef"),this.isOpen=ne(!1),this.options=V(),this.closed=xe(),this.defaultOptionMerge=F(()=>Z(te(Z({},cr),{class:f(this,t)?.dialogType??"default"}),this.options())),this.abortController=null,this.isOpenEffect=J(()=>{let s=this.dialogRef()?.nativeElement;s&&(this.abortController&&this.abortController.abort(),this.abortController=new AbortController,this.isOpen()?(s.showModal(),s.addEventListener("close",()=>{this.isOpen.set(!1),this.closed.emit()},{signal:this.abortController?.signal}),f(this,e).addEventListener("keydown",c=>{c.key==="Escape"&&!this.defaultOptionMerge().closeOnEsc&&c.preventDefault(),c.key==="Escape"&&this.defaultOptionMerge().closeOnEsc&&this.isOpen.set(!1)},{signal:this.abortController?.signal})):(s.close(),queueMicrotask(()=>this.closed.emit())))})}ngOnDestroy(){this.abortController?.abort()}};e=new WeakMap,t=new WeakMap,n.\u0275fac=function(c){return new(c||n)},n.\u0275cmp=B({type:n,selectors:[["sh-dialog"]],viewQuery:function(c,_){c&1&&pe(_.dialogRef,To,5),c&2&&De()},inputs:{isOpen:[1,"isOpen"],options:[1,"options"]},outputs:{isOpen:"isOpenChange",closed:"closed"},ngContentSelectors:ce,decls:2,vars:2,consts:[["dialogRef",""],["shDialog","",3,"class","width","max-width","max-height","height"],["shDialog",""],[1,"content"],[1,"closeable-overlay"],[1,"closeable-overlay",3,"click"]],template:function(c,_){c&1&&(W(),gt(0),k(1,Ao,5,11,"dialog",1)),c&2&&(me(_.defaultOptionMerge()),S(),R(_.isOpen()?1:-1))},encapsulation:2,changeDetection:0});let i=n;return i})(),Sa=(()=>{var e,t,n,o,hn,lt;let _=class _{constructor(){w(this,o);w(this,e);w(this,t);w(this,n);x(this,e,A(je)),x(this,t,f(this,e).querySelector("body")),x(this,n,A(Rt)),this.compRef=null,this.insertedCompRef=null,this.closedFieldSub=null,this.compClosedSub=null}open(r,l){let u=f(this,n).injector,h=M(this,o,hn).call(this),g=!1,q=l||{},{data:C,closed:a}=q,d=gi(q,["data","closed"]);this.compRef&&M(this,o,lt).call(this,!0),this.insertedCompRef=Yt(r,{environmentInjector:u}),this.compRef=Yt(dr,{hostElement:h,environmentInjector:u,projectableNodes:[[this.insertedCompRef.location.nativeElement]]});let p=this.insertedCompRef.instance,v=p.data,D=p.closed;if(C){if(Ft(v))this.insertedCompRef.setInput("data",C);else if(!Ft(v))throw new Error("data is not an input signal on the passed component")}D instanceof Gt&&(this.closedFieldSub=D.subscribe(P=>{M(this,o,lt).call(this),!g&&(g=!0,a?.(P),(this.compRef?.instance.closed).emit(P))})),f(this,n).attachView(this.insertedCompRef.hostView),f(this,n).attachView(this.compRef.hostView),this.insertedCompRef.changeDetectorRef.detectChanges(),this.compRef.changeDetectorRef.detectChanges(),this.compRef.instance.isOpen.set(!0),this.compRef.setInput("options",d),this.compClosedSub=this.compRef.instance.closed.subscribe(()=>ee());let L=this;function ee(P=void 0){var Q;M(Q=L,o,lt).call(Q),!g&&(g=!0,D&&D instanceof Gt&&D.emit(P),a?.(P))}return{component:this.insertedCompRef.instance,close:ee,closed:this.compRef.instance.closed}}ngOnDestroy(){M(this,o,lt).call(this,!0)}};e=new WeakMap,t=new WeakMap,n=new WeakMap,o=new WeakSet,hn=function(){let r=f(this,e).createElement("sh-dialog-ref");return r.id="sh-dialog-ref",f(this,e).getElementById("sh-dialog-ref")||f(this,t)?.append(r),f(this,e).getElementById("sh-dialog-ref")},lt=function(r=!1){let l=this;r||queueMicrotask(()=>u());function u(){l.insertedCompRef&&(f(l,n).detachView(l.insertedCompRef.hostView),l.closedFieldSub?.unsubscribe(),l.insertedCompRef.destroy()),l.compRef&&(f(l,n).detachView(l.compRef.hostView),l.compClosedSub?.unsubscribe(),l.compRef.destroy())}},_.\u0275fac=function(l){return new(l||_)},_.\u0275prov=Be({token:_,factory:_.\u0275fac,providedIn:"root"});let i=_;return i})();var Ma=(()=>{let e=class e{constructor(){this.id="--"+Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,12)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-button-group"]],hostVars:2,hostBindings:function(o,s){o&2&&se("--btng-id",s.id)},ngContentSelectors:ce,decls:1,vars:0,template:function(o,s){o&1&&(W(),b(0))},encapsulation:2,changeDetection:0});let i=e;return i})(),Ea=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["","shButton",""]],hostAttrs:[1,"sh-sheet-h"],attrs:Io,ngContentSelectors:ce,decls:1,vars:0,template:function(o,s){o&1&&(W(),b(0))},encapsulation:2,changeDetection:0});let i=e;return i})(),wa=(()=>{var e;let t=class t{constructor(){w(this,e);x(this,e,A(It,{optional:!0})),this.class=O(f(this,e)?.cardType??"type-a")}};e=new WeakMap,t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=B({type:t,selectors:[["sh-card"]],hostVars:2,hostBindings:function(s,c){s&2&&ve(c.class())},ngContentSelectors:ce,decls:1,vars:0,template:function(s,c){s&1&&(W(),b(0))},encapsulation:2,changeDetection:0});let i=t;return i})(),ur=(()=>{let e=class e{constructor(){this.currentClassList=At()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-checkbox"]],ngContentSelectors:ce,decls:7,vars:2,consts:[[1,"box","sh-sheet"],[1,"inherit","default-indicator"],[1,"inherit","indeterminate-indicator"],[1,"label"]],template:function(o,s){o&1&&(W(),E(0,"div",0)(1,"sh-icon",1),I(2,"check-bold"),T(),E(3,"sh-icon",2),I(4,"minus-bold"),T()(),E(5,"div",3),b(6),T()),o&2&&ve(s.currentClassList())},dependencies:[Ye],encapsulation:2,changeDetection:0});let i=e;return i})(),hr=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-chip"]],hostAttrs:[1,"sh-sheet"],ngContentSelectors:ce,decls:2,vars:0,template:function(o,s){o&1&&(W(),U(0,"div"),b(1),z())},encapsulation:2,changeDetection:0});let i=e;return i})();var Vt=4,pr=["scroll","auto"],fr={width:void 0,height:void 0,closeOnButton:!0,closeOnEsc:!0},pn=(()=>{var e,t,fn,gn,mn,vn,_n,Tt;let r=class r{constructor(){w(this,t);w(this,e);x(this,e,A(je)),this.SUPPORTS_ANCHOR=typeof CSS<"u"&&CSS.supports("position-anchor","--abc")&&CSS.supports("anchor-name","--abc"),this.asMultiLayer=V(!1),this.disableOpenByClick=V(!1),this.isOpen=ne(!1),this.options=V(),this.closed=xe(),this.defaultOptionMerge=F(()=>Z(Z({},fr),this.options())),this.triggerRef=fe.required("triggerRef"),this.popoverRef=fe("popoverRef"),this.popoverContentRef=fe("popoverContentRef"),this.id=O("--"+Pt()),this.menuStyle=O(null),this.openAbort=null,this.openEffect=J(()=>{let u=this.isOpen();queueMicrotask(()=>{let h=this.popoverRef()?.nativeElement;if(!h){this.openAbort?.abort(),this.openAbort=null;return}u?(this.openAbort&&this.openAbort.abort(),this.openAbort=new AbortController,f(this,e).addEventListener("keydown",g=>{g.key==="Escape"&&!this.defaultOptionMerge().closeOnEsc&&g.preventDefault(),g.key==="Escape"&&this.defaultOptionMerge().closeOnEsc&&this.isOpen.set(!1)},{signal:this.openAbort?.signal}),h.showPopover(),this.SUPPORTS_ANCHOR||setTimeout(()=>{M(this,t,fn).call(this,h).addEventListener("scroll",()=>M(this,t,Tt).call(this),{signal:this.openAbort?.signal}),window?.addEventListener("resize",()=>M(this,t,Tt).call(this),{signal:this.openAbort?.signal}),M(this,t,Tt).call(this)})):(this.closed.emit(),this.openAbort?.abort(),this.openAbort=null)})})}toggleIsOpen(u){this.disableOpenByClick()||(u.preventDefault(),u.stopPropagation(),this.isOpen.set(!this.isOpen()))}eventClose(u){this.isOpen()&&this.isOpen.set(!1)}ngOnDestroy(){this.openAbort?.abort(),this.openAbort=null}};e=new WeakMap,t=new WeakSet,fn=function(u){let h=u.parentElement;for(;h;){if(pr.indexOf(window?.getComputedStyle(h).overflowY)>-1&&h.scrollHeight>h.clientHeight)return h;h=h.parentElement}return f(this,e).documentElement},gn=function(u,h){let g=u.left,C=u.bottom+Vt;return{left:g,top:C}},mn=function(u,h){let g=u.right+Vt,C=u.top;return{left:g,top:C}},vn=function(u,h){let g=u.right+Vt,C=u.bottom;return{left:g,top:C}},_n=function(u,h){let g=u.left,C=u.bottom-u.height-h.height-Vt;return{left:g,top:C}},Tt=function(){let u=this.triggerRef()?.nativeElement.getBoundingClientRect(),h=this.popoverContentRef()?.nativeElement.getBoundingClientRect(),g=[M(this,t,mn),M(this,t,vn)],C=[M(this,t,gn),M(this,t,_n)],a=this.asMultiLayer()?g:C;for(let p=0;p<a.length;p++){let v=a[p](u,h),D=v.left+(h?.width||0)>window.innerWidth,L=v.top+(h?.height||0)>window.innerHeight;if(!D&&!L){this.menuStyle.set({left:v.left+"px",top:v.top+"px"});return}}let d=a[0](u,h);this.menuStyle.set({left:d.left+"px",top:d.top+"px"})},r.\u0275fac=function(h){return new(h||r)},r.\u0275cmp=B({type:r,selectors:[["sh-popover"]],viewQuery:function(h,g){h&1&&(pe(g.triggerRef,Po,5),pe(g.popoverRef,Fo,5),pe(g.popoverContentRef,ko,5)),h&2&&De(3)},hostVars:2,hostBindings:function(h,g){h&2&&G("multi-layer",g.asMultiLayer())},inputs:{asMultiLayer:[1,"asMultiLayer"],disableOpenByClick:[1,"disableOpenByClick"],isOpen:[1,"isOpen"],options:[1,"options"]},outputs:{isOpen:"isOpenChange",closed:"closed"},ngContentSelectors:Lo,decls:8,vars:4,consts:[["triggerRef",""],["popoverRef",""],["popoverContentRef",""],[1,"trigger",3,"click"],[1,"trigger-wrapper"],[1,"trigger-anchor"],["popover","manual",1,"popover"],[1,"overlay",3,"click"],[1,"popover-content"]],template:function(h,g){if(h&1){let C=he();W(Ro),U(0,"div",3,0),Fe("click",function(d){return H(C),j(g.toggleIsOpen(d))}),U(2,"div",4),b(3),b(4,1),b(5,2),z(),Ie(6,"div",5),z(),k(7,Bo,6,5,"div",6)}h&2&&(Ee("popovertarget",g.id()+"hello"),S(6),se("anchor-name",g.id()),S(),R(g.isOpen()?7:-1))},encapsulation:2,changeDetection:0});let i=r;return i})();var gr=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-divider"]],ngContentSelectors:ce,decls:1,vars:0,template:function(o,s){o&1&&(W(),b(0))},encapsulation:2,changeDetection:0});let i=e;return i})();var fi=(()=>{var e;let t=class t{constructor(){w(this,e,A(Y));kt(()=>{let o=typeof CSS<"u"&&CSS.supports("field-sizing","content"),s=f(this,e).nativeElement.querySelector("textarea");if(!o&&s!==null){let m=function(){s.style.height="auto",s.style.height=s.scrollHeight+"px"},r=function(){setTimeout(m,0)};var c=m,_=r;s.addEventListener("change",m),s.addEventListener("cut",r),s.addEventListener("paste",r),s.addEventListener("drop",r),s.addEventListener("keydown",r),s.focus(),s.select(),m()}})}onClick(){f(this,e).nativeElement.querySelector("input")&&f(this,e).nativeElement.querySelector("input").focus(),f(this,e).nativeElement.querySelector("textarea")&&f(this,e).nativeElement.querySelector("textarea").focus()}};e=new WeakMap,t.\u0275fac=function(s){return new(s||t)},t.\u0275cmp=B({type:t,selectors:[["sh-form-field"]],hostBindings:function(s,c){s&1&&$("click",function(){return c.onClick()})},ngContentSelectors:Uo,decls:17,vars:0,consts:[[1,"input-wrap"],[1,"prefix"],[1,"suffix"],[1,"helpers"],[1,"error-wrap"],[1,"hint"]],template:function(s,c){s&1&&(W(jo),b(0),U(1,"div",0)(2,"div",1),b(3,1),b(4,2),b(5,3),z(),b(6,4),b(7,5),U(8,"div",2),b(9,6),b(10,7),b(11,8),z()(),U(12,"div",3)(13,"div",4),b(14,9),z(),U(15,"div",5),b(16,10),z()())},encapsulation:2,changeDetection:0});let i=t;return i})(),xa=(()=>{let e=class e{constructor(){this._el=A(Y),this.inputRef=fe.required("input"),this.filesOver=O(!1),this.multiple=V(),this.accept=V(null),this.placeholder=ne("Click or drag files here"),this.overlayText=V("Drop files here"),this.files=ne([]),this.fileUploadClasses=F(()=>this._el.nativeElement.classList.toString()),this.inputEffect=J(()=>{let n=this.inputRef().nativeElement;n&&(n.placeholder&&this.placeholder.set(n.placeholder),n.addEventListener("dragover",o=>{o.preventDefault(),this.filesOver.set(!0)}),n.addEventListener("dragleave",o=>{o.preventDefault(),this.filesOver.set(!1)}),n.addEventListener("drop",o=>{o.preventDefault(),this.filesOver.set(!1);let s=o.dataTransfer?.files;s&&s.length>0&&(this.handleFileUpload(Array.from(s)),n.files=s)}),n.addEventListener("change",o=>{o.preventDefault(),this.handleFileUpload(Array.from(o.target.files))}))})}handleFileUpload(n){this.multiple()?this.files.update(o=>[...o,...n]):this.files.set(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-file-upload"]],viewQuery:function(o,s){o&1&&pe(s.inputRef,zo,5),o&2&&De()},inputs:{multiple:[1,"multiple"],accept:[1,"accept"],placeholder:[1,"placeholder"],overlayText:[1,"overlayText"],files:[1,"files"]},outputs:{placeholder:"placeholderChange",files:"filesChange"},ngContentSelectors:Wo,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(o,s){o&1&&(W($o),E(0,"sh-form-field"),b(1,0,["ngProjectAs","label",5,["label"]]),E(2,"div",2,0),k(4,Go,2,1,"div",3)(5,qo,2,1,"div",3)(6,Yo,2,1,"div",4),Ae(7,"input",5,1)(9,"div",6),T(),E(10,"sh-icon",7),I(11,"upload-simple"),T()()),o&2&&(ve(s.fileUploadClasses()),S(4),R(s.files().length===1?4:s.files().length>1?5:6),S(3),Ee("multiple",s.multiple())("accept",s.accept()),S(2),G("files-over",s.filesOver()))},dependencies:[fi,Ye],encapsulation:2,changeDetection:0});let i=e;return i})(),Oa=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-list"]],ngContentSelectors:ce,decls:1,vars:0,template:function(o,s){o&1&&(W(),b(0))},encapsulation:2,changeDetection:0});let i=e;return i})();function mr(i,e){let t=O(null),n=e.map(m=>m.toUpperCase()),o=A(He),s=o.get(Te);if(Ii(o.get(Si))||typeof MutationObserver>"u")return t.asReadonly();if(n.find(m=>i.nativeElement.querySelector(m)))return t.set(new Y(i.nativeElement.querySelector(e[0]))),t.asReadonly();let _=new MutationObserver(m=>{for(let r of m)if(r.addedNodes){for(let l of Array.from(r.addedNodes))if(l.nodeType===Node.ELEMENT_NODE&&n.includes(l.nodeName)){t.set(new Y(l)),_.disconnect();return}}});return _.observe(i.nativeElement,{childList:!0,subtree:!0}),s.onDestroy(()=>_.disconnect()),t.asReadonly()}function Cn(i,e){let t=A(He),n=t.get(Te),o=O([]),s=null,c=null,_=(r,l)=>{c&&c.disconnect();let u=Array.from(r.nativeElement.querySelectorAll(l.join(",")));o.set(u),typeof MutationObserver<"u"&&(c=new MutationObserver(h=>{queueMicrotask(()=>{let g=Array.from(r.nativeElement.querySelectorAll(l.join(",")));o.set(g)})}),c.observe(r.nativeElement,{childList:!0,subtree:!0})),n.onDestroy(()=>m())};s=J(()=>{let r=typeof i=="function"&&i[mi]?i():i,l=typeof e=="function"?e():e;r&&l?.length>0?_(r,l):(o.set([]),c&&(c.disconnect(),c=null))},{injector:t});function m(){s&&s.destroy(),c&&c.disconnect()}return{signal:o.asReadonly(),destroy:m}}function vr(i,e=["input","textarea"]){let t=i||mr(A(Y),e),n=O(void 0),o=A(He),s=o.get(Te),c=O(null);J(m=>{let r=t();if(!r)return;let l=r.nativeElement;l&&(_r(l),c.set(l),n.set(l.value??""),m(()=>{c.set(null)}))},{injector:o});let _=null;return J(()=>{let m=c();if(!m)return;_&&(_(),_=null);let r=u=>{n.set(u.detail.value)},l=u=>{n.set(u.target.value)};m.addEventListener("input",l),m.addEventListener("inputValueChanged",r),n.set(m.value),_=()=>{m.removeEventListener("input",l),m.removeEventListener("inputValueChanged",r)},s.onDestroy(()=>{_&&_()})},{injector:o}),J(()=>{let m=c();if(!m)return;let r=n();r&&(m.value=r,m.dispatchEvent(new Event("input")))},{injector:o}),n}function _r(i){return Object.defineProperty(i,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(Object.getPrototypeOf(i),"value").get.call(this)},set(e){Object.getOwnPropertyDescriptor(Object.getPrototypeOf(i),"value").set.call(this,e);let n=new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:e}});return this.dispatchEvent(n),e}}),i}var Va=(()=>{var e,t,n,yn,ci;let c=class c{constructor(){w(this,n);w(this,e);w(this,t);x(this,e,A(je)),x(this,t,A(ye)),this.asMultiLayer=V(!1),this.openIndicator=V(!1),this.disabled=V(!1),this.customOptionElementSelectors=V(["button"]),this.keepClickedOptionActive=V(!1),this.closeOnClick=V(!0),this.isOpen=ne(!1),this.closed=xe(),this.searchable=V(!1),this.activeOptionIndex=O(-1),this.inputRef=fe("inputRef"),this.optionsRef=fe("optionsRef"),this.options=Cn(this.optionsRef,this.customOptionElementSelectors),this.optionsEl=F(()=>this.options.signal().filter(m=>!m.disabled)),this.inputValue=vr(this.inputRef),this.abortController=null,this.optionsEffect=J(()=>{if(this.abortController!==null&&(this.abortController.abort(),this.abortController=null),!this.isOpen())return;this.abortController=new AbortController,this.searchable()||f(this,e).documentElement.addEventListener("keydown",this.keyDownEventListener,{signal:this.abortController.signal});let r=this.inputRef()?.nativeElement;r&&(queueMicrotask(()=>r.focus()),r.addEventListener("keydown",this.keyDownEventListener,{signal:this.abortController.signal}),this.closeOnClick()||this.optionsRef()?.nativeElement?.addEventListener("click",u=>{let h=u.target,g=this.activeElements();if(!g.length){let a=this.optionsEl();this.activeElements.set(a),g=a}let C=g.findIndex(a=>a===h);C>-1&&(this.activeOptionIndex.set(C),r.focus())}))}),this.keyDownEventListener=m=>{let r=this.activeOptionIndex();m.key==="ArrowDown"?(m.preventDefault(),this.activeOptionIndex.set(this.nextActiveIndex(r))):m.key==="ArrowUp"?(m.preventDefault(),this.activeOptionIndex.set(this.prevActiveIndex(r))):m.key==="Enter"?(m.preventDefault(),r>-1&&(this.activeElements()[r].click(),queueMicrotask(()=>this.close("active")))):m.key==="Tab"&&(m.preventDefault(),this.close("closed"))},this._lastElementList=[],this.activeElements=O([]),this.lastInputValue="",this.inputValueEffect=J(()=>{if(!this.searchable())return;let r=(this.inputValue()??"").toLowerCase();if(M(this,n,ci).call(this),!r||r===""){let u=this.optionsEl();this.activeElements.set(u),this._lastElementList=u;for(let h=0;h<u.length;h++)f(this,t).removeStyle(u[h],"order");return}if(!r||r==="")return;let l=this._lastElementList.length&&r.length>this.lastInputValue.length?this._lastElementList:this.optionsEl();this.lastInputValue=r;for(let u=0;u<l.length;u++){let h=l[u],g=h.textContent?.toLowerCase()||"",C=M(this,n,yn).call(this,g,r);h.value=C}l=l.filter(u=>u.value>0).sort((u,h)=>h.value-u.value);for(let u=0;u<l.length;u++)f(this,t).setStyle(l[u],"order",u);this.activeElements.set(l),this._lastElementList=l}),this.activeOptionIndexEffect=J(()=>{let m=this.activeElements(),r=this.activeOptionIndex();for(let l=0;l<m.length;l++)m[l].classList.remove("active");r>-1&&(m[r].scrollIntoView({block:"center"}),m[r].classList.add("active"))})}toggleIsOpen(m){m.preventDefault(),m.stopPropagation(),!this.disabled()&&(this.isOpen.set(!this.isOpen()),this.searchable()&&this.isOpen()&&setTimeout(()=>this.inputRef()?.nativeElement.focus()))}nextActiveIndex(m){let r=this.activeElements();if(!r.length){let u=this.optionsEl();this.activeElements.set(u),r=u}if(m===-1||m===r.length-1)return 0;let l=m+1;return r[l].disabled?this.nextActiveIndex(l):l}prevActiveIndex(m){let r=this.activeElements();if(!r.length){let u=this.optionsEl();this.activeElements.set(u),r=u}if(m===0||m===-1)return r.length-1;let l=m-1;return r[l].disabled?this.prevActiveIndex(l):l}close(m="closed",r){this.inputValue.set(""),this.closeOnClick()&&((!this.keepClickedOptionActive()||m==="closed")&&M(this,n,ci).call(this),this.isOpen.set(!1),this.closed.emit(m==="active"))}ngOnDestroy(){this.abortController&&(this.abortController.abort(),this.abortController=null)}};e=new WeakMap,t=new WeakMap,n=new WeakSet,yn=function(m,r){if(!r)return 0;let l=0,u=-1,h=0,g=!0;for(let C=0;C<r.length;C++){let a=r[C];if(m.length>u+1&&m[u+1]===a)l+=C===0?100:150,u++,h++;else{let d=m.indexOf(a,u+1);if(C>0&&(g=!1),d===-1)return 0;l+=100,u=d,h++}}return g&&r.length===h&&(l+=1e3),l+=h*20,l},ci=function(){this.activeOptionIndex.set(-1);let m=this.optionsEl();for(let r=0;r<m.length;r++)m[r].classList.remove("active")},c.\u0275fac=function(r){return new(r||c)},c.\u0275cmp=B({type:c,selectors:[["sh-menu"]],viewQuery:function(r,l){r&1&&(pe(l.inputRef,Xo,5),pe(l.optionsRef,Qo,5)),r&2&&De(2)},hostVars:6,hostBindings:function(r,l){r&2&&G("disabled",l.disabled())("has-search",l.searchable())("multi-layer",l.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:Ko,decls:12,vars:12,consts:[["formFieldWrapper",""],["inputRef",""],["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(r,l){if(r&1){let u=he();W(Zo),E(0,"sh-popover",3,0),zt("isOpenChange",function(g){return H(u),Ut(l.isOpen,g)||(l.isOpen=g),j(g)}),$("closed",function(){return H(u),j(l.close("fromPopover"))}),E(2,"div",4),$("click",function(g){return H(u),j(l.toggleIsOpen(g))}),b(3),k(4,Jo,2,0,"sh-icon",5),T(),E(5,"div",6)(6,"sh-form-field",7),Ae(7,"input",8,1),T()(),E(9,"div",9,2),$("click",function(){return H(u),j(l.close("active"))}),b(11,1),T()()}r&2&&(jt("isOpen",l.isOpen),ge("disableOpenByClick",!0)("asMultiLayer",l.asMultiLayer())("options",$t(11,Ho)),S(2),G("is-open",l.isOpen()),S(2),R(l.openIndicator()?4:-1),S(2),G("hidden",l.searchable()===!1),S(3),G("searching",l.searchable()&&l.inputValue()!==""))},dependencies:[pn,fi,Ye],encapsulation:2,changeDetection:0});let i=c;return i})(),Cr=(()=>{let e=class e{constructor(){this.value=V(void 0)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-progress-bar"]],inputs:{value:[1,"value"]},decls:1,vars:2,consts:[[1,"progress-bar"]],template:function(o,s){o&1&&Ie(0,"div",0),o&2&&se("width",s.value(),"%")},encapsulation:2,changeDetection:0});let i=e;return i})(),Ta=(()=>{let e=class e{constructor(){this.currentClassList=At()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-radio"]],ngContentSelectors:ce,decls:2,vars:2,consts:[[1,"radio","sh-sheet"]],template:function(o,s){o&1&&(W(),Ie(0,"div",0),b(1)),o&2&&ve(s.currentClassList())},encapsulation:2,changeDetection:0});let i=e;return i})(),Na=(()=>{var e,t,n,o,s,di,Dn,bn,Sn;let l=class l{constructor(){w(this,s);w(this,e);w(this,t);w(this,n);w(this,o);x(this,e,A(Y)),x(this,t,null),x(this,n,null),x(this,o,0),this.unit=V(""),this.value=ne(f(this,o)),this.inputState=O({min:0,max:100,step:1}),this.valuePercentage=F(()=>{let{min:h,max:g}=this.inputState(),C=this.value()??h;if(isNaN(C))return 0;let a=g-h;if(a===0)return 0;let d=(C-h)/a*100;return Math.max(0,Math.min(100,d))}),this.trackFilledPercentage=F(()=>this.valuePercentage()),this.thumbPositionPercentage=F(()=>this.valuePercentage()),this.syncModelToInputEffect=J(()=>{let h=this.value();if(f(this,n)){let g=parseFloat(f(this,n).value);(isNaN(g)||String(g)!==String(h))&&(f(this,n).value=String(h))}})}get hasInputElement(){return!!f(this,n)}ngAfterViewInit(){x(this,n,f(this,e).nativeElement.querySelector('input[type="range"]')),f(this,n)?(M(this,s,Sn).call(this,f(this,n)),f(this,n).oninput=()=>{this.setNewInputValue(f(this,n).value)},f(this,n).addEventListener("inputValueChanged",h=>{this.setNewInputValue(h.detail.value)}),queueMicrotask(()=>M(this,s,di).call(this,!0)),M(this,s,Dn).call(this)):console.error('ShipRangeSlider: No <input type="range"> element found projected inside.')}setNewInputValue(h){let g=parseFloat(h??"0");if(!isNaN(g)){let{min:C,max:a}=this.inputState();this.value.set(Math.max(C,Math.min(a,g)))}}trackEvent(h){if(!f(this,n)||f(this,n).readOnly||f(this,n).disabled){h.preventDefault(),h.stopPropagation();return}if(h.target===f(this,n)||h.target?.closest(".thumb, .min-indicator, .max-indicator"))return;let C=h.currentTarget.getBoundingClientRect(),a=h.clientX-C.left,d=C.width,{min:p,max:v,step:D}=this.inputState(),L=v-p;if(d>0&&L!==0&&D>0){let q=(a/d*L+p-p)/D,P=p+Math.round(q)*D,Q=M(this,s,bn).call(this,D);P=parseFloat(P.toFixed(Q));let de=Math.max(p,Math.min(v,P));this.value.set(de)}}ngOnDestroy(){f(this,t)&&f(this,t).disconnect(),f(this,n)&&(f(this,n).oninput=null)}};e=new WeakMap,t=new WeakMap,n=new WeakMap,o=new WeakMap,s=new WeakSet,di=function(h=!1){if(!f(this,n))return;let g=parseFloat(f(this,n).min??"0")??0,C=parseFloat(f(this,n).max??"100")??100,a=f(this,n).step,d=1;if(a&&a.toLowerCase()!=="any"){let v=parseFloat(a);!isNaN(v)&&v>0&&(d=v)}this.inputState.set({min:g,max:C,step:d});let p=parseFloat(f(this,n).value??String(g))??g;if(h&&this.value()!==f(this,o)){let v=this.value(),D=Math.max(g,Math.min(C,v));p!==D&&(f(this,n).value=String(D)),v!==D&&this.value.set(D)}else{let v=Math.max(g,Math.min(C,p));this.value()!==v&&this.value.set(v)}},Dn=function(){if(!f(this,n)||typeof MutationObserver>"u")return;let h=["min","max","step","value","readonly","disabled"];x(this,t,new MutationObserver(g=>{let C=!1;for(let a of g)if(a.type==="attributes"&&h.includes(a.attributeName??"")){C=!0;break}C&&M(this,s,di).call(this,!1)})),f(this,t).observe(f(this,n),{attributes:!0,attributeFilter:h})},bn=function(h){if(isNaN(h)||Math.floor(h)===h)return 0;let C=h.toString().split(".")[1];return C?C.length:0},Sn=function(h){Object.defineProperty(h,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(Object.getPrototypeOf(h),"value").get.call(this)},set(g){Object.getOwnPropertyDescriptor(Object.getPrototypeOf(h),"value").set.call(this,g);let a=new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:g}});return this.dispatchEvent(a),g}})},l.\u0275fac=function(g){return new(g||l)},l.\u0275cmp=B({type:l,selectors:[["sh-range-slider"]],hostVars:2,hostBindings:function(g,C){g&2&&G("has-input",C.hasInputElement)},inputs:{unit:[1,"unit"],value:[1,"value"]},outputs:{value:"valueChange"},ngContentSelectors:ts,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,C){g&1&&(W(es),U(0,"div",0),b(1),z(),U(2,"div",1)(3,"div",2),I(4),z(),U(5,"div",3),Fe("click",function(d){return C.trackEvent(d)}),b(6,1),U(7,"div",4),Ie(8,"div",5),z(),U(9,"div",6)(10,"div",7)(11,"div",8),I(12),z()()()(),U(13,"div",9),I(14),z()()),g&2&&(S(4),ft("",C.inputState().min,"",C.unit()),S(4),se("width",C.trackFilledPercentage(),"%"),S(),se("left",C.thumbPositionPercentage(),"%"),S(3),ft("",C.value(),"",C.unit()),S(2),ft("",C.inputState().max,"",C.unit()))},encapsulation:2,changeDetection:0});let i=l;return i})(),yr=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-spinner"]],decls:0,vars:0,template:function(o,s){},encapsulation:2,changeDetection:0});let i=e;return i})(),Aa=(()=>{var e,t,n,o,ui,c,_,hi,le,Mn,En,wn;let g=class g{constructor(){w(this,o);w(this,e);w(this,t);w(this,n);w(this,c);w(this,_);x(this,e,A(Y)),this.value=V(),this.label=V(),this.asFreeText=V(!1),this.optionTitle=V(null),this.freeTextTitle=V(null),this.freeTextPlaceholder=V("Type to create a new option"),this.validateFreeText=V(),this.placeholder=V(),this.readonly=ne(!1),this.disabled=ne(!1),this.lazySearch=V(!1),this.inlineSearch=V(!1),this.asText=V(!1),this.isClearable=V(!0),this.selectMultiple=V(!1),this.optionTemplate=V(null),this.selectedOptionTemplate=V(null),this.placeholderTemplate=V(null),this.freeTextOptionTemplate=V(null),this.isOpen=ne(!1),this.isLoading=ne(!1),this.options=ne([]),this.selectedOptions=ne([]),this.cleared=xe(),this.onAddNewFreeTextOption=xe(),this.computedFreeTextOption=F(()=>{let a=this.inputValue(),d=this.value(),p=d?{}:a;return d&&typeof p=="object"&&(p[d]=a),p}),x(this,t,O(null)),this.inlineTemplate=Ti(pt),this.optionsWrapRef=fe.required("optionsWrap"),this.inputRefInput=O(null),x(this,n,typeof MutationObserver<"u"&&new MutationObserver(a=>{for(var d of a)d&&(d.target.nodeName==="INPUT"||d.target.nodeName==="TEXTAREA")&&(this.inputRefInput.set(new Y(d.target)),f(this,n).disconnect())})),this.inputValue=O(""),this.prevInputValue=O(null),this.focusedOptionIndex=O(-1),this._isClearable=F(()=>this.selectMultiple()||this.isClearable()),this.selectClasses=F(()=>f(this,e).nativeElement.classList.toString()),this.stretch=F(()=>this.selectClasses().includes("stretch")),this.small=F(()=>this.selectClasses().includes("small")),this.placeholderText=F(()=>{let a=this.placeholder(),d=this.inputRefEl();return a||d?.placeholder||null}),this.selectedOptionValues=F(()=>{let a=this.selectedOptions(),d=this.value();return d?a.map(p=>M(this,o,le).call(this,p,d)):a}),this.filteredOptions=F(()=>{let a=this.options()||[],d=this.label(),p=this.value(),v=this.inlineSearch(),D=this.inputValue().toLowerCase(),L=M(this,o,En).call(this,D);if(a.length<=0)return[];if(!v||D==="")return a;let q=a.filter(P=>{let Q=d?(M(this,o,le).call(this,P,d)??"").toString().toLowerCase():(P??"").toString().toLowerCase(),de=((p?M(this,o,le).call(this,P,p):P)??"").toString().toLowerCase(),Se=L.test(Q),dt=L.test(de);return Se||dt}).map(P=>{let Q=d?(M(this,o,le).call(this,P,d)??"").toString().toLowerCase():(P??"").toString().toLowerCase(),de=((p?M(this,o,le).call(this,P,p):P)??"").toString().toLowerCase(),Se=M(this,o,ui).call(this,Q,D),dt=M(this,o,ui).call(this,de,D);return{item:P,score:Math.max(Se,dt)}});return q.sort((P,Q)=>Q.score-P.score),q.map(P=>P.item)}),x(this,c,Pt()),this.inputRefEl=F(()=>{let a=this.inputRefInput();if(a===null)return;let d=a?a.nativeElement:null;return d?(d.autocomplete="off",d.setAttribute("role","combobox"),d.setAttribute("id",`combobox-${f(this,c)}`),d.setAttribute("aria-haspopup","listbox"),d.setAttribute("aria-owns","optionsWrapId"),M(this,o,Mn).call(this,d),d.addEventListener("focus",()=>{this.readonly()||this.open()}),d.addEventListener("input",p=>{let v=p.target.value,D=this.inputValue();v!==D&&(this.focusedOptionIndex.set(this.asFreeText()?-1:0),this.inputValue.set(v),this.updateInputElValue())}),d.addEventListener("inputValueChanged",p=>{let v=p.detail.value,D=this.inputValue();if(v!==D){if(v===""){this.clear();return}this.setSelectedOptionsFromValue(v),this.setInputValueFromOptions(this.selectedOptions()),M(this,o,hi).call(this)}}),d):(console.warn("<sh-select> input element not found are you missing to pass an <input> or <textarea> element to select component?"),null)}),this.focusEffect=J(()=>{let a=this.inputRefEl();if(!a)return;let d=this.getLabelAsSlug(this.filteredOptions()[this.focusedOptionIndex()]);d?a.setAttribute("aria-activedescendant",d):a.removeAttribute("aria-activedescendant")}),this.openAbortController=null,this.isOpenEffect=J(()=>{if(this.isOpen()){this.openAbortController||(this.openAbortController=new AbortController);let d=this.inputRefEl(),v=this.asFreeText()?-1:0;if(!d)return;d.setAttribute("aria-expanded",this.isOpen().toString()),d.addEventListener("keydown",D=>{if((D.key==="Escape"||D.key==="Tab")&&(D.preventDefault(),this.close()),D.key==="Enter"&&(D.preventDefault(),this.toggleOptionByIndex(this.focusedOptionIndex(),void 0,!0)),D.key==="ArrowDown"){D.preventDefault();let L=this.focusedOptionIndex()+1;this.focusedOptionIndex.set(L>this.filteredOptions().length-1?v:L)}if(D.key==="ArrowUp"){D.preventDefault();let L=this.focusedOptionIndex()-1;this.focusedOptionIndex.set(L<v?this.filteredOptions().length-1:L)}},{signal:this.openAbortController?.signal})}else{let d=this.inputRefEl();if(!d)return;d.setAttribute("aria-expanded",this.isOpen().toString()),this.openAbortController&&(this.openAbortController.abort(),this.openAbortController=null)}}),this._inputValue="",this.inputValueEffect=J(()=>{let a=this.inputValue();this._inputValue=a}),this.inputRefElEffect=J(()=>{let a=this.inputRefEl();a&&a.value!==this._inputValue&&(this.disabled.set(a.disabled),this.setSelectedOptionsFromValue(a.value),this.setInputValueFromOptions(this.selectedOptions()))}),this.selectedLabels=F(()=>{let a=this.selectedOptions();return this.label()?a.map(p=>this.getLabel(p)).join(", "):a.join(", ")}),this.inputState=F(()=>(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=F(()=>this.inlineSearch()||this.lazySearch()),x(this,_,J(()=>{if(this.selectMultiple()&&this.hasSearch())return;let a=this.selectedOptions(),d=this.value(),p=a.map(v=>d?M(this,o,le).call(this,v,d):v).join(",");this.inputValue.set(p)}))}ngOnInit(){this.setInitInput()}setInitInput(){let a=f(this,e).nativeElement.querySelector("input");if(a){this.inputRefInput.set(new Y(a));return}let d=f(this,e).nativeElement.querySelector("textarea");if(d){this.inputRefInput.set(new Y(d));return}typeof MutationObserver<"u"&&f(this,n).observe(f(this,e).nativeElement,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}setSelectedOptionsFromValue(a){let d=this.options()||[],p=this.value(),v=this.selectMultiple(),D=a.toString().split(",");if(D.length===0){this.selectedOptions.set([]);return}let L=v?D:[D[0]],ee=d.filter(q=>{let P=p?M(this,o,le).call(this,q,p)?.toString():q?.toString();return P&&L.includes(P)});this.selectedOptions.set(v?ee:[ee[0]])}setInputValueFromOptions(a){let d=this.value();if(a.length===0){this.inputValue.set(""),this.updateInputElValue();return}let p=a.map(v=>d?M(this,o,le).call(this,v,d):v).join(",");p!==this.inputValue()&&(this.inputValue.set(p),this.updateInputElValue())}getValue(a){let d=this.value();return d?M(this,o,le).call(this,a,d):a}getLabel(a){let d=this.label();return d?M(this,o,le).call(this,a,d):a}getLabelAsSlug(a){let d=this.getLabel(a);return!d||typeof d!="string"?"":d.replaceAll(" ","-")}toggleOptionByIndex(a,d,p=!1){let v=this.filteredOptions()[a];if(this.asFreeText()&&a===-1){let Q=this.computedFreeTextOption(),de=this.getValue(Q);if(!(this.validateFreeText()??(ut=>!0))(de))return;this.options.update(ut=>ut.findIndex(xn=>this.getValue(xn)===de)>-1?ut:(this.onAddNewFreeTextOption.emit(de),[Q,...ut])),a=0,v=Q}else if(!v){this.close();return}d&&d.stopPropagation();let D=this.selectMultiple(),L=this._isClearable(),ee=this.value(),q=this.selectedOptionValues(),P=ee?M(this,o,le).call(this,v,ee):v;this.prevInputValue.set(null),f(this,t).set(null),this.selectedOptions.update(Q=>{let de=q.indexOf(P);if(de>-1){let Se=[...Q.slice(0,de),...Q.slice(de+1)];return L||Se.length>0?Se:Q}else return this.focusedOptionIndex.set(a),D?[...Q,v]:[v]}),D?this.inputRefEl()?.focus():this.isOpen.set(!1),this.setInputValueFromOptions(this.selectedOptions()),D&&this.hasSearch()&&(this.inputValue.set(""),this.updateInputElValue())}removeSelectedOptionByIndex(a,d){a.stopPropagation(),this.selectedOptions.update(p=>[...p.slice(0,d),...p.slice(d+1)]),this.setInputValueFromOptions(this.selectedOptions())}isSelected(a){let d=this.value(),p=this.filteredOptions()[a],v=d?M(this,o,le).call(this,p,d):p;return this.selectedOptionValues().indexOf(v)>-1}open(){this.isOpen()||(this.isOpen.set(!0),this.hasSearch()?(this.prevInputValue.set(this.inputValue()??""),this.inputValue.set(""),this.updateInputElValue()):f(this,t).set(this.selectedOptions()),this.selectMultiple()||M(this,o,hi).call(this))}close(){this.isOpen.set(!1);let a=this.prevInputValue(),d=f(this,t).call(this);if(this.asFreeText()){this.updateInputElValue();return}this.hasSearch()&&a&&(this.inputValue.set(a),this.setInputValueFromOptions(this.selectedOptions())),!this.hasSearch()&&d!==null&&this.setInputValueFromOptions(d),this.selectMultiple()&&this.setInputValueFromOptions(this.selectedOptions())}clear(a){a?.stopPropagation(),this.inputValue.set(""),this.selectedOptions.set([]),this.isOpen.set(!1),this.prevInputValue.set(null),this.cleared.emit(),this.updateInputElValue()}updateInputElValue(){let a=this.inputRefEl(),d=this.inputValue();a&&(a.value=d,a.dispatchEvent(new Event("input")))}ngOnDestroy(){this.openAbortController&&(this.openAbortController.abort(),this.openAbortController=null),typeof MutationObserver<"u"&&f(this,n).disconnect()}};e=new WeakMap,t=new WeakMap,n=new WeakMap,o=new WeakSet,ui=function(a,d){if(!d)return 0;let p=0,v=-1,D=0,L=!0;for(let ee=0;ee<d.length;ee++){let q=d[ee];if(a.length>v+1&&a[v+1]===q)p+=ee===0?100:150,v++,D++;else{let P=a.indexOf(q,v+1);if(ee>0&&(L=!1),P===-1)return 0;p+=100,v=P,D++}}return L&&d.length===D&&(p+=1e3),p+=D*20,p},c=new WeakMap,_=new WeakMap,hi=function(){let a=this.selectedOptionValues()[0],d=this.value();if(a){let p=this.filteredOptions().findIndex(v=>d?M(this,o,le).call(this,v,d)===a:v===a);this.focusedOptionIndex.set(p)}else this.focusedOptionIndex.set(-1)},le=function(a,d){return d.split(".").reduce((p,v)=>p?.[v],a)},Mn=function(a){Object.defineProperty(a,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(Object.getPrototypeOf(a),"value").get.call(this)},set(d){Object.getOwnPropertyDescriptor(Object.getPrototypeOf(a),"value").set.call(this,d);let v=new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:d}});return this.dispatchEvent(v),d}})},En=function(a){let d=(a??"").toLowerCase(),p="^";for(let v of d)p+=".*"+M(this,o,wn).call(this,v);return p+=".*$",new RegExp(p,"i")},wn=function(a){return a.replace(/[-\/\\^$+?.()|[\]{}]/g,"\\$&")},g.\u0275fac=function(d){return new(d||g)},g.\u0275cmp=B({type:g,selectors:[["sh-select"]],contentQueries:function(d,p,v){d&1&&xi(v,p.inlineTemplate,pt,5),d&2&&De()},viewQuery:function(d,p){d&1&&pe(p.optionsWrapRef,is,5),d&2&&De()},hostVars:2,hostBindings:function(d,p){d&2&&G("multiple",p.selectMultiple())},inputs:{value:[1,"value"],label:[1,"label"],asFreeText:[1,"asFreeText"],optionTitle:[1,"optionTitle"],freeTextTitle:[1,"freeTextTitle"],freeTextPlaceholder:[1,"freeTextPlaceholder"],validateFreeText:[1,"validateFreeText"],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"],freeTextOptionTemplate:[1,"freeTextOptionTemplate"],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",onAddNewFreeTextOption:"onAddNewFreeTextOption"},ngContentSelectors:os,decls:33,vars:25,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"],["title",""],[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(d,p){if(d&1){let v=he();W(ns),gt(0)(1)(2)(3)(4)(5)(6),E(7,"sh-popover",2,0),zt("isOpenChange",function(L){return H(v),Ut(p.isOpen,L)||(p.isOpen=L),j(L)}),$("closed",function(){return H(v),j(p.close())}),E(9,"sh-form-field",3),$("click",function(){return H(v),j(p.open())}),b(10,0,["ngProjectAs","label",5,["label"]]),b(11,1,["ngProjectAs","[prefix]",5,["","prefix",""]]),b(12,2,["ngProjectAs","[boxPrefix]",5,["","boxPrefix",""]]),E(13,"div",4)(14,"div",5),k(15,rs,1,1)(16,_s,2,0)(17,bs,2,1),b(18,3),b(19,4),T()(),k(20,Ss,2,0,"sh-icon",6)(21,Ms,1,0,"sh-spinner",7)(22,Es,2,0,"sh-icon",6)(23,ws,2,0,"sh-icon",6)(24,xs,2,0,"sh-icon",6)(25,Os,2,0,"sh-icon",6)(26,Vs,2,0,"sh-icon",6),T(),E(27,"div",8,1),k(29,Ls,3,3),k(30,Bs,2,1,"p",9),Bt(31,$s,4,8,"li",10,Lt),T()()}if(d&2){me(p.placeholderTemplate());let v=p.optionTemplate();S(),me(p.freeTextOptionTemplate());let D=p.selectedOptionTemplate(),L=p.inlineTemplate();S();let ee=me(p.selectedOptions()),q=p.inputState();S(),me(D||v||L),S(),me(v||L),S();let P=me(!p.asText()&&p.selectMultiple());S();let Q=me(p.isOpen()&&p.hasSearch()&&(P||p.inputValue().length>-1));S(),jt("isOpen",p.isOpen),ge("disableOpenByClick",!0)("options",$t(24,ss)),S(2),G("stretch",p.stretch())("small",p.small())("readonly",p.readonly()||p.disabled()),S(4),G("show-search-text",Q),S(),G("is-selected",q==="selected"),S(),R(p.asFreeText()&&p.inputValue().length>0&&!p.isOpen()?15:ee.length>0?16:Q?-1:17),S(5),R(q==="closed"?20:q==="loading"?21:q==="open-searching"?22:q==="searching"?23:q==="selected"&&p._isClearable()?24:q==="selected"&&!p._isClearable()?25:26),S(9),R(p.asFreeText()?29:-1),S(),R(p.optionTitle()&&p.filteredOptions().length>0?30:-1),S(),Ht(p.filteredOptions())}},dependencies:[Ai,pn,fi,Ye,ur,yr,hr,gr],encapsulation:2,changeDetection:0});let i=g;return i})();function Dr(i){let e=A(Y),t=A(Te),n=O(!1),o=typeof MutationObserver<"u"&&new MutationObserver(s=>{s.forEach(c=>{c.type==="attributes"&&c.attributeName==="class"&&n.set(e.nativeElement.classList.contains(i))})});return bi(e.nativeElement,()=>{o&&o.observe(e.nativeElement,{attributes:!0}),n.set(e.nativeElement.classList.contains(i))}),t.onDestroy(()=>{o&&o.disconnect()}),n}var Ia=(()=>{var e,t,n,o,s,ct;let _=class _{constructor(){w(this,s);w(this,e);w(this,t);w(this,n);w(this,o);x(this,e,A(je)),x(this,t,A(Y)),this.openWidth=280,this.openWidthTreshold=this.openWidth*.5,this.disableDrag=V(!1),this.isOpen=ne(!1),this.isOverlay=Dr("overlay"),x(this,n,f(this,t).nativeElement.parentElement),x(this,o,f(this,n).getBoundingClientRect&&f(this,n).getBoundingClientRect()),this.dragImageElement=fe.required("dragImageElement"),this.dragIsEnding=O(!1),this.dragIsOnScreen=O(!0),this.isDragging=O(!1),this.dragPositionX=O(0),this.dragActualPositionX=F(()=>{let r=this.dragPositionX(),l=280,u=100,h=.008,g=l/2,C=g-u/2,a=g+u/2;if(r>a){let d=r-a,v=(l-a)*(1-Math.exp(-h*d));return a+v}else if(r<C){let d=C-r,v=C*(1-Math.exp(-h*d));return C-v}return r}),this.draggingStyle=F(()=>!this.isOverlay()||this.disableDrag()?null:this.isDragging()?`translateX(${this.dragActualPositionX()}px)`:this.isOpen()?`translateX(${this.openWidth}px)`:"translateX(0px)"),this.draggingEffect=J(()=>{this.disableDrag()||(this.isDragging()?f(this,e).body.classList.add("dragging"):f(this,e).body.classList.remove("dragging"))})}drop(r){r.stopPropagation(),M(this,s,ct).call(this,r.clientX-f(this,o).left)}dragEnd(r){r.clientX-f(this,o).left<0&&M(this,s,ct).call(this,0),r.clientX-f(this,o).left>this.openWidthTreshold&&M(this,s,ct).call(this,this.openWidthTreshold)}dragEnter(){this.dragIsOnScreen.set(!0)}dragLeave(){this.dragIsOnScreen.set(!1)}dragStart(r){r.stopPropagation(),x(this,o,f(this,n).getBoundingClientRect()),this.isDragging.set(!0)}drag(r){r.stopPropagation(),this.isDragging()&&(r.clientX!==0||r.clientY!==0)&&this.dragPositionX.set(r.clientX-f(this,o).left)}touchStart(r){r.stopPropagation(),this.isDragging.set(!0),x(this,o,f(this,n).getBoundingClientRect()),this.dragPositionX.set(0)}touchMove(r){r.stopPropagation(),this.isDragging()&&this.dragPositionX.set(r.touches[0].clientX-f(this,o).left)}touchEnd(r){r.stopPropagation(),M(this,s,ct).call(this,r.changedTouches[0].clientX-f(this,o).left)}touchCancel(r){r.stopPropagation(),this.isDragging.set(!1)}};e=new WeakMap,t=new WeakMap,n=new WeakMap,o=new WeakMap,s=new WeakSet,ct=function(r){this.isDragging.set(!1),r>=this.openWidthTreshold?this.isOpen.set(!0):this.isOpen.set(!1)},_.\u0275fac=function(l){return new(l||_)},_.\u0275cmp=B({type:_,selectors:[["sh-sidenav"]],viewQuery:function(l,u){l&1&&pe(u.dragImageElement,Ws,5),l&2&&De()},hostVars:6,hostBindings:function(l,u){l&2&&G("open",u.isOpen())("closed",!u.isOpen())("is-dragging",u.isDragging())},inputs:{disableDrag:[1,"disableDrag"],isOpen:[1,"isOpen"]},outputs:{isOpen:"isOpenChange"},ngContentSelectors:qs,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(l,u){l&1&&(W(Gs),k(0,Ys,2,0,"div",1),k(1,Xs,1,0,"div",2),U(2,"div",3),b(3),z(),U(4,"div",4),k(5,Qs,1,0,"div",5),U(6,"div",6),b(7,1),z(),U(8,"main"),b(9,2),z()()),l&2&&(R(u.isOverlay()&&!u.disableDrag()?0:-1),S(),R(u.isOverlay()&&u.isDragging()?1:-1),S(3),se("transform",!u.disableDrag()&&u.draggingStyle()),S(),R(u.isOverlay()&&!u.disableDrag()?5:-1))},encapsulation:2,changeDetection:0});let i=_;return i})();var Pa=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-stepper"]],ngContentSelectors:ce,decls:1,vars:0,template:function(o,s){o&1&&(W(),b(0))},encapsulation:2,changeDetection:0});let i=e;return i})();var Fa=(()=>{var e;let t=class t{constructor(){w(this,e);x(this,e,A(br)),this.shSort=V(),this.sortAsc=F(()=>{let o=f(this,e).sortByColumn(),s=this.shSort();return!o||!s?!1:o===s}),this.sortDesc=F(()=>{let o=f(this,e).sortByColumn(),s=this.shSort();return!o||!s?!1:o===`-${s}`})}toggleSort(){let o=this.shSort();o&&f(this,e).toggleSort(o)}};e=new WeakMap,t.\u0275fac=function(s){return new(s||t)},t.\u0275dir=X({type:t,selectors:[["","shSort",""]],hostAttrs:[1,"sortable"],hostVars:4,hostBindings:function(s,c){s&1&&$("mousedown",function(){return c.toggleSort()}),s&2&&G("sort-asc",c.sortAsc())("sort-desc",c.sortDesc())},inputs:{shSort:[1,"shSort"]}});let i=t;return i})();var qe=1.5,br=(()=>{var e,t,n,o,s,Nt;let _=class _{constructor(){w(this,s);w(this,e);w(this,t);w(this,n);w(this,o);x(this,e,A(Y)),x(this,t,A(It,{optional:!0})),this.loading=V(!1),this.data=V([]),this.dataChange=xe(),this.sortByColumn=ne(null),this.currentClass=At(),this.thead=fe("thead"),this.tbody=fe("tbody"),this.columns=Cn(this.thead,["tr:first-child th"]),this.stickyHeaderHeight=F(()=>{let r=this.currentClass();return this.thead()?.nativeElement?.clientHeight??0}),this.bodyEffect=J(()=>{let r=this.tbody()?.nativeElement,l=this.thead()?.nativeElement;if(!r||!l)return;let u=this.stickyHeaderHeight();queueMicrotask(()=>{let h=l.querySelectorAll("tr.sticky").length>0,g=r.querySelectorAll("tr.sticky");if(g.length>0&&h)for(let a=0;a<g.length;a++)g[a].style.top=`${u}px`})}),this.class=O(f(this,t)?.tableType??"default"),this.resizing=O(!1),this.sizeTrigger=O(!0),x(this,n,null),x(this,o,O(!1)),this.scrollXState=O(-1),this.scrollYState=O(-1),this.canScrollX=O(!1),this.canScrollY=O(!1),this.columnSizes=F(()=>{this.sizeTrigger();let r=this.columns.signal();return r.reduce((l,u,h)=>{let g=u,C=g.getAttribute("size"),a=h===r.length-1;return C?`${l} ${C}`:g.classList.contains("sticky")||g.classList.contains("sticky-end")?`${l} min-content`:a?`${l} 1fr`:`${l} 1fr`},"")}),this.e=J(()=>{let r=this.sortByColumn();if(r===null)return f(this,o).call(this)||(x(this,n,this.data()),f(this,o).set(!0)),this.dataChange.emit(structuredClone(f(this,n)));let l=r.startsWith("-")?r.slice(1):r,u=r.startsWith("-"),h=this.data().sort((g,C)=>{let a=g[l],d=C[l],p=0;return typeof a=="number"&&typeof d=="number"&&(p=a-d),a instanceof Date&&d instanceof Date&&(p=a.getTime()-d.getTime()),typeof a=="string"&&typeof d=="string"&&(p=a.localeCompare(d,void 0,{sensitivity:"base"})),u?-p:p});this.dataChange.emit(h)})}updateColumnSizes(){this.sizeTrigger.set(!this.sizeTrigger())}onScroll(){M(this,s,Nt).call(this)}onResize(r){M(this,s,Nt).call(this)}ngAfterViewInit(){queueMicrotask(()=>M(this,s,Nt).call(this))}toggleSort(r){let l=this.sortByColumn(),u=l===r?`-${r}`:l===`-${r}`?null:r;this.sortByColumn.set(u)}};e=new WeakMap,t=new WeakMap,n=new WeakMap,o=new WeakMap,s=new WeakSet,Nt=function(){let r=f(this,e).nativeElement,l=-1,u=-1,h=r.scrollWidth>r.clientWidth+qe;if(h){let C=r.scrollLeft<=qe;r.scrollWidth-(r.scrollLeft+r.clientWidth)<qe?l=1:C||(l=0)}this.scrollXState.set(l),this.canScrollX.set(h);let g=r.scrollHeight>r.clientHeight+qe;if(g){let C=r.scrollTop<=qe;r.scrollHeight-(r.scrollTop+r.clientHeight)<qe?u=1:C||(u=0)}this.scrollYState.set(u),this.canScrollY.set(g)},_.\u0275fac=function(l){return new(l||_)},_.\u0275cmp=B({type:_,selectors:[["sh-table"]],viewQuery:function(l,u){l&1&&(pe(u.thead,Zs,5),pe(u.tbody,Ks,5)),l&2&&De(2)},hostVars:18,hostBindings:function(l,u){l&1&&$("scroll",function(){return u.onScroll()})("resize",function(g){return u.onResize(g)},Mi),l&2&&(ve(u.class()),se("grid-template-columns",u.columnSizes()),G("resizing",u.resizing())("can-scroll-x",u.canScrollX())("can-scroll-y",u.canScrollY())("scrolled-x",u.scrollXState()>=0)("scrolled-x-end",u.scrollXState()===1)("scrolled-y",u.scrollYState()>=0)("scrolled-y-end",u.scrollYState()===1))},inputs:{loading:[1,"loading"],data:[1,"data"],sortByColumn:[1,"sortByColumn"]},outputs:{dataChange:"dataChange",sortByColumn:"sortByColumnChange"},ngContentSelectors:er,decls:9,vars:2,consts:[["thead",""],["tbody",""],[1,"indeterminate","primary"],[1,"no-rows"]],template:function(l,u){l&1&&(W(Js),k(0,tr,1,0,"sh-progress-bar",2),E(1,"thead",null,0),b(3),b(4,1),T(),E(5,"tbody",null,1),b(7,2),T(),k(8,ir,2,0,"div",3)),l&2&&(R(u.loading()?0:-1),S(8),R(u.loading()?-1:8))},dependencies:[Cr],encapsulation:2,changeDetection:0});let i=_;return i})(),ka=(()=>{let e=class e{constructor(){this.id="--"+Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,12)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-tabs"]],hostVars:2,hostBindings:function(o,s){o&2&&se("--tabs-id",s.id)},ngContentSelectors:ce,decls:1,vars:0,template:function(o,s){o&1&&(W(),b(0))},encapsulation:2,changeDetection:0});let i=e;return i})(),Ra=(()=>{let e=class e{constructor(){this.isActive=ne(!1),this.disallowToggle=V(!1)}ngOnInit(){this.disallowToggle()&&this.isActive.set(!0)}toggle(){this.isActive.set(!this.isActive())}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-toggle-card"]],hostVars:2,hostBindings:function(o,s){o&2&&G("active",s.isActive())},inputs:{isActive:[1,"isActive"],disallowToggle:[1,"disallowToggle"]},outputs:{isActive:"isActiveChange"},ngContentSelectors:or,decls:7,vars:1,consts:[[3,"click"],[1,"toggle-icon"],[1,"collapsable"],[1,"content"]],template:function(o,s){o&1&&(W(nr),E(0,"h3",0),$("click",function(){return s.disallowToggle()||s.toggle()}),b(1,0,null,sr,1,0),k(3,rr,2,0,"sh-icon",1),T(),E(4,"div",2)(5,"div",3),b(6,1),T()()),o&2&&(S(3),R(s.disallowToggle()?-1:3))},dependencies:[Ye],encapsulation:2,changeDetection:0});let i=e;return i})(),La=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=B({type:e,selectors:[["sh-toggle"]],ngContentSelectors:ce,decls:3,vars:0,consts:[[1,"box"],[1,"knob"]],template:function(o,s){o&1&&(W(),U(0,"div",0),Ie(1,"div",1),z(),b(2))},encapsulation:2,changeDetection:0});let i=e;return i})();var Ba=(()=>{let e=class e{constructor(){this.filesOver=O(!1),this.filesDropped=xe()}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 o=n.dataTransfer?.files;o&&o.length>0&&this.filesDropped.emit(o)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=X({type:e,selectors:[["","shDragDrop",""]],hostVars:2,hostBindings:function(o,s){o&1&&$("dragover",function(_){return s.onDragOver(_)})("dragleave",function(_){return s.onDragLeave(_)})("drop",function(_){return s.ondrop(_)}),o&2&&G("filesover",s.filesOver())},outputs:{filesDropped:"filesDropped"}});let i=e;return i})();var Sr=(()=>{var e,t,n;let o=class o{constructor(){w(this,e);w(this,t);w(this,n);this.positionAnchorName=V.required(),this.anchorEl=V.required(),this.isOpen=V(!1),x(this,e,A(Y)),x(this,t,A(ye)),x(this,n,null),this.SUPPORTS_ANCHOR=typeof CSS<"u"&&CSS.supports("position-anchor","--abc"),this.isBelow=O(!1),this.openEffect=J(()=>{this.isOpen()?setTimeout(()=>{f(this,e).nativeElement.showPopover(),this.calculateTooltipPosition()}):f(this,e).nativeElement.hidePopover()}),this.calculateTooltipPosition=()=>{if(!this.anchorEl())return;let c=this.anchorEl().nativeElement.getBoundingClientRect(),_=f(this,e).nativeElement,m=_.getBoundingClientRect();if(m.width===0&&m.height===0)return;let r=c.top-m.height<0;if(this.isBelow.set(r),!this.SUPPORTS_ANCHOR){let l=_.getBoundingClientRect(),u=c.top-l.height,h=c.left+c.width/2-l.width/2;r&&(u=c.top+c.height),h+l.width>window?.innerWidth&&(h=c.right-l.width/2),h<0&&(h=-(l.width/2)),f(this,t).setStyle(_,"left",`${h}px`),f(this,t).setStyle(_,"top",`${u}px`),f(this,t).setStyle(_,"position","fixed")}}}ngAfterViewInit(){x(this,n,new AbortController);let c={signal:f(this,n).signal,capture:!0};window?.addEventListener("scroll",this.calculateTooltipPosition,c),window?.addEventListener("resize",this.calculateTooltipPosition,{signal:f(this,n).signal}),setTimeout(()=>this.calculateTooltipPosition())}ngOnDestroy(){f(this,n)?.abort()}};e=new WeakMap,t=new WeakMap,n=new WeakMap,o.\u0275fac=function(_){return new(_||o)},o.\u0275cmp=B({type:o,selectors:[["ship-tooltip-wrapper"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(_,m){_&2&&(Ee("popover","manual"),se("position-anchor",m.positionAnchorName()),G("below",m.isBelow()))},inputs:{positionAnchorName:[1,"positionAnchorName"],anchorEl:[1,"anchorEl"],isOpen:[1,"isOpen"]},ngContentSelectors:ce,decls:2,vars:0,consts:[[1,"tooltip-content"]],template:function(_,m){_&1&&(W(),U(0,"div",0),b(1),z())},encapsulation:2});let i=o;return i})(),ae=null,Ha=(()=>{var e,t,n,o,s;let c=class c{constructor(){w(this,e);w(this,t);w(this,n);w(this,o);w(this,s);this.shTooltip=V.required(),x(this,e,A(Y)),x(this,t,A(Ei)),x(this,n,A(Di)),x(this,o,A(ye)),x(this,s,null),this.DEBOUNCE_DELAY=500,this.anchorName=`--${Pt()}`,this.isOpen=O(!1)}onMouseEnter(){ae?.component.anchorName!==this.anchorName&&this.cleanupTooltip(),this.cancelCleanupTimer(),queueMicrotask(()=>this.showTooltip())}onMouseLeave(){this.startCleanupTimer()}ngOnDestroy(){this.cancelCleanupTimer(),this.cleanupTooltip()}startCleanupTimer(){this.cancelCleanupTimer(),this.debounceTimer=setTimeout(()=>{this.cleanupTooltip()},this.DEBOUNCE_DELAY)}cancelCleanupTimer(){this.debounceTimer&&(clearTimeout(this.debounceTimer),this.debounceTimer=null)}showTooltip(){if(ae?.wrapperComponentRef||!this.shTooltip())return;let m,r=this.shTooltip();if(typeof r=="string")m=[[f(this,o).createText(r)]];else if(r instanceof pt)x(this,s,r.createEmbeddedView({})),f(this,s).detectChanges(),m=[f(this,s).rootNodes];else return;ae={wrapperComponentRef:f(this,t).createComponent(Sr,{environmentInjector:f(this,n),projectableNodes:m}),component:this},ae.wrapperComponentRef.setInput("positionAnchorName",this.anchorName),ae.wrapperComponentRef.setInput("anchorEl",f(this,e)),ae.wrapperComponentRef?.setInput("isOpen",this.isOpen),ae.wrapperComponentRef.changeDetectorRef.detectChanges(),ae.wrapperComponentRef.location.nativeElement.addEventListener("mouseenter",()=>{this.cancelCleanupTimer()}),ae.wrapperComponentRef.location.nativeElement.addEventListener("mouseleave",()=>{this.startCleanupTimer()}),setTimeout(()=>{this.isOpen.set(!0)})}cleanupTooltip(){ae?.wrapperComponentRef&&(ae.component.cancelCleanupTimer(),ae.wrapperComponentRef.destroy(),ae.component.isOpen.set(!1),ae=null),f(this,s)&&(f(this,s).destroy(),x(this,s,null))}};e=new WeakMap,t=new WeakMap,n=new WeakMap,o=new WeakMap,s=new WeakMap,c.\u0275fac=function(r){return new(r||c)},c.\u0275dir=X({type:c,selectors:[["","shTooltip",""]],hostAttrs:[1,"tooltip"],hostVars:4,hostBindings:function(r,l){r&1&&$("mouseenter",function(){return l.onMouseEnter()})("mouseleave",function(){return l.onMouseLeave()}),r&2&&(se("anchor-name",l.anchorName),G("active",l.isOpen()))},inputs:{shTooltip:[1,"shTooltip"]}});let i=c;return i})();export{Ve as a,Tn as b,zi as c,Pi as d,Ur as e,zr as f,to as g,ot as h,so as i,Wr as j,ao as k,uo as l,po as m,go as n,rn as o,an as p,yo as q,Gr as r,qr as s,Yr as t,Ye as u,It as v,Da as w,ba as x,dr as y,Sa as z,Ma as A,Ea as B,wa as C,ur as D,hr as E,gr as F,fi as G,xa as H,Oa as I,Va as J,Cr as K,Ta as L,Na as M,yr as N,Aa as O,Ia as P,Pa as Q,Fa as R,br as S,ka as T,Ra as U,La as V,Ba as W,Ha as X};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as F}from"./chunk-
|
|
1
|
+
import{a as F}from"./chunk-JGXPFEYZ.js";import{a as Z}from"./chunk-QLUEDPL4.js";import{b as Q}from"./chunk-P7OKMMNZ.js";import{B as q,K as Y,w as H,x as K,z as W}from"./chunk-HJSCQF6V.js";import{b as U,d as j}from"./chunk-G4Z3JAJB.js";import{Ab as k,Bb as O,Cb as a,Db as l,Eb as m,Ib as y,Jb as D,Lb as f,Oa as M,Qc as P,Ra as r,Sb as G,Tb as V,Ub as _,Wc as S,Yb as u,_ as T,_b as s,bb as E,da as p,ea as I,lc as z,mc as A,nc as x,oa as v,oc as J,uc as X,vc as B,wb as d,wc as g,xb as N,zb as b}from"./chunk-Y7PHGRGB.js";function ne(n,t){if(n&1&&(a(0,"div",11),A(1),l()),n&2){s();let e=g(0);r(),J(" ",e.Message," ")}}function oe(n,t){if(n&1&&(a(0,"div"),G(1,1),m(2,"a",15),V(),l()),n&2){let e=s();r(2),O("href",e.downloadLink(),M)}}function ae(n,t){if(n&1){let e=f();a(0,"button",14),u("click",function(){p(e);let i=s(),c=g(0);return I(i.doRepair(c.BackupID))}),_(1,2),l()}}function re(n,t){if(n&1){let e=f();a(0,"button",14),u("click",function(){p(e);let i=s(),c=g(0);return I(i.doDownloadBugreport(c))}),_(1,3),l()}}function le(n,t){if(n&1&&m(0,"sh-progress-bar",17),n&2){let e,o=s(2);O("value",(e=o.serverState())==null?null:e.UpdateDownloadProgress)}}function ce(n,t){if(n&1){let e=f();a(0,"div",11),y(1),_(2,4),D(),a(3,"a",16),A(4),l(),d(5,le,1,1,"sh-progress-bar",17),a(6,"button",14),u("click",function(){p(e);let i=s();return I(i.doShowUpdate())}),_(7,5),l()()}if(n&2){let e,o,i=s(),c=g(0);r(3),O("href",(e=i.serverState())==null?null:e.UpdateDownloadLink,M),r(),x(c.Message),r(),N(((o=i.serverState())==null?null:o.UpdaterState)==="Downloading"?5:-1)}}function _e(n,t){if(n&1){let e=f();a(0,"button",14),u("click",function(){p(e);let i=s(),c=g(0);return I(i.doShowLog(c.BackupID))}),_(1,6),l()}}function se(n,t){if(n&1){let e=f();a(0,"button",14),u("click",function(){p(e);let i=s();return I(i.doShowLink("https://docs.duplicati.com/detailed-descriptions/the-server-database"))}),_(1,7),l()}}function de(n,t){if(n&1){let e=f();a(0,"button",14),u("click",function(){p(e);let i=s();return I(i.doShowLink("https://docs.duplicati.com/detailed-descriptions/the-server-database"))}),_(1,8),l()}}var Ne={Error:"error",Warning:"warn",Information:"primary"},h=class n{#e=T(j);#a=T(U);#r=T(W);#t=T(K);#i=T(F);#n=T(Q);#o=v(null);serverState=this.#i.serverState;index=S.required();notification=S.required();downloadLink=P(()=>this.#o()||this.notification().DownloadLink||"");deleteNotificationByIndex(){this.#i.deleteNotification(this.index())}deleteAllNotifications(){this.#i.deleteAllNotifications()}getAlertType(t){return t&&Ne[t]||"primary"}doShowLog(t){this.#n.getApiV1BackupByIdIsactive({id:t}).subscribe({next:e=>{this.#e.navigate(["/backup/"+t+"/log"])},error:e=>{if(e.status===404){let o={title:$localize`Error`,message:$localize`The backup is missing, has it been deleted?`,confirmText:$localize`OK`,cancelText:null};parseInt(t)+""!=t&&(o={title:$localize`Error`,message:$localize`The backup was temporary and does not exist anymore, so the log data is lost`,confirmText:$localize`OK`,cancelText:null}),this.#r.open(Z,{maxWidth:"550px",width:"100%",data:o})}else this.#t.error($localize`Failed to find backup: `+e.message)}})}doRepair(t){this.#n.postApiV1BackupByIdRepair({id:t}).subscribe({next:()=>{this.#t.success($localize`Backup repaired`),this.#e.navigate(["./"],{onSameUrlNavigation:"reload",relativeTo:this.#a})},error:e=>{this.#t.error($localize`Failed to repair backup: `+e.message)}})}doShowUpdate(){this.#e.navigate(["/about/changelog"])}doShowLink(t){window.open(t,"_blank")}doDownloadBugreport(t){let e=t.Action.slice(19);this.#n.postApiV1AuthIssuetokenByOperation({operation:"bugreport"}).subscribe({next:o=>{if(!o.Token){this.#t.error("Failed to get bug report URL: No token generated");return}let i=`${location.origin}/api/v1/bugreport/${e}?token=${o.Token}`;t.DownloadLink=i,this.#o.set(i),this.triggerDownload(i)},error:o=>{this.#t.error(`Failed to get bug report URL: ${o.message}`)}})}triggerDownload(t){let e=document.createElement("a");e.href=t,e.download="",e.style.display="none",document.body.appendChild(e);try{e.click()}catch{}document.body.removeChild(e)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=E({type:n,selectors:[["app-notification"]],inputs:{index:[1,"index"],notification:[1,"notification"]},decls:16,vars:12,consts:()=>{let t;t=$localize`Dismiss`;let e;e=$localize` If the backup file was not downloaded automatically, ${"\uFFFD#2\uFFFD"}:START_LINK:right click and choose "Save as …"${"\uFFFD/#2\uFFFD"}:CLOSE_LINK:`;let o;o=$localize`Repair`;let i;i=$localize`Download`;let c;c=$localize`New update found:`;let L;L=$localize`Show Update`;let w;w=$localize`Show Log`;let R;R=$localize` Show Help `;let $;return $=$localize` Show Help `,[t,e,o,i,c,L,w,R,$,["ship-alert-title",""],["ship-alert-content","",1,"content"],[1,"message"],[1,"actions"],["shButton","",1,"small","outlined"],["shButton","",1,"small","outlined",3,"click"],["target","_blank",3,"href"],[3,"href"],[3,"value"]]},template:function(e,o){if(e&1){let i=f();X(0),a(1,"sh-alert")(2,"div",9),A(3),l(),a(4,"div",10),d(5,ne,2,1,"div",11),d(6,oe,3,1,"div"),a(7,"div",12),d(8,ae,2,0,"button",13),d(9,re,2,0,"button",13),d(10,ce,8,3,"div",11),d(11,_e,2,0,"button",13),d(12,se,2,0,"button",13),d(13,de,2,0,"button",13),a(14,"button",14),u("click",function(){return p(i),I(o.deleteNotificationByIndex())}),_(15,0),l()()()()}if(e&2){let i=B(o.notification());r(),z(o.getAlertType(i.Type)),r(2),x(i.Title),r(2),N(i.Action!=="update:new"&&i.Action!=="update:manual"?5:-1),r(),N(o.downloadLink()?6:-1),r(2),N(i.Message!=null&&i.Message.includes("please run repair")?8:-1),r(),N(i.Action!=null&&i.Action.startsWith("bug-report:created:")&&!o.downloadLink()?9:-1),r(),N(i.Action==="update:new"?10:-1),r(),N(i.Action==="backup:show-log"?11:-1),r(),N(i.Action==="config:issue:unencrypted-database"?12:-1),r(),N(i.Action==="config:issue:windows-folder-used"?13:-1)}},dependencies:[Y,q,H],styles:["[_nghost-%COMP%]{display:block}.content[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;flex-direction:column;gap:.5rem}.message[_ngcontent-%COMP%]{max-height:12.5rem;overflow:auto}"],changeDetection:0})};var Te=(n,t)=>t.ID;function Ce(n,t){if(n&1&&m(0,"app-notification",1),n&2){let e=t.$implicit,o=t.$index;O("index",o)("notification",e)}}function pe(n,t){n&1&&(a(0,"div",2)(1,"p"),_(2,0),l()())}var ee=class n{#e=T(F);notificationFilterPredicate=S();notifications=P(()=>{let t=this.notificationFilterPredicate()?.predicate,e=this.#e.notifications();return typeof t!="function"?e:e.filter(t)});static \u0275fac=function(e){return new(e||n)};static \u0275cmp=E({type:n,selectors:[["app-notifications"]],inputs:{notificationFilterPredicate:[1,"notificationFilterPredicate"]},decls:3,vars:1,consts:()=>{let t;return t=$localize`No more notifications`,[t,[3,"index","notification"],[1,"notification-list"]]},template:function(e,o){e&1&&b(0,Ce,1,2,"app-notification",1,Te,!1,pe,3,0,"div",2),e&2&&k(o.notifications())},dependencies:[h],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.actions[_ngcontent-%COMP%]{display:flex;gap:.25rem;justify-content:flex-end}.notification-list[_ngcontent-%COMP%]{padding:1rem;display:flex;flex-direction:column;gap:1rem;text-align:center}"],changeDetection:0})};export{h as a,ee as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Y as pe}from"./chunk-ZBK64QS2.js";var ve=60,ye=ve*60,Le=ye*24,St=Le*7,g=1e3,I=ve*g,x=ye*g,F=Le*g,ee=St*g,B="millisecond",j="second",O="minute",b="hour",S="day",W="week",v="month",te="quarter",D="year",z="date",Se="YYYY-MM-DDTHH:mm:ssZ",ue="Invalid Date",De=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,re=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;var ae={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var le=function(e,t,r){var a=String(e);return!a||a.length>=t?e:""+Array(t+1-a.length).join(r)+e},Dt=function(e){var t=-e.utcOffset(),r=Math.abs(t),a=Math.floor(r/60),s=r%60;return(t<=0?"+":"-")+le(a,2,"0")+":"+le(s,2,"0")},kt=function n(e,t){if(e.date()<t.date())return-n(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),a=e.clone().add(r,v),s=t-a<0,i=e.clone().add(r+(s?-1:1),v);return+(-(r+(t-a)/(s?a-i:i-a))||0)},gt=function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},Ht=function(e){var t={M:v,y:D,w:W,d:S,D:z,h:b,m:O,s:j,ms:B,Q:te};return t[e]||String(e||"").toLowerCase().replace(/s$/,"")},$t=function(e){return e===void 0},ke={s:le,z:Dt,m:kt,a:gt,p:Ht,u:$t};var V="en",J={};J[V]=ae;var ge="$isDayjsObject",Me=function(e){return e instanceof se||!!(e&&e[ge])},ne=function n(e,t,r){var a;if(!e)return V;if(typeof e=="string"){var s=e.toLowerCase();J[s]&&(a=s),t&&(J[s]=t,a=s);var i=e.split("-");if(!a&&i.length>1)return n(i[0])}else{var o=e.name;J[o]=e,a=o}return!r&&a&&(V=a),a||!r&&V},h=function(e,t){if(Me(e))return e.clone();var r=typeof t=="object"?t:{};return r.date=e,r.args=arguments,new se(r)},Tt=function(e,t){return h(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})},l=ke;l.l=ne;l.i=Me;l.w=Tt;var Ct=function(e){var t=e.date,r=e.utc;if(t===null)return new Date(NaN);if(l.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var a=t.match(De);if(a){var s=a[2]-1||0,i=(a[7]||"0").substring(0,3);return r?new Date(Date.UTC(a[1],s,a[3]||1,a[4]||0,a[5]||0,a[6]||0,i)):new Date(a[1],s,a[3]||1,a[4]||0,a[5]||0,a[6]||0,i)}}return new Date(t)},se=(function(){function n(t){this.$L=ne(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[ge]=!0}var e=n.prototype;return e.parse=function(r){this.$d=Ct(r),this.init()},e.init=function(){var r=this.$d;this.$y=r.getFullYear(),this.$M=r.getMonth(),this.$D=r.getDate(),this.$W=r.getDay(),this.$H=r.getHours(),this.$m=r.getMinutes(),this.$s=r.getSeconds(),this.$ms=r.getMilliseconds()},e.$utils=function(){return l},e.isValid=function(){return this.$d.toString()!==ue},e.isSame=function(r,a){var s=h(r);return this.startOf(a)<=s&&s<=this.endOf(a)},e.isAfter=function(r,a){return h(r)<this.startOf(a)},e.isBefore=function(r,a){return this.endOf(a)<h(r)},e.$g=function(r,a,s){return l.u(r)?this[a]:this.set(s,r)},e.unix=function(){return Math.floor(this.valueOf()/1e3)},e.valueOf=function(){return this.$d.getTime()},e.startOf=function(r,a){var s=this,i=l.u(a)?!0:a,o=l.p(r),_=function(w,Y){var c=l.w(s.$u?Date.UTC(s.$y,Y,w):new Date(s.$y,Y,w),s);return i?c:c.endOf(S)},u=function(w,Y){var c=[0,0,0,0],L=[23,59,59,999];return l.w(s.toDate()[w].apply(s.toDate("s"),(i?c:L).slice(Y)),s)},m=this.$W,f=this.$M,M=this.$D,p="set"+(this.$u?"UTC":"");switch(o){case D:return i?_(1,0):_(31,11);case v:return i?_(1,f):_(0,f+1);case W:{var y=this.$locale().weekStart||0,N=(m<y?m+7:m)-y;return _(i?M-N:M+(6-N),f)}case S:case z:return u(p+"Hours",0);case b:return u(p+"Minutes",1);case O:return u(p+"Seconds",2);case j:return u(p+"Milliseconds",3);default:return this.clone()}},e.endOf=function(r){return this.startOf(r,!1)},e.$set=function(r,a){var s,i=l.p(r),o="set"+(this.$u?"UTC":""),_=(s={},s[S]=o+"Date",s[z]=o+"Date",s[v]=o+"Month",s[D]=o+"FullYear",s[b]=o+"Hours",s[O]=o+"Minutes",s[j]=o+"Seconds",s[B]=o+"Milliseconds",s)[i],u=i===S?this.$D+(a-this.$W):a;if(i===v||i===D){var m=this.clone().set(z,1);m.$d[_](u),m.init(),this.$d=m.set(z,Math.min(this.$D,m.daysInMonth())).$d}else _&&this.$d[_](u);return this.init(),this},e.set=function(r,a){return this.clone().$set(r,a)},e.get=function(r){return this[l.p(r)]()},e.add=function(r,a){var s=this,i;r=Number(r);var o=l.p(a),_=function(M){var p=h(s);return l.w(p.date(p.date()+Math.round(M*r)),s)};if(o===v)return this.set(v,this.$M+r);if(o===D)return this.set(D,this.$y+r);if(o===S)return _(1);if(o===W)return _(7);var u=(i={},i[O]=I,i[b]=x,i[j]=g,i)[o]||1,m=this.$d.getTime()+r*u;return l.w(m,this)},e.subtract=function(r,a){return this.add(r*-1,a)},e.format=function(r){var a=this,s=this.$locale();if(!this.isValid())return s.invalidDate||ue;var i=r||Se,o=l.z(this),_=this.$H,u=this.$m,m=this.$M,f=s.weekdays,M=s.months,p=s.meridiem,y=function(c,L,E,q){return c&&(c[L]||c(a,i))||E[L].slice(0,q)},N=function(c){return l.s(_%12||12,c,"0")},C=p||function(Y,c,L){var E=Y<12?"AM":"PM";return L?E.toLowerCase():E},w=function(c){switch(c){case"YY":return String(a.$y).slice(-2);case"YYYY":return l.s(a.$y,4,"0");case"M":return m+1;case"MM":return l.s(m+1,2,"0");case"MMM":return y(s.monthsShort,m,M,3);case"MMMM":return y(M,m);case"D":return a.$D;case"DD":return l.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return y(s.weekdaysMin,a.$W,f,2);case"ddd":return y(s.weekdaysShort,a.$W,f,3);case"dddd":return f[a.$W];case"H":return String(_);case"HH":return l.s(_,2,"0");case"h":return N(1);case"hh":return N(2);case"a":return C(_,u,!0);case"A":return C(_,u,!1);case"m":return String(u);case"mm":return l.s(u,2,"0");case"s":return String(a.$s);case"ss":return l.s(a.$s,2,"0");case"SSS":return l.s(a.$ms,3,"0");case"Z":return o;default:break}return null};return i.replace(re,function(Y,c){return c||w(Y)||o.replace(":","")})},e.utcOffset=function(){return-Math.round(this.$d.getTimezoneOffset()/15)*15},e.diff=function(r,a,s){var i=this,o=l.p(a),_=h(r),u=(_.utcOffset()-this.utcOffset())*I,m=this-_,f=function(){return l.m(i,_)},M;switch(o){case D:M=f()/12;break;case v:M=f();break;case te:M=f()/3;break;case W:M=(m-u)/ee;break;case S:M=(m-u)/F;break;case b:M=m/x;break;case O:M=m/I;break;case j:M=m/g;break;default:M=m;break}return s?M:l.a(M)},e.daysInMonth=function(){return this.endOf(v).$D},e.$locale=function(){return J[this.$L]},e.locale=function(r,a){if(!r)return this.$L;var s=this.clone(),i=ne(r,a,!0);return i&&(s.$L=i),s},e.clone=function(){return l.w(this.$d,this)},e.toDate=function(){return new Date(this.valueOf())},e.toJSON=function(){return this.isValid()?this.toISOString():null},e.toISOString=function(){return this.$d.toISOString()},e.toString=function(){return this.$d.toUTCString()},n})(),He=se.prototype;h.prototype=He;[["$ms",B],["$s",j],["$m",O],["$H",b],["$W",S],["$M",v],["$y",D],["$D",z]].forEach(function(n){He[n[1]]=function(e){return this.$g(e,n[0],n[1])}});h.extend=function(n,e){return n.$i||(n(e,se,h),n.$i=!0),h};h.locale=ne;h.isDayjs=Me;h.unix=function(n){return h(n*1e3)};h.en=J[V];h.Ls=J;h.p={};var d=h;var oe=F*365,ce=oe/12,wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,Z={years:oe,months:ce,days:F,hours:x,minutes:I,seconds:g,milliseconds:1,weeks:ee},ie=function(e){return e instanceof we},Te,A,Q=function(e,t,r){return new we(e,r,t.$l)},X=function(e){return A.p(e)+"s"},Ce=function(e){return e<0},U=function(e){return Ce(e)?Math.ceil(e):Math.floor(e)},jt=function(e){return Math.abs(e)},R=function(e,t){return e?Ce(e)?{negative:!0,format:""+jt(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},we=(function(){function n(t,r,a){var s=this;if(this.$d={},this.$l=a,t===void 0&&(this.$ms=0,this.parseFromMilliseconds()),r)return Q(t*Z[X(r)],this);if(typeof t=="number")return this.$ms=t,this.parseFromMilliseconds(),this;if(typeof t=="object")return Object.keys(t).forEach(function(u){s.$d[X(u)]=t[u]}),this.calMilliseconds(),this;if(typeof t=="string"){var i=t.match(wt);if(i){var o=i.slice(2),_=o.map(function(u){return u!=null?Number(u):0});return this.$d.years=_[0],this.$d.months=_[1],this.$d.weeks=_[2],this.$d.days=_[3],this.$d.hours=_[4],this.$d.minutes=_[5],this.$d.seconds=_[6],this.calMilliseconds(),this}}return this}var e=n.prototype;return e.calMilliseconds=function(){var r=this;this.$ms=Object.keys(this.$d).reduce(function(a,s){return a+(r.$d[s]||0)*Z[s]},0)},e.parseFromMilliseconds=function(){var r=this.$ms;this.$d.years=U(r/oe),r%=oe,this.$d.months=U(r/ce),r%=ce,this.$d.days=U(r/F),r%=F,this.$d.hours=U(r/x),r%=x,this.$d.minutes=U(r/I),r%=I,this.$d.seconds=U(r/g),r%=g,this.$d.milliseconds=r},e.toISOString=function(){var r=R(this.$d.years,"Y"),a=R(this.$d.months,"M"),s=+this.$d.days||0;this.$d.weeks&&(s+=this.$d.weeks*7);var i=R(s,"D"),o=R(this.$d.hours,"H"),_=R(this.$d.minutes,"M"),u=this.$d.seconds||0;this.$d.milliseconds&&(u+=this.$d.milliseconds/1e3,u=Math.round(u*1e3)/1e3);var m=R(u,"S"),f=r.negative||a.negative||i.negative||o.negative||_.negative||m.negative,M=o.format||_.format||m.format?"T":"",p=f?"-":"",y=p+"P"+r.format+a.format+i.format+M+o.format+_.format+m.format;return y==="P"||y==="-P"?"P0D":y},e.toJSON=function(){return this.toISOString()},e.format=function(r){var a=r||"YYYY-MM-DDTHH:mm:ss",s={Y:this.$d.years,YY:A.s(this.$d.years,2,"0"),YYYY:A.s(this.$d.years,4,"0"),M:this.$d.months,MM:A.s(this.$d.months,2,"0"),D:this.$d.days,DD:A.s(this.$d.days,2,"0"),H:this.$d.hours,HH:A.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:A.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:A.s(this.$d.seconds,2,"0"),SSS:A.s(this.$d.milliseconds,3,"0")};return a.replace(re,function(i,o){return o||String(s[i])})},e.as=function(r){return this.$ms/Z[X(r)]},e.get=function(r){var a=this.$ms,s=X(r);return s==="milliseconds"?a%=1e3:s==="weeks"?a=U(a/Z[s]):a=this.$d[s],a||0},e.add=function(r,a,s){var i;return a?i=r*Z[X(a)]:ie(r)?i=r.$ms:i=Q(r,this).$ms,Q(this.$ms+i*(s?-1:1),this)},e.subtract=function(r,a){return this.add(r,a,!0)},e.locale=function(r){var a=this.clone();return a.$l=r,a},e.clone=function(){return Q(this.$ms,this)},e.humanize=function(r){return Te().add(this.$ms,"ms").locale(this.$l).fromNow(!r)},e.valueOf=function(){return this.asMilliseconds()},e.milliseconds=function(){return this.get("milliseconds")},e.asMilliseconds=function(){return this.as("milliseconds")},e.seconds=function(){return this.get("seconds")},e.asSeconds=function(){return this.as("seconds")},e.minutes=function(){return this.get("minutes")},e.asMinutes=function(){return this.as("minutes")},e.hours=function(){return this.get("hours")},e.asHours=function(){return this.as("hours")},e.days=function(){return this.get("days")},e.asDays=function(){return this.as("days")},e.weeks=function(){return this.get("weeks")},e.asWeeks=function(){return this.as("weeks")},e.months=function(){return this.get("months")},e.asMonths=function(){return this.as("months")},e.years=function(){return this.get("years")},e.asYears=function(){return this.as("years")},n})(),$e=function(e,t,r){return e.add(t.years()*r,"y").add(t.months()*r,"M").add(t.days()*r,"d").add(t.hours()*r,"h").add(t.minutes()*r,"m").add(t.seconds()*r,"s").add(t.milliseconds()*r,"ms")},je=(function(n,e,t){Te=t,A=t().$utils(),t.duration=function(s,i){var o=t.locale();return Q(s,{$l:o},i)},t.isDuration=ie;var r=e.prototype.add,a=e.prototype.subtract;e.prototype.add=function(s,i){return ie(s)?$e(this,s,1):r.bind(this)(s,i)},e.prototype.subtract=function(s,i){return ie(s)?$e(this,s,-1):a.bind(this)(s,i)}});var Oe=(function(n,e,t){n=n||{};var r=e.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};t.en.relativeTime=a,r.fromToBase=function(o,_,u,m,f){for(var M=u.$locale().relativeTime||a,p=n.thresholds||[{l:"s",r:44,d:j},{l:"m",r:89},{l:"mm",r:44,d:O},{l:"h",r:89},{l:"hh",r:21,d:b},{l:"d",r:35},{l:"dd",r:25,d:S},{l:"M",r:45},{l:"MM",r:10,d:v},{l:"y",r:17},{l:"yy",d:D}],y=p.length,N,C,w,Y=0;Y<y;Y+=1){var c=p[Y];c.d&&(N=m?t(o).diff(u,c.d,!0):u.diff(o,c.d,!0));var L=(n.rounding||Math.round)(Math.abs(N));if(w=N>0,L<=c.r||!c.r){L<=1&&Y>0&&(c=p[Y-1]);var E=M[c.l];f&&(L=f(""+L)),typeof E=="string"?C=E.replace("%d",L):C=E(L,_,c.l,w);break}}if(_)return C;var q=w?M.future:M.past;return typeof q=="function"?q(C):q.replace("%s",C)};function s(o,_,u,m){return r.fromToBase(o,_,u,m)}r.to=function(o,_){return s(o,_,this,!0)},r.from=function(o,_){return s(o,_,this)};var i=function(_){return _.$u?t.utc():t()};r.toNow=function(o){return this.to(i(this),o)},r.fromNow=function(o){return this.from(i(this),o)}});function K(n){return n>1&&n<5&&~~(n/10)!==1}function H(n,e,t,r){var a=n+" ";switch(t){case"s":return e||r?"p\xE1r sekund":"p\xE1r sekundami";case"m":return e?"minuta":r?"minutu":"minutou";case"mm":return e||r?a+(K(n)?"minuty":"minut"):a+"minutami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?a+(K(n)?"hodiny":"hodin"):a+"hodinami";case"d":return e||r?"den":"dnem";case"dd":return e||r?a+(K(n)?"dny":"dn\xED"):a+"dny";case"M":return e||r?"m\u011Bs\xEDc":"m\u011Bs\xEDcem";case"MM":return e||r?a+(K(n)?"m\u011Bs\xEDce":"m\u011Bs\xEDc\u016F"):a+"m\u011Bs\xEDci";case"y":return e||r?"rok":"rokem";case"yy":return e||r?a+(K(n)?"roky":"let"):a+"lety"}}var be={name:"cs",weekdays:"ned\u011Ble_pond\u011Bl\xED_\xFAter\xFD_st\u0159eda_\u010Dtvrtek_p\xE1tek_sobota".split("_"),weekdaysShort:"ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"),weekdaysMin:"ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"),months:"leden_\xFAnor_b\u0159ezen_duben_kv\u011Bten_\u010Derven_\u010Dervenec_srpen_z\xE1\u0159\xED_\u0159\xEDjen_listopad_prosinec".split("_"),monthsShort:"led_\xFAno_b\u0159e_dub_kv\u011B_\u010Dvn_\u010Dvc_srp_z\xE1\u0159_\u0159\xEDj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:H,m:H,mm:H,h:H,hh:H,d:H,dd:H,M:H,MM:H,y:H,yy:H}};d.locale(be,null,!0);var Ae=be;var Ne={name:"da",weekdays:"s\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xF8rdag".split("_"),weekdaysShort:"s\xF8n._man._tirs._ons._tors._fre._l\xF8r.".split("_"),weekdaysMin:"s\xF8._ma._ti._on._to._fr._l\xF8.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xE5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xE5ned",MM:"%d m\xE5neder",y:"et \xE5r",yy:"%d \xE5r"}};d.locale(Ne,null,!0);var Ee=Ne;var Ot={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function $(n,e,t){var r=Ot[t];return Array.isArray(r)&&(r=r[e?0:1]),r.replace("%d",n)}var Ie={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:$,m:$,mm:$,h:$,hh:$,d:$,dd:$,M:$,MM:$,y:$,yy:$}};d.locale(Ie,null,!0);var ze=Ie;var xe={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};d.locale(xe,null,!0);var Fe=xe;var Je={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},ordinal:function(e){return e+"\xBA"}};d.locale(Je,null,!0);var Ue=Je;function T(n,e,t,r){var a={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"p\xE4iv\xE4",dd:"%d p\xE4iv\xE4\xE4",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_nelj\xE4_viisi_kuusi_seitsem\xE4n_kahdeksan_yhdeks\xE4n".split("_")},s={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"p\xE4iv\xE4n",dd:"%d p\xE4iv\xE4n",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_nelj\xE4n_viiden_kuuden_seitsem\xE4n_kahdeksan_yhdeks\xE4n".split("_")},i=r&&!e?s:a,o=i[t];return n<10?o.replace("%d",i.numbers[n]):o.replace("%d",n)}var We={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xE4kuu_hein\xE4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xE4_hein\xE4_elo_syys_loka_marras_joulu".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s p\xE4\xE4st\xE4",past:"%s sitten",s:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};d.locale(We,null,!0);var Re=We;var Pe={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){var t=e===1?"er":"";return""+e+t}};d.locale(Pe,null,!0);var Ge=Pe;var qe={name:"hu",weekdays:"vas\xE1rnap_h\xE9tf\u0151_kedd_szerda_cs\xFCt\xF6rt\xF6k_p\xE9ntek_szombat".split("_"),weekdaysShort:"vas_h\xE9t_kedd_sze_cs\xFCt_p\xE9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"janu\xE1r_febru\xE1r_m\xE1rcius_\xE1prilis_m\xE1jus_j\xFAnius_j\xFAlius_augusztus_szeptember_okt\xF3ber_november_december".split("_"),monthsShort:"jan_feb_m\xE1rc_\xE1pr_m\xE1j_j\xFAn_j\xFAl_aug_szept_okt_nov_dec".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s m\xFAlva",past:"%s",s:function(e,t,r,a){return"n\xE9h\xE1ny m\xE1sodperc"+(a||t?"":"e")},m:function(e,t,r,a){return"egy perc"+(a||t?"":"e")},mm:function(e,t,r,a){return e+" perc"+(a||t?"":"e")},h:function(e,t,r,a){return"egy "+(a||t?"\xF3ra":"\xF3r\xE1ja")},hh:function(e,t,r,a){return e+" "+(a||t?"\xF3ra":"\xF3r\xE1ja")},d:function(e,t,r,a){return"egy "+(a||t?"nap":"napja")},dd:function(e,t,r,a){return e+" "+(a||t?"nap":"napja")},M:function(e,t,r,a){return"egy "+(a||t?"h\xF3nap":"h\xF3napja")},MM:function(e,t,r,a){return e+" "+(a||t?"h\xF3nap":"h\xF3napja")},y:function(e,t,r,a){return"egy "+(a||t?"\xE9v":"\xE9ve")},yy:function(e,t,r,a){return e+" "+(a||t?"\xE9v":"\xE9ve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};d.locale(qe,null,!0);var Be=qe;var Ve={name:"it",weekdays:"domenica_luned\xEC_marted\xEC_mercoled\xEC_gioved\xEC_venerd\xEC_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"\xBA"}};d.locale(Ve,null,!0);var Ze=Ve;var Xe={name:"ja",weekdays:"\u65E5\u66DC\u65E5_\u6708\u66DC\u65E5_\u706B\u66DC\u65E5_\u6C34\u66DC\u65E5_\u6728\u66DC\u65E5_\u91D1\u66DC\u65E5_\u571F\u66DC\u65E5".split("_"),weekdaysShort:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),weekdaysMin:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e){return e+"\u65E5"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5(ddd) HH:mm"},meridiem:function(e){return e<12?"\u5348\u524D":"\u5348\u5F8C"},relativeTime:{future:"%s\u5F8C",past:"%s\u524D",s:"\u6570\u79D2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65E5",dd:"%d\u65E5",M:"1\u30F6\u6708",MM:"%d\u30F6\u6708",y:"1\u5E74",yy:"%d\u5E74"}};d.locale(Xe,null,!0);var Qe=Xe;var Ke={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(e===1||e===8||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};d.locale(Ke,null,!0);var et=Ke;function _e(n){return n%10<5&&n%10>1&&~~(n/10)%10!==1}function P(n,e,t){var r=n+" ";switch(t){case"m":return e?"minuta":"minut\u0119";case"mm":return r+(_e(n)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return r+(_e(n)?"godziny":"godzin");case"MM":return r+(_e(n)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(_e(n)?"lata":"lat")}}var tt="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015Bnia_pa\u017Adziernika_listopada_grudnia".split("_"),rt="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017Adziernik_listopad_grudzie\u0144".split("_"),bt=/D MMMM/,he=function(e,t){return bt.test(t)?tt[e.month()]:rt[e.month()]};he.s=rt;he.f=tt;var at={name:"pl",weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015Broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015Br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015Ar_Cz_Pt_So".split("_"),months:he,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017A_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:P,mm:P,h:P,hh:P,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:P,y:"rok",yy:P},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};d.locale(at,null,!0);var nt=at;var st={name:"pt",weekdays:"domingo_segunda-feira_ter\xE7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xE1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xAA_3\xAA_4\xAA_5\xAA_6\xAA_Sa".split("_"),months:"janeiro_fevereiro_mar\xE7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xBA"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xE0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xE0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xE1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xEAs",MM:"%d meses",y:"um ano",yy:"%d anos"}};d.locale(st,null,!0);var it=st;var ot="\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"),_t="\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_"),dt="\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),ut="\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),mt=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function At(n,e){var t=n.split("_");return e%10===1&&e%100!==11?t[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?t[1]:t[2]}function G(n,e,t){var r={mm:e?"\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442":"\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432",dd:"\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439",MM:"\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432",yy:"\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442"};return t==="m"?e?"\u043C\u0438\u043D\u0443\u0442\u0430":"\u043C\u0438\u043D\u0443\u0442\u0443":n+" "+At(r[t],+n)}var fe=function(e,t){return mt.test(t)?ot[e.month()]:_t[e.month()]};fe.s=_t;fe.f=ot;var Ye=function(e,t){return mt.test(t)?dt[e.month()]:ut[e.month()]};Ye.s=ut;Ye.f=dt;var lt={name:"ru",weekdays:"\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u0432\u0441\u043A_\u043F\u043D\u0434_\u0432\u0442\u0440_\u0441\u0440\u0434_\u0447\u0442\u0432_\u043F\u0442\u043D_\u0441\u0431\u0442".split("_"),weekdaysMin:"\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),months:fe,monthsShort:Ye,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043D\u0430\u0437\u0430\u0434",s:"\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434",m:G,mm:G,h:"\u0447\u0430\u0441",hh:G,d:"\u0434\u0435\u043D\u044C",dd:G,M:"\u043C\u0435\u0441\u044F\u0446",MM:G,y:"\u0433\u043E\u0434",yy:G},ordinal:function(e){return e},meridiem:function(e){return e<4?"\u043D\u043E\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043D\u044F":"\u0432\u0435\u0447\u0435\u0440\u0430"}};d.locale(lt,null,!0);var Mt=lt;var k={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,r,a){var s=k.words[r];if(r.length===1)return r==="y"&&t?"jedna godina":a||t?s[0]:s[1];var i=k.correctGrammarCase(e,s);return r==="yy"&&t&&i==="%d godinu"?e+" godina":i.replace("%d",e)}},ct={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_\u010Cetvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._\u010Cet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010De_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:k.relativeTimeFormatter,mm:k.relativeTimeFormatter,h:k.relativeTimeFormatter,hh:k.relativeTimeFormatter,d:k.relativeTimeFormatter,dd:k.relativeTimeFormatter,M:k.relativeTimeFormatter,MM:k.relativeTimeFormatter,y:k.relativeTimeFormatter,yy:k.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};d.locale(ct,null,!0);var ht=ct;var ft={name:"sv",weekdays:"s\xF6ndag_m\xE5ndag_tisdag_onsdag_torsdag_fredag_l\xF6rdag".split("_"),weekdaysShort:"s\xF6n_m\xE5n_tis_ons_tor_fre_l\xF6r".split("_"),weekdaysMin:"s\xF6_m\xE5_ti_on_to_fr_l\xF6".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10,r=t===1||t===2?"a":"e";return"["+e+r+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"f\xF6r %s sedan",s:"n\xE5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xE5nad",MM:"%d m\xE5nader",y:"ett \xE5r",yy:"%d \xE5r"}};d.locale(ft,null,!0);var Yt=ft;var pt={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e,t){switch(t){case"W":return e+"\u5468";default:return e+"\u65E5"}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(e,t){var r=e*100+t;return r<600?"\u51CC\u6668":r<900?"\u65E9\u4E0A":r<1100?"\u4E0A\u5348":r<1300?"\u4E2D\u5348":r<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};d.locale(pt,null,!0);var vt=pt;var yt={name:"zh-tw",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e,t){switch(t){case"W":return e+"\u9031";default:return e+"\u65E5"}},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5167",past:"%s\u524D",s:"\u5E7E\u79D2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5C0F\u6642",hh:"%d \u5C0F\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500B\u6708",MM:"%d \u500B\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(e,t){var r=e*100+t;return r<600?"\u51CC\u6668":r<900?"\u65E9\u4E0A":r<1100?"\u4E0A\u5348":r<1300?"\u4E2D\u5348":r<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};d.locale(yt,null,!0);var Lt=yt;var de={"en-us":ae,"en-gb":Fe,cs:Ae,da:Ee,de:ze,es:Ue,fi:Re,fr:Ge,hu:Be,it:Ze,ja:Qe,nl:et,pl:nt,pt:it,ru:Mt,sr:ht,sv:Yt,zh:vt,"zh-tw":Lt};var Nt=new pe("Dayjs"),Qr={provide:Nt,useFactory:()=>{let n=(localStorage.getItem("v1:duplicati:locale")??"en-us").toLowerCase().trim(),e=de[n]??de[n.split("-")[0]]??de["en-us"];return d.extend(Oe),d.extend(je),d.locale(e),d}};export{Nt as a,Qr as b};
|
|
1
|
+
import{Y as pe}from"./chunk-Y7PHGRGB.js";var ve=60,ye=ve*60,Le=ye*24,St=Le*7,g=1e3,I=ve*g,x=ye*g,F=Le*g,ee=St*g,B="millisecond",j="second",O="minute",b="hour",S="day",W="week",v="month",te="quarter",D="year",z="date",Se="YYYY-MM-DDTHH:mm:ssZ",ue="Invalid Date",De=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,re=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;var ae={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var le=function(e,t,r){var a=String(e);return!a||a.length>=t?e:""+Array(t+1-a.length).join(r)+e},Dt=function(e){var t=-e.utcOffset(),r=Math.abs(t),a=Math.floor(r/60),s=r%60;return(t<=0?"+":"-")+le(a,2,"0")+":"+le(s,2,"0")},kt=function n(e,t){if(e.date()<t.date())return-n(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),a=e.clone().add(r,v),s=t-a<0,i=e.clone().add(r+(s?-1:1),v);return+(-(r+(t-a)/(s?a-i:i-a))||0)},gt=function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},Ht=function(e){var t={M:v,y:D,w:W,d:S,D:z,h:b,m:O,s:j,ms:B,Q:te};return t[e]||String(e||"").toLowerCase().replace(/s$/,"")},$t=function(e){return e===void 0},ke={s:le,z:Dt,m:kt,a:gt,p:Ht,u:$t};var V="en",J={};J[V]=ae;var ge="$isDayjsObject",Me=function(e){return e instanceof se||!!(e&&e[ge])},ne=function n(e,t,r){var a;if(!e)return V;if(typeof e=="string"){var s=e.toLowerCase();J[s]&&(a=s),t&&(J[s]=t,a=s);var i=e.split("-");if(!a&&i.length>1)return n(i[0])}else{var o=e.name;J[o]=e,a=o}return!r&&a&&(V=a),a||!r&&V},h=function(e,t){if(Me(e))return e.clone();var r=typeof t=="object"?t:{};return r.date=e,r.args=arguments,new se(r)},Tt=function(e,t){return h(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})},l=ke;l.l=ne;l.i=Me;l.w=Tt;var Ct=function(e){var t=e.date,r=e.utc;if(t===null)return new Date(NaN);if(l.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var a=t.match(De);if(a){var s=a[2]-1||0,i=(a[7]||"0").substring(0,3);return r?new Date(Date.UTC(a[1],s,a[3]||1,a[4]||0,a[5]||0,a[6]||0,i)):new Date(a[1],s,a[3]||1,a[4]||0,a[5]||0,a[6]||0,i)}}return new Date(t)},se=(function(){function n(t){this.$L=ne(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[ge]=!0}var e=n.prototype;return e.parse=function(r){this.$d=Ct(r),this.init()},e.init=function(){var r=this.$d;this.$y=r.getFullYear(),this.$M=r.getMonth(),this.$D=r.getDate(),this.$W=r.getDay(),this.$H=r.getHours(),this.$m=r.getMinutes(),this.$s=r.getSeconds(),this.$ms=r.getMilliseconds()},e.$utils=function(){return l},e.isValid=function(){return this.$d.toString()!==ue},e.isSame=function(r,a){var s=h(r);return this.startOf(a)<=s&&s<=this.endOf(a)},e.isAfter=function(r,a){return h(r)<this.startOf(a)},e.isBefore=function(r,a){return this.endOf(a)<h(r)},e.$g=function(r,a,s){return l.u(r)?this[a]:this.set(s,r)},e.unix=function(){return Math.floor(this.valueOf()/1e3)},e.valueOf=function(){return this.$d.getTime()},e.startOf=function(r,a){var s=this,i=l.u(a)?!0:a,o=l.p(r),_=function(w,Y){var c=l.w(s.$u?Date.UTC(s.$y,Y,w):new Date(s.$y,Y,w),s);return i?c:c.endOf(S)},u=function(w,Y){var c=[0,0,0,0],L=[23,59,59,999];return l.w(s.toDate()[w].apply(s.toDate("s"),(i?c:L).slice(Y)),s)},m=this.$W,f=this.$M,M=this.$D,p="set"+(this.$u?"UTC":"");switch(o){case D:return i?_(1,0):_(31,11);case v:return i?_(1,f):_(0,f+1);case W:{var y=this.$locale().weekStart||0,N=(m<y?m+7:m)-y;return _(i?M-N:M+(6-N),f)}case S:case z:return u(p+"Hours",0);case b:return u(p+"Minutes",1);case O:return u(p+"Seconds",2);case j:return u(p+"Milliseconds",3);default:return this.clone()}},e.endOf=function(r){return this.startOf(r,!1)},e.$set=function(r,a){var s,i=l.p(r),o="set"+(this.$u?"UTC":""),_=(s={},s[S]=o+"Date",s[z]=o+"Date",s[v]=o+"Month",s[D]=o+"FullYear",s[b]=o+"Hours",s[O]=o+"Minutes",s[j]=o+"Seconds",s[B]=o+"Milliseconds",s)[i],u=i===S?this.$D+(a-this.$W):a;if(i===v||i===D){var m=this.clone().set(z,1);m.$d[_](u),m.init(),this.$d=m.set(z,Math.min(this.$D,m.daysInMonth())).$d}else _&&this.$d[_](u);return this.init(),this},e.set=function(r,a){return this.clone().$set(r,a)},e.get=function(r){return this[l.p(r)]()},e.add=function(r,a){var s=this,i;r=Number(r);var o=l.p(a),_=function(M){var p=h(s);return l.w(p.date(p.date()+Math.round(M*r)),s)};if(o===v)return this.set(v,this.$M+r);if(o===D)return this.set(D,this.$y+r);if(o===S)return _(1);if(o===W)return _(7);var u=(i={},i[O]=I,i[b]=x,i[j]=g,i)[o]||1,m=this.$d.getTime()+r*u;return l.w(m,this)},e.subtract=function(r,a){return this.add(r*-1,a)},e.format=function(r){var a=this,s=this.$locale();if(!this.isValid())return s.invalidDate||ue;var i=r||Se,o=l.z(this),_=this.$H,u=this.$m,m=this.$M,f=s.weekdays,M=s.months,p=s.meridiem,y=function(c,L,E,q){return c&&(c[L]||c(a,i))||E[L].slice(0,q)},N=function(c){return l.s(_%12||12,c,"0")},C=p||function(Y,c,L){var E=Y<12?"AM":"PM";return L?E.toLowerCase():E},w=function(c){switch(c){case"YY":return String(a.$y).slice(-2);case"YYYY":return l.s(a.$y,4,"0");case"M":return m+1;case"MM":return l.s(m+1,2,"0");case"MMM":return y(s.monthsShort,m,M,3);case"MMMM":return y(M,m);case"D":return a.$D;case"DD":return l.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return y(s.weekdaysMin,a.$W,f,2);case"ddd":return y(s.weekdaysShort,a.$W,f,3);case"dddd":return f[a.$W];case"H":return String(_);case"HH":return l.s(_,2,"0");case"h":return N(1);case"hh":return N(2);case"a":return C(_,u,!0);case"A":return C(_,u,!1);case"m":return String(u);case"mm":return l.s(u,2,"0");case"s":return String(a.$s);case"ss":return l.s(a.$s,2,"0");case"SSS":return l.s(a.$ms,3,"0");case"Z":return o;default:break}return null};return i.replace(re,function(Y,c){return c||w(Y)||o.replace(":","")})},e.utcOffset=function(){return-Math.round(this.$d.getTimezoneOffset()/15)*15},e.diff=function(r,a,s){var i=this,o=l.p(a),_=h(r),u=(_.utcOffset()-this.utcOffset())*I,m=this-_,f=function(){return l.m(i,_)},M;switch(o){case D:M=f()/12;break;case v:M=f();break;case te:M=f()/3;break;case W:M=(m-u)/ee;break;case S:M=(m-u)/F;break;case b:M=m/x;break;case O:M=m/I;break;case j:M=m/g;break;default:M=m;break}return s?M:l.a(M)},e.daysInMonth=function(){return this.endOf(v).$D},e.$locale=function(){return J[this.$L]},e.locale=function(r,a){if(!r)return this.$L;var s=this.clone(),i=ne(r,a,!0);return i&&(s.$L=i),s},e.clone=function(){return l.w(this.$d,this)},e.toDate=function(){return new Date(this.valueOf())},e.toJSON=function(){return this.isValid()?this.toISOString():null},e.toISOString=function(){return this.$d.toISOString()},e.toString=function(){return this.$d.toUTCString()},n})(),He=se.prototype;h.prototype=He;[["$ms",B],["$s",j],["$m",O],["$H",b],["$W",S],["$M",v],["$y",D],["$D",z]].forEach(function(n){He[n[1]]=function(e){return this.$g(e,n[0],n[1])}});h.extend=function(n,e){return n.$i||(n(e,se,h),n.$i=!0),h};h.locale=ne;h.isDayjs=Me;h.unix=function(n){return h(n*1e3)};h.en=J[V];h.Ls=J;h.p={};var d=h;var oe=F*365,ce=oe/12,wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,Z={years:oe,months:ce,days:F,hours:x,minutes:I,seconds:g,milliseconds:1,weeks:ee},ie=function(e){return e instanceof we},Te,A,Q=function(e,t,r){return new we(e,r,t.$l)},X=function(e){return A.p(e)+"s"},Ce=function(e){return e<0},U=function(e){return Ce(e)?Math.ceil(e):Math.floor(e)},jt=function(e){return Math.abs(e)},R=function(e,t){return e?Ce(e)?{negative:!0,format:""+jt(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},we=(function(){function n(t,r,a){var s=this;if(this.$d={},this.$l=a,t===void 0&&(this.$ms=0,this.parseFromMilliseconds()),r)return Q(t*Z[X(r)],this);if(typeof t=="number")return this.$ms=t,this.parseFromMilliseconds(),this;if(typeof t=="object")return Object.keys(t).forEach(function(u){s.$d[X(u)]=t[u]}),this.calMilliseconds(),this;if(typeof t=="string"){var i=t.match(wt);if(i){var o=i.slice(2),_=o.map(function(u){return u!=null?Number(u):0});return this.$d.years=_[0],this.$d.months=_[1],this.$d.weeks=_[2],this.$d.days=_[3],this.$d.hours=_[4],this.$d.minutes=_[5],this.$d.seconds=_[6],this.calMilliseconds(),this}}return this}var e=n.prototype;return e.calMilliseconds=function(){var r=this;this.$ms=Object.keys(this.$d).reduce(function(a,s){return a+(r.$d[s]||0)*Z[s]},0)},e.parseFromMilliseconds=function(){var r=this.$ms;this.$d.years=U(r/oe),r%=oe,this.$d.months=U(r/ce),r%=ce,this.$d.days=U(r/F),r%=F,this.$d.hours=U(r/x),r%=x,this.$d.minutes=U(r/I),r%=I,this.$d.seconds=U(r/g),r%=g,this.$d.milliseconds=r},e.toISOString=function(){var r=R(this.$d.years,"Y"),a=R(this.$d.months,"M"),s=+this.$d.days||0;this.$d.weeks&&(s+=this.$d.weeks*7);var i=R(s,"D"),o=R(this.$d.hours,"H"),_=R(this.$d.minutes,"M"),u=this.$d.seconds||0;this.$d.milliseconds&&(u+=this.$d.milliseconds/1e3,u=Math.round(u*1e3)/1e3);var m=R(u,"S"),f=r.negative||a.negative||i.negative||o.negative||_.negative||m.negative,M=o.format||_.format||m.format?"T":"",p=f?"-":"",y=p+"P"+r.format+a.format+i.format+M+o.format+_.format+m.format;return y==="P"||y==="-P"?"P0D":y},e.toJSON=function(){return this.toISOString()},e.format=function(r){var a=r||"YYYY-MM-DDTHH:mm:ss",s={Y:this.$d.years,YY:A.s(this.$d.years,2,"0"),YYYY:A.s(this.$d.years,4,"0"),M:this.$d.months,MM:A.s(this.$d.months,2,"0"),D:this.$d.days,DD:A.s(this.$d.days,2,"0"),H:this.$d.hours,HH:A.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:A.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:A.s(this.$d.seconds,2,"0"),SSS:A.s(this.$d.milliseconds,3,"0")};return a.replace(re,function(i,o){return o||String(s[i])})},e.as=function(r){return this.$ms/Z[X(r)]},e.get=function(r){var a=this.$ms,s=X(r);return s==="milliseconds"?a%=1e3:s==="weeks"?a=U(a/Z[s]):a=this.$d[s],a||0},e.add=function(r,a,s){var i;return a?i=r*Z[X(a)]:ie(r)?i=r.$ms:i=Q(r,this).$ms,Q(this.$ms+i*(s?-1:1),this)},e.subtract=function(r,a){return this.add(r,a,!0)},e.locale=function(r){var a=this.clone();return a.$l=r,a},e.clone=function(){return Q(this.$ms,this)},e.humanize=function(r){return Te().add(this.$ms,"ms").locale(this.$l).fromNow(!r)},e.valueOf=function(){return this.asMilliseconds()},e.milliseconds=function(){return this.get("milliseconds")},e.asMilliseconds=function(){return this.as("milliseconds")},e.seconds=function(){return this.get("seconds")},e.asSeconds=function(){return this.as("seconds")},e.minutes=function(){return this.get("minutes")},e.asMinutes=function(){return this.as("minutes")},e.hours=function(){return this.get("hours")},e.asHours=function(){return this.as("hours")},e.days=function(){return this.get("days")},e.asDays=function(){return this.as("days")},e.weeks=function(){return this.get("weeks")},e.asWeeks=function(){return this.as("weeks")},e.months=function(){return this.get("months")},e.asMonths=function(){return this.as("months")},e.years=function(){return this.get("years")},e.asYears=function(){return this.as("years")},n})(),$e=function(e,t,r){return e.add(t.years()*r,"y").add(t.months()*r,"M").add(t.days()*r,"d").add(t.hours()*r,"h").add(t.minutes()*r,"m").add(t.seconds()*r,"s").add(t.milliseconds()*r,"ms")},je=(function(n,e,t){Te=t,A=t().$utils(),t.duration=function(s,i){var o=t.locale();return Q(s,{$l:o},i)},t.isDuration=ie;var r=e.prototype.add,a=e.prototype.subtract;e.prototype.add=function(s,i){return ie(s)?$e(this,s,1):r.bind(this)(s,i)},e.prototype.subtract=function(s,i){return ie(s)?$e(this,s,-1):a.bind(this)(s,i)}});var Oe=(function(n,e,t){n=n||{};var r=e.prototype,a={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};t.en.relativeTime=a,r.fromToBase=function(o,_,u,m,f){for(var M=u.$locale().relativeTime||a,p=n.thresholds||[{l:"s",r:44,d:j},{l:"m",r:89},{l:"mm",r:44,d:O},{l:"h",r:89},{l:"hh",r:21,d:b},{l:"d",r:35},{l:"dd",r:25,d:S},{l:"M",r:45},{l:"MM",r:10,d:v},{l:"y",r:17},{l:"yy",d:D}],y=p.length,N,C,w,Y=0;Y<y;Y+=1){var c=p[Y];c.d&&(N=m?t(o).diff(u,c.d,!0):u.diff(o,c.d,!0));var L=(n.rounding||Math.round)(Math.abs(N));if(w=N>0,L<=c.r||!c.r){L<=1&&Y>0&&(c=p[Y-1]);var E=M[c.l];f&&(L=f(""+L)),typeof E=="string"?C=E.replace("%d",L):C=E(L,_,c.l,w);break}}if(_)return C;var q=w?M.future:M.past;return typeof q=="function"?q(C):q.replace("%s",C)};function s(o,_,u,m){return r.fromToBase(o,_,u,m)}r.to=function(o,_){return s(o,_,this,!0)},r.from=function(o,_){return s(o,_,this)};var i=function(_){return _.$u?t.utc():t()};r.toNow=function(o){return this.to(i(this),o)},r.fromNow=function(o){return this.from(i(this),o)}});function K(n){return n>1&&n<5&&~~(n/10)!==1}function H(n,e,t,r){var a=n+" ";switch(t){case"s":return e||r?"p\xE1r sekund":"p\xE1r sekundami";case"m":return e?"minuta":r?"minutu":"minutou";case"mm":return e||r?a+(K(n)?"minuty":"minut"):a+"minutami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?a+(K(n)?"hodiny":"hodin"):a+"hodinami";case"d":return e||r?"den":"dnem";case"dd":return e||r?a+(K(n)?"dny":"dn\xED"):a+"dny";case"M":return e||r?"m\u011Bs\xEDc":"m\u011Bs\xEDcem";case"MM":return e||r?a+(K(n)?"m\u011Bs\xEDce":"m\u011Bs\xEDc\u016F"):a+"m\u011Bs\xEDci";case"y":return e||r?"rok":"rokem";case"yy":return e||r?a+(K(n)?"roky":"let"):a+"lety"}}var be={name:"cs",weekdays:"ned\u011Ble_pond\u011Bl\xED_\xFAter\xFD_st\u0159eda_\u010Dtvrtek_p\xE1tek_sobota".split("_"),weekdaysShort:"ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"),weekdaysMin:"ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"),months:"leden_\xFAnor_b\u0159ezen_duben_kv\u011Bten_\u010Derven_\u010Dervenec_srpen_z\xE1\u0159\xED_\u0159\xEDjen_listopad_prosinec".split("_"),monthsShort:"led_\xFAno_b\u0159e_dub_kv\u011B_\u010Dvn_\u010Dvc_srp_z\xE1\u0159_\u0159\xEDj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:H,m:H,mm:H,h:H,hh:H,d:H,dd:H,M:H,MM:H,y:H,yy:H}};d.locale(be,null,!0);var Ae=be;var Ne={name:"da",weekdays:"s\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xF8rdag".split("_"),weekdaysShort:"s\xF8n._man._tirs._ons._tors._fre._l\xF8r.".split("_"),weekdaysMin:"s\xF8._ma._ti._on._to._fr._l\xF8.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xE5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xE5ned",MM:"%d m\xE5neder",y:"et \xE5r",yy:"%d \xE5r"}};d.locale(Ne,null,!0);var Ee=Ne;var Ot={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function $(n,e,t){var r=Ot[t];return Array.isArray(r)&&(r=r[e?0:1]),r.replace("%d",n)}var Ie={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:$,m:$,mm:$,h:$,hh:$,d:$,dd:$,M:$,MM:$,y:$,yy:$}};d.locale(Ie,null,!0);var ze=Ie;var xe={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};d.locale(xe,null,!0);var Fe=xe;var Je={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},ordinal:function(e){return e+"\xBA"}};d.locale(Je,null,!0);var Ue=Je;function T(n,e,t,r){var a={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"p\xE4iv\xE4",dd:"%d p\xE4iv\xE4\xE4",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_nelj\xE4_viisi_kuusi_seitsem\xE4n_kahdeksan_yhdeks\xE4n".split("_")},s={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"p\xE4iv\xE4n",dd:"%d p\xE4iv\xE4n",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_nelj\xE4n_viiden_kuuden_seitsem\xE4n_kahdeksan_yhdeks\xE4n".split("_")},i=r&&!e?s:a,o=i[t];return n<10?o.replace("%d",i.numbers[n]):o.replace("%d",n)}var We={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xE4kuu_hein\xE4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xE4_hein\xE4_elo_syys_loka_marras_joulu".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s p\xE4\xE4st\xE4",past:"%s sitten",s:T,m:T,mm:T,h:T,hh:T,d:T,dd:T,M:T,MM:T,y:T,yy:T},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};d.locale(We,null,!0);var Re=We;var Pe={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){var t=e===1?"er":"";return""+e+t}};d.locale(Pe,null,!0);var Ge=Pe;var qe={name:"hu",weekdays:"vas\xE1rnap_h\xE9tf\u0151_kedd_szerda_cs\xFCt\xF6rt\xF6k_p\xE9ntek_szombat".split("_"),weekdaysShort:"vas_h\xE9t_kedd_sze_cs\xFCt_p\xE9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"janu\xE1r_febru\xE1r_m\xE1rcius_\xE1prilis_m\xE1jus_j\xFAnius_j\xFAlius_augusztus_szeptember_okt\xF3ber_november_december".split("_"),monthsShort:"jan_feb_m\xE1rc_\xE1pr_m\xE1j_j\xFAn_j\xFAl_aug_szept_okt_nov_dec".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s m\xFAlva",past:"%s",s:function(e,t,r,a){return"n\xE9h\xE1ny m\xE1sodperc"+(a||t?"":"e")},m:function(e,t,r,a){return"egy perc"+(a||t?"":"e")},mm:function(e,t,r,a){return e+" perc"+(a||t?"":"e")},h:function(e,t,r,a){return"egy "+(a||t?"\xF3ra":"\xF3r\xE1ja")},hh:function(e,t,r,a){return e+" "+(a||t?"\xF3ra":"\xF3r\xE1ja")},d:function(e,t,r,a){return"egy "+(a||t?"nap":"napja")},dd:function(e,t,r,a){return e+" "+(a||t?"nap":"napja")},M:function(e,t,r,a){return"egy "+(a||t?"h\xF3nap":"h\xF3napja")},MM:function(e,t,r,a){return e+" "+(a||t?"h\xF3nap":"h\xF3napja")},y:function(e,t,r,a){return"egy "+(a||t?"\xE9v":"\xE9ve")},yy:function(e,t,r,a){return e+" "+(a||t?"\xE9v":"\xE9ve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};d.locale(qe,null,!0);var Be=qe;var Ve={name:"it",weekdays:"domenica_luned\xEC_marted\xEC_mercoled\xEC_gioved\xEC_venerd\xEC_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"\xBA"}};d.locale(Ve,null,!0);var Ze=Ve;var Xe={name:"ja",weekdays:"\u65E5\u66DC\u65E5_\u6708\u66DC\u65E5_\u706B\u66DC\u65E5_\u6C34\u66DC\u65E5_\u6728\u66DC\u65E5_\u91D1\u66DC\u65E5_\u571F\u66DC\u65E5".split("_"),weekdaysShort:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),weekdaysMin:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e){return e+"\u65E5"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5(ddd) HH:mm"},meridiem:function(e){return e<12?"\u5348\u524D":"\u5348\u5F8C"},relativeTime:{future:"%s\u5F8C",past:"%s\u524D",s:"\u6570\u79D2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65E5",dd:"%d\u65E5",M:"1\u30F6\u6708",MM:"%d\u30F6\u6708",y:"1\u5E74",yy:"%d\u5E74"}};d.locale(Xe,null,!0);var Qe=Xe;var Ke={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(e===1||e===8||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};d.locale(Ke,null,!0);var et=Ke;function _e(n){return n%10<5&&n%10>1&&~~(n/10)%10!==1}function P(n,e,t){var r=n+" ";switch(t){case"m":return e?"minuta":"minut\u0119";case"mm":return r+(_e(n)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return r+(_e(n)?"godziny":"godzin");case"MM":return r+(_e(n)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(_e(n)?"lata":"lat")}}var tt="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015Bnia_pa\u017Adziernika_listopada_grudnia".split("_"),rt="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017Adziernik_listopad_grudzie\u0144".split("_"),bt=/D MMMM/,he=function(e,t){return bt.test(t)?tt[e.month()]:rt[e.month()]};he.s=rt;he.f=tt;var at={name:"pl",weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015Broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015Br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015Ar_Cz_Pt_So".split("_"),months:he,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017A_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:P,mm:P,h:P,hh:P,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:P,y:"rok",yy:P},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};d.locale(at,null,!0);var nt=at;var st={name:"pt",weekdays:"domingo_segunda-feira_ter\xE7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xE1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2\xAA_3\xAA_4\xAA_5\xAA_6\xAA_Sa".split("_"),months:"janeiro_fevereiro_mar\xE7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"\xBA"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xE0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xE0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xE1 %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xEAs",MM:"%d meses",y:"um ano",yy:"%d anos"}};d.locale(st,null,!0);var it=st;var ot="\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"),_t="\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_"),dt="\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),ut="\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),mt=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function At(n,e){var t=n.split("_");return e%10===1&&e%100!==11?t[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?t[1]:t[2]}function G(n,e,t){var r={mm:e?"\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442":"\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432",dd:"\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439",MM:"\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432",yy:"\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442"};return t==="m"?e?"\u043C\u0438\u043D\u0443\u0442\u0430":"\u043C\u0438\u043D\u0443\u0442\u0443":n+" "+At(r[t],+n)}var fe=function(e,t){return mt.test(t)?ot[e.month()]:_t[e.month()]};fe.s=_t;fe.f=ot;var Ye=function(e,t){return mt.test(t)?dt[e.month()]:ut[e.month()]};Ye.s=ut;Ye.f=dt;var lt={name:"ru",weekdays:"\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u0432\u0441\u043A_\u043F\u043D\u0434_\u0432\u0442\u0440_\u0441\u0440\u0434_\u0447\u0442\u0432_\u043F\u0442\u043D_\u0441\u0431\u0442".split("_"),weekdaysMin:"\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),months:fe,monthsShort:Ye,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043D\u0430\u0437\u0430\u0434",s:"\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434",m:G,mm:G,h:"\u0447\u0430\u0441",hh:G,d:"\u0434\u0435\u043D\u044C",dd:G,M:"\u043C\u0435\u0441\u044F\u0446",MM:G,y:"\u0433\u043E\u0434",yy:G},ordinal:function(e){return e},meridiem:function(e){return e<4?"\u043D\u043E\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043D\u044F":"\u0432\u0435\u0447\u0435\u0440\u0430"}};d.locale(lt,null,!0);var Mt=lt;var k={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,r,a){var s=k.words[r];if(r.length===1)return r==="y"&&t?"jedna godina":a||t?s[0]:s[1];var i=k.correctGrammarCase(e,s);return r==="yy"&&t&&i==="%d godinu"?e+" godina":i.replace("%d",e)}},ct={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_\u010Cetvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._\u010Cet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010De_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:k.relativeTimeFormatter,mm:k.relativeTimeFormatter,h:k.relativeTimeFormatter,hh:k.relativeTimeFormatter,d:k.relativeTimeFormatter,dd:k.relativeTimeFormatter,M:k.relativeTimeFormatter,MM:k.relativeTimeFormatter,y:k.relativeTimeFormatter,yy:k.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};d.locale(ct,null,!0);var ht=ct;var ft={name:"sv",weekdays:"s\xF6ndag_m\xE5ndag_tisdag_onsdag_torsdag_fredag_l\xF6rdag".split("_"),weekdaysShort:"s\xF6n_m\xE5n_tis_ons_tor_fre_l\xF6r".split("_"),weekdaysMin:"s\xF6_m\xE5_ti_on_to_fr_l\xF6".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10,r=t===1||t===2?"a":"e";return"["+e+r+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"f\xF6r %s sedan",s:"n\xE5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xE5nad",MM:"%d m\xE5nader",y:"ett \xE5r",yy:"%d \xE5r"}};d.locale(ft,null,!0);var Yt=ft;var pt={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e,t){switch(t){case"W":return e+"\u5468";default:return e+"\u65E5"}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(e,t){var r=e*100+t;return r<600?"\u51CC\u6668":r<900?"\u65E9\u4E0A":r<1100?"\u4E0A\u5348":r<1300?"\u4E2D\u5348":r<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};d.locale(pt,null,!0);var vt=pt;var yt={name:"zh-tw",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e,t){switch(t){case"W":return e+"\u9031";default:return e+"\u65E5"}},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5167",past:"%s\u524D",s:"\u5E7E\u79D2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5C0F\u6642",hh:"%d \u5C0F\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500B\u6708",MM:"%d \u500B\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(e,t){var r=e*100+t;return r<600?"\u51CC\u6668":r<900?"\u65E9\u4E0A":r<1100?"\u4E0A\u5348":r<1300?"\u4E2D\u5348":r<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};d.locale(yt,null,!0);var Lt=yt;var de={"en-us":ae,"en-gb":Fe,cs:Ae,da:Ee,de:ze,es:Ue,fi:Re,fr:Ge,hu:Be,it:Ze,ja:Qe,nl:et,pl:nt,pt:it,ru:Mt,sr:ht,sv:Yt,zh:vt,"zh-tw":Lt};var Nt=new pe("Dayjs"),Qr={provide:Nt,useFactory:()=>{let n=(localStorage.getItem("v1:duplicati:locale")??"en-us").toLowerCase().trim(),e=de[n]??de[n.split("-")[0]]??de["en-us"];return d.extend(Oe),d.extend(je),d.locale(e),d}};export{Nt as a,Qr as b};
|