marketplacepos 2.9.4 → 2.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/Marketplace/103.bd9a1f982b50e346.js +1 -0
  2. package/Marketplace/168.f88b133ecbdcb96a.js +1 -0
  3. package/Marketplace/231.0c7ab993977632a2.js +1 -0
  4. package/Marketplace/257.d1592e885695ba4b.js +1 -0
  5. package/Marketplace/278.e89610409641d910.js +1 -0
  6. package/Marketplace/296.93310f70e5f9d3a9.js +1 -0
  7. package/Marketplace/299.86cba892502ce6e4.js +1 -0
  8. package/Marketplace/307.f56ec0946ec944b7.js +1 -0
  9. package/Marketplace/311.17b5fcab2ef01d3f.js +1 -0
  10. package/Marketplace/389.f73b3c5db7bdf654.js +1 -0
  11. package/Marketplace/3rdpartylicenses.txt +1 -1
  12. package/Marketplace/445.8f1497373c95bb64.js +1 -0
  13. package/Marketplace/452.12b65c3c6f144b7e.js +1 -0
  14. package/Marketplace/476.d08ef7b92327904d.js +1 -0
  15. package/Marketplace/478.348a0f1d9f25448d.js +1 -0
  16. package/Marketplace/500.c2e6963e4771761e.js +1 -0
  17. package/Marketplace/527.e23646167d384e97.js +1 -0
  18. package/Marketplace/556.5d624cfb73f161b2.js +1 -0
  19. package/Marketplace/56.0432dfcbb3e04e39.js +1 -0
  20. package/Marketplace/599.8de0c2b4c7af0f9d.js +1 -0
  21. package/Marketplace/617.4db1b737553fe58b.js +1 -0
  22. package/Marketplace/62.4f9a8ca2692bdd97.js +1 -0
  23. package/Marketplace/671.8d5ec5d95df1c8e5.js +1 -0
  24. package/Marketplace/699.e1f8489991913e8e.js +1 -0
  25. package/Marketplace/726.318498721a0c771c.js +1 -0
  26. package/Marketplace/810.af61302495e16f98.js +1 -0
  27. package/Marketplace/877.bbdea3b04cc75780.js +1 -0
  28. package/Marketplace/900.f4171c8753af159f.js +1 -0
  29. package/Marketplace/967.2b39f548c7f4eb30.js +1 -0
  30. package/Marketplace/common.91711b840b02b984.js +1 -0
  31. package/Marketplace/index.html +6 -5
  32. package/Marketplace/main.e646f758e999bb20.js +1 -0
  33. package/Marketplace/polyfills.503b3f4bf922d237.js +1 -0
  34. package/Marketplace/runtime.2e7e4ee8428d338f.js +1 -0
  35. package/Marketplace/scripts.3e75d50128144df1.js +1 -0
  36. package/Marketplace/styles.7f496be7a7c4b295.css +19 -0
  37. package/package.json +1 -1
  38. package/Marketplace/213.73aa99e3f8dc5caa.js +0 -1
  39. package/Marketplace/277.e644e3531765ce65.js +0 -1
  40. package/Marketplace/360.8279e3b4ceab63e1.js +0 -1
  41. package/Marketplace/369.881799be1b0c0cd7.js +0 -1
  42. package/Marketplace/379.aad8784dbdb3dd33.js +0 -1
  43. package/Marketplace/392.f4537160149f627a.js +0 -1
  44. package/Marketplace/395.2943aa5a44308399.js +0 -1
  45. package/Marketplace/397.13ff3d72465810f8.js +0 -1
  46. package/Marketplace/425.03f8f97da7452806.js +0 -1
  47. package/Marketplace/455.c9dd08adf08a1b65.js +0 -1
  48. package/Marketplace/46.40ebac81bd0fb91b.js +0 -1
  49. package/Marketplace/481.64ffd74d20798f93.js +0 -1
  50. package/Marketplace/501.7645c32a140dd7f8.js +0 -1
  51. package/Marketplace/512.52dc49022c04fa43.js +0 -1
  52. package/Marketplace/53.3655b31ecb37ade9.js +0 -1
  53. package/Marketplace/533.cc5ab7f3ce13770c.js +0 -1
  54. package/Marketplace/545.4809f373cc63f3b4.js +0 -1
  55. package/Marketplace/655.ae475c8285604367.js +0 -1
  56. package/Marketplace/717.5d253da5bb63552f.js +0 -1
  57. package/Marketplace/739.0de1f18deac0ed90.js +0 -1
  58. package/Marketplace/767.eca7237ccb50aa86.js +0 -1
  59. package/Marketplace/835.6cfe266f3c9b5cc9.js +0 -1
  60. package/Marketplace/859.3a4d26983bbb5254.js +0 -1
  61. package/Marketplace/874.5b06431d2b5a1e8f.js +0 -1
  62. package/Marketplace/913.ec8155bc121fb0a6.js +0 -1
  63. package/Marketplace/993.5c22ca4b00b8c459.js +0 -1
  64. package/Marketplace/997.1e5281aa64540dee.js +0 -1
  65. package/Marketplace/common.af67cc08f47a8d44.js +0 -1
  66. package/Marketplace/main.4874ea507cbcab3a.js +0 -1
  67. package/Marketplace/polyfills.bee3c4d96e890990.js +0 -1
  68. package/Marketplace/runtime.357a02c3b18dd5e6.js +0 -1
  69. package/Marketplace/scripts.b7cebc1258dbcca8.js +0 -1
  70. package/Marketplace/styles.97105d62c44869cb.css +0 -20
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[425],{2138:(j,P,d)=>{d.d(P,{B8:()=>O,KL:()=>D,U5:()=>L,be:()=>E,gx:()=>C,u6:()=>b});var x=d(2693),g=d(445),m=d(1281),e=d(9521),p=d(4650),y=d(3353),R=d(7579),I=d(9646),S=d(8675),M=d(2722);function w(l,h){1&l&&p.Hsn(0)}const A=["*"];let D=(()=>{class l{constructor(n){this._elementRef=n}focus(){this._elementRef.nativeElement.focus()}}return l.\u0275fac=function(n){return new(n||l)(p.Y36(p.SBq))},l.\u0275dir=p.lG2({type:l,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),l})(),b=(()=>{class l{constructor(n){this.template=n}}return l.\u0275fac=function(n){return new(n||l)(p.Y36(p.Rgc))},l.\u0275dir=p.lG2({type:l,selectors:[["","cdkStepLabel",""]]}),l})(),B=0;const C=new p.OlP("STEPPER_GLOBAL_OPTIONS");let E=(()=>{class l{get editable(){return this._editable}set editable(n){this._editable=(0,m.Ig)(n)}get optional(){return this._optional}set optional(n){this._optional=(0,m.Ig)(n)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(n){this._completedOverride=(0,m.Ig)(n)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(n){this._customError=(0,m.Ig)(n)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(n,a){this._stepper=n,this.interacted=!1,this.interactedStream=new p.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=a||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}}return l.\u0275fac=function(n){return new(n||l)(p.Y36((0,p.Gpc)(()=>O)),p.Y36(C,8))},l.\u0275cmp=p.Xpm({type:l,selectors:[["cdk-step"]],contentQueries:function(n,a,_){if(1&n&&p.Suo(_,b,5),2&n){let f;p.iGM(f=p.CRH())&&(a.stepLabel=f.first)}},viewQuery:function(n,a){if(1&n&&p.Gf(p.Rgc,7),2&n){let _;p.iGM(_=p.CRH())&&(a.content=_.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[p.TTD],ngContentSelectors:A,decls:1,vars:0,template:function(n,a){1&n&&(p.F$t(),p.YNc(0,w,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),l})(),O=(()=>{class l{get linear(){return this._linear}set linear(n){this._linear=(0,m.Ig)(n)}get selectedIndex(){return this._selectedIndex}set selectedIndex(n){const a=(0,m.su)(n);this.steps&&this._steps?(this._isValidIndex(a),this.selected?._markAsInteracted(),this._selectedIndex!==a&&!this._anyControlsInvalidOrPending(a)&&(a>=this._selectedIndex||this.steps.toArray()[a].editable)&&this._updateSelectedItemIndex(a)):this._selectedIndex=a}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(n){this.selectedIndex=n&&this.steps?this.steps.toArray().indexOf(n):-1}get orientation(){return this._orientation}set orientation(n){this._orientation=n,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===n)}constructor(n,a,_){this._dir=n,this._changeDetectorRef=a,this._elementRef=_,this._destroyed=new R.x,this.steps=new p.n_E,this._sortedHeaders=new p.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new p.vpe,this._orientation="horizontal",this._groupId=B++}ngAfterContentInit(){this._steps.changes.pipe((0,S.O)(this._steps),(0,M.R)(this._destroyed)).subscribe(n=>{this.steps.reset(n.filter(a=>a._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,S.O)(this._stepHeader),(0,M.R)(this._destroyed)).subscribe(n=>{this._sortedHeaders.reset(n.toArray().sort((a,_)=>a._elementRef.nativeElement.compareDocumentPosition(_._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new x.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,I.of)()).pipe((0,S.O)(this._layoutDirection()),(0,M.R)(this._destroyed)).subscribe(n=>this._keyManager.withHorizontalOrientation(n)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(n=>n.reset()),this._stateChanged()}_getStepLabelId(n){return`cdk-step-label-${this._groupId}-${n}`}_getStepContentId(n){return`cdk-step-content-${this._groupId}-${n}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(n){const a=n-this._selectedIndex;return a<0?"rtl"===this._layoutDirection()?"next":"previous":a>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(n,a="number"){const _=this.steps.toArray()[n],f=this._isCurrentStep(n);return _._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(_,f):this._getGuidelineLogic(_,f,a)}_getDefaultIndicatorLogic(n,a){return n._showError()&&n.hasError&&!a?"error":!n.completed||a?"number":n.editable?"edit":"done"}_getGuidelineLogic(n,a,_="number"){return n._showError()&&n.hasError&&!a?"error":n.completed&&!a?"done":n.completed&&a?_:n.editable&&a?"edit":_}_isCurrentStep(n){return this._selectedIndex===n}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(n){const a=this.steps.toArray();this.selectionChange.emit({selectedIndex:n,previouslySelectedIndex:this._selectedIndex,selectedStep:a[n],previouslySelectedStep:a[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(n):this._keyManager.updateActiveItem(n),this._selectedIndex=n,this._stateChanged()}_onKeydown(n){const a=(0,e.Vb)(n),_=n.keyCode,f=this._keyManager;null==f.activeItemIndex||a||_!==e.L_&&_!==e.K5?f.setFocusOrigin("keyboard").onKeydown(n):(this.selectedIndex=f.activeItemIndex,n.preventDefault())}_anyControlsInvalidOrPending(n){return!!(this._linear&&n>=0)&&this.steps.toArray().slice(0,n).some(a=>{const _=a.stepControl;return(_?_.invalid||_.pending||!a.interacted:!a.completed)&&!a.optional&&!a._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const n=this._elementRef.nativeElement,a=(0,y.ht)();return n===a||n.contains(a)}_isValidIndex(n){return n>-1&&(!this.steps||n<this.steps.length)}}return l.\u0275fac=function(n){return new(n||l)(p.Y36(g.Is,8),p.Y36(p.sBO),p.Y36(p.SBq))},l.\u0275dir=p.lG2({type:l,selectors:[["","cdkStepper",""]],contentQueries:function(n,a,_){if(1&n&&(p.Suo(_,E,5),p.Suo(_,D,5)),2&n){let f;p.iGM(f=p.CRH())&&(a._steps=f),p.iGM(f=p.CRH())&&(a._stepHeader=f)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),l})(),L=(()=>{class l{}return l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=p.oAB({type:l}),l.\u0275inj=p.cJS({imports:[g.vT]}),l})()},8425:(j,P,d)=>{d.d(P,{C0:()=>J,T5:()=>se,VY:()=>T,Vq:()=>W,z9:()=>Z});var x=d(4080),g=d(2138),m=d(6895),e=d(4650),p=d(3238),y=d(7392),R=d(2693),I=d(7579),S=d(727),M=d(445),w=d(3900),A=d(4004),D=d(8675),b=d(2722),B=d(1884),u=d(7340);function v(i,o){if(1&i&&e.GkF(0,8),2&i){const t=e.oxw();e.Q6J("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function C(i,o){if(1&i&&(e.TgZ(0,"span",13),e._uU(1),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Oqu(t._getDefaultTextForState(t.state))}}function E(i,o){if(1&i&&(e.TgZ(0,"span",14),e._uU(1),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Oqu(t._intl.completedLabel)}}function O(i,o){if(1&i&&(e.TgZ(0,"span",14),e._uU(1),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Oqu(t._intl.editableLabel)}}function N(i,o){if(1&i&&(e.TgZ(0,"mat-icon",13),e._uU(1),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Oqu(t._getDefaultTextForState(t.state))}}function z(i,o){if(1&i&&(e.ynx(0,9),e.YNc(1,C,2,1,"span",10),e.YNc(2,E,2,1,"span",11),e.YNc(3,O,2,1,"span",11),e.YNc(4,N,2,1,"mat-icon",12),e.BQk()),2&i){const t=e.oxw();e.Q6J("ngSwitch",t.state),e.xp6(1),e.Q6J("ngSwitchCase","number"),e.xp6(1),e.Q6J("ngIf","done"===t.state),e.xp6(1),e.Q6J("ngIf","edit"===t.state)}}function L(i,o){if(1&i&&(e.TgZ(0,"div",15),e.GkF(1,16),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",t._templateLabel().template)}}function l(i,o){if(1&i&&(e.TgZ(0,"div",15),e._uU(1),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Oqu(t.label)}}function h(i,o){if(1&i&&(e.TgZ(0,"div",17),e._uU(1),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Oqu(t._intl.optionalLabel)}}function n(i,o){if(1&i&&(e.TgZ(0,"div",18),e._uU(1),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Oqu(t.errorMessage)}}function a(i,o){}function _(i,o){if(1&i&&(e.Hsn(0),e.YNc(1,a,0,0,"ng-template",0)),2&i){const t=e.oxw();e.xp6(1),e.Q6J("cdkPortalOutlet",t._portal)}}const f=["*"];function V(i,o){1&i&&e._UZ(0,"div",11)}const F=function(i,o){return{step:i,i:o}};function $(i,o){if(1&i&&(e.ynx(0),e.GkF(1,9),e.YNc(2,V,1,0,"div",10),e.BQk()),2&i){const t=o.$implicit,r=o.index,s=o.last;e.oxw(2);const c=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",c)("ngTemplateOutletContext",e.WLB(3,F,t,r)),e.xp6(1),e.Q6J("ngIf",!s)}}const H=function(i){return{animationDuration:i}},U=function(i,o){return{value:i,params:o}};function q(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",12),e.NdJ("@horizontalStepTransition.done",function(s){e.CHM(t);const c=e.oxw(2);return e.KtG(c._animationDone.next(s))}),e.GkF(1,13),e.qZA()}if(2&i){const t=o.$implicit,r=o.index,s=e.oxw(2);e.ekj("mat-horizontal-stepper-content-inactive",s.selectedIndex!==r),e.Q6J("@horizontalStepTransition",e.WLB(8,U,s._getAnimationDirection(r),e.VKq(6,H,s._getAnimationDuration())))("id",s._getStepContentId(r)),e.uIk("aria-labelledby",s._getStepLabelId(r)),e.xp6(1),e.Q6J("ngTemplateOutlet",t.content)}}function X(i,o){if(1&i&&(e.TgZ(0,"div",4)(1,"div",5),e.YNc(2,$,3,6,"ng-container",6),e.qZA(),e.TgZ(3,"div",7),e.YNc(4,q,2,11,"div",8),e.qZA()()),2&i){const t=e.oxw();e.xp6(2),e.Q6J("ngForOf",t.steps),e.xp6(2),e.Q6J("ngForOf",t.steps)}}function ee(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",15),e.GkF(1,9),e.TgZ(2,"div",16)(3,"div",17),e.NdJ("@verticalStepTransition.done",function(s){e.CHM(t);const c=e.oxw(2);return e.KtG(c._animationDone.next(s))}),e.TgZ(4,"div",18),e.GkF(5,13),e.qZA()()()()}if(2&i){const t=o.$implicit,r=o.index,s=o.last,c=e.oxw(2),pe=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",pe)("ngTemplateOutletContext",e.WLB(10,F,t,r)),e.xp6(1),e.ekj("mat-stepper-vertical-line",!s),e.xp6(1),e.ekj("mat-vertical-stepper-content-inactive",c.selectedIndex!==r),e.Q6J("@verticalStepTransition",e.WLB(15,U,c._getAnimationDirection(r),e.VKq(13,H,c._getAnimationDuration())))("id",c._getStepContentId(r)),e.uIk("aria-labelledby",c._getStepLabelId(r)),e.xp6(2),e.Q6J("ngTemplateOutlet",t.content)}}function te(i,o){if(1&i&&(e.ynx(0),e.YNc(1,ee,6,18,"div",14),e.BQk()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.steps)}}function ie(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"mat-step-header",19),e.NdJ("click",function(){const c=e.CHM(t).step;return e.KtG(c.select())})("keydown",function(s){e.CHM(t);const c=e.oxw();return e.KtG(c._onKeydown(s))}),e.qZA()}if(2&i){const t=o.step,r=o.i,s=e.oxw();e.ekj("mat-horizontal-stepper-header","horizontal"===s.orientation)("mat-vertical-stepper-header","vertical"===s.orientation),e.Q6J("tabIndex",s._getFocusIndex()===r?0:-1)("id",s._getStepLabelId(r))("index",r)("state",s._getIndicatorType(r,t.state))("label",t.stepLabel||t.label)("selected",s.selectedIndex===r)("active",s._stepIsNavigable(r,t))("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",s._iconOverrides)("disableRipple",s.disableRipple||!s._stepIsNavigable(r,t))("color",t.color||s.color),e.uIk("aria-posinset",r+1)("aria-setsize",s.steps.length)("aria-controls",s._getStepContentId(r))("aria-selected",s.selectedIndex==r)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)("aria-disabled",!s._stepIsNavigable(r,t)||null)}}let T=(()=>{class i extends g.u6{}return i.\u0275fac=function(){let o;return function(r){return(o||(o=e.n5z(i)))(r||i)}}(),i.\u0275dir=e.lG2({type:i,selectors:[["","matStepLabel",""]],features:[e.qOj]}),i})(),k=(()=>{class i{constructor(){this.changes=new I.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const re={provide:k,deps:[[new e.FiY,new e.tp0,k]],useFactory:function ne(i){return i||new k}},oe=(0,p.pj)(class extends g.KL{constructor(o){super(o)}},"primary");let Q=(()=>{class i extends oe{constructor(t,r,s,c){super(s),this._intl=t,this._focusMonitor=r,this._intlSubscription=t.changes.subscribe(()=>c.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,r){t?this._focusMonitor.focusVia(this._elementRef,t,r):this._elementRef.nativeElement.focus(r)}_stringLabel(){return this.label instanceof T?null:this.label}_templateLabel(){return this.label instanceof T?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(k),e.Y36(R.tE),e.Y36(e.SBq),e.Y36(e.sBO))},i.\u0275cmp=e.Xpm({type:i,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[e.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,r){1&t&&(e._UZ(0,"div",0),e.TgZ(1,"div")(2,"div",1),e.YNc(3,v,1,2,"ng-container",2),e.YNc(4,z,5,4,"ng-container",3),e.qZA()(),e.TgZ(5,"div",4),e.YNc(6,L,2,1,"div",5),e.YNc(7,l,2,1,"div",5),e.YNc(8,h,2,1,"div",6),e.YNc(9,n,2,1,"div",7),e.qZA()),2&t&&(e.Q6J("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disableRipple),e.xp6(1),e.Gre("mat-step-icon-state-",r.state," mat-step-icon"),e.ekj("mat-step-icon-selected",r.selected),e.xp6(1),e.Q6J("ngSwitch",!(!r.iconOverrides||!r.iconOverrides[r.state])),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(2),e.ekj("mat-step-label-active",r.active)("mat-step-label-selected",r.selected)("mat-step-label-error","error"==r.state),e.xp6(1),e.Q6J("ngIf",r._templateLabel()),e.xp6(1),e.Q6J("ngIf",r._stringLabel()),e.xp6(1),e.Q6J("ngIf",r.optional&&"error"!=r.state),e.xp6(1),e.Q6J("ngIf","error"==r.state))},dependencies:[m.O5,m.tP,m.RF,m.n9,m.ED,y.Hw,p.wG],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,changeDetection:0}),i})();const Y="500ms",G="225ms",K={horizontalStepTransition:(0,u.X$)("horizontalStepTransition",[(0,u.SB)("previous",(0,u.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,u.SB)("current",(0,u.oB)({transform:"none",visibility:"inherit"})),(0,u.SB)("next",(0,u.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,u.eR)("* => *",(0,u.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:Y}})]),verticalStepTransition:(0,u.X$)("verticalStepTransition",[(0,u.SB)("previous",(0,u.oB)({height:"0px",visibility:"hidden"})),(0,u.SB)("next",(0,u.oB)({height:"0px",visibility:"hidden"})),(0,u.SB)("current",(0,u.oB)({height:"*",visibility:"inherit"})),(0,u.eR)("* <=> current",(0,u.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:G}})])};let Z=(()=>{class i{constructor(t){this.templateRef=t}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.Rgc))},i.\u0275dir=e.lG2({type:i,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),i})(),ae=(()=>{class i{constructor(t){this._template=t}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.Rgc))},i.\u0275dir=e.lG2({type:i,selectors:[["ng-template","matStepContent",""]]}),i})(),J=(()=>{class i extends g.be{constructor(t,r,s,c){super(t,c),this._errorStateMatcher=r,this._viewContainerRef=s,this._isSelected=S.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,w.w)(()=>this._stepper.selectionChange.pipe((0,A.U)(t=>t.selectedStep===this),(0,D.O)(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new x.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,r){return this._errorStateMatcher.isErrorState(t,r)||!!(t&&t.invalid&&this.interacted)}}return i.\u0275fac=function(t){return new(t||i)(e.Y36((0,e.Gpc)(()=>W)),e.Y36(p.rD,4),e.Y36(e.s_b),e.Y36(g.gx,8))},i.\u0275cmp=e.Xpm({type:i,selectors:[["mat-step"]],contentQueries:function(t,r,s){if(1&t&&(e.Suo(s,T,5),e.Suo(s,ae,5)),2&t){let c;e.iGM(c=e.CRH())&&(r.stepLabel=c.first),e.iGM(c=e.CRH())&&(r._lazyContent=c.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[e._Bn([{provide:p.rD,useExisting:i},{provide:g.be,useExisting:i}]),e.qOj],ngContentSelectors:f,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,r){1&t&&(e.F$t(),e.YNc(0,_,2,1,"ng-template"))},dependencies:[x.Pl],encapsulation:2,changeDetection:0}),i})(),W=(()=>{class i extends g.B8{get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}constructor(t,r,s){super(t,r,s),this.steps=new e.n_E,this.animationDone=new e.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new I.x,this._animationDuration="";const c=s.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===c?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:r})=>this._iconOverrides[t]=r),this.steps.changes.pipe((0,b.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,B.x)((t,r)=>t.fromState===r.fromState&&t.toState===r.toState),(0,b.R)(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}_stepIsNavigable(t,r){return r.completed||this.selectedIndex===t||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?Y:G}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(M.Is,8),e.Y36(e.sBO),e.Y36(e.SBq))},i.\u0275cmp=e.Xpm({type:i,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,r,s){if(1&t&&(e.Suo(s,J,5),e.Suo(s,Z,5)),2&t){let c;e.iGM(c=e.CRH())&&(r._steps=c),e.iGM(c=e.CRH())&&(r._icons=c)}},viewQuery:function(t,r){if(1&t&&e.Gf(Q,5),2&t){let s;e.iGM(s=e.CRH())&&(r._stepHeader=s)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(t,r){2&t&&(e.uIk("aria-orientation",r.orientation),e.ekj("mat-stepper-horizontal","horizontal"===r.orientation)("mat-stepper-vertical","vertical"===r.orientation)("mat-stepper-label-position-end","horizontal"===r.orientation&&"end"==r.labelPosition)("mat-stepper-label-position-bottom","horizontal"===r.orientation&&"bottom"==r.labelPosition)("mat-stepper-header-position-bottom","bottom"===r.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[e._Bn([{provide:g.B8,useExisting:i}]),e.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(t,r){1&t&&(e.ynx(0,0),e.YNc(1,X,5,2,"div",1),e.YNc(2,te,2,1,"ng-container",2),e.BQk(),e.YNc(3,ie,1,23,"ng-template",null,3,e.W1O)),2&t&&(e.Q6J("ngSwitch",r.orientation),e.xp6(1),e.Q6J("ngSwitchCase","horizontal"),e.xp6(1),e.Q6J("ngSwitchCase","vertical"))},dependencies:[m.sg,m.O5,m.tP,m.RF,m.n9,Q],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[K.horizontalStepTransition,K.verticalStepTransition]},changeDetection:0}),i})(),se=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({providers:[re,p.rD],imports:[p.BQ,m.ez,x.eL,g.U5,y.Ps,p.si,p.BQ]}),i})()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[455],{455:(R,p,l)=>{l.d(p,{Rr:()=>_,rP:()=>I});var e=l(4650),m=l(4006),u=l(2693),s=l(3238),h=l(1281),b=l(6895);const f=["switch"],v=["*"],k=new e.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),y={provide:m.JU,useExisting:(0,e.Gpc)(()=>_),multi:!0};class g{constructor(i,t){this.source=i,this.checked=t}}let M=0;const x=(0,s.sb)((0,s.pj)((0,s.Kr)((0,s.Id)(class{constructor(c){this._elementRef=c}}))));let T=(()=>{class c extends x{get required(){return this._required}set required(t){this._required=(0,h.Ig)(t)}get checked(){return this._checked}set checked(t){this._checked=(0,h.Ig)(t),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(t,d,a,o,r,n,E){super(t),this._focusMonitor=d,this._changeDetectorRef=a,this.defaults=r,this._onChange=S=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new e.vpe,this.toggleChange=new e.vpe,this.tabIndex=parseInt(o)||0,this.color=this.defaultColor=r.color||"accent",this._noopAnimations="NoopAnimations"===n,this.id=this._uniqueId=`${E}${++M}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return c.\u0275fac=function(t){e.$Z()},c.\u0275dir=e.lG2({type:c,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[e.qOj]}),c})(),_=(()=>{class c extends T{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(t,d,a,o,r,n){super(t,d,a,o,r,n,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new g(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(t){return new g(this,t)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return c.\u0275fac=function(t){return new(t||c)(e.Y36(e.SBq),e.Y36(u.tE),e.Y36(e.sBO),e.$8M("tabindex"),e.Y36(k),e.Y36(e.QbO,8))},c.\u0275cmp=e.Xpm({type:c,selectors:[["mat-slide-toggle"]],viewQuery:function(t,d){if(1&t&&e.Gf(f,5),2&t){let a;e.iGM(a=e.CRH())&&(d._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(t,d){2&t&&(e.Ikx("id",d.id),e.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.ekj("mat-mdc-slide-toggle-focused",d._focused)("mat-mdc-slide-toggle-checked",d.checked)("_mat-animation-noopable",d._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[e._Bn([y]),e.qOj],ngContentSelectors:v,decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(t,d){if(1&t&&(e.F$t(),e.TgZ(0,"div",0)(1,"button",1,2),e.NdJ("click",function(){return d._handleClick()}),e._UZ(3,"div",3),e.TgZ(4,"div",4)(5,"div",5)(6,"div",6),e._UZ(7,"div",7),e.qZA(),e.TgZ(8,"div",8),e._UZ(9,"div",9),e.qZA(),e.TgZ(10,"div",10),e.O4$(),e.TgZ(11,"svg",11),e._UZ(12,"path",12),e.qZA(),e.TgZ(13,"svg",13),e._UZ(14,"path",14),e.qZA()()()()(),e.kcU(),e.TgZ(15,"label",15),e.NdJ("click",function(o){return o.stopPropagation()}),e.Hsn(16),e.qZA()()),2&t){const a=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==d.labelPosition),e.xp6(1),e.ekj("mdc-switch--selected",d.checked)("mdc-switch--unselected",!d.checked)("mdc-switch--checked",d.checked)("mdc-switch--disabled",d.disabled),e.Q6J("tabIndex",d.tabIndex)("disabled",d.disabled),e.uIk("id",d.buttonId)("name",d.name)("aria-label",d.ariaLabel)("aria-labelledby",d._getAriaLabelledBy())("aria-describedby",d.ariaDescribedby)("aria-required",d.required||null)("aria-checked",d.checked),e.xp6(8),e.Q6J("matRippleTrigger",a)("matRippleDisabled",d.disableRipple||d.disabled)("matRippleCentered",!0),e.xp6(6),e.Q6J("for",d.buttonId),e.uIk("id",d._labelId)}},dependencies:[s.wG],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}'],encapsulation:2,changeDetection:0}),c})(),w=(()=>{class c{}return c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=e.oAB({type:c}),c.\u0275inj=e.cJS({}),c})(),I=(()=>{class c{}return c.\u0275fac=function(t){return new(t||c)},c.\u0275mod=e.oAB({type:c}),c.\u0275inj=e.cJS({imports:[w,s.BQ,s.si,b.ez,w,s.BQ]}),c})()}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[46],{2937:(De,K,h)=>{h.d(K,{Z:()=>w,e:()=>M});var V=h(6895),T=h(266),A=h(284),f=h(4954),t=h(4650);function x(o,p){if(1&o&&(t.ynx(0),t.TgZ(1,"a",6),t._uU(2),t.qZA(),t.BQk()),2&o){const _=t.oxw().$implicit;t.xp6(1),t.s9C("routerLink",_.Url),t.Q6J("title",_.Description?_.Description:""),t.xp6(1),t.hij(" ",_.Title," ")}}function Z(o,p){if(1&o&&(t.TgZ(0,"li",4),t.YNc(1,x,3,3,"ng-container",5),t.qZA()),2&o){const _=p.$implicit;t.xp6(1),t.Q6J("ngxPermissionsOnly",_.Permissions)}}function c(o,p){if(1&o&&(t.ynx(0),t.YNc(1,Z,2,1,"li",3),t.BQk()),2&o){const _=t.oxw();t.xp6(1),t.Q6J("ngForOf",_.Tabs)}}function k(o,p){if(1&o&&(t.TgZ(0,"li",4)(1,"a",6),t._uU(2),t.qZA()()),2&o){const _=p.$implicit;t.xp6(1),t.s9C("routerLink",_.Url),t.Q6J("title",_.Description?_.Description:""),t.xp6(1),t.hij(" ",_.Title," ")}}function v(o,p){if(1&o&&t.YNc(0,k,3,3,"li",3),2&o){const _=t.oxw();t.Q6J("ngForOf",_.Tabs)}}class M{constructor(){this.usePermissions=!1}}M.\u0275fac=function(p){return new(p||M)},M.\u0275cmp=t.Xpm({type:M,selectors:[["nav-tab"]],inputs:{Tabs:"Tabs",usePermissions:"usePermissions"},decls:4,vars:2,consts:[[1,"nav","navbar-nav","navbar-left","nav-tab-arrow"],[4,"ngIf","ngIfElse"],["NOT_USE_PERMISSIONS",""],["routerLinkActive","active","class","nav-item me-6",4,"ngFor","ngForOf"],["routerLinkActive","active",1,"nav-item","me-6"],[4,"ngxPermissionsOnly"],[1,"nav-link","nav-link-arrow","mb-0",3,"routerLink","title"]],template:function(p,_){if(1&p&&(t.TgZ(0,"ul",0),t.YNc(1,c,2,1,"ng-container",1),t.YNc(2,v,1,1,"ng-template",null,2,t.W1O),t.qZA()),2&p){const F=t.MAs(3);t.xp6(1),t.Q6J("ngIf",_.usePermissions)("ngIfElse",F)}},dependencies:[V.sg,V.O5,A.rH,A.Od,f.gE]});class w{}w.\u0275fac=function(p){return new(p||w)},w.\u0275mod=t.oAB({type:w}),w.\u0275inj=t.cJS({imports:[V.ez,A.Bz,T.AV,f.VI.forChild()]})},9602:(De,K,h)=>{h.d(K,{By:()=>fe,DK:()=>mt,FA:()=>Dt,M5:()=>ft,Mq:()=>it,_g:()=>pt,dp:()=>gt,hl:()=>ee,nW:()=>dt,wx:()=>ut,zY:()=>ge});var V=h(2693),T=h(8184),A=h(4080),f=h(6895),t=h(4650),x=h(9101),Z=h(7376),c=h(3238),k=h(7579),v=h(727),M=h(6451),w=h(9646),o=h(9521),p=h(445),_=h(5698),F=h(8675),ve=h(9300),E=h(1281),be=h(3353),u=h(7340),m=h(4006),U=h(9549),Ce=h(4144);const ye=["mat-calendar-body",""];function Ae(r,s){if(1&r&&(t.TgZ(0,"tr",3)(1,"td",4),t._uU(2),t.qZA()()),2&r){const e=t.oxw();t.xp6(1),t.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),t.uIk("colspan",e.numCols),t.xp6(1),t.hij(" ",e.label," ")}}function Me(r,s){if(1&r&&(t.TgZ(0,"td",4),t._uU(1),t.qZA()),2&r){const e=t.oxw(2);t.Udp("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),t.uIk("colspan",e._firstRowOffset),t.xp6(1),t.hij(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function we(r,s){if(1&r){const e=t.EpF();t.TgZ(0,"td",8)(1,"button",9),t.NdJ("click",function(i){const d=t.CHM(e).$implicit,l=t.oxw(2);return t.KtG(l._cellClicked(d,i))})("focus",function(i){const d=t.CHM(e).$implicit,l=t.oxw(2);return t.KtG(l._emitActiveDateChange(d,i))}),t.TgZ(2,"div",10),t._uU(3),t.qZA(),t._UZ(4,"div",11),t.qZA()()}if(2&r){const e=s.$implicit,a=s.index,i=t.oxw().index,n=t.oxw();t.Udp("width",n._cellWidth)("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),t.uIk("data-mat-row",i)("data-mat-col",a),t.xp6(1),t.ekj("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",n._isActiveCell(i,a))("mat-calendar-body-range-start",n._isRangeStart(e.compareValue))("mat-calendar-body-range-end",n._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",n._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",n._isComparisonBridgeStart(e.compareValue,i,a))("mat-calendar-body-comparison-bridge-end",n._isComparisonBridgeEnd(e.compareValue,i,a))("mat-calendar-body-comparison-start",n._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",n._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",n._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",n._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",n._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",n._isInPreview(e.compareValue)),t.Q6J("ngClass",e.cssClasses)("tabindex",n._isActiveCell(i,a)?0:-1),t.uIk("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",n._isSelected(e.compareValue))("aria-current",n.todayValue===e.compareValue?"date":null)("aria-describedby",n._getDescribedby(e.compareValue)),t.xp6(1),t.ekj("mat-calendar-body-selected",n._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",n._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",n.todayValue===e.compareValue),t.xp6(1),t.hij(" ",e.displayValue," ")}}function ke(r,s){if(1&r&&(t.TgZ(0,"tr",5),t.YNc(1,Me,2,6,"td",6),t.YNc(2,we,5,48,"td",7),t.qZA()),2&r){const e=s.$implicit,a=s.index,i=t.oxw();t.xp6(1),t.Q6J("ngIf",0===a&&i._firstRowOffset),t.xp6(1),t.Q6J("ngForOf",e)}}function Ee(r,s){if(1&r&&(t.TgZ(0,"th",5)(1,"span",6),t._uU(2),t.qZA(),t.TgZ(3,"span",7),t._uU(4),t.qZA()()),2&r){const e=s.$implicit;t.xp6(2),t.Oqu(e.long),t.xp6(2),t.Oqu(e.narrow)}}const ae=["*"];function Ve(r,s){}function Se(r,s){if(1&r){const e=t.EpF();t.TgZ(0,"mat-month-view",5),t.NdJ("activeDateChange",function(i){t.CHM(e);const n=t.oxw();return t.KtG(n.activeDate=i)})("_userSelection",function(i){t.CHM(e);const n=t.oxw();return t.KtG(n._dateSelected(i))})("dragStarted",function(i){t.CHM(e);const n=t.oxw();return t.KtG(n._dragStarted(i))})("dragEnded",function(i){t.CHM(e);const n=t.oxw();return t.KtG(n._dragEnded(i))}),t.qZA()}if(2&r){const e=t.oxw();t.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function Ie(r,s){if(1&r){const e=t.EpF();t.TgZ(0,"mat-year-view",6),t.NdJ("activeDateChange",function(i){t.CHM(e);const n=t.oxw();return t.KtG(n.activeDate=i)})("monthSelected",function(i){t.CHM(e);const n=t.oxw();return t.KtG(n._monthSelectedInYearView(i))})("selectedChange",function(i){t.CHM(e);const n=t.oxw();return t.KtG(n._goToDateInView(i,"month"))}),t.qZA()}if(2&r){const e=t.oxw();t.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Te(r,s){if(1&r){const e=t.EpF();t.TgZ(0,"mat-multi-year-view",7),t.NdJ("activeDateChange",function(i){t.CHM(e);const n=t.oxw();return t.KtG(n.activeDate=i)})("yearSelected",function(i){t.CHM(e);const n=t.oxw();return t.KtG(n._yearSelectedInMultiYearView(i))})("selectedChange",function(i){t.CHM(e);const n=t.oxw();return t.KtG(n._goToDateInView(i,"year"))}),t.qZA()}if(2&r){const e=t.oxw();t.Q6J("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function xe(r,s){}const Ye=["button"];function Re(r,s){1&r&&(t.O4$(),t.TgZ(0,"svg",3),t._UZ(1,"path",4),t.qZA())}const Oe=[[["","matDatepickerToggleIcon",""]]],Fe=["[matDatepickerToggleIcon]"],Pe=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Be=["input[matStartDate]","input[matEndDate]"];function Le(r,s){1&r&&(t.TgZ(0,"div",0),t.Hsn(1),t.qZA())}let P=(()=>{class r{constructor(){this.changes=new k.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(e,a){return`${e} \u2013 ${a}`}formatYearRangeLabel(e,a){return`${e} to ${a}`}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();class G{constructor(s,e,a,i,n={},d=s,l){this.value=s,this.displayValue=e,this.ariaLabel=a,this.enabled=i,this.cssClasses=n,this.compareValue=d,this.rawValue=l}}let Ne=1,O=(()=>{class r{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(e,a){this._elementRef=e,this._ngZone=a,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new t.vpe,this.previewChange=new t.vpe,this.activeDateChange=new t.vpe,this.dragStarted=new t.vpe,this.dragEnded=new t.vpe,this._didDragSinceMouseDown=!1,this._enterHandler=i=>{if(this._skipNextFocus&&"focus"===i.type)this._skipNextFocus=!1;else if(i.target&&this.isRange){const n=this._getCellFromElement(i.target);n&&this._ngZone.run(()=>this.previewChange.emit({value:n.enabled?n:null,event:i}))}},this._touchmoveHandler=i=>{if(!this.isRange)return;const n=ie(i),d=n?this._getCellFromElement(n):null;n!==i.target&&(this._didDragSinceMouseDown=!0),J(i.target)&&i.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:d?.enabled?d:null,event:i}))},this._leaveHandler=i=>{null!==this.previewEnd&&this.isRange&&("blur"!==i.type&&(this._didDragSinceMouseDown=!0),i.target&&this._getCellFromElement(i.target)&&(!i.relatedTarget||!this._getCellFromElement(i.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:i})))},this._mousedownHandler=i=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const n=i.target&&this._getCellFromElement(i.target);!n||!this._isInRange(n.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:n.rawValue,event:i})})},this._mouseupHandler=i=>{if(!this.isRange)return;const n=J(i.target);n?n.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const d=this._getCellFromElement(n);this.dragEnded.emit({value:d?.rawValue??null,event:i})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:i})})},this._touchendHandler=i=>{const n=ie(i);n&&this._mouseupHandler({target:n})},this._id="mat-calendar-body-"+Ne++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,a.runOutsideAngular(()=>{const i=e.nativeElement;i.addEventListener("mouseenter",this._enterHandler,!0),i.addEventListener("touchmove",this._touchmoveHandler,!0),i.addEventListener("focus",this._enterHandler,!0),i.addEventListener("mouseleave",this._leaveHandler,!0),i.addEventListener("blur",this._leaveHandler,!0),i.addEventListener("mousedown",this._mousedownHandler),i.addEventListener("touchstart",this._mousedownHandler),window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler)})}_cellClicked(e,a){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:a})}_emitActiveDateChange(e,a){e.enabled&&this.activeDateChange.emit({value:e.value,event:a})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const a=e.numCols,{rows:i,numCols:n}=this;(e.rows||a)&&(this._firstRowOffset=i&&i.length&&i[0].length?n-i[0].length:0),(e.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/n+"%"),(a||!this._cellWidth)&&(this._cellWidth=100/n+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("touchmove",this._touchmoveHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0),e.removeEventListener("mousedown",this._mousedownHandler),e.removeEventListener("touchstart",this._mousedownHandler),window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler)}_isActiveCell(e,a){let i=e*this.numCols+a;return e&&(i-=this._firstRowOffset),i==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(()=>{setTimeout(()=>{const a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(e||(this._skipNextFocus=!0),a.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return q(e,this.startValue,this.endValue)}_isRangeEnd(e){return Q(e,this.startValue,this.endValue)}_isInRange(e){return W(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return q(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,a,i){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let n=this.rows[a][i-1];if(!n){const d=this.rows[a-1];n=d&&d[d.length-1]}return n&&!this._isRangeEnd(n.compareValue)}_isComparisonBridgeEnd(e,a,i){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let n=this.rows[a][i+1];if(!n){const d=this.rows[a+1];n=d&&d[0]}return n&&!this._isRangeStart(n.compareValue)}_isComparisonEnd(e){return Q(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return W(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return q(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return Q(e,this.previewStart,this.previewEnd)}_isInPreview(e){return W(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){return this.isRange?this.startValue===e&&this.endValue===e?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===e?this._startDateLabelId:this.endValue===e?this._endDateLabelId:null:null}_getCellFromElement(e){const a=J(e);if(a){const i=a.getAttribute("data-mat-row"),n=a.getAttribute("data-mat-col");if(i&&n)return this.rows[parseInt(i)][parseInt(n)]}return null}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.SBq),t.Y36(t.R0b))},r.\u0275cmp=t.Xpm({type:r,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[t.TTD],attrs:ye,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(e,a){1&e&&(t.YNc(0,Ae,3,6,"tr",0),t.YNc(1,ke,3,2,"tr",1),t.TgZ(2,"label",2),t._uU(3),t.qZA(),t.TgZ(4,"label",2),t._uU(5),t.qZA()),2&e&&(t.Q6J("ngIf",a._firstRowOffset<a.labelMinRequiredCells),t.xp6(1),t.Q6J("ngForOf",a.rows),t.xp6(1),t.Q6J("id",a._startDateLabelId),t.xp6(1),t.hij(" ",a.startDateAccessibleName,"\n"),t.xp6(1),t.Q6J("id",a._endDateLabelId),t.xp6(1),t.hij(" ",a.endDateAccessibleName,"\n"))},dependencies:[f.mk,f.sg,f.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.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;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 .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}.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}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.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}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0}),r})();function z(r){return"TD"===r?.nodeName}function J(r){let s;return z(r)?s=r:z(r.parentNode)?s=r.parentNode:z(r.parentNode?.parentNode)&&(s=r.parentNode.parentNode),null!=s?.getAttribute("data-mat-row")?s:null}function q(r,s,e){return null!==e&&s!==e&&r<e&&r===s}function Q(r,s,e){return null!==s&&s!==e&&r>=s&&r===e}function W(r,s,e,a){return a&&null!==s&&null!==e&&s!==e&&r>=s&&r<=e}function ie(r){const s=r.changedTouches[0];return document.elementFromPoint(s.clientX,s.clientY)}class g{constructor(s,e){this.start=s,this.end=e}}let S=(()=>{class r{constructor(e,a){this.selection=e,this._adapter=a,this._selectionChanged=new k.x,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,a){const i=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:a,oldValue:i})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return r.\u0275fac=function(e){t.$Z()},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac}),r})(),He=(()=>{class r extends S{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new r(this._adapter);return e.updateSelection(this.selection,this),e}}return r.\u0275fac=function(e){return new(e||r)(t.LFG(c._A))},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac}),r})(),Ke=(()=>{class r extends S{constructor(e){super(new g(null,null),e)}add(e){let{start:a,end:i}=this.selection;null==a?a=e:null==i?i=e:(a=e,i=null),super.updateSelection(new g(a,i),this)}isValid(){const{start:e,end:a}=this.selection;return null==e&&null==a||(null!=e&&null!=a?this._isValidDateInstance(e)&&this._isValidDateInstance(a)&&this._adapter.compareDate(e,a)<=0:(null==e||this._isValidDateInstance(e))&&(null==a||this._isValidDateInstance(a)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const e=new r(this._adapter);return e.updateSelection(this.selection,this),e}}return r.\u0275fac=function(e){return new(e||r)(t.LFG(c._A))},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac}),r})();const ne={provide:S,deps:[[new t.FiY,new t.tp0,S],c._A],useFactory:function Ze(r,s){return r||new He(s)}},Ge={provide:S,deps:[[new t.FiY,new t.tp0,S],c._A],useFactory:function Ue(r,s){return r||new Ke(s)}},L=new t.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let ze=(()=>{class r{constructor(e){this._dateAdapter=e}selectionFinished(e,a){let{start:i,end:n}=a;return null==i?i=e:null==n&&e&&this._dateAdapter.compareDate(e,i)>=0?n=e:(i=e,n=null),new g(i,n)}createPreview(e,a){let i=null,n=null;return a.start&&!a.end&&e&&(i=a.start,n=e),new g(i,n)}createDrag(e,a,i){let n=a.start,d=a.end;if(!n||!d)return null;const l=this._dateAdapter,b=0!==l.compareDate(n,d),C=l.getYear(i)-l.getYear(e),I=l.getMonth(i)-l.getMonth(e),y=l.getDate(i)-l.getDate(e);return b&&l.sameDate(e,a.start)?(n=i,l.compareDate(i,d)>0&&(d=l.addCalendarYears(d,C),d=l.addCalendarMonths(d,I),d=l.addCalendarDays(d,y))):b&&l.sameDate(e,a.end)?(d=i,l.compareDate(i,n)<0&&(n=l.addCalendarYears(n,C),n=l.addCalendarMonths(n,I),n=l.addCalendarDays(n,y))):(n=l.addCalendarYears(n,C),n=l.addCalendarMonths(n,I),n=l.addCalendarDays(n,y),d=l.addCalendarYears(d,C),d=l.addCalendarMonths(d,I),d=l.addCalendarDays(d,y)),new g(n,d)}}return r.\u0275fac=function(e){return new(e||r)(t.LFG(c._A))},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac}),r})();const qe={provide:L,deps:[[new t.FiY,new t.tp0,L],c._A],useFactory:function Je(r,s){return r||new ze(s)}};let re=(()=>{class r{get activeDate(){return this._activeDate}set activeDate(e){const a=this._activeDate,i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._hasSameMonthAndYear(a,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof g?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,a,i,n,d){this._changeDetectorRef=e,this._dateFormats=a,this._dateAdapter=i,this._dir=n,this._rangeStrategy=d,this._rerenderSubscription=v.w0.EMPTY,this.activeDrag=null,this.selectedChange=new t.vpe,this._userSelection=new t.vpe,this.dragStarted=new t.vpe,this.dragEnded=new t.vpe,this.activeDateChange=new t.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,F.O)(null)).subscribe(()=>this._init())}ngOnChanges(e){const a=e.comparisonStart||e.comparisonEnd;a&&!a.firstChange&&this._setRanges(this.selected),e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const a=e.value,i=this._getDateFromDayOfMonth(a);let n,d;this._selected instanceof g?(n=this._getDateInCurrentMonth(this._selected.start),d=this._getDateInCurrentMonth(this._selected.end)):n=d=this._getDateInCurrentMonth(this._selected),(n!==a||d!==a)&&this.selectedChange.emit(i),this._userSelection.emit({value:i,event:e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(e){const i=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(e.value),this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(e){const a=this._activeDate,i=this._isRtl();switch(e.keyCode){case o.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case o.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case o.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case o.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case o.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case o.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case o.Ku:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case o.VM:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case o.K5:case o.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&e.preventDefault());case o.hY:return void(null!=this._previewEnd&&!(0,o.Vb)(e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e})),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===o.L_||e.keyCode===o.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:e,value:a}){if(this._rangeStrategy){const i=a?a.rawValue:null,n=this._rangeStrategy.createPreview(i,this.selected,e);if(this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this.activeDrag&&i){const d=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,i,e);d&&(this._previewStart=this._getCellCompareValue(d.start),this._previewEnd=this._getCellCompareValue(d.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(e){if(this.activeDrag)if(e.value){const a=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,e.value,e.event);this.dragEnded.emit({value:a??null,event:e.event})}else this.dragEnded.emit({value:null,event:e.event})}_getDateFromDayOfMonth(e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e)}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),a=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((d,l)=>({long:d,narrow:a[l]}));this._weekdays=n.slice(e).concat(n.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),a=this._dateAdapter.getDateNames();this._weeks=[[]];for(let i=0,n=this._firstWeekOffset;i<e;i++,n++){7==n&&(this._weeks.push([]),n=0);const d=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),i+1),l=this._shouldEnableDate(d),b=this._dateAdapter.format(d,this._dateFormats.display.dateA11yLabel),C=this.dateClass?this.dateClass(d,"month"):void 0;this._weeks[this._weeks.length-1].push(new G(i+1,a[i],b,l,C,this._getCellCompareValue(d),d))}}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,a){return!(!e||!a||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(a)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(a))}_getCellCompareValue(e){if(e){const a=this._dateAdapter.getYear(e),i=this._dateAdapter.getMonth(e),n=this._dateAdapter.getDate(e);return new Date(a,i,n).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof g?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(e){return!this.dateFilter||this.dateFilter(e)}_clearPreview(){this._previewStart=this._previewEnd=null}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.sBO),t.Y36(c.sG,8),t.Y36(c._A,8),t.Y36(p.Is,8),t.Y36(L,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-month-view"]],viewQuery:function(e,a){if(1&e&&t.Gf(O,5),2&e){let i;t.iGM(i=t.CRH())&&(a._matCalendarBody=i.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[t.TTD],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(e,a){1&e&&(t.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),t.YNc(3,Ee,5,2,"th",2),t.qZA(),t.TgZ(4,"tr"),t._UZ(5,"th",3),t.qZA()(),t.TgZ(6,"tbody",4),t.NdJ("selectedValueChange",function(n){return a._dateSelected(n)})("activeDateChange",function(n){return a._updateActiveDate(n)})("previewChange",function(n){return a._previewChanged(n)})("dragStarted",function(n){return a.dragStarted.emit(n)})("dragEnded",function(n){return a._dragEnded(n)})("keyup",function(n){return a._handleCalendarBodyKeyup(n)})("keydown",function(n){return a._handleCalendarBodyKeydown(n)}),t.qZA()()),2&e&&(t.xp6(3),t.Q6J("ngForOf",a._weekdays),t.xp6(3),t.Q6J("label",a._monthLabel)("rows",a._weeks)("todayValue",a._todayDate)("startValue",a._rangeStart)("endValue",a._rangeEnd)("comparisonStart",a._comparisonRangeStart)("comparisonEnd",a._comparisonRangeEnd)("previewStart",a._previewStart)("previewEnd",a._previewEnd)("isRange",a._isRange)("labelMinRequiredCells",3)("activeCell",a._dateAdapter.getDate(a.activeDate)-1)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName))},dependencies:[f.sg,O],encapsulation:2,changeDetection:0}),r})();const D=24;let se=(()=>{class r{get activeDate(){return this._activeDate}set activeDate(e){let a=this._activeDate;const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),de(this._dateAdapter,a,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof g?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,a,i){this._changeDetectorRef=e,this._dateAdapter=a,this._dir=i,this._rerenderSubscription=v.w0.EMPTY,this.selectedChange=new t.vpe,this.yearSelected=new t.vpe,this.activeDateChange=new t.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,F.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const a=this._dateAdapter.getYear(this._activeDate)-B(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let i=0,n=[];i<D;i++)n.push(a+i),4==n.length&&(this._years.push(n.map(d=>this._createCellForYear(d))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const a=e.value,i=this._dateAdapter.createDate(a,0,1),n=this._getDateFromYear(a);this.yearSelected.emit(i),this.selectedChange.emit(n)}_updateActiveDate(e){const i=this._activeDate;this.activeDate=this._getDateFromYear(e.value),this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const a=this._activeDate,i=this._isRtl();switch(e.keyCode){case o.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case o.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case o.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case o.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case o.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-B(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case o.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,D-B(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case o.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-D);break;case o.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:D);break;case o.K5:case o.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===o.L_||e.keyCode===o.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_getActiveCell(){return B(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(e){const a=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,a,1));return this._dateAdapter.createDate(e,a,Math.min(this._dateAdapter.getDate(this.activeDate),i))}_createCellForYear(e){const a=this._dateAdapter.createDate(e,0,1),i=this._dateAdapter.getYearName(a),n=this.dateClass?this.dateClass(a,"multi-year"):void 0;return new G(e,i,i,this._shouldEnableYear(e),n)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let i=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(i)==e;i=this._dateAdapter.addCalendarDays(i,1))if(this.dateFilter(i))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(e){if(this._selectedYear=null,e instanceof g){const a=e.start||e.end;a&&(this._selectedYear=this._dateAdapter.getYear(a))}else e&&(this._selectedYear=this._dateAdapter.getYear(e))}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.sBO),t.Y36(c._A,8),t.Y36(p.Is,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-multi-year-view"]],viewQuery:function(e,a){if(1&e&&t.Gf(O,5),2&e){let i;t.iGM(i=t.CRH())&&(a._matCalendarBody=i.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(e,a){1&e&&(t.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),t._UZ(3,"th",2),t.qZA()(),t.TgZ(4,"tbody",3),t.NdJ("selectedValueChange",function(n){return a._yearSelected(n)})("activeDateChange",function(n){return a._updateActiveDate(n)})("keyup",function(n){return a._handleCalendarBodyKeyup(n)})("keydown",function(n){return a._handleCalendarBodyKeydown(n)}),t.qZA()()),2&e&&(t.xp6(4),t.Q6J("rows",a._years)("todayValue",a._todayYear)("startValue",a._selectedYear)("endValue",a._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._getActiveCell()))},dependencies:[O],encapsulation:2,changeDetection:0}),r})();function de(r,s,e,a,i){const n=r.getYear(s),d=r.getYear(e),l=oe(r,a,i);return Math.floor((n-l)/D)===Math.floor((d-l)/D)}function B(r,s,e,a){return function Qe(r,s){return(r%s+s)%s}(r.getYear(s)-oe(r,e,a),D)}function oe(r,s,e){let a=0;return e?a=r.getYear(e)-D+1:s&&(a=r.getYear(s)),a}let le=(()=>{class r{get activeDate(){return this._activeDate}set activeDate(e){let a=this._activeDate;const i=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._dateAdapter.getYear(a)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof g?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}constructor(e,a,i,n){this._changeDetectorRef=e,this._dateFormats=a,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=v.w0.EMPTY,this.selectedChange=new t.vpe,this.monthSelected=new t.vpe,this.activeDateChange=new t.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,F.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const a=e.value,i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(i);const n=this._getDateFromMonth(a);this.selectedChange.emit(n)}_updateActiveDate(e){const i=this._activeDate;this.activeDate=this._getDateFromMonth(e.value),this._dateAdapter.compareDate(i,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(e){const a=this._activeDate,i=this._isRtl();switch(e.keyCode){case o.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?1:-1);break;case o.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?-1:1);break;case o.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case o.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case o.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case o.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case o.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case o.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case o.K5:case o.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),e.preventDefault()}_handleCalendarBodyKeyup(e){(e.keyCode===o.L_||e.keyCode===o.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(a=>a.map(i=>this._createCellForMonth(i,e[i]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_getDateFromMonth(e){const a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),i=this._dateAdapter.getNumDaysInMonth(a);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i))}_createCellForMonth(e,a){const i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),n=this._dateAdapter.format(i,this._dateFormats.display.monthYearA11yLabel),d=this.dateClass?this.dateClass(i,"year"):void 0;return new G(e,a.toLocaleUpperCase(),n,this._shouldEnableMonth(e),d)}_shouldEnableMonth(e){const a=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(a,e)||this._isYearAndMonthBeforeMinDate(a,e))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(a,e,1);this._dateAdapter.getMonth(n)==e;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(e,a){if(this.maxDate){const i=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return e>i||e===i&&a>n}return!1}_isYearAndMonthBeforeMinDate(e,a){if(this.minDate){const i=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return e<i||e===i&&a<n}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(e){this._selectedMonth=e instanceof g?this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end):this._getMonthInCurrentYear(e)}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.sBO),t.Y36(c.sG,8),t.Y36(c._A,8),t.Y36(p.Is,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-year-view"]],viewQuery:function(e,a){if(1&e&&t.Gf(O,5),2&e){let i;t.iGM(i=t.CRH())&&(a._matCalendarBody=i.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(e,a){1&e&&(t.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),t._UZ(3,"th",2),t.qZA()(),t.TgZ(4,"tbody",3),t.NdJ("selectedValueChange",function(n){return a._monthSelected(n)})("activeDateChange",function(n){return a._updateActiveDate(n)})("keyup",function(n){return a._handleCalendarBodyKeyup(n)})("keydown",function(n){return a._handleCalendarBodyKeydown(n)}),t.qZA()()),2&e&&(t.xp6(4),t.Q6J("label",a._yearLabel)("rows",a._months)("todayValue",a._todayMonth)("startValue",a._selectedMonth)("endValue",a._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._dateAdapter.getMonth(a.activeDate)))},dependencies:[O],encapsulation:2,changeDetection:0}),r})(),We=1,je=(()=>{class r{constructor(e,a,i,n,d){this._intl=e,this.calendar=a,this._dateAdapter=i,this._dateFormats=n,this._id="mat-calendar-header-"+We++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>d.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-D)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:D)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,a){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(a)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(a):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(a):de(this._dateAdapter,e,a,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const a=this._dateAdapter.getYear(this.calendar.activeDate)-B(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),i=a+D-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1))]}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(P),t.Y36((0,t.Gpc)(()=>X)),t.Y36(c._A,8),t.Y36(c.sG,8),t.Y36(t.sBO))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:ae,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(e,a){1&e&&(t.F$t(),t.TgZ(0,"div",0)(1,"div",1)(2,"button",2),t.NdJ("click",function(){return a.currentPeriodClicked()}),t.TgZ(3,"span",3),t._uU(4),t.qZA(),t.O4$(),t.TgZ(5,"svg",4),t._UZ(6,"polygon",5),t.qZA()(),t.kcU(),t._UZ(7,"div",6),t.Hsn(8),t.TgZ(9,"button",7),t.NdJ("click",function(){return a.previousClicked()}),t.qZA(),t.TgZ(10,"button",8),t.NdJ("click",function(){return a.nextClicked()}),t.qZA()()(),t.TgZ(11,"label",9),t._uU(12),t.qZA()),2&e&&(t.xp6(2),t.uIk("aria-label",a.periodButtonLabel)("aria-describedby",a._periodButtonLabelId),t.xp6(2),t.Oqu(a.periodButtonText),t.xp6(1),t.ekj("mat-calendar-invert","month"!==a.calendar.currentView),t.xp6(4),t.Q6J("disabled",!a.previousEnabled()),t.uIk("aria-label",a.prevButtonLabel),t.xp6(1),t.Q6J("disabled",!a.nextEnabled()),t.uIk("aria-label",a.nextButtonLabel),t.xp6(1),t.Q6J("id",a._periodButtonLabelId),t.xp6(1),t.Oqu(a.periodButtonDescription))},dependencies:[x.lW,x.RK],encapsulation:2,changeDetection:0}),r})(),X=(()=>{class r{get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof g?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){const a=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),a&&this.viewChanged.emit(a)}constructor(e,a,i,n){this._dateAdapter=a,this._dateFormats=i,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new t.vpe,this.yearSelected=new t.vpe,this.monthSelected=new t.vpe,this.viewChanged=new t.vpe(!0),this._userSelection=new t.vpe,this._userDragDrop=new t.vpe,this._activeDrag=null,this.stateChanges=new k.x,this._intlChanges=e.changes.subscribe(()=>{n.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new A.C5(this.headerComponent||je),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const a=e.minDate&&!this._dateAdapter.sameDate(e.minDate.previousValue,e.minDate.currentValue)?e.minDate:void 0,i=e.maxDate&&!this._dateAdapter.sameDate(e.maxDate.previousValue,e.maxDate.currentValue)?e.maxDate:void 0,n=a||i||e.dateFilter;if(n&&!n.firstChange){const d=this._getCurrentViewComponent();d&&(this._changeDetectorRef.detectChanges(),d._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(e){const a=e.value;(this.selected instanceof g||a&&!this._dateAdapter.sameDate(a,this.selected))&&this.selectedChange.emit(a),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,a){this.activeDate=e,this.currentView=a}_dragStarted(e){this._activeDrag=e}_dragEnded(e){this._activeDrag&&(e.value&&this._userDragDrop.emit(e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(P),t.Y36(c._A,8),t.Y36(c.sG,8),t.Y36(t.sBO))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-calendar"]],viewQuery:function(e,a){if(1&e&&(t.Gf(re,5),t.Gf(le,5),t.Gf(se,5)),2&e){let i;t.iGM(i=t.CRH())&&(a.monthView=i.first),t.iGM(i=t.CRH())&&(a.yearView=i.first),t.iGM(i=t.CRH())&&(a.multiYearView=i.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[t._Bn([ne]),t.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,a){1&e&&(t.YNc(0,Ve,0,0,"ng-template",0),t.TgZ(1,"div",1),t.YNc(2,Se,1,11,"mat-month-view",2),t.YNc(3,Ie,1,6,"mat-year-view",3),t.YNc(4,Te,1,6,"mat-multi-year-view",4),t.qZA()),2&e&&(t.Q6J("cdkPortalOutlet",a._calendarHeaderPortal),t.xp6(1),t.Q6J("ngSwitch",a.currentView),t.xp6(1),t.Q6J("ngSwitchCase","month"),t.xp6(1),t.Q6J("ngSwitchCase","year"),t.xp6(1),t.Q6J("ngSwitchCase","multi-year"))},dependencies:[f.RF,f.n9,V.kH,A.Pl,re,le,se],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),r})();const ce={transformPanel:(0,u.X$)("transformPanel",[(0,u.eR)("void => enter-dropdown",(0,u.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,u.F4)([(0,u.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,u.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,u.eR)("void => enter-dialog",(0,u.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,u.F4)([(0,u.oB)({opacity:0,transform:"scale(0.7)"}),(0,u.oB)({transform:"none",opacity:1})]))),(0,u.eR)("* => void",(0,u.jt)("100ms linear",(0,u.oB)({opacity:0})))]),fadeInCalendar:(0,u.X$)("fadeInCalendar",[(0,u.SB)("void",(0,u.oB)({opacity:0})),(0,u.SB)("enter",(0,u.oB)({opacity:1})),(0,u.eR)("void => *",(0,u.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let $e=0;const he=new t.OlP("mat-datepicker-scroll-strategy"),et={provide:he,deps:[T.aV],useFactory:function Xe(r){return()=>r.scrollStrategies.reposition()}},tt=(0,c.pj)(class{constructor(r){this._elementRef=r}});let at=(()=>{class r extends tt{constructor(e,a,i,n,d,l){super(e),this._changeDetectorRef=a,this._globalModel=i,this._dateAdapter=n,this._rangeSelectionStrategy=d,this._subscriptions=new v.w0,this._animationDone=new k.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=l.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){const a=this._model.selection,i=e.value,n=a instanceof g;if(n&&this._rangeSelectionStrategy){const d=this._rangeSelectionStrategy.selectionFinished(i,a,e.event);this._model.updateSelection(d,this)}else i&&(n||!this._dateAdapter.sameDate(i,a))&&this._model.add(i);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(e){this._model.updateSelection(e.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(e){this._isAnimating="start"===e.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(e,a){this._model=e?this._globalModel.clone():this._globalModel,this._actionsPortal=e,a&&this._changeDetectorRef.detectChanges()}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(S),t.Y36(c._A),t.Y36(L,8),t.Y36(P))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-datepicker-content"]],viewQuery:function(e,a){if(1&e&&t.Gf(X,5),2&e){let i;t.iGM(i=t.CRH())&&(a._calendar=i.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,a){1&e&&t.WFA("@transformPanel.start",function(n){return a._handleAnimationEvent(n)})("@transformPanel.done",function(n){return a._handleAnimationEvent(n)}),2&e&&(t.d8E("@transformPanel",a._animationState),t.ekj("mat-datepicker-content-touch",a.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[t.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,a){if(1&e&&(t.TgZ(0,"div",0)(1,"mat-calendar",1),t.NdJ("yearSelected",function(n){return a.datepicker._selectYear(n)})("monthSelected",function(n){return a.datepicker._selectMonth(n)})("viewChanged",function(n){return a.datepicker._viewChanged(n)})("_userSelection",function(n){return a._handleUserSelection(n)})("_userDragDrop",function(n){return a._handleUserDragDrop(n)}),t.qZA(),t.YNc(2,xe,0,0,"ng-template",2),t.TgZ(3,"button",3),t.NdJ("focus",function(){return a._closeButtonFocused=!0})("blur",function(){return a._closeButtonFocused=!1})("click",function(){return a.datepicker.close()}),t._uU(4),t.qZA()()),2&e){let i;t.ekj("mat-datepicker-content-container-with-custom-header",a.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",a._actionsPortal),t.uIk("aria-modal",!0)("aria-labelledby",null!==(i=a._dialogLabelId)&&void 0!==i?i:void 0),t.xp6(1),t.Q6J("id",a.datepicker.id)("ngClass",a.datepicker.panelClass)("startAt",a.datepicker.startAt)("startView",a.datepicker.startView)("minDate",a.datepicker._getMinDate())("maxDate",a.datepicker._getMaxDate())("dateFilter",a.datepicker._getDateFilter())("headerComponent",a.datepicker.calendarHeaderComponent)("selected",a._getSelected())("dateClass",a.datepicker.dateClass)("comparisonStart",a.comparisonStart)("comparisonEnd",a.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName),t.xp6(1),t.Q6J("cdkPortalOutlet",a._actionsPortal),t.xp6(1),t.ekj("cdk-visually-hidden",!a._closeButtonFocused),t.Q6J("color",a.color||"primary"),t.xp6(1),t.Oqu(a._closeButtonText)}},dependencies:[f.mk,x.lW,V.mK,A.Pl,X],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[ce.transformPanel,ce.fadeInCalendar]},changeDetection:0}),r})(),Y=(()=>{class r{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=(0,E.Ig)(e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(e){const a=(0,E.Ig)(e);a!==this._disabled&&(this._disabled=a,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(e){this._restoreFocus=(0,E.Ig)(e)}get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=(0,E.du)(e)}get opened(){return this._opened}set opened(e){(0,E.Ig)(e)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(e,a,i,n,d,l,b){this._overlay=e,this._ngZone=a,this._viewContainerRef=i,this._dateAdapter=d,this._dir=l,this._model=b,this._inputStateChanges=v.w0.EMPTY,this._document=(0,t.f3M)(f.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new t.vpe,this.monthSelected=new t.vpe,this.viewChanged=new t.vpe(!0),this.openedStream=new t.vpe,this.closedStream=new t.vpe,this._opened=!1,this.id="mat-datepicker-"+$e++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new k.x,this._scrollStrategy=n}ngOnChanges(e){const a=e.xPosition||e.yPosition;if(a&&!a.firstChange&&this._overlayRef){const i=this._overlayRef.getConfig().positionStrategy;i instanceof T._G&&(this._setConnectedPositions(i),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_viewChanged(e){this.viewChanged.emit(e)}registerInput(e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(e){this._actionsPortal=e,this._componentRef?.instance._assignActions(e,!0)}removeActions(e){e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,be.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const e=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,a=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:i,location:n}=this._componentRef;i._startExitAnimation(),i._animationDone.pipe((0,_.q)(1)).subscribe(()=>{const d=this._document.activeElement;e&&(!d||d===this._document.activeElement||n.nativeElement.contains(d))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}e?setTimeout(a):a()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(e){e.datepicker=this,e.color=this.color,e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const e=this.touchUi,a=new A.C5(at,this._viewContainerRef),i=this._overlayRef=this._overlay.create(new T.X_({positionStrategy:e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(e?"dialog":"popup")}));this._getCloseStream(i).subscribe(n=>{n&&n.preventDefault(),this.close()}),i.keydownEvents().subscribe(n=>{const d=n.keyCode;(d===o.LH||d===o.JH||d===o.oh||d===o.SV||d===o.Ku||d===o.VM)&&n.preventDefault()}),this._componentRef=i.attach(a),this._forwardContentValues(this._componentRef.instance),e||this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(()=>i.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(e)}_setConnectedPositions(e){const a="end"===this.xPosition?"end":"start",i="start"===a?"end":"start",n="above"===this.yPosition?"bottom":"top",d="top"===n?"bottom":"top";return e.withPositions([{originX:a,originY:d,overlayX:a,overlayY:n},{originX:a,originY:n,overlayX:a,overlayY:d},{originX:i,originY:d,overlayX:i,overlayY:n},{originX:i,originY:n,overlayX:i,overlayY:d}])}_getCloseStream(e){const a=["ctrlKey","shiftKey","metaKey"];return(0,M.T)(e.backdropClick(),e.detachments(),e.keydownEvents().pipe((0,ve.h)(i=>i.keyCode===o.hY&&!(0,o.Vb)(i)||this.datepickerInput&&(0,o.Vb)(i,"altKey")&&i.keyCode===o.LH&&a.every(n=>!(0,o.Vb)(i,n)))))}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(T.aV),t.Y36(t.R0b),t.Y36(t.s_b),t.Y36(he),t.Y36(c._A,8),t.Y36(p.Is,8),t.Y36(S))},r.\u0275dir=t.lG2({type:r,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[t.TTD]}),r})(),it=(()=>{class r extends Y{}return r.\u0275fac=function(){let s;return function(a){return(s||(s=t.n5z(r)))(a||r)}}(),r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[t._Bn([ne,{provide:Y,useExisting:r}]),t.qOj],decls:0,vars:0,template:function(e,a){},encapsulation:2,changeDetection:0}),r})();class N{constructor(s,e){this.target=s,this.targetElement=e,this.value=this.target.value}}let _e=(()=>{class r{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){this._assignValueProgrammatically(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const a=(0,E.Ig)(e),i=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0)),a&&this._isInitialized&&i.blur&&i.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(a=>{if(this._shouldHandleChangeEvent(a)){const i=this._getValueFromModel(a.selection);this._lastValueValid=this._isValidValue(i),this._cvaOnChange(i),this._onTouched(),this._formatValue(i),this.dateInput.emit(new N(this,this._elementRef.nativeElement)),this.dateChange.emit(new N(this,this._elementRef.nativeElement))}})}constructor(e,a,i){this._elementRef=e,this._dateAdapter=a,this._dateFormats=i,this.dateChange=new t.vpe,this.dateInput=new t.vpe,this.stateChanges=new k.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=v.w0.EMPTY,this._localeSubscription=v.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=n=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n.value));return!d||this._matchesFilter(d)?null:{matDatepickerFilter:!0}},this._minValidator=n=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n.value)),l=this._getMinDate();return!l||!d||this._dateAdapter.compareDate(l,d)<=0?null:{matDatepickerMin:{min:l,actual:d}}},this._maxValidator=n=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(n.value)),l=this._getMaxDate();return!l||!d||this._dateAdapter.compareDate(l,d)>=0?null:{matDatepickerMax:{max:l,actual:d}}},this._lastValueValid=!1,this._localeSubscription=a.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){ue(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this._assignValueProgrammatically(e)}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){(0,o.Vb)(e,"altKey")&&e.keyCode===o.JH&&["ctrlKey","shiftKey","metaKey"].every(n=>!(0,o.Vb)(e,n))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const a=this._lastValueValid;let i=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i);const n=!this._dateAdapter.sameDate(i,this.value);!i||n?this._cvaOnChange(i):(e&&!this.value&&this._cvaOnChange(i),a!==this._lastValueValid&&this._validatorOnChange()),n&&(this._assignValue(i),this.dateInput.emit(new N(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new N(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=null!=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}_assignValueProgrammatically(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}_matchesFilter(e){const a=this._getDateFilter();return!a||a(e)}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.SBq),t.Y36(c._A,8),t.Y36(c.sG,8))},r.\u0275dir=t.lG2({type:r,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[t.TTD]}),r})();function ue(r,s){const e=Object.keys(r);for(let a of e){const{previousValue:i,currentValue:n}=r[a];if(!s.isDateInstance(i)||!s.isDateInstance(n))return!0;if(!s.sameDate(i,n))return!0}return!1}const nt={provide:m.JU,useExisting:(0,t.Gpc)(()=>ee),multi:!0},rt={provide:m.Cf,useExisting:(0,t.Gpc)(()=>ee),multi:!0};let ee=(()=>{class r extends _e{set matDatepicker(e){e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(e.registerInput(this)))}get min(){return this._min}set min(e){const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(a,this._min)||(this._min=a,this._validatorOnChange())}get max(){return this._max}set max(e){const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(a,this._max)||(this._max=a,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){const a=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==a&&this._validatorOnChange()}constructor(e,a,i,n){super(e,a,i),this._formField=n,this._closedSubscription=v.w0.EMPTY,this._validator=m.kI.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(e){return e.source!==this}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.SBq),t.Y36(c._A,8),t.Y36(c.sG,8),t.Y36(U.G_,8))},r.\u0275dir=t.lG2({type:r,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,a){1&e&&t.NdJ("input",function(n){return a._onInput(n.target.value)})("change",function(){return a._onChange()})("blur",function(){return a._onBlur()})("keydown",function(n){return a._onKeydown(n)}),2&e&&(t.Ikx("disabled",a.disabled),t.uIk("aria-haspopup",a._datepicker?"dialog":null)("aria-owns",(null==a._datepicker?null:a._datepicker.opened)&&a._datepicker.id||null)("min",a.min?a._dateAdapter.toIso8601(a.min):null)("max",a.max?a._dateAdapter.toIso8601(a.max):null)("data-mat-calendar",a._datepicker?a._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[t._Bn([nt,rt,{provide:Ce.Jk,useExisting:r}]),t.qOj]}),r})(),st=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275dir=t.lG2({type:r,selectors:[["","matDatepickerToggleIcon",""]]}),r})(),dt=(()=>{class r{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=(0,E.Ig)(e)}constructor(e,a,i){this._intl=e,this._changeDetectorRef=a,this._stateChanges=v.w0.EMPTY;const n=Number(i);this.tabIndex=n||0===n?n:null}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker.stateChanges:(0,w.of)(),a=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,w.of)(),i=this.datepicker?(0,M.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,w.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,M.T)(this._intl.changes,e,a,i).subscribe(()=>this._changeDetectorRef.markForCheck())}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(P),t.Y36(t.sBO),t.$8M("tabindex"))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,a,i){if(1&e&&t.Suo(i,st,5),2&e){let n;t.iGM(n=t.CRH())&&(a._customIcon=n.first)}},viewQuery:function(e,a){if(1&e&&t.Gf(Ye,5),2&e){let i;t.iGM(i=t.CRH())&&(a._button=i.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,a){1&e&&t.NdJ("click",function(n){return a._open(n)}),2&e&&(t.uIk("tabindex",null)("data-mat-calendar",a.datepicker?a.datepicker.id:null),t.ekj("mat-datepicker-toggle-active",a.datepicker&&a.datepicker.opened)("mat-accent",a.datepicker&&"accent"===a.datepicker.color)("mat-warn",a.datepicker&&"warn"===a.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[t.TTD],ngContentSelectors:Fe,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,a){1&e&&(t.F$t(Oe),t.TgZ(0,"button",0,1),t.YNc(2,Re,2,0,"svg",2),t.Hsn(3),t.qZA()),2&e&&(t.Q6J("disabled",a.disabled)("disableRipple",a.disableRipple),t.uIk("aria-haspopup",a.datepicker?"dialog":null)("aria-label",a.ariaLabel||a._intl.openCalendarLabel)("tabindex",a.disabled?-1:a.tabIndex),t.xp6(2),t.Q6J("ngIf",!a._customIcon))},dependencies:[f.O5,x.RK],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),r})();function ot(r){return te(r,!0)}function pe(r){return r.nodeType===Node.ELEMENT_NODE}function te(r,s){if(pe(r)&&s){const a=(r.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((i,n)=>{const d=document.getElementById(n);return d&&i.push(d),i},[]);if(a.length)return a.map(i=>te(i,!1)).join(" ")}if(pe(r)){const e=r.getAttribute("aria-label")?.trim();if(e)return e}if(function lt(r){return"INPUT"===r.nodeName}(r)||function ct(r){return"TEXTAREA"===r.nodeName}(r)){if(r.labels?.length)return Array.from(r.labels).map(i=>te(i,!1)).join(" ");const e=r.getAttribute("placeholder")?.trim();if(e)return e;const a=r.getAttribute("title")?.trim();if(a)return a}return(r.textContent||"").replace(/\s+/g," ").trim()}const H=new t.OlP("MAT_DATE_RANGE_INPUT_PARENT"),me=(0,c.FD)((()=>{class r extends _e{constructor(e,a,i,n,d,l,b,C){super(a,b,C),this._rangeInput=e,this._elementRef=a,this._defaultErrorStateMatcher=i,this._injector=n,this._parentForm=d,this._parentFormGroup=l,this._dir=(0,t.f3M)(p.Is,{optional:!0})}ngOnInit(){const e=this._injector.get(m.a5,null,{optional:!0,self:!0});e&&(this.ngControl=e)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const e=this._elementRef.nativeElement,a=e.value;return a.length>0?a:e.placeholder}_onInput(e){super._onInput(e),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:e}){return e!==this._rangeInput._startInput&&e!==this._rangeInput._endInput}_assignValueProgrammatically(e){super._assignValueProgrammatically(e),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return ot(this._elementRef.nativeElement)}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(H),t.Y36(t.SBq),t.Y36(c.rD),t.Y36(t.zs3),t.Y36(m.F,8),t.Y36(m.sg,8),t.Y36(c._A,8),t.Y36(c.sG,8))},r.\u0275dir=t.lG2({type:r,features:[t.qOj]}),r})());let ge=(()=>{class r extends me{constructor(e,a,i,n,d,l,b,C){super(e,a,i,n,d,l,b,C),this._startValidator=I=>{const y=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(I.value)),R=this._model?this._model.selection.end:null;return!y||!R||this._dateAdapter.compareDate(y,R)<=0?null:{matStartDateInvalid:{end:R,actual:y}}},this._validator=m.kI.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(e){return e.start}_shouldHandleChangeEvent(e){return!(!super._shouldHandleChangeEvent(e)||(e.oldValue?.start?e.selection.start&&!this._dateAdapter.compareDate(e.oldValue.start,e.selection.start):!e.selection.start))}_assignValueToModel(e){if(this._model){const a=new g(e,this._model.selection.end);this._model.updateSelection(a,this)}}_formatValue(e){super._formatValue(e),this._rangeInput._handleChildValueChange()}_onKeydown(e){const a=this._rangeInput._endInput,i=this._elementRef.nativeElement,n="rtl"!==this._dir?.value;(e.keyCode===o.SV&&n||e.keyCode===o.oh&&!n)&&i.selectionStart===i.value.length&&i.selectionEnd===i.value.length?(e.preventDefault(),a._elementRef.nativeElement.setSelectionRange(0,0),a.focus()):super._onKeydown(e)}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(H),t.Y36(t.SBq),t.Y36(c.rD),t.Y36(t.zs3),t.Y36(m.F,8),t.Y36(m.sg,8),t.Y36(c._A,8),t.Y36(c.sG,8))},r.\u0275dir=t.lG2({type:r,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(e,a){1&e&&t.NdJ("input",function(n){return a._onInput(n.target.value)})("change",function(){return a._onChange()})("keydown",function(n){return a._onKeydown(n)})("blur",function(){return a._onBlur()}),2&e&&(t.Ikx("disabled",a.disabled),t.uIk("aria-haspopup",a._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==a._rangeInput.rangePicker?null:a._rangeInput.rangePicker.opened)&&a._rangeInput.rangePicker.id||null)("min",a._getMinDate()?a._dateAdapter.toIso8601(a._getMinDate()):null)("max",a._getMaxDate()?a._dateAdapter.toIso8601(a._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[t._Bn([{provide:m.JU,useExisting:r,multi:!0},{provide:m.Cf,useExisting:r,multi:!0}]),t.qOj]}),r})(),fe=(()=>{class r extends me{constructor(e,a,i,n,d,l,b,C){super(e,a,i,n,d,l,b,C),this._endValidator=I=>{const y=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(I.value)),R=this._model?this._model.selection.start:null;return!y||!R||this._dateAdapter.compareDate(y,R)>=0?null:{matEndDateInvalid:{start:R,actual:y}}},this._validator=m.kI.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(e){return e.end}_shouldHandleChangeEvent(e){return!(!super._shouldHandleChangeEvent(e)||(e.oldValue?.end?e.selection.end&&!this._dateAdapter.compareDate(e.oldValue.end,e.selection.end):!e.selection.end))}_assignValueToModel(e){if(this._model){const a=new g(this._model.selection.start,e);this._model.updateSelection(a,this)}}_onKeydown(e){const a=this._rangeInput._startInput,i=this._elementRef.nativeElement,n="rtl"!==this._dir?.value;if(e.keyCode!==o.ZH||i.value)if((e.keyCode===o.oh&&n||e.keyCode===o.SV&&!n)&&0===i.selectionStart&&0===i.selectionEnd){e.preventDefault();const d=a._elementRef.nativeElement.value.length;a._elementRef.nativeElement.setSelectionRange(d,d),a.focus()}else super._onKeydown(e);else a.focus()}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(H),t.Y36(t.SBq),t.Y36(c.rD),t.Y36(t.zs3),t.Y36(m.F,8),t.Y36(m.sg,8),t.Y36(c._A,8),t.Y36(c.sG,8))},r.\u0275dir=t.lG2({type:r,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(e,a){1&e&&t.NdJ("input",function(n){return a._onInput(n.target.value)})("change",function(){return a._onChange()})("keydown",function(n){return a._onKeydown(n)})("blur",function(){return a._onBlur()}),2&e&&(t.Ikx("disabled",a.disabled),t.uIk("aria-haspopup",a._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==a._rangeInput.rangePicker?null:a._rangeInput.rangePicker.opened)&&a._rangeInput.rangePicker.id||null)("min",a._getMinDate()?a._dateAdapter.toIso8601(a._getMinDate()):null)("max",a._getMaxDate()?a._dateAdapter.toIso8601(a._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[t._Bn([{provide:m.JU,useExisting:r,multi:!0},{provide:m.Cf,useExisting:r,multi:!0}]),t.qOj]}),r})(),_t=0,ut=(()=>{class r{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const e=this._startInput?._getPlaceholder()||"",a=this._endInput?._getPlaceholder()||"";return e||a?`${e} ${this.separator} ${a}`:""}get rangePicker(){return this._rangePicker}set rangePicker(e){e&&(this._model=e.registerInput(this),this._rangePicker=e,this._closedSubscription.unsubscribe(),this._closedSubscription=e.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return!!this._required}set required(e){this._required=(0,E.Ig)(e)}get dateFilter(){return this._dateFilter}set dateFilter(e){const a=this._startInput,i=this._endInput,n=a&&a._matchesFilter(a.value),d=i&&i._matchesFilter(a.value);this._dateFilter=e,a&&a._matchesFilter(a.value)!==n&&a._validatorOnChange(),i&&i._matchesFilter(i.value)!==d&&i._validatorOnChange()}get min(){return this._min}set min(e){const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(a,this._min)||(this._min=a,this._revalidate())}get max(){return this._max}set max(e){const a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(a,this._max)||(this._max=a,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(e){const a=(0,E.Ig)(e);a!==this._groupDisabled&&(this._groupDisabled=a,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const e=!!this._startInput&&this._startInput.isEmpty(),a=!!this._endInput&&this._endInput.isEmpty();return e&&a}constructor(e,a,i,n,d){if(this._changeDetectorRef=e,this._elementRef=a,this._dateAdapter=n,this._formField=d,this._closedSubscription=v.w0.EMPTY,this.id="mat-date-range-input-"+_t++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new k.x,d?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")){const l=a.nativeElement.classList;l.add("mat-mdc-input-element"),l.add("mat-mdc-form-field-input-control")}this.ngControl=i}setDescribedByIds(e){this._ariaDescribedBy=e.length?e.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,M.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(e){ue(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(e){const a="start"===e?this._startInput:this._endInput;return a?a.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const e=this._formField;return e&&e._hasFloatingLabel()?e._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(e){this.focused=null!==e,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(e){this._startInput&&this._startInput._registerModel(e),this._endInput&&this._endInput._registerModel(e)}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(m.gN,10),t.Y36(c._A,8),t.Y36(U.G_,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-date-range-input"]],contentQueries:function(e,a,i){if(1&e&&(t.Suo(i,ge,5),t.Suo(i,fe,5)),2&e){let n;t.iGM(n=t.CRH())&&(a._startInput=n.first),t.iGM(n=t.CRH())&&(a._endInput=n.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(e,a){2&e&&(t.uIk("id",a.id)("aria-labelledby",a._getAriaLabelledby())("aria-describedby",a._ariaDescribedBy)("data-mat-calendar",a.rangePicker?a.rangePicker.id:null),t.ekj("mat-date-range-input-hide-placeholders",a._shouldHidePlaceholders())("mat-date-range-input-required",a.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[t._Bn([{provide:U.Eo,useExisting:r},{provide:H,useExisting:r}]),t.TTD],ngContentSelectors:Be,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(e,a){1&e&&(t.F$t(Pe),t.TgZ(0,"div",0),t.NdJ("cdkFocusChange",function(n){return a._updateFocus(n)}),t.TgZ(1,"div",1),t.Hsn(2),t.TgZ(3,"span",2),t._uU(4),t.qZA()(),t.TgZ(5,"span",3),t._uU(6),t.qZA(),t.TgZ(7,"div",4),t.Hsn(8,1),t.TgZ(9,"span",2),t._uU(10),t.qZA()()()),2&e&&(t.xp6(4),t.Oqu(a._getInputMirrorValue("start")),t.xp6(1),t.ekj("mat-date-range-input-separator-hidden",a._shouldHideSeparator()),t.xp6(1),t.Oqu(a.separator),t.xp6(4),t.Oqu(a._getInputMirrorValue("end")))},dependencies:[V.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0}),r})(),pt=(()=>{class r extends Y{_forwardContentValues(e){super._forwardContentValues(e);const a=this.datepickerInput;a&&(e.comparisonStart=a.comparisonStart,e.comparisonEnd=a.comparisonEnd,e.startDateAccessibleName=a._getStartDateAccessibleName(),e.endDateAccessibleName=a._getEndDateAccessibleName())}}return r.\u0275fac=function(){let s;return function(a){return(s||(s=t.n5z(r)))(a||r)}}(),r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[t._Bn([Ge,qe,{provide:Y,useExisting:r}]),t.qOj],decls:0,vars:0,template:function(e,a){},encapsulation:2,changeDetection:0}),r})(),mt=(()=>{class r{constructor(e){this._datepicker=e}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(Y))},r.\u0275dir=t.lG2({type:r,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(e,a){1&e&&t.NdJ("click",function(){return a._applySelection()})}}),r})(),gt=(()=>{class r{constructor(e){this._datepicker=e}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(Y))},r.\u0275dir=t.lG2({type:r,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(e,a){1&e&&t.NdJ("click",function(){return a._datepicker.close()})}}),r})(),ft=(()=>{class r{constructor(e,a){this._datepicker=e,this._viewContainerRef=a}ngAfterViewInit(){this._portal=new A.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&this._portal?.detach()}}return r.\u0275fac=function(e){return new(e||r)(t.Y36(Y),t.Y36(t.s_b))},r.\u0275cmp=t.Xpm({type:r,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(e,a){if(1&e&&t.Gf(t.Rgc,5),2&e){let i;t.iGM(i=t.CRH())&&(a._template=i.first)}},ngContentSelectors:ae,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(e,a){1&e&&(t.F$t(),t.YNc(0,Le,2,0,"ng-template"))},styles:[".mat-datepicker-actions{display:flex;justify-content:flex-end;align-items:center;padding:0 8px 8px 8px}.mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),r})(),Dt=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({providers:[P,et],imports:[f.ez,x.ot,T.U8,V.rt,A.eL,c.BQ,Z.ZD]}),r})()}}]);