';this.messages='
'+n+this.api.notices.map(t).join("
"+n)+"
",this.api.gui.alert("",this.messages,0,"80%").then(()=>{this.visible=!0})}}};e.\u0275fac=function(n){return new(n||e)(h(z))},e.\u0275cmp=S({type:e,selectors:[["uds-notices"]],decls:1,vars:1,consts:[["class","notice",3,"innerHTML",4,"ngIf"],[1,"notice",3,"innerHTML"]],template:function(n,o){n&1&&D(0,pQ,1,1,"div",0),n&2&&p("ngIf",o.visible)},dependencies:[pe],styles:[".notice[_ngcontent-%COMP%]{display:block} .warn-notice-container{background:#4682b4;border-radius:3px;box-shadow:#00000024 0 4px 20px,#465d9c66 0 7px 10px -5px;box-sizing:border-box;color:#fff;margin:1rem 2rem 0rem;padding:15px;word-wrap:break-word;display:flex;flex-direction:column} .warn-notice{display:block;width:100%;text-align:center;font-size:1.1em;margin-bottom:.5rem}"]});let i=e;return i})();var kO=(()=>{let e=class e{constructor(t){this.api=t,this.title="UDS Admin"}get blackTheme(){return this.api.getFromStorage("blackTheme")==="true"}set blackTheme(t){this.api.putOnStorage("blackTheme",t.toString())}handleKeyboardEvent(t){t.altKey&&t.ctrlKey&&t.key==="b"&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){this.api.switchTheme(this.blackTheme)}};e.\u0275fac=function(n){return new(n||e)(h(z))},e.\u0275cmp=S({type:e,selectors:[["uds-root"]],hostBindings:function(n,o){n&1&&b("keydown",function(s){return o.handleKeyboardEvent(s)},!1,_S)},decls:8,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(n,o){n&1&&(I(0,"uds-navbar")(1,"uds-sidebar"),c(2,"div",0)(3,"div",1),I(4,"uds-notices")(5,"router-outlet"),d(),c(6,"div",2),I(7,"uds-footer"),d()())},dependencies:[pb,EO,IO,MO,TO],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:calc(100% - 64px);margin:4rem auto auto 56px;padding-left:8px;overflow-x:hidden}"]});let i=e;return i})();var AO=(()=>{let e=class e extends Sa{constructor(){super(),this.itemsPerPageLabel=django.gettext("Items per page")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})();var OO=(()=>{let e=class e{constructor(){this.field={},this.changed=new T}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=S({type:e,selectors:[["uds-field-text"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:4,vars:7,consts:[["matInput","","type","text",3,"ngModelChange","change","ngModel","placeholder","required","disabled","maxlength","autocomplete"]],template:function(n,o){n&1&&(c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"input",0),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),b("change",function(){return o.changed.emit(o)}),d()()),n&2&&(m(2),P(" ",o.field.gui.label," "),m(),U("ngModel",o.field.value),p("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0)("maxlength",o.field.gui.length||128)("autocomplete","new-"+o.field.name))},dependencies:[lt,xe,Ri,ms,Se,_e,Ae,ft],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]});let i=e;return i})();function gQ(i,e){if(i&1&&(c(0,"mat-option",3),g(1),d()),i&2){let r=e.$implicit;p("value",r),m(),P(" ",r," ")}}var RO=(()=>{let e=class e{constructor(){this.field={},this.changed=new T,this.values=[]}ngOnInit(){let t=this.field.gui.choices||[];this.field.value=this.field.value||this.field.gui.default||"",this.values=t.map(n=>n.text)}_filter(){let t=this.field.value.toLowerCase();return this.values.filter(n=>n.toLowerCase().includes(t))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=S({type:e,selectors:[["uds-field-autocomplete"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:9,consts:[["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text",3,"ngModelChange","change","ngModel","placeholder","required","disabled","maxlength","matAutocomplete","autocomplete"],[3,"value"]],template:function(n,o){if(n&1){let a=A();c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"mat-autocomplete",null,0),D(5,gQ,2,2,"mat-option",1),d(),c(6,"input",2),H("ngModelChange",function(l){return y(a),$(o.field.value,l)||(o.field.value=l),w(l)}),b("change",function(){return y(a),w(o.changed.emit(o))}),d()()}if(n&2){let a=Ce(4);m(2),P(" ",o.field.gui.label," "),m(3),p("ngForOf",o._filter()),m(),U("ngModel",o.field.value),p("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0)("maxlength",o.field.gui.length||128)("matAutocomplete",a)("autocomplete","new-"+o.field.name)}},dependencies:[$e,lt,xe,Ri,ms,Se,_e,Ae,ft,it,Ul,gs],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]});let i=e;return i})();var PO=(()=>{let e=class e{constructor(){this.field={},this.changed=new T}ngOnInit(){!this.field.value&&this.field.value!==0&&(this.field.value=this.field.gui.default||0)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=S({type:e,selectors:[["uds-field-numeric"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:4,vars:5,consts:[["floatLabel","always"],["matInput","","type","number",3,"ngModelChange","change","ngModel","placeholder","required","disabled"]],template:function(n,o){n&1&&(c(0,"mat-form-field",0)(1,"mat-label"),g(2),d(),c(3,"input",1),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),b("change",function(){return o.changed.emit(o)}),d()()),n&2&&(m(2),P(" ",o.field.gui.label," "),m(),U("ngModel",o.field.value),p("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0))},dependencies:[lt,jn,xe,Ri,Se,_e,Ae,ft]});let i=e;return i})();var FO=(()=>{let e=class e{constructor(){this.field={},this.changed=new T,this.passwordType="password"}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=S({type:e,selectors:[["uds-field-password"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:7,vars:7,consts:[["floatLabel","always"],["matInput","","autocomplete","new-password",3,"ngModelChange","change","ngModel","placeholder","required","disabled","type"],["matSuffix","","mat-icon-button","",3,"click"],[1,"material-icons"]],template:function(n,o){n&1&&(c(0,"mat-form-field",0)(1,"mat-label"),g(2),d(),c(3,"input",1),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),b("change",function(){return o.changed.emit(o)}),d(),c(4,"button",2),b("click",function(){return o.passwordType=o.passwordType==="text"?"password":"text"}),c(5,"i",3),g(6),d()()()),n&2&&(m(2),P(" ",o.field.gui.label," "),m(),U("ngModel",o.field.value),p("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0)("type",o.passwordType),m(3),He(o.passwordType==="text"?"visibility_off":"visibility"))},dependencies:[lt,xe,Ri,Se,Gi,_e,Ae,ro,ft],styles:[".cdk-text-field-autofilled[_ngcontent-%COMP%]{background-color:red}"]});let i=e;return i})();var NO=(()=>{let e=class e{constructor(){this.field={}}ngOnInit(){(this.field.value===""||this.field.value===void 0)&&(this.field.value=this.field.gui.default||"")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=S({type:e,selectors:[["uds-field-hidden"]],inputs:{field:"field"},decls:0,vars:0,template:function(n,o){}});let i=e;return i})();var LO=(()=>{let e=class e{constructor(){this.field={}}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||""}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=S({type:e,selectors:[["uds-field-textbox"]],inputs:{field:"field",value:"value"},decls:4,vars:7,consts:[["floatLabel","auto"],["matInput","",3,"ngModelChange","ngModel","placeholder","required","readonly","rows","maxlength"]],template:function(n,o){n&1&&(c(0,"mat-form-field",0)(1,"mat-label"),g(2),d(),c(3,"textarea",1),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),d()()),n&2&&(m(2),P(" ",o.field.gui.label," "),m(),U("ngModel",o.field.value),p("placeholder",o.field.gui.tooltip)("required",!!o.field.gui.required)("readonly",o.field.gui.readonly===!0)("rows",o.field.gui.lines||3)("maxlength",o.field.gui.length||255))},dependencies:[lt,xe,Ri,ms,Se,_e,Ae,ft]});let i=e;return i})();function _Q(i,e){if(i&1&&(c(0,"mat-option",3),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),m(),P(" ",r.text," ")}}var VO=(()=>{let e=class e{constructor(){this.field={},this.changed=new T,this.placeholderLabel=django.gettext("Search"),this.noEntriesFoundLabel=django.gettext("No entries found"),this.filter=""}setValue(){let t=this.field.gui.choices||[];this.field.value=this.field.value||this.field.gui.default||"",t.length>0&&!t.find(n=>n.id===this.field.value)&&(this.field.value=""),this.field.value===""&&t.length>0&&(this.field.value=t[0].id)}ngOnInit(){this.setValue()}filteredValues(){let t=this.field.gui.choices||[];if(this.setValue(),!this.filter)return t;let n=this.filter.toLocaleLowerCase();return t.filter(o=>o.text.toLocaleLowerCase().includes(n))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=S({type:e,selectors:[["uds-field-choice"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:6,vars:9,consts:[[3,"ngModelChange","valueChange","ngModel","placeholder","required","disabled"],[3,"changed","options","placeholderLabel","noEntriesFoundLabel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(n,o){n&1&&(c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"mat-select",0),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),b("valueChange",function(){return o.changed.emit(o)}),c(4,"uds-cond-select-search",1),b("changed",function(s){return o.filter=s}),d(),D(5,_Q,2,2,"mat-option",2),d()()),n&2&&(m(2),P(" ",o.field.gui.label," "),m(),U("ngModel",o.field.value),p("placeholder",o.field.gui.tooltip)("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),m(),p("options",o.field.gui.choices)("placeholderLabel",o.placeholderLabel)("noEntriesFoundLabel",o.noEntriesFoundLabel),m(),p("ngForOf",o.filteredValues()))},dependencies:[$e,xe,Ri,Se,_e,Ae,vt,it,di]});let i=e;return i})();function vQ(i,e){if(i&1&&(c(0,"mat-option",3),g(1),d()),i&2){let r=e.$implicit;p("value",r.id),m(),P(" ",r.text," ")}}var jO=(()=>{let e=class e{constructor(){this.field={},this.changed=new T,this.filter="",this.placeholderLabel=django.gettext("Search"),this.noEntriesFoundLabel=django.gettext("No entries found")}ngOnInit(){this.field.value=this.field.value||this.field.gui.default||new Array}filteredValues(){let t=this.field.gui.choices||[];if(!this.filter||t.length===0)return t;let n=this.filter.toLocaleLowerCase();return t.filter(o=>o.text.toLocaleLowerCase().includes(n))}selectTriggerString(){let t=this.field.value||[],n="";t.length===0&&(n=this.field.gui.tooltip||django.gettext("Select"));for(let o of t)n!==""&&(n+=", "),n+=this.field.gui.choices?.find(a=>a.id===o)?.text||o;return n}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=S({type:e,selectors:[["uds-field-multichoice"]],inputs:{field:"field"},outputs:{changed:"changed"},decls:8,vars:8,consts:[["multiple","",3,"ngModelChange","valueChange","ngModel","placeholder","required","disabled"],[3,"changed","options"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(n,o){n&1&&(c(0,"mat-form-field")(1,"mat-label"),g(2),d(),c(3,"mat-select",0),H("ngModelChange",function(s){return $(o.field.value,s)||(o.field.value=s),s}),b("valueChange",function(){return o.changed.emit(o)}),c(4,"mat-select-trigger"),g(5),d(),c(6,"uds-cond-select-search",1),b("changed",function(s){return o.filter=s}),d(),D(7,vQ,2,2,"mat-option",2),d()()),n&2&&(m(2),P(" ",o.field.gui.label," "),m(),U("ngModel",o.field.value),p("placeholder",o.selectTriggerString())("required",o.field.gui.required===!0)("disabled",o.field.gui.readonly===!0),m(2),P(" ",o.selectTriggerString()," "),m(),p("options",o.field.gui.choices),m(),p("ngForOf",o.filteredValues()))},dependencies:[$e,xe,Ri,Se,_e,Ae,vt,uf,it,di]});let i=e;return i})();function bQ(i,e){if(i&1){let r=A();c(0,"div",12)(1,"div",13),g(2),d(),c(3,"div",14),g(4," \xA0"),c(5,"a",15),b("click",function(){let n=y(r).index,o=_();return w(o.removeElement(n))}),c(6,"i",16),g(7,"close"),d()()()()}if(i&2){let r=e.$implicit;m(2),P(" ",r," ")}}var BO=(()=>{let e=class e{constructor(t,n,o,a){this.api=t,this.rest=n,this.dialogRef=o,this.data=a,this.values=[],this.input="",this.done=new Jt,this.data.values.forEach(s=>this.values.push(s))}static launch(t,n,o){let a=window.innerWidth<800?"50%":"30%";return t.gui.dialog.open(e,{width:a,data:{title:n,values:o},disableClose:!0}).componentInstance.done}addElements(){this.input.split(",").forEach(t=>{this.values.push(t)}),this.input=""}checkKey(t){t.code==="Enter"&&this.addElements()}removeAll(){this.values.length=0}removeElement(t){this.values.splice(t,1)}save(){this.data.values.length=0,this.values.forEach(t=>this.data.values.push(t)),this.dialogRef.close(),this.done.resolve(this.data.values)}cancel(){this.dialogRef.close(),this.done.resolve(null)}ngOnInit(){}};e.\u0275fac=function(n){return new(n||e)(h(z),h(X),h(Le),h(Ke))},e.\u0275cmp=S({type:e,selectors:[["uds-editlist-editor"]],decls:23,vars:3,consts:[["mat-dialog-title",""],[1,"content"],[1,"list"],["class","elem",4,"ngFor","ngForOf"],[1,"buttons"],["mat-raised-button","","color","warn",3,"click"],[1,"input"],[1,"example-full-width"],["type","text","matInput","",3,"keyup","ngModelChange","ngModel"],["matSuffix","","mat-icon-button","",3,"click"],["matSuffix","",1,"material-icons"],["mat-raised-button","","color","primary",3,"click"],[1,"elem"],[1,"val"],[1,"remove"],[3,"click"],[1,"material-icons"]],template:function(n,o){n&1&&(c(0,"h4",0),g(1),d(),c(2,"mat-dialog-content")(3,"div",1)(4,"div",2),D(5,bQ,8,1,"div",3),d(),c(6,"div",4)(7,"button",5),b("click",function(){return o.removeAll()}),c(8,"uds-translate"),g(9,"Remove all"),d()()(),c(10,"div",6)(11,"mat-form-field",7)(12,"input",8),b("keyup",function(s){return o.checkKey(s)}),H("ngModelChange",function(s){return $(o.input,s)||(o.input=s),s}),d(),c(13,"button",9),b("click",function(){return o.addElements()}),c(14,"i",10),g(15,"add"),d()()()()()(),c(16,"mat-dialog-actions")(17,"button",5),b("click",function(){return o.cancel()}),c(18,"uds-translate"),g(19,"Cancel"),d()(),c(20,"button",11),b("click",function(){return o.save()}),c(21,"uds-translate"),g(22,"Ok"),d()()()),n&2&&(m(),P(" ",o.data.title,`
+`))},dependencies:[xn],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}'],encapsulation:2,changeDetection:0});let i=e;return i})();function aw(i){return i?.nodeName==="TD"}function sw(i){let e;return aw(i)?e=i:aw(i.parentNode)?e=i.parentNode:aw(i.parentNode?.parentNode)&&(e=i.parentNode.parentNode),e?.getAttribute("data-mat-row")!=null?e:null}function lw(i,e,r){return r!==null&&e!==r&&i