marketplacepos 2.4.1 → 2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/Marketplace/162.4ce4550bb805d5d4.js +1 -0
  2. package/Marketplace/171.9cd91ffa365b9491.js +1 -0
  3. package/Marketplace/174.e214431f31fd131d.js +1 -0
  4. package/Marketplace/25.ad4f583264f99556.js +1 -0
  5. package/Marketplace/334.fca544ca6d7e11d3.js +1 -0
  6. package/Marketplace/360.479b6dc19c3aedfd.js +1 -0
  7. package/Marketplace/387.ef404fc903278a1c.js +1 -0
  8. package/Marketplace/402.f385d64daee6049e.js +1 -0
  9. package/Marketplace/{458.c769122ade2c10ed.js → 458.393a149a626f18ad.js} +1 -1
  10. package/Marketplace/466.2e9f76621dd59e88.js +1 -0
  11. package/Marketplace/516.71620076f01c2cd7.js +1 -0
  12. package/Marketplace/61.481724edf2d23475.js +1 -0
  13. package/Marketplace/616.fb179a9605c3e98c.js +1 -0
  14. package/Marketplace/796.d34bd45b5a924fca.js +1 -0
  15. package/Marketplace/832.40bafce037098f88.js +1 -0
  16. package/Marketplace/874.d45d1026769d75d1.js +1 -0
  17. package/Marketplace/assets/version-adjustment-v5.scss +2 -2
  18. package/Marketplace/common.1acc3df88ef73d5d.js +1 -0
  19. package/Marketplace/index.html +3 -3
  20. package/Marketplace/main.2fa426747cc66a26.js +1 -0
  21. package/Marketplace/runtime.016444f60baacdd3.js +1 -0
  22. package/Marketplace/scripts.09af772bfa77d50d.js +1 -0
  23. package/Marketplace/{styles.296cdf56f9059ddb.css → styles.ab4c60b3cc2298c3.css} +2 -21
  24. package/package.json +1 -1
  25. package/Marketplace/102.635de205af00df15.js +0 -1
  26. package/Marketplace/285.1f547ef81e91fc15.js +0 -1
  27. package/Marketplace/387.04d02414af56d750.js +0 -1
  28. package/Marketplace/402.2999196dce334514.js +0 -1
  29. package/Marketplace/455.fc7663306b753727.js +0 -1
  30. package/Marketplace/472.54413a4f69aa673d.js +0 -1
  31. package/Marketplace/616.507588c0a5d7b9e1.js +0 -1
  32. package/Marketplace/667.81e6162196d486da.js +0 -1
  33. package/Marketplace/767.79e23997e93fb6c3.js +0 -1
  34. package/Marketplace/796.3be8ad424aad7864.js +0 -1
  35. package/Marketplace/801.8eb1454f763d4534.js +0 -1
  36. package/Marketplace/882.b34c3cc6e65d7a17.js +0 -1
  37. package/Marketplace/970.d0e3ee1e2aec0db5.js +0 -1
  38. package/Marketplace/common.f2cd628914f2fae7.js +0 -1
  39. package/Marketplace/main.f30bf3b0f501021c.js +0 -1
  40. package/Marketplace/runtime.d01f3ddbb2b8f1f2.js +0 -1
  41. package/Marketplace/scripts.6c7ffbfab0ec93ff.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[387],{7481:(Vt,bt,a)=>{a.d(bt,{R:()=>C,p:()=>B});var n=a(4650),s=a(6895),e=a(4006),k=a(8252),st=a(1589);function T(L,R){if(1&L){const N=n.EpF();n.ynx(0),n.TgZ(1,"div",18)(2,"input",19),n.NdJ("ngModelChange",function(K){n.CHM(N);const J=n.oxw();return n.KtG(J.text=K)})("keyup",function(){n.CHM(N);const K=n.oxw();return n.KtG(K.onTextChange())})("keyup.enter",function(){n.CHM(N);const K=n.oxw();return n.KtG(K.submit())}),n.qZA(),n.TgZ(3,"div")(4,"button",20),n.NdJ("click",function(){n.CHM(N);const K=n.oxw();return n.KtG(K.submit())}),n._UZ(5,"i",21),n.qZA()()(),n.BQk()}if(2&L){const N=n.oxw();n.xp6(2),n.Q6J("ngModel",N.text)("placeholder",N.searchBoxPlaceHolder)}}function vt(L,R){if(1&L){const N=n.EpF();n.TgZ(0,"div",22)(1,"a",23)(2,"i",24),n._UZ(3,"i",25),n.qZA()(),n.TgZ(4,"form",26),n.Hsn(5,2),n.TgZ(6,"button",27),n.NdJ("click",function(){n.CHM(N);const K=n.oxw();return n.KtG(K.submit())}),n._UZ(7,"i",28),n._uU(8,"Search "),n.qZA()()()}}const rt=[[["actions"]],[["content"]],[["filters"]]],Z=["actions","content","filters"];let B=(()=>{class L{constructor(N){this.sidebarService=N,this.onSubmit=new n.vpe,this.textChange=new n.vpe,this.searchBoxPlaceHolder=this.searchBoxPlaceHolder||"Search.."}submit(){this.inputText=this.text,this.onSubmit.emit(this.inputText)}onTextChange(){this.textChange.emit(this.text)}IsActive(N){return this.getMenuNameByUrl(window.location.href)==this.getMenuNameByUrl(N)}toggledropdown(N){N.stopPropagation()}getMenuNameByUrl(N){var U=N.split("#");if(U.length>1){var J=U[1].split("/");return""!=J[0]?J[0]:J[1]}return N}toggleMenu(){this.sidebarService.toggleSidebar()}}return L.\u0275fac=function(N){return new(N||L)(n.Y36(st.g))},L.\u0275cmp=n.Xpm({type:L,selectors:[["mainpanel"]],inputs:{text:"text",headerTitle:"headerTitle",textButton:"textButton",hideSearchBox:"hideSearchBox",hideSearchDropdown:"hideSearchDropdown",searchBoxPlaceHolder:"searchBoxPlaceHolder",showBeside:"showBeside",description:"description"},outputs:{onSubmit:"onSubmit",textChange:"textChange"},ngContentSelectors:Z,decls:26,vars:4,consts:[[1,"navbar","navbar-default","fixed-top","navbar-expand-lg","fixed-top","d-block","d-print-none","bg-white"],[1,"row","px-7",2,"margin-top","9px"],[1,"col-auto","pe-0","order-0","g-0","ms-6"],[1,"navbar-brand","me-5","float-start","my-1",3,"title"],["id","action-filter",1,"col-lg-auto","col-12","d-lg-flex","collapse","order-lg-1","ps-0","order-2","gx-0"],[1,"search-box"],[1,"d-flex","h-100","align-items-center","justify-content-lg-start","justify-content-end"],[4,"ngIf"],["class","dropdown text-secondary ps-5",4,"ngIf"],[1,"col","d-lg-none","d-flex","justify-content-end","align-items-center","order-lg-2","order-1"],["type","button","data-bs-toggle","collapse","data-bs-target","#action-button","aria-expanded","false","aria-controls","collapseExample",1,"btn","btn-lg","btn-outline-secondary","d-lg-none","me-2"],["aria-hidden","true",1,"fa","fa-sort-down"],["type","button","data-bs-toggle","collapse","data-bs-target","#action-filter","aria-expanded","false","aria-controls","collapseExample",1,"btn","btn-lg","btn-outline-secondary","d-lg-none","me-2"],["aria-hidden","true",1,"fa","fa-search"],["type","button","aria-controls","navigation-index","aria-expanded","false","aria-label","Toggle navigation",1,"navbar-toggler","navbar-toggler-right","float-end","toggle-menu","ps-2","pe-0",2,"width","max-content","height","max-content",3,"click"],[1,"navbar-toggler-bar","burger-lines"],["id","action-button",1,"col-lg","col-12","d-lg-flex","justify-content-end","collapse","order-3"],[1,"main-panel-content"],[1,"input-group",2,"width","13.375rem"],["type","text",1,"form-control",2,"font-size","1rem",3,"ngModel","placeholder","ngModelChange","keyup","keyup.enter"],["type","button",1,"btn","btn-outline-secondary","fw-bold","rounded-0","border-start-0",3,"click"],[1,"fa","fa-search"],[1,"dropdown","text-secondary","ps-5"],["id","dropdown-filter","role","button","data-bs-toggle","dropdown","data-bs-auto-close","outside","aria-expanded","false",1,"text-muted","h5"],[1,"fa","fa-filter"],[1,"fa-solid","fa-caret-down"],[1,"dropdown-menu",2,"left","auto !important"],["title","Click to filter!",1,"btn","btn-outline-secondary",3,"click"],[1,"fa","fa-search","pointer","me-1"]],template:function(N,U){1&N&&(n.F$t(rt),n.TgZ(0,"nav",0)(1,"div",1)(2,"div",2)(3,"h1",3),n._uU(4),n.qZA()(),n.TgZ(5,"div",4)(6,"div",5)(7,"div",6)(8,"div")(9,"div"),n.YNc(10,T,6,2,"ng-container",7),n.qZA()(),n.YNc(11,vt,9,0,"div",8),n.qZA()()(),n.TgZ(12,"div",9)(13,"button",10),n._UZ(14,"i",11),n.qZA(),n.TgZ(15,"button",12),n._UZ(16,"i",13),n.qZA(),n.TgZ(17,"button",14),n.NdJ("click",function(){return U.toggleMenu()}),n._UZ(18,"span",15)(19,"span",15)(20,"span",15),n.qZA()(),n.TgZ(21,"div",16),n.Hsn(22),n.qZA()()(),n.TgZ(23,"div",17)(24,"div"),n.Hsn(25,1),n.qZA()()),2&N&&(n.xp6(3),n.Q6J("title",U.description?U.description:""),n.xp6(1),n.hij(" ",U.headerTitle," "),n.xp6(6),n.Q6J("ngIf",!U.hideSearchBox),n.xp6(1),n.Q6J("ngIf",!U.hideSearchDropdown))},dependencies:[s.O5,e._Y,e.Fj,e.JJ,e.JL,e.On,e.F],styles:[".dropdown .dropdown-menu.show{top:100%!important;transform:none!important;z-index:10000;cursor:pointer;right:-50%}.search-box .dropdown-menu{border-radius:4px!important;margin:-5px 0 0!important;padding:10px}.search-box .dropdown-menu div.d-flex>div:not(:last-child){margin-right:10px}.search-box .dropdown-menu div[container]{width:200px}.search-box .dropdown-menu div[container]>div{margin:0 0 12px}.search-box .dropdown-menu div[container]>div>h6{margin-bottom:5px}.search-box .dropdown-menu div[container]>div>input,.search-box .dropdown-menu div[container]>div>select{width:100%;padding:7px 5px 6px;border:solid 1px #ddd}.search-box .dropdown-menu div[container]>div>input[datepicker]{width:95px}.search-box .dropdown-menu div[container]>div radioyesnob ul{margin:10px 0 0}.search-box .dropdown-menu .more{background-color:#fff;position:absolute;bottom:-15px;width:5rem}.search-box .dropdown-menu div[container]>div>h6{font-size:12px}.search-box .form-control{height:auto}.navbar .navbar-brand{white-space:nowrap;max-width:24.75rem;overflow:hidden;text-overflow:ellipsis;text-transform:capitalize}@media (max-width: 468px){.navbar .navbar-brand{white-space:nowrap;max-width:7em;overflow:hidden;text-overflow:ellipsis}}@media (max-width: 480px){.navbar.page-nav{height:auto}}@media (min-width: 1366px){.navbar.page-nav{height:44px}}\n"],encapsulation:2}),L})(),C=(()=>{class L{}return L.\u0275fac=function(N){return new(N||L)},L.\u0275mod=n.oAB({type:L}),L.\u0275inj=n.cJS({imports:[s.ez,e.u5,k.Bz]}),L})()},2387:(Vt,bt,a)=>{a.r(bt),a.d(bt,{MenuModule:()=>ue});var c,n=a(6895),s=a(8252),e=a(8063),k=(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var d in o)o.hasOwnProperty(d)&&(r[d]=o[d])},function(r,o){function d(){this.constructor=r}c(r,o),r.prototype=null===o?Object.create(o):(d.prototype=o.prototype,new d)}),st=function(c){function r(o,d){var h=this,H=this.constructor.prototype;return(h=c.call(this,o)||this).statusCode=d,h.__proto__=H,h}return k(r,c),r}(Error),T=function(c){function r(o){void 0===o&&(o="A timeout occurred.");var g=this,h=this.constructor.prototype;return(g=c.call(this,o)||this).__proto__=h,g}return k(r,c),r}(Error),vt=function(c){function r(o){void 0===o&&(o="An abort occurred.");var g=this,h=this.constructor.prototype;return(g=c.call(this,o)||this).__proto__=h,g}return k(r,c),r}(Error),rt=Object.assign||function(c){for(var r,o=1,d=arguments.length;o<d;o++)for(var g in r=arguments[o])Object.prototype.hasOwnProperty.call(r,g)&&(c[g]=r[g]);return c},Z=function c(r,o,d){this.statusCode=r,this.statusText=o,this.content=d},B=function(){function c(){}return c.prototype.get=function(r,o){return this.send(rt({},o,{method:"GET",url:r}))},c.prototype.post=function(r,o){return this.send(rt({},o,{method:"POST",url:r}))},c.prototype.delete=function(r,o){return this.send(rt({},o,{method:"DELETE",url:r}))},c.prototype.getCookieString=function(r){return""},c}(),C=(()=>(function(c){c[c.Trace=0]="Trace",c[c.Debug=1]="Debug",c[c.Information=2]="Information",c[c.Warning=3]="Warning",c[c.Error=4]="Error",c[c.Critical=5]="Critical",c[c.None=6]="None"}(C||(C={})),C))(),L=function(){function c(){}return c.prototype.log=function(r,o){},c.instance=new c,c}(),U=function(){function c(){}return c.isRequired=function(r,o){if(null==r)throw new Error("The '"+o+"' argument is required.")},c.isIn=function(r,o,d){if(!(r in o))throw new Error("Unknown "+d+" value: "+r+".")},c}(),K=function(){function c(){}return Object.defineProperty(c,"isBrowser",{get:function(){return"object"==typeof window},enumerable:!0,configurable:!0}),Object.defineProperty(c,"isWebWorker",{get:function(){return"object"==typeof self&&"importScripts"in self},enumerable:!0,configurable:!0}),Object.defineProperty(c,"isNode",{get:function(){return!this.isBrowser&&!this.isWebWorker},enumerable:!0,configurable:!0}),c}();function J(c,r){var o="";return ct(c)?(o="Binary data of length "+c.byteLength,r&&(o+=". Content: '"+function gt(c){var r=new Uint8Array(c),o="";return r.forEach(function(d){o+="0x"+(d<16?"0":"")+d.toString(16)+" "}),o.substr(0,o.length-1)}(c)+"'")):"string"==typeof c&&(o="String data of length "+c.length,r&&(o+=". Content: '"+c+"'")),o}function ct(c){return c&&typeof ArrayBuffer<"u"&&(c instanceof ArrayBuffer||c.constructor&&"ArrayBuffer"===c.constructor.name)}function _t(c,r,o,d,g,h,H){return function(c,r,o,d){return new(o||(o=Promise))(function(g,h){function H(_){try{q(d.next(_))}catch(ut){h(ut)}}function tt(_){try{q(d.throw(_))}catch(ut){h(ut)}}function q(_){_.done?g(_.value):new o(function(ut){ut(_.value)}).then(H,tt)}q((d=d.apply(c,[])).next())})}(this,0,void 0,function(){var tt,q,_,ut,Ht;return function(c,r){var d,g,h,H,o={label:0,sent:function(){if(1&h[0])throw h[1];return h[1]},trys:[],ops:[]};return H={next:tt(0),throw:tt(1),return:tt(2)},"function"==typeof Symbol&&(H[Symbol.iterator]=function(){return this}),H;function tt(_){return function(ut){return function q(_){if(d)throw new TypeError("Generator is already executing.");for(;o;)try{if(d=1,g&&(h=2&_[0]?g.return:_[0]?g.throw||((h=g.return)&&h.call(g),0):g.next)&&!(h=h.call(g,_[1])).done)return h;switch(g=0,h&&(_=[2&_[0],h.value]),_[0]){case 0:case 1:h=_;break;case 4:return o.label++,{value:_[1],done:!1};case 5:o.label++,g=_[1],_=[0];continue;case 7:_=o.ops.pop(),o.trys.pop();continue;default:if(!(h=(h=o.trys).length>0&&h[h.length-1])&&(6===_[0]||2===_[0])){o=0;continue}if(3===_[0]&&(!h||_[1]>h[0]&&_[1]<h[3])){o.label=_[1];break}if(6===_[0]&&o.label<h[1]){o.label=h[1],h=_;break}if(h&&o.label<h[2]){o.label=h[2],o.ops.push(_);break}h[2]&&o.ops.pop(),o.trys.pop();continue}_=r.call(c,o)}catch(ut){_=[6,ut],g=0}finally{d=h=0}if(5&_[0])throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}([_,ut])}}}(this,function(Wt){switch(Wt.label){case 0:return g?[4,g()]:[3,2];case 1:(_=Wt.sent())&&((tt={}).Authorization="Bearer "+_,q=tt),Wt.label=2;case 2:return c.log(C.Trace,"("+r+" transport) sending data. "+J(h,H)+"."),ut=ct(h)?"arraybuffer":"text",[4,o.post(d,{content:h,headers:q,responseType:ut})];case 3:return Ht=Wt.sent(),c.log(C.Trace,"("+r+" transport) request complete. Response status: "+Ht.statusCode+"."),[2]}})})}var S,$=function(){function c(r,o){this.subject=r,this.observer=o}return c.prototype.dispose=function(){var r=this.subject.observers.indexOf(this.observer);r>-1&&this.subject.observers.splice(r,1),0===this.subject.observers.length&&this.subject.cancelCallback&&this.subject.cancelCallback().catch(function(o){})},c}(),m=function(){function c(r){this.minimumLogLevel=r,this.outputConsole=console}return c.prototype.log=function(r,o){if(r>=this.minimumLogLevel)switch(r){case C.Critical:case C.Error:this.outputConsole.error("["+(new Date).toISOString()+"] "+C[r]+": "+o);break;case C.Warning:this.outputConsole.warn("["+(new Date).toISOString()+"] "+C[r]+": "+o);break;case C.Information:this.outputConsole.info("["+(new Date).toISOString()+"] "+C[r]+": "+o);break;default:this.outputConsole.log("["+(new Date).toISOString()+"] "+C[r]+": "+o)}},c}(),M=function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var d in o)o.hasOwnProperty(d)&&(r[d]=o[d])};return function(r,o){function d(){this.constructor=r}c(r,o),r.prototype=null===o?Object.create(o):(d.prototype=o.prototype,new d)}}(),v=Object.assign||function(c){for(var r,o=1,d=arguments.length;o<d;o++)for(var g in r=arguments[o])Object.prototype.hasOwnProperty.call(r,g)&&(c[g]=r[g]);return c};if(typeof XMLHttpRequest>"u"){var dt=require;S=dt("request")}var kt=function(c){function r(o){var d=c.call(this)||this;if(typeof S>"u")throw new Error("The 'request' module could not be loaded.");return d.logger=o,d.cookieJar=S.jar(),d.request=S.defaults({jar:d.cookieJar}),d}return M(r,c),r.prototype.send=function(o){var d=this;return o.abortSignal&&o.abortSignal.aborted?Promise.reject(new vt):new Promise(function(g,h){var H;H=ct(o.content)?Buffer.from(o.content):o.content||"";var tt=d.request(o.url,{body:H,encoding:"arraybuffer"===o.responseType?null:"utf8",headers:v({"X-Requested-With":"XMLHttpRequest"},o.headers),method:o.method,timeout:o.timeout},function(q,_,ut){if(o.abortSignal&&(o.abortSignal.onabort=null),q)return"ETIMEDOUT"===q.code&&(d.logger.log(C.Warning,"Timeout from HTTP request."),h(new T)),d.logger.log(C.Warning,"Error from HTTP request. "+q),void h(q);_.statusCode>=200&&_.statusCode<300?g(new Z(_.statusCode,_.statusMessage||"",ut)):h(new st(_.statusMessage||"",_.statusCode||0))});o.abortSignal&&(o.abortSignal.onabort=function(){tt.abort(),h(new vt)})})},r.prototype.getCookieString=function(o){return this.cookieJar.getCookieString(o)},r}(B),Et=function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var d in o)o.hasOwnProperty(d)&&(r[d]=o[d])};return function(r,o){function d(){this.constructor=r}c(r,o),r.prototype=null===o?Object.create(o):(d.prototype=o.prototype,new d)}}(),Tt=function(c){function r(o){var d=c.call(this)||this;return d.logger=o,d}return Et(r,c),r.prototype.send=function(o){var d=this;return o.abortSignal&&o.abortSignal.aborted?Promise.reject(new vt):o.method?o.url?new Promise(function(g,h){var H=new XMLHttpRequest;H.open(o.method,o.url,!0),H.withCredentials=!0,H.setRequestHeader("X-Requested-With","XMLHttpRequest"),H.setRequestHeader("Content-Type","text/plain;charset=UTF-8");var tt=o.headers;tt&&Object.keys(tt).forEach(function(q){H.setRequestHeader(q,tt[q])}),o.responseType&&(H.responseType=o.responseType),o.abortSignal&&(o.abortSignal.onabort=function(){H.abort(),h(new vt)}),o.timeout&&(H.timeout=o.timeout),H.onload=function(){o.abortSignal&&(o.abortSignal.onabort=null),H.status>=200&&H.status<300?g(new Z(H.status,H.statusText,H.response||H.responseText)):h(new st(H.statusText,H.status))},H.onerror=function(){d.logger.log(C.Warning,"Error from HTTP request. "+H.status+": "+H.statusText+"."),h(new st(H.statusText,H.status))},H.ontimeout=function(){d.logger.log(C.Warning,"Timeout from HTTP request."),h(new T)},H.send(o.content||"")}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},r}(B),Dt=function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var d in o)o.hasOwnProperty(d)&&(r[d]=o[d])};return function(r,o){function d(){this.constructor=r}c(r,o),r.prototype=null===o?Object.create(o):(d.prototype=o.prototype,new d)}}(),Mt=function(c){function r(o){var d=c.call(this)||this;return d.httpClient=typeof XMLHttpRequest<"u"?new Tt(o):new kt(o),d}return Dt(r,c),r.prototype.send=function(o){return o.abortSignal&&o.abortSignal.aborted?Promise.reject(new vt):o.method?o.url?this.httpClient.send(o):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},r.prototype.getCookieString=function(o){return this.httpClient.getCookieString(o)},r}(B),yt=function(){function c(){}return c.write=function(r){return""+r+c.RecordSeparator},c.parse=function(r){if(r[r.length-1]!==c.RecordSeparator)throw new Error("Message is incomplete.");var o=r.split(c.RecordSeparator);return o.pop(),o},c.RecordSeparatorCode=30,c.RecordSeparator=String.fromCharCode(c.RecordSeparatorCode),c}(),W=function(){function c(){}return c.prototype.writeHandshakeRequest=function(r){return yt.write(JSON.stringify(r))},c.prototype.parseHandshakeResponse=function(r){var d,g;if(ct(r)||typeof Buffer<"u"&&r instanceof Buffer){var h=new Uint8Array(r);if(-1===(H=h.indexOf(yt.RecordSeparatorCode)))throw new Error("Message is incomplete.");var tt=H+1;d=String.fromCharCode.apply(null,h.slice(0,tt)),g=h.byteLength>tt?h.slice(tt).buffer:null}else{var H,q=r;if(-1===(H=q.indexOf(yt.RecordSeparator)))throw new Error("Message is incomplete.");d=q.substring(0,tt=H+1),g=q.length>tt?q.substring(tt):null}var _=yt.parse(d),ut=JSON.parse(_[0]);if(ut.type)throw new Error("Expected a handshake response from the server.");return[g,ut]},c}(),Y=(()=>(function(c){c[c.Invocation=1]="Invocation",c[c.StreamItem=2]="StreamItem",c[c.Completion=3]="Completion",c[c.StreamInvocation=4]="StreamInvocation",c[c.CancelInvocation=5]="CancelInvocation",c[c.Ping=6]="Ping",c[c.Close=7]="Close"}(Y||(Y={})),Y))(),ft=function(){function c(){this.observers=[]}return c.prototype.next=function(r){for(var o=0,d=this.observers;o<d.length;o++)d[o].next(r)},c.prototype.error=function(r){for(var o=0,d=this.observers;o<d.length;o++){var g=d[o];g.error&&g.error(r)}},c.prototype.complete=function(){for(var r=0,o=this.observers;r<o.length;r++){var d=o[r];d.complete&&d.complete()}},c.prototype.subscribe=function(r){return this.observers.push(r),new $(this,r)},c}(),F=function(c,r,o,d){return new(o||(o=Promise))(function(g,h){function H(_){try{q(d.next(_))}catch(ut){h(ut)}}function tt(_){try{q(d.throw(_))}catch(ut){h(ut)}}function q(_){_.done?g(_.value):new o(function(ut){ut(_.value)}).then(H,tt)}q((d=d.apply(c,r||[])).next())})},Q=function(c,r){var d,g,h,H,o={label:0,sent:function(){if(1&h[0])throw h[1];return h[1]},trys:[],ops:[]};return H={next:tt(0),throw:tt(1),return:tt(2)},"function"==typeof Symbol&&(H[Symbol.iterator]=function(){return this}),H;function tt(_){return function(ut){return function q(_){if(d)throw new TypeError("Generator is already executing.");for(;o;)try{if(d=1,g&&(h=2&_[0]?g.return:_[0]?g.throw||((h=g.return)&&h.call(g),0):g.next)&&!(h=h.call(g,_[1])).done)return h;switch(g=0,h&&(_=[2&_[0],h.value]),_[0]){case 0:case 1:h=_;break;case 4:return o.label++,{value:_[1],done:!1};case 5:o.label++,g=_[1],_=[0];continue;case 7:_=o.ops.pop(),o.trys.pop();continue;default:if(!(h=(h=o.trys).length>0&&h[h.length-1])&&(6===_[0]||2===_[0])){o=0;continue}if(3===_[0]&&(!h||_[1]>h[0]&&_[1]<h[3])){o.label=_[1];break}if(6===_[0]&&o.label<h[1]){o.label=h[1],h=_;break}if(h&&o.label<h[2]){o.label=h[2],o.ops.push(_);break}h[2]&&o.ops.pop(),o.trys.pop();continue}_=r.call(c,o)}catch(ut){_=[6,ut],g=0}finally{d=h=0}if(5&_[0])throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}([_,ut])}}},it=(()=>(function(c){c.Disconnected="Disconnected",c.Connecting="Connecting",c.Connected="Connected",c.Disconnecting="Disconnecting",c.Reconnecting="Reconnecting"}(it||(it={})),it))(),Lt=function(){function c(r,o,d,g){var h=this;this.nextKeepAlive=0,U.isRequired(r,"connection"),U.isRequired(o,"logger"),U.isRequired(d,"protocol"),this.serverTimeoutInMilliseconds=3e4,this.keepAliveIntervalInMilliseconds=15e3,this.logger=o,this.protocol=d,this.connection=r,this.reconnectPolicy=g,this.handshakeProtocol=new W,this.connection.onreceive=function(H){return h.processIncomingData(H)},this.connection.onclose=function(H){return h.connectionClosed(H)},this.callbacks={},this.methods={},this.closedCallbacks=[],this.reconnectingCallbacks=[],this.reconnectedCallbacks=[],this.invocationId=0,this.receivedHandshakeResponse=!1,this.connectionState=it.Disconnected,this.connectionStarted=!1,this.cachedPingMessage=this.protocol.writeMessage({type:Y.Ping})}return c.create=function(r,o,d,g){return new c(r,o,d,g)},Object.defineProperty(c.prototype,"state",{get:function(){return this.connectionState},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"connectionId",{get:function(){return this.connection&&this.connection.connectionId||null},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"baseUrl",{get:function(){return this.connection.baseUrl||""},set:function(r){if(this.connectionState!==it.Disconnected&&this.connectionState!==it.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!r)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=r},enumerable:!0,configurable:!0}),c.prototype.start=function(){return this.startPromise=this.startWithStateTransitions(),this.startPromise},c.prototype.startWithStateTransitions=function(){return F(this,void 0,void 0,function(){var r;return Q(this,function(o){switch(o.label){case 0:if(this.connectionState!==it.Disconnected)return[2,Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."))];this.connectionState=it.Connecting,this.logger.log(C.Debug,"Starting HubConnection."),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.startInternal()];case 2:return o.sent(),this.connectionState=it.Connected,this.connectionStarted=!0,this.logger.log(C.Debug,"HubConnection connected successfully."),[3,4];case 3:return r=o.sent(),this.connectionState=it.Disconnected,this.logger.log(C.Debug,"HubConnection failed to start successfully because of error '"+r+"'."),[2,Promise.reject(r)];case 4:return[2]}})})},c.prototype.startInternal=function(){return F(this,void 0,void 0,function(){var r,o,d,g=this;return Q(this,function(h){switch(h.label){case 0:return this.stopDuringStartError=void 0,this.receivedHandshakeResponse=!1,r=new Promise(function(H,tt){g.handshakeResolver=H,g.handshakeRejecter=tt}),[4,this.connection.start(this.protocol.transferFormat)];case 1:h.sent(),h.label=2;case 2:return h.trys.push([2,5,,7]),o={protocol:this.protocol.name,version:this.protocol.version},this.logger.log(C.Debug,"Sending handshake request."),[4,this.sendMessage(this.handshakeProtocol.writeHandshakeRequest(o))];case 3:return h.sent(),this.logger.log(C.Information,"Using HubProtocol '"+this.protocol.name+"'."),this.cleanupTimeout(),this.resetTimeoutPeriod(),this.resetKeepAliveInterval(),[4,r];case 4:if(h.sent(),this.stopDuringStartError)throw this.stopDuringStartError;return[3,7];case 5:return d=h.sent(),this.logger.log(C.Debug,"Hub handshake failed with error '"+d+"' during start(). Stopping HubConnection."),this.cleanupTimeout(),this.cleanupPingTimer(),[4,this.connection.stop(d)];case 6:throw h.sent(),d;case 7:return[2]}})})},c.prototype.stop=function(){return F(this,void 0,void 0,function(){var r;return Q(this,function(d){switch(d.label){case 0:return r=this.startPromise,this.stopPromise=this.stopInternal(),[4,this.stopPromise];case 1:d.sent(),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,r];case 3:case 4:return d.sent(),[3,5];case 5:return[2]}})})},c.prototype.stopInternal=function(r){return this.connectionState===it.Disconnected?(this.logger.log(C.Debug,"Call to HubConnection.stop("+r+") ignored because it is already in the disconnected state."),Promise.resolve()):this.connectionState===it.Disconnecting?(this.logger.log(C.Debug,"Call to HttpConnection.stop("+r+") ignored because the connection is already in the disconnecting state."),this.stopPromise):(this.connectionState=it.Disconnecting,this.logger.log(C.Debug,"Stopping HubConnection."),this.reconnectDelayHandle?(this.logger.log(C.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this.reconnectDelayHandle),this.reconnectDelayHandle=void 0,this.completeClose(),Promise.resolve()):(this.cleanupTimeout(),this.cleanupPingTimer(),this.stopDuringStartError=r||new Error("The connection was stopped before the hub handshake could complete."),this.connection.stop(r)))},c.prototype.stream=function(r){for(var o=this,d=[],g=1;g<arguments.length;g++)d[g-1]=arguments[g];var _,h=this.replaceStreamingParams(d),H=h[0],tt=h[1],q=this.createStreamInvocation(r,d,tt),ut=new ft;return ut.cancelCallback=function(){var Ht=o.createCancelInvocation(q.invocationId);return delete o.callbacks[q.invocationId],_.then(function(){return o.sendWithProtocol(Ht)})},this.callbacks[q.invocationId]=function(Ht,Wt){Wt?ut.error(Wt):Ht&&(Ht.type===Y.Completion?Ht.error?ut.error(new Error(Ht.error)):ut.complete():ut.next(Ht.item))},_=this.sendWithProtocol(q).catch(function(Ht){ut.error(Ht),delete o.callbacks[q.invocationId]}),this.launchStreams(H,_),ut},c.prototype.sendMessage=function(r){return this.resetKeepAliveInterval(),this.connection.send(r)},c.prototype.sendWithProtocol=function(r){return this.sendMessage(this.protocol.writeMessage(r))},c.prototype.send=function(r){for(var o=[],d=1;d<arguments.length;d++)o[d-1]=arguments[d];var g=this.replaceStreamingParams(o),h=g[0],H=g[1],tt=this.sendWithProtocol(this.createInvocation(r,o,!0,H));return this.launchStreams(h,tt),tt},c.prototype.invoke=function(r){for(var o=this,d=[],g=1;g<arguments.length;g++)d[g-1]=arguments[g];var h=this.replaceStreamingParams(d),H=h[0],tt=h[1],q=this.createInvocation(r,d,!1,tt),_=new Promise(function(ut,Ht){o.callbacks[q.invocationId]=function(ee,oe){oe?Ht(oe):ee&&(ee.type===Y.Completion?ee.error?Ht(new Error(ee.error)):ut(ee.result):Ht(new Error("Unexpected message type: "+ee.type)))};var Wt=o.sendWithProtocol(q).catch(function(ee){Ht(ee),delete o.callbacks[q.invocationId]});o.launchStreams(H,Wt)});return _},c.prototype.on=function(r,o){!r||!o||(r=r.toLowerCase(),this.methods[r]||(this.methods[r]=[]),-1===this.methods[r].indexOf(o)&&this.methods[r].push(o))},c.prototype.off=function(r,o){if(r){r=r.toLowerCase();var d=this.methods[r];if(d)if(o){var g=d.indexOf(o);-1!==g&&(d.splice(g,1),0===d.length&&delete this.methods[r])}else delete this.methods[r]}},c.prototype.onclose=function(r){r&&this.closedCallbacks.push(r)},c.prototype.onreconnecting=function(r){r&&this.reconnectingCallbacks.push(r)},c.prototype.onreconnected=function(r){r&&this.reconnectedCallbacks.push(r)},c.prototype.processIncomingData=function(r){if(this.cleanupTimeout(),this.receivedHandshakeResponse||(r=this.processHandshakeResponse(r),this.receivedHandshakeResponse=!0),r)for(var d=0,g=this.protocol.parseMessages(r,this.logger);d<g.length;d++){var h=g[d];switch(h.type){case Y.Invocation:this.invokeClientMethod(h);break;case Y.StreamItem:case Y.Completion:var H=this.callbacks[h.invocationId];H&&(h.type===Y.Completion&&delete this.callbacks[h.invocationId],H(h));break;case Y.Ping:break;case Y.Close:this.logger.log(C.Information,"Close message received from server.");var tt=h.error?new Error("Server returned an error on close: "+h.error):void 0;!0===h.allowReconnect?this.connection.stop(tt):this.stopPromise=this.stopInternal(tt);break;default:this.logger.log(C.Warning,"Invalid message type: "+h.type+".")}}this.resetTimeoutPeriod()},c.prototype.processHandshakeResponse=function(r){var o,d,g,h;try{g=(o=this.handshakeProtocol.parseHandshakeResponse(r))[0],d=o[1]}catch(tt){this.logger.log(C.Error,h="Error parsing handshake response: "+tt);var H=new Error(h);throw this.handshakeRejecter(H),H}if(d.error)throw this.logger.log(C.Error,h="Server returned handshake error: "+d.error),H=new Error(h),this.handshakeRejecter(H),H;return this.logger.log(C.Debug,"Server handshake complete."),this.handshakeResolver(),g},c.prototype.resetKeepAliveInterval=function(){this.connection.features.inherentKeepAlive||(this.nextKeepAlive=(new Date).getTime()+this.keepAliveIntervalInMilliseconds,this.cleanupPingTimer())},c.prototype.resetTimeoutPeriod=function(){var r=this;if(!(this.connection.features&&this.connection.features.inherentKeepAlive||(this.timeoutHandle=setTimeout(function(){return r.serverTimeout()},this.serverTimeoutInMilliseconds),void 0!==this.pingServerHandle))){var o=this.nextKeepAlive-(new Date).getTime();o<0&&(o=0),this.pingServerHandle=setTimeout(function(){return F(r,void 0,void 0,function(){return Q(this,function(g){switch(g.label){case 0:if(this.connectionState!==it.Connected)return[3,4];g.label=1;case 1:return g.trys.push([1,3,,4]),[4,this.sendMessage(this.cachedPingMessage)];case 2:return g.sent(),[3,4];case 3:return g.sent(),this.cleanupPingTimer(),[3,4];case 4:return[2]}})})},o)}},c.prototype.serverTimeout=function(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))},c.prototype.invokeClientMethod=function(r){var o=this,d=this.methods[r.target.toLowerCase()];if(d){try{d.forEach(function(h){return h.apply(o,r.arguments)})}catch(h){this.logger.log(C.Error,"A callback for the method "+r.target.toLowerCase()+" threw error '"+h+"'.")}if(r.invocationId){var g="Server requested a response, which is not supported in this version of the client.";this.logger.log(C.Error,g),this.stopPromise=this.stopInternal(new Error(g))}}else this.logger.log(C.Warning,"No client method with the name '"+r.target+"' found.")},c.prototype.connectionClosed=function(r){this.logger.log(C.Debug,"HubConnection.connectionClosed("+r+") called while in state "+this.connectionState+"."),this.stopDuringStartError=this.stopDuringStartError||r||new Error("The underlying connection was closed before the hub handshake could complete."),this.handshakeResolver&&this.handshakeResolver(),this.cancelCallbacksWithError(r||new Error("Invocation canceled due to the underlying connection being closed.")),this.cleanupTimeout(),this.cleanupPingTimer(),this.connectionState===it.Disconnecting?this.completeClose(r):this.connectionState===it.Connected&&this.reconnectPolicy?this.reconnect(r):this.connectionState===it.Connected&&this.completeClose(r)},c.prototype.completeClose=function(r){var o=this;if(this.connectionStarted){this.connectionState=it.Disconnected,this.connectionStarted=!1;try{this.closedCallbacks.forEach(function(d){return d.apply(o,[r])})}catch(d){this.logger.log(C.Error,"An onclose callback called with error '"+r+"' threw error '"+d+"'.")}}},c.prototype.reconnect=function(r){return F(this,void 0,void 0,function(){var o,d,g,h,H,tt=this;return Q(this,function(q){switch(q.label){case 0:if(o=Date.now(),d=0,g=void 0!==r?r:new Error("Attempting to reconnect due to a unknown error."),null===(h=this.getNextRetryDelay(d++,0,g)))return this.logger.log(C.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),this.completeClose(r),[2];if(this.connectionState=it.Reconnecting,this.logger.log(C.Information,r?"Connection reconnecting because of error '"+r+"'.":"Connection reconnecting."),this.onreconnecting){try{this.reconnectingCallbacks.forEach(function(_){return _.apply(tt,[r])})}catch(_){this.logger.log(C.Error,"An onreconnecting callback called with error '"+r+"' threw error '"+_+"'.")}if(this.connectionState!==it.Reconnecting)return this.logger.log(C.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting."),[2]}q.label=1;case 1:return null===h?[3,7]:(this.logger.log(C.Information,"Reconnect attempt number "+d+" will start in "+h+" ms."),[4,new Promise(function(_){tt.reconnectDelayHandle=setTimeout(_,h)})]);case 2:if(q.sent(),this.reconnectDelayHandle=void 0,this.connectionState!==it.Reconnecting)return this.logger.log(C.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting."),[2];q.label=3;case 3:return q.trys.push([3,5,,6]),[4,this.startInternal()];case 4:if(q.sent(),this.connectionState=it.Connected,this.logger.log(C.Information,"HubConnection reconnected successfully."),this.onreconnected)try{this.reconnectedCallbacks.forEach(function(_){return _.apply(tt,[tt.connection.connectionId])})}catch(_){this.logger.log(C.Error,"An onreconnected callback called with connectionId '"+this.connection.connectionId+"; threw error '"+_+"'.")}return[2];case 5:return H=q.sent(),this.logger.log(C.Information,"Reconnect attempt failed because of error '"+H+"'."),this.connectionState!==it.Reconnecting?(this.logger.log(C.Debug,"Connection moved to the '"+this.connectionState+"' from the reconnecting state during reconnect attempt. Done reconnecting."),this.connectionState===it.Disconnecting&&this.completeClose(),[2]):(g=H instanceof Error?H:new Error(H.toString()),h=this.getNextRetryDelay(d++,Date.now()-o,g),[3,6]);case 6:return[3,1];case 7:return this.logger.log(C.Information,"Reconnect retries have been exhausted after "+(Date.now()-o)+" ms and "+d+" failed attempts. Connection disconnecting."),this.completeClose(),[2]}})})},c.prototype.getNextRetryDelay=function(r,o,d){try{return this.reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:o,previousRetryCount:r,retryReason:d})}catch(g){return this.logger.log(C.Error,"IRetryPolicy.nextRetryDelayInMilliseconds("+r+", "+o+") threw error '"+g+"'."),null}},c.prototype.cancelCallbacksWithError=function(r){var o=this.callbacks;this.callbacks={},Object.keys(o).forEach(function(d){(0,o[d])(null,r)})},c.prototype.cleanupPingTimer=function(){this.pingServerHandle&&(clearTimeout(this.pingServerHandle),this.pingServerHandle=void 0)},c.prototype.cleanupTimeout=function(){this.timeoutHandle&&clearTimeout(this.timeoutHandle)},c.prototype.createInvocation=function(r,o,d,g){if(d)return{arguments:o,streamIds:g,target:r,type:Y.Invocation};var h=this.invocationId;return this.invocationId++,{arguments:o,invocationId:h.toString(),streamIds:g,target:r,type:Y.Invocation}},c.prototype.launchStreams=function(r,o){var d=this;if(0!==r.length){o||(o=Promise.resolve());var g=function(H){r[H].subscribe({complete:function(){o=o.then(function(){return d.sendWithProtocol(d.createCompletionMessage(H))})},error:function(tt){var q;q=tt instanceof Error?tt.message:tt&&tt.toString?tt.toString():"Unknown error",o=o.then(function(){return d.sendWithProtocol(d.createCompletionMessage(H,q))})},next:function(tt){o=o.then(function(){return d.sendWithProtocol(d.createStreamItemMessage(H,tt))})}})};for(var h in r)g(h)}},c.prototype.replaceStreamingParams=function(r){for(var o=[],d=[],g=0;g<r.length;g++){var h=r[g];if(this.isObservable(h)){var H=this.invocationId;this.invocationId++,o[H]=h,d.push(H.toString()),r.splice(g,1)}}return[o,d]},c.prototype.isObservable=function(r){return r&&r.subscribe&&"function"==typeof r.subscribe},c.prototype.createStreamInvocation=function(r,o,d){var g=this.invocationId;return this.invocationId++,{arguments:o,invocationId:g.toString(),streamIds:d,target:r,type:Y.StreamInvocation}},c.prototype.createCancelInvocation=function(r){return{invocationId:r,type:Y.CancelInvocation}},c.prototype.createStreamItemMessage=function(r,o){return{invocationId:r,item:o,type:Y.StreamItem}},c.prototype.createCompletionMessage=function(r,o,d){return o?{error:o,invocationId:r,type:Y.Completion}:{invocationId:r,result:d,type:Y.Completion}},c}(),P=[0,2e3,1e4,3e4,null],j=function(){function c(r){this.retryDelays=void 0!==r?r.concat([null]):P}return c.prototype.nextRetryDelayInMilliseconds=function(r){return this.retryDelays[r.previousRetryCount]},c}(),nt=(()=>(function(c){c[c.None=0]="None",c[c.WebSockets=1]="WebSockets",c[c.ServerSentEvents=2]="ServerSentEvents",c[c.LongPolling=4]="LongPolling"}(nt||(nt={})),nt))(),ht=(()=>(function(c){c[c.Text=1]="Text",c[c.Binary=2]="Binary"}(ht||(ht={})),ht))(),xt=function(){function c(){this.isAborted=!1,this.onabort=null}return c.prototype.abort=function(){this.isAborted||(this.isAborted=!0,this.onabort&&this.onabort())},Object.defineProperty(c.prototype,"signal",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"aborted",{get:function(){return this.isAborted},enumerable:!0,configurable:!0}),c}(),Pt=function(c,r,o,d){return new(o||(o=Promise))(function(g,h){function H(_){try{q(d.next(_))}catch(ut){h(ut)}}function tt(_){try{q(d.throw(_))}catch(ut){h(ut)}}function q(_){_.done?g(_.value):new o(function(ut){ut(_.value)}).then(H,tt)}q((d=d.apply(c,r||[])).next())})},Ut=function(c,r){var d,g,h,H,o={label:0,sent:function(){if(1&h[0])throw h[1];return h[1]},trys:[],ops:[]};return H={next:tt(0),throw:tt(1),return:tt(2)},"function"==typeof Symbol&&(H[Symbol.iterator]=function(){return this}),H;function tt(_){return function(ut){return function q(_){if(d)throw new TypeError("Generator is already executing.");for(;o;)try{if(d=1,g&&(h=2&_[0]?g.return:_[0]?g.throw||((h=g.return)&&h.call(g),0):g.next)&&!(h=h.call(g,_[1])).done)return h;switch(g=0,h&&(_=[2&_[0],h.value]),_[0]){case 0:case 1:h=_;break;case 4:return o.label++,{value:_[1],done:!1};case 5:o.label++,g=_[1],_=[0];continue;case 7:_=o.ops.pop(),o.trys.pop();continue;default:if(!(h=(h=o.trys).length>0&&h[h.length-1])&&(6===_[0]||2===_[0])){o=0;continue}if(3===_[0]&&(!h||_[1]>h[0]&&_[1]<h[3])){o.label=_[1];break}if(6===_[0]&&o.label<h[1]){o.label=h[1],h=_;break}if(h&&o.label<h[2]){o.label=h[2],o.ops.push(_);break}h[2]&&o.ops.pop(),o.trys.pop();continue}_=r.call(c,o)}catch(ut){_=[6,ut],g=0}finally{d=h=0}if(5&_[0])throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}([_,ut])}}},jt=function(){function c(r,o,d,g){this.httpClient=r,this.accessTokenFactory=o,this.logger=d,this.pollAbort=new xt,this.logMessageContent=g,this.running=!1,this.onreceive=null,this.onclose=null}return Object.defineProperty(c.prototype,"pollAborted",{get:function(){return this.pollAbort.aborted},enumerable:!0,configurable:!0}),c.prototype.connect=function(r,o){return Pt(this,void 0,void 0,function(){var d,g,h,H;return Ut(this,function(tt){switch(tt.label){case 0:if(U.isRequired(r,"url"),U.isRequired(o,"transferFormat"),U.isIn(o,ht,"transferFormat"),this.url=r,this.logger.log(C.Trace,"(LongPolling transport) Connecting."),o===ht.Binary&&typeof XMLHttpRequest<"u"&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");return d={abortSignal:this.pollAbort.signal,headers:{},timeout:1e5},o===ht.Binary&&(d.responseType="arraybuffer"),[4,this.getAccessToken()];case 1:return g=tt.sent(),this.updateHeaderToken(d,g),h=r+"&_="+Date.now(),this.logger.log(C.Trace,"(LongPolling transport) polling: "+h+"."),[4,this.httpClient.get(h,d)];case 2:return 200!==(H=tt.sent()).statusCode?(this.logger.log(C.Error,"(LongPolling transport) Unexpected response code: "+H.statusCode+"."),this.closeError=new st(H.statusText||"",H.statusCode),this.running=!1):this.running=!0,this.receiving=this.poll(this.url,d),[2]}})})},c.prototype.getAccessToken=function(){return Pt(this,void 0,void 0,function(){return Ut(this,function(r){switch(r.label){case 0:return this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:return[2,r.sent()];case 2:return[2,null]}})})},c.prototype.updateHeaderToken=function(r,o){r.headers||(r.headers={}),o?r.headers.Authorization="Bearer "+o:r.headers.Authorization&&delete r.headers.Authorization},c.prototype.poll=function(r,o){return Pt(this,void 0,void 0,function(){var d,g,h,H;return Ut(this,function(tt){switch(tt.label){case 0:tt.trys.push([0,,8,9]),tt.label=1;case 1:return this.running?[4,this.getAccessToken()]:[3,7];case 2:d=tt.sent(),this.updateHeaderToken(o,d),tt.label=3;case 3:return tt.trys.push([3,5,,6]),g=r+"&_="+Date.now(),this.logger.log(C.Trace,"(LongPolling transport) polling: "+g+"."),[4,this.httpClient.get(g,o)];case 4:return 204===(h=tt.sent()).statusCode?(this.logger.log(C.Information,"(LongPolling transport) Poll terminated by server."),this.running=!1):200!==h.statusCode?(this.logger.log(C.Error,"(LongPolling transport) Unexpected response code: "+h.statusCode+"."),this.closeError=new st(h.statusText||"",h.statusCode),this.running=!1):h.content?(this.logger.log(C.Trace,"(LongPolling transport) data received. "+J(h.content,this.logMessageContent)+"."),this.onreceive&&this.onreceive(h.content)):this.logger.log(C.Trace,"(LongPolling transport) Poll timed out, reissuing."),[3,6];case 5:return H=tt.sent(),this.running?H instanceof T?this.logger.log(C.Trace,"(LongPolling transport) Poll timed out, reissuing."):(this.closeError=H,this.running=!1):this.logger.log(C.Trace,"(LongPolling transport) Poll errored after shutdown: "+H.message),[3,6];case 6:return[3,1];case 7:return[3,9];case 8:return this.logger.log(C.Trace,"(LongPolling transport) Polling complete."),this.pollAborted||this.raiseOnClose(),[7];case 9:return[2]}})})},c.prototype.send=function(r){return Pt(this,void 0,void 0,function(){return Ut(this,function(o){return this.running?[2,_t(this.logger,"LongPolling",this.httpClient,this.url,this.accessTokenFactory,r,this.logMessageContent)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]})})},c.prototype.stop=function(){return Pt(this,void 0,void 0,function(){var r,o;return Ut(this,function(d){switch(d.label){case 0:this.logger.log(C.Trace,"(LongPolling transport) Stopping polling."),this.running=!1,this.pollAbort.abort(),d.label=1;case 1:return d.trys.push([1,,5,6]),[4,this.receiving];case 2:return d.sent(),this.logger.log(C.Trace,"(LongPolling transport) sending DELETE request to "+this.url+"."),r={headers:{}},[4,this.getAccessToken()];case 3:return o=d.sent(),this.updateHeaderToken(r,o),[4,this.httpClient.delete(this.url,r)];case 4:return d.sent(),this.logger.log(C.Trace,"(LongPolling transport) DELETE request sent."),[3,6];case 5:return this.logger.log(C.Trace,"(LongPolling transport) Stop finished."),this.raiseOnClose(),[7];case 6:return[2]}})})},c.prototype.raiseOnClose=function(){if(this.onclose){var r="(LongPolling transport) Firing onclose event.";this.closeError&&(r+=" Error: "+this.closeError),this.logger.log(C.Trace,r),this.onclose(this.closeError)}},c}(),$t=function(c,r,o,d){return new(o||(o=Promise))(function(g,h){function H(_){try{q(d.next(_))}catch(ut){h(ut)}}function tt(_){try{q(d.throw(_))}catch(ut){h(ut)}}function q(_){_.done?g(_.value):new o(function(ut){ut(_.value)}).then(H,tt)}q((d=d.apply(c,r||[])).next())})},Xt=function(c,r){var d,g,h,H,o={label:0,sent:function(){if(1&h[0])throw h[1];return h[1]},trys:[],ops:[]};return H={next:tt(0),throw:tt(1),return:tt(2)},"function"==typeof Symbol&&(H[Symbol.iterator]=function(){return this}),H;function tt(_){return function(ut){return function q(_){if(d)throw new TypeError("Generator is already executing.");for(;o;)try{if(d=1,g&&(h=2&_[0]?g.return:_[0]?g.throw||((h=g.return)&&h.call(g),0):g.next)&&!(h=h.call(g,_[1])).done)return h;switch(g=0,h&&(_=[2&_[0],h.value]),_[0]){case 0:case 1:h=_;break;case 4:return o.label++,{value:_[1],done:!1};case 5:o.label++,g=_[1],_=[0];continue;case 7:_=o.ops.pop(),o.trys.pop();continue;default:if(!(h=(h=o.trys).length>0&&h[h.length-1])&&(6===_[0]||2===_[0])){o=0;continue}if(3===_[0]&&(!h||_[1]>h[0]&&_[1]<h[3])){o.label=_[1];break}if(6===_[0]&&o.label<h[1]){o.label=h[1],h=_;break}if(h&&o.label<h[2]){o.label=h[2],o.ops.push(_);break}h[2]&&o.ops.pop(),o.trys.pop();continue}_=r.call(c,o)}catch(ut){_=[6,ut],g=0}finally{d=h=0}if(5&_[0])throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}([_,ut])}}},Qt=function(){function c(r,o,d,g,h){this.httpClient=r,this.accessTokenFactory=o,this.logger=d,this.logMessageContent=g,this.eventSourceConstructor=h,this.onreceive=null,this.onclose=null}return c.prototype.connect=function(r,o){return $t(this,void 0,void 0,function(){var d,g=this;return Xt(this,function(h){switch(h.label){case 0:return U.isRequired(r,"url"),U.isRequired(o,"transferFormat"),U.isIn(o,ht,"transferFormat"),this.logger.log(C.Trace,"(SSE transport) Connecting."),this.url=r,this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(d=h.sent())&&(r+=(r.indexOf("?")<0?"?":"&")+"access_token="+encodeURIComponent(d)),h.label=2;case 2:return[2,new Promise(function(H,tt){var q=!1;if(o===ht.Text){var _;if(K.isBrowser||K.isWebWorker)_=new g.eventSourceConstructor(r,{withCredentials:!0});else{var ut=g.httpClient.getCookieString(r);_=new g.eventSourceConstructor(r,{withCredentials:!0,headers:{Cookie:ut}})}try{_.onmessage=function(Ht){if(g.onreceive)try{g.logger.log(C.Trace,"(SSE transport) data received. "+J(Ht.data,g.logMessageContent)+"."),g.onreceive(Ht.data)}catch(Wt){return void g.close(Wt)}},_.onerror=function(Ht){var Wt=new Error(Ht.data||"Error occurred");q?g.close(Wt):tt(Wt)},_.onopen=function(){g.logger.log(C.Information,"SSE connected to "+g.url),g.eventSource=_,q=!0,H()}}catch(Ht){return void tt(Ht)}}else tt(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"))})]}})})},c.prototype.send=function(r){return $t(this,void 0,void 0,function(){return Xt(this,function(o){return this.eventSource?[2,_t(this.logger,"SSE",this.httpClient,this.url,this.accessTokenFactory,r,this.logMessageContent)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]})})},c.prototype.stop=function(){return this.close(),Promise.resolve()},c.prototype.close=function(r){this.eventSource&&(this.eventSource.close(),this.eventSource=void 0,this.onclose&&this.onclose(r))},c}(),D=function(){function c(r,o,d,g,h){this.logger=d,this.accessTokenFactory=o,this.logMessageContent=g,this.webSocketConstructor=h,this.httpClient=r,this.onreceive=null,this.onclose=null}return c.prototype.connect=function(r,o){return function(c,r,o,d){return new(o||(o=Promise))(function(g,h){function H(_){try{q(d.next(_))}catch(ut){h(ut)}}function tt(_){try{q(d.throw(_))}catch(ut){h(ut)}}function q(_){_.done?g(_.value):new o(function(ut){ut(_.value)}).then(H,tt)}q((d=d.apply(c,[])).next())})}(this,0,void 0,function(){var d,g=this;return function(c,r){var d,g,h,H,o={label:0,sent:function(){if(1&h[0])throw h[1];return h[1]},trys:[],ops:[]};return H={next:tt(0),throw:tt(1),return:tt(2)},"function"==typeof Symbol&&(H[Symbol.iterator]=function(){return this}),H;function tt(_){return function(ut){return function q(_){if(d)throw new TypeError("Generator is already executing.");for(;o;)try{if(d=1,g&&(h=2&_[0]?g.return:_[0]?g.throw||((h=g.return)&&h.call(g),0):g.next)&&!(h=h.call(g,_[1])).done)return h;switch(g=0,h&&(_=[2&_[0],h.value]),_[0]){case 0:case 1:h=_;break;case 4:return o.label++,{value:_[1],done:!1};case 5:o.label++,g=_[1],_=[0];continue;case 7:_=o.ops.pop(),o.trys.pop();continue;default:if(!(h=(h=o.trys).length>0&&h[h.length-1])&&(6===_[0]||2===_[0])){o=0;continue}if(3===_[0]&&(!h||_[1]>h[0]&&_[1]<h[3])){o.label=_[1];break}if(6===_[0]&&o.label<h[1]){o.label=h[1],h=_;break}if(h&&o.label<h[2]){o.label=h[2],o.ops.push(_);break}h[2]&&o.ops.pop(),o.trys.pop();continue}_=r.call(c,o)}catch(ut){_=[6,ut],g=0}finally{d=h=0}if(5&_[0])throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}([_,ut])}}}(this,function(h){switch(h.label){case 0:return U.isRequired(r,"url"),U.isRequired(o,"transferFormat"),U.isIn(o,ht,"transferFormat"),this.logger.log(C.Trace,"(WebSockets transport) Connecting."),this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(d=h.sent())&&(r+=(r.indexOf("?")<0?"?":"&")+"access_token="+encodeURIComponent(d)),h.label=2;case 2:return[2,new Promise(function(H,tt){r=r.replace(/^http/,"ws");var q,_=g.httpClient.getCookieString(r),ut=!1;K.isNode&&_&&(q=new g.webSocketConstructor(r,void 0,{headers:{Cookie:""+_}})),q||(q=new g.webSocketConstructor(r)),o===ht.Binary&&(q.binaryType="arraybuffer"),q.onopen=function(Ht){g.logger.log(C.Information,"WebSocket connected to "+r+"."),g.webSocket=q,ut=!0,H()},q.onerror=function(Ht){var Wt;Wt=typeof ErrorEvent<"u"&&Ht instanceof ErrorEvent?Ht.error:new Error("There was an error with the transport."),tt(Wt)},q.onmessage=function(Ht){g.logger.log(C.Trace,"(WebSockets transport) data received. "+J(Ht.data,g.logMessageContent)+"."),g.onreceive&&g.onreceive(Ht.data)},q.onclose=function(Ht){if(ut)g.close(Ht);else{var Wt;Wt=typeof ErrorEvent<"u"&&Ht instanceof ErrorEvent?Ht.error:new Error("There was an error with the transport."),tt(Wt)}}})]}})})},c.prototype.send=function(r){return this.webSocket&&this.webSocket.readyState===this.webSocketConstructor.OPEN?(this.logger.log(C.Trace,"(WebSockets transport) sending data. "+J(r,this.logMessageContent)+"."),this.webSocket.send(r),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")},c.prototype.stop=function(){return this.webSocket&&this.close(void 0),Promise.resolve()},c.prototype.close=function(r){this.webSocket&&(this.webSocket.onclose=function(){},this.webSocket.onmessage=function(){},this.webSocket.onerror=function(){},this.webSocket.close(),this.webSocket=void 0),this.logger.log(C.Trace,"(WebSockets transport) socket closed."),this.onclose&&(!r||!1!==r.wasClean&&1e3===r.code?this.onclose():this.onclose(new Error("WebSocket closed with status code: "+r.code+" ("+r.reason+").")))},c}(),u=function(c,r,o,d){return new(o||(o=Promise))(function(g,h){function H(_){try{q(d.next(_))}catch(ut){h(ut)}}function tt(_){try{q(d.throw(_))}catch(ut){h(ut)}}function q(_){_.done?g(_.value):new o(function(ut){ut(_.value)}).then(H,tt)}q((d=d.apply(c,r||[])).next())})},i=function(c,r){var d,g,h,H,o={label:0,sent:function(){if(1&h[0])throw h[1];return h[1]},trys:[],ops:[]};return H={next:tt(0),throw:tt(1),return:tt(2)},"function"==typeof Symbol&&(H[Symbol.iterator]=function(){return this}),H;function tt(_){return function(ut){return function q(_){if(d)throw new TypeError("Generator is already executing.");for(;o;)try{if(d=1,g&&(h=2&_[0]?g.return:_[0]?g.throw||((h=g.return)&&h.call(g),0):g.next)&&!(h=h.call(g,_[1])).done)return h;switch(g=0,h&&(_=[2&_[0],h.value]),_[0]){case 0:case 1:h=_;break;case 4:return o.label++,{value:_[1],done:!1};case 5:o.label++,g=_[1],_=[0];continue;case 7:_=o.ops.pop(),o.trys.pop();continue;default:if(!(h=(h=o.trys).length>0&&h[h.length-1])&&(6===_[0]||2===_[0])){o=0;continue}if(3===_[0]&&(!h||_[1]>h[0]&&_[1]<h[3])){o.label=_[1];break}if(6===_[0]&&o.label<h[1]){o.label=h[1],h=_;break}if(h&&o.label<h[2]){o.label=h[2],o.ops.push(_);break}h[2]&&o.ops.pop(),o.trys.pop();continue}_=r.call(c,o)}catch(ut){_=[6,ut],g=0}finally{d=h=0}if(5&_[0])throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}([_,ut])}}},l=null,f=null;if(K.isNode){var x=require;l=x("ws"),f=x("eventsource")}var I=function(){function c(r,o){void 0===o&&(o={}),this.stopPromiseResolver=function(){},this.features={},this.negotiateVersion=1,U.isRequired(r,"url"),this.logger=function X(c){return void 0===c?new m(C.Information):null===c?L.instance:c.log?c:new m(c)}(o.logger),this.baseUrl=this.resolveUrl(r),(o=o||{}).logMessageContent=o.logMessageContent||!1,!K.isNode&&typeof WebSocket<"u"&&!o.WebSocket?o.WebSocket=WebSocket:K.isNode&&!o.WebSocket&&l&&(o.WebSocket=l),!K.isNode&&typeof EventSource<"u"&&!o.EventSource?o.EventSource=EventSource:K.isNode&&!o.EventSource&&typeof f<"u"&&(o.EventSource=f),this.httpClient=o.httpClient||new Mt(this.logger),this.connectionState="Disconnected",this.connectionStarted=!1,this.options=o,this.onreceive=null,this.onclose=null}return c.prototype.start=function(r){return u(this,void 0,void 0,function(){var o;return i(this,function(d){switch(d.label){case 0:return U.isIn(r=r||ht.Binary,ht,"transferFormat"),this.logger.log(C.Debug,"Starting connection with transfer format '"+ht[r]+"'."),"Disconnected"!==this.connectionState?[2,Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."))]:(this.connectionState="Connecting ",this.startInternalPromise=this.startInternal(r),[4,this.startInternalPromise]);case 1:return d.sent(),"Disconnecting"!==this.connectionState?[3,3]:(this.logger.log(C.Error,o="Failed to start the HttpConnection before stop() was called."),[4,this.stopPromise]);case 2:return d.sent(),[2,Promise.reject(new Error(o))];case 3:if("Connected"!==this.connectionState)return this.logger.log(C.Error,o="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!"),[2,Promise.reject(new Error(o))];d.label=4;case 4:return this.connectionStarted=!0,[2]}})})},c.prototype.send=function(r){return"Connected"!==this.connectionState?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this.sendQueue||(this.sendQueue=new Ct(this.transport)),this.sendQueue.send(r))},c.prototype.stop=function(r){return u(this,void 0,void 0,function(){var o=this;return i(this,function(d){switch(d.label){case 0:return"Disconnected"===this.connectionState?(this.logger.log(C.Debug,"Call to HttpConnection.stop("+r+") ignored because the connection is already in the disconnected state."),[2,Promise.resolve()]):"Disconnecting"===this.connectionState?(this.logger.log(C.Debug,"Call to HttpConnection.stop("+r+") ignored because the connection is already in the disconnecting state."),[2,this.stopPromise]):(this.connectionState="Disconnecting",this.stopPromise=new Promise(function(g){o.stopPromiseResolver=g}),[4,this.stopInternal(r)]);case 1:return d.sent(),[4,this.stopPromise];case 2:return d.sent(),[2]}})})},c.prototype.stopInternal=function(r){return u(this,void 0,void 0,function(){var d;return i(this,function(g){switch(g.label){case 0:this.stopError=r,g.label=1;case 1:return g.trys.push([1,3,,4]),[4,this.startInternalPromise];case 2:case 3:return g.sent(),[3,4];case 4:if(!this.transport)return[3,9];g.label=5;case 5:return g.trys.push([5,7,,8]),[4,this.transport.stop()];case 6:return g.sent(),[3,8];case 7:return d=g.sent(),this.logger.log(C.Error,"HttpConnection.transport.stop() threw error '"+d+"'."),this.stopConnection(),[3,8];case 8:return this.transport=void 0,[3,10];case 9:this.logger.log(C.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed."),g.label=10;case 10:return[2]}})})},c.prototype.startInternal=function(r){return u(this,void 0,void 0,function(){var o,d,g,h,H,tt;return i(this,function(q){switch(q.label){case 0:o=this.baseUrl,this.accessTokenFactory=this.options.accessTokenFactory,q.label=1;case 1:return q.trys.push([1,12,,13]),this.options.skipNegotiation?this.options.transport!==nt.WebSockets?[3,3]:(this.transport=this.constructTransport(nt.WebSockets),[4,this.startTransport(o,r)]):[3,5];case 2:return q.sent(),[3,4];case 3:throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");case 4:return[3,11];case 5:d=null,g=0,h=function(){var _;return i(this,function(ut){switch(ut.label){case 0:return[4,H.getNegotiationResponse(o)];case 1:if(d=ut.sent(),"Disconnecting"===H.connectionState||"Disconnected"===H.connectionState)throw new Error("The connection was stopped during negotiation.");if(d.error)throw new Error(d.error);if(d.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");return d.url&&(o=d.url),d.accessToken&&(_=d.accessToken,H.accessTokenFactory=function(){return _}),g++,[2]}})},H=this,q.label=6;case 6:return[5,h()];case 7:q.sent(),q.label=8;case 8:if(d.url&&g<100)return[3,6];q.label=9;case 9:if(100===g&&d.url)throw new Error("Negotiate redirection limit exceeded.");return[4,this.createTransport(o,this.options.transport,d,r)];case 10:q.sent(),q.label=11;case 11:return this.transport instanceof jt&&(this.features.inherentKeepAlive=!0),"Connecting "===this.connectionState&&(this.logger.log(C.Debug,"The HttpConnection connected successfully."),this.connectionState="Connected"),[3,13];case 12:return tt=q.sent(),this.logger.log(C.Error,"Failed to start the connection: "+tt),this.connectionState="Disconnected",this.transport=void 0,this.stopPromiseResolver(),[2,Promise.reject(tt)];case 13:return[2]}})})},c.prototype.getNegotiationResponse=function(r){return u(this,void 0,void 0,function(){var o,d,g,h,H,tt,q;return i(this,function(_){switch(_.label){case 0:return this.accessTokenFactory?[4,this.accessTokenFactory()]:[3,2];case 1:(g=_.sent())&&((o={}).Authorization="Bearer "+g,d=o),_.label=2;case 2:h=this.resolveNegotiateUrl(r),this.logger.log(C.Debug,"Sending negotiation request: "+h+"."),_.label=3;case 3:return _.trys.push([3,5,,6]),[4,this.httpClient.post(h,{content:"",headers:d})];case 4:return 200!==(H=_.sent()).statusCode?[2,Promise.reject(new Error("Unexpected status code returned from negotiate "+H.statusCode))]:((!(tt=JSON.parse(H.content)).negotiateVersion||tt.negotiateVersion<1)&&(tt.connectionToken=tt.connectionId),[2,tt]);case 5:return q=_.sent(),this.logger.log(C.Error,"Failed to complete negotiation with the server: "+q),[2,Promise.reject(q)];case 6:return[2]}})})},c.prototype.createConnectUrl=function(r,o){return o?r+(-1===r.indexOf("?")?"?":"&")+"id="+o:r},c.prototype.createTransport=function(r,o,d,g){return u(this,void 0,void 0,function(){var h,H,q,_,ut,Ht,Wt,ee,oe;return i(this,function(ie){switch(ie.label){case 0:return h=this.createConnectUrl(r,d.connectionToken),this.isITransport(o)?(this.logger.log(C.Debug,"Connection was provided an instance of ITransport, using that directly."),this.transport=o,[4,this.startTransport(h,g)]):[3,2];case 1:return ie.sent(),this.connectionId=d.connectionId,[2];case 2:H=[],q=d,_=0,ut=d.availableTransports||[],ie.label=3;case 3:return _<ut.length?(Wt=this.resolveTransportOrError(Ht=ut[_],o,g))instanceof Error?(H.push(Ht.transport+" failed: "+Wt),[3,12]):[3,4]:[3,13];case 4:if(!this.isITransport(Wt))return[3,12];if(this.transport=Wt,q)return[3,9];ie.label=5;case 5:return ie.trys.push([5,7,,8]),[4,this.getNegotiationResponse(r)];case 6:return q=ie.sent(),[3,8];case 7:return ee=ie.sent(),[2,Promise.reject(ee)];case 8:h=this.createConnectUrl(r,q.connectionToken),ie.label=9;case 9:return ie.trys.push([9,11,,12]),[4,this.startTransport(h,g)];case 10:return ie.sent(),this.connectionId=q.connectionId,[2];case 11:return oe=ie.sent(),this.logger.log(C.Error,"Failed to start the transport '"+Ht.transport+"': "+oe),q=void 0,H.push(Ht.transport+" failed: "+oe),"Connecting "!==this.connectionState?(this.logger.log(C.Debug,"Failed to select transport before stop() was called."),[2,Promise.reject(new Error("Failed to select transport before stop() was called."))]):[3,12];case 12:return _++,[3,3];case 13:return H.length>0?[2,Promise.reject(new Error("Unable to connect to the server with any of the available transports. "+H.join(" ")))]:[2,Promise.reject(new Error("None of the transports supported by the client are supported by the server."))]}})})},c.prototype.constructTransport=function(r){switch(r){case nt.WebSockets:if(!this.options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new D(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.WebSocket);case nt.ServerSentEvents:if(!this.options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new Qt(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.EventSource);case nt.LongPolling:return new jt(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1);default:throw new Error("Unknown transport: "+r+".")}},c.prototype.startTransport=function(r,o){var d=this;return this.transport.onreceive=this.onreceive,this.transport.onclose=function(g){return d.stopConnection(g)},this.transport.connect(r,o)},c.prototype.resolveTransportOrError=function(r,o,d){var g=nt[r.transport];if(null==g)return this.logger.log(C.Debug,"Skipping transport '"+r.transport+"' because it is not supported by this client."),new Error("Skipping transport '"+r.transport+"' because it is not supported by this client.");if(!function et(c,r){return!c||0!=(r&c)}(o,g))return this.logger.log(C.Debug,"Skipping transport '"+nt[g]+"' because it was disabled by the client."),new Error("'"+nt[g]+"' is disabled by the client.");if(!(r.transferFormats.map(function(H){return ht[H]}).indexOf(d)>=0))return this.logger.log(C.Debug,"Skipping transport '"+nt[g]+"' because it does not support the requested transfer format '"+ht[d]+"'."),new Error("'"+nt[g]+"' does not support "+ht[d]+".");if(g===nt.WebSockets&&!this.options.WebSocket||g===nt.ServerSentEvents&&!this.options.EventSource)return this.logger.log(C.Debug,"Skipping transport '"+nt[g]+"' because it is not supported in your environment.'"),new Error("'"+nt[g]+"' is not supported in your environment.");this.logger.log(C.Debug,"Selecting transport '"+nt[g]+"'.");try{return this.constructTransport(g)}catch(H){return H}},c.prototype.isITransport=function(r){return r&&"object"==typeof r&&"connect"in r},c.prototype.stopConnection=function(r){var o=this;if(this.logger.log(C.Debug,"HttpConnection.stopConnection("+r+") called while in state "+this.connectionState+"."),this.transport=void 0,r=this.stopError||r,this.stopError=void 0,"Disconnected"!==this.connectionState)if("Connecting "!==this.connectionState){if("Disconnecting"===this.connectionState&&this.stopPromiseResolver(),r?this.logger.log(C.Error,"Connection disconnected with error '"+r+"'."):this.logger.log(C.Information,"Connection disconnected."),this.sendQueue&&(this.sendQueue.stop().catch(function(d){o.logger.log(C.Error,"TransportSendQueue.stop() threw error '"+d+"'.")}),this.sendQueue=void 0),this.connectionId=void 0,this.connectionState="Disconnected",this.connectionStarted){this.connectionStarted=!1;try{this.onclose&&this.onclose(r)}catch(d){this.logger.log(C.Error,"HttpConnection.onclose("+r+") threw error '"+d+"'.")}}}else this.logger.log(C.Warning,"Call to HttpConnection.stopConnection("+r+") was ignored because the connection hasn't yet left the in the connecting state.");else this.logger.log(C.Debug,"Call to HttpConnection.stopConnection("+r+") was ignored because the connection is already in the disconnected state.")},c.prototype.resolveUrl=function(r){if(0===r.lastIndexOf("https://",0)||0===r.lastIndexOf("http://",0))return r;if(!K.isBrowser||!window.document)throw new Error("Cannot resolve '"+r+"'.");var o=window.document.createElement("a");return o.href=r,this.logger.log(C.Information,"Normalizing '"+r+"' to '"+o.href+"'."),o.href},c.prototype.resolveNegotiateUrl=function(r){var o=r.indexOf("?"),d=r.substring(0,-1===o?r.length:o);return"/"!==d[d.length-1]&&(d+="/"),d+="negotiate",-1===(d+=-1===o?"":r.substring(o)).indexOf("negotiateVersion")&&(d+=-1===o?"?":"&",d+="negotiateVersion="+this.negotiateVersion),d},c}(),Ct=function(){function c(r){this.transport=r,this.buffer=[],this.executing=!0,this.sendBufferedData=new wt,this.transportResult=new wt,this.sendLoopPromise=this.sendLoop()}return c.prototype.send=function(r){return this.bufferData(r),this.transportResult||(this.transportResult=new wt),this.transportResult.promise},c.prototype.stop=function(){return this.executing=!1,this.sendBufferedData.resolve(),this.sendLoopPromise},c.prototype.bufferData=function(r){if(this.buffer.length&&typeof this.buffer[0]!=typeof r)throw new Error("Expected data to be of type "+typeof this.buffer+" but was of type "+typeof r);this.buffer.push(r),this.sendBufferedData.resolve()},c.prototype.sendLoop=function(){return u(this,void 0,void 0,function(){var r,o,d;return i(this,function(g){switch(g.label){case 0:return[4,this.sendBufferedData.promise];case 1:if(g.sent(),!this.executing)return this.transportResult&&this.transportResult.reject("Connection stopped."),[3,6];this.sendBufferedData=new wt,r=this.transportResult,this.transportResult=void 0,o="string"==typeof this.buffer[0]?this.buffer.join(""):c.concatBuffers(this.buffer),this.buffer.length=0,g.label=2;case 2:return g.trys.push([2,4,,5]),[4,this.transport.send(o)];case 3:return g.sent(),r.resolve(),[3,5];case 4:return d=g.sent(),r.reject(d),[3,5];case 5:return[3,0];case 6:return[2]}})})},c.concatBuffers=function(r){for(var o=r.map(function(q){return q.byteLength}).reduce(function(q,_){return q+_}),d=new Uint8Array(o),g=0,h=0,H=r;h<H.length;h++){var tt=H[h];d.set(new Uint8Array(tt),g),g+=tt.byteLength}return d},c}(),wt=function(){function c(){var r=this;this.promise=new Promise(function(o,d){var g;return r.resolver=(g=[o,d])[0],r.rejecter=g[1],g})}return c.prototype.resolve=function(){this.resolver()},c.prototype.reject=function(r){this.rejecter(r)},c}(),Ot=function(){function c(){this.name="json",this.version=1,this.transferFormat=ht.Text}return c.prototype.parseMessages=function(r,o){if("string"!=typeof r)throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!r)return[];null===o&&(o=L.instance);for(var g=[],h=0,H=yt.parse(r);h<H.length;h++){var q=JSON.parse(H[h]);if("number"!=typeof q.type)throw new Error("Invalid payload.");switch(q.type){case Y.Invocation:this.isInvocationMessage(q);break;case Y.StreamItem:this.isStreamItemMessage(q);break;case Y.Completion:this.isCompletionMessage(q);break;case Y.Ping:case Y.Close:break;default:o.log(C.Information,"Unknown message type '"+q.type+"' ignored.");continue}g.push(q)}return g},c.prototype.writeMessage=function(r){return yt.write(JSON.stringify(r))},c.prototype.isInvocationMessage=function(r){this.assertNotEmptyString(r.target,"Invalid payload for Invocation message."),void 0!==r.invocationId&&this.assertNotEmptyString(r.invocationId,"Invalid payload for Invocation message.")},c.prototype.isStreamItemMessage=function(r){if(this.assertNotEmptyString(r.invocationId,"Invalid payload for StreamItem message."),void 0===r.item)throw new Error("Invalid payload for StreamItem message.")},c.prototype.isCompletionMessage=function(r){if(r.result&&r.error)throw new Error("Invalid payload for Completion message.");!r.result&&r.error&&this.assertNotEmptyString(r.error,"Invalid payload for Completion message."),this.assertNotEmptyString(r.invocationId,"Invalid payload for Completion message.")},c.prototype.assertNotEmptyString=function(r,o){if("string"!=typeof r||""===r)throw new Error(o)},c}(),Nt=Object.assign||function(c){for(var r,o=1,d=arguments.length;o<d;o++)for(var g in r=arguments[o])Object.prototype.hasOwnProperty.call(r,g)&&(c[g]=r[g]);return c},Yt={trace:C.Trace,debug:C.Debug,info:C.Information,information:C.Information,warn:C.Warning,warning:C.Warning,error:C.Error,critical:C.Critical,none:C.None},Gt=function(){function c(){}return c.prototype.configureLogging=function(r){if(U.isRequired(r,"logging"),function V(c){return void 0!==c.log}(r))this.logger=r;else if("string"==typeof r){var o=function zt(c){var r=Yt[c.toLowerCase()];if(typeof r<"u")return r;throw new Error("Unknown log level: "+c)}(r);this.logger=new m(o)}else this.logger=new m(r);return this},c.prototype.withUrl=function(r,o){return U.isRequired(r,"url"),this.url=r,this.httpConnectionOptions=Nt({},this.httpConnectionOptions,"object"==typeof o?o:{transport:o}),this},c.prototype.withHubProtocol=function(r){return U.isRequired(r,"protocol"),this.protocol=r,this},c.prototype.withAutomaticReconnect=function(r){if(this.reconnectPolicy)throw new Error("A reconnectPolicy has already been set.");return this.reconnectPolicy=r?Array.isArray(r)?new j(r):r:new j,this},c.prototype.build=function(){var r=this.httpConnectionOptions||{};if(void 0===r.logger&&(r.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");var o=new I(this.url,r);return Lt.create(o,this.logger||L.instance,this.protocol||new Ot,this.reconnectPolicy)},c}(),y=a(2722),G=a(7579);class E{constructor(){this.menus=[{Icon:"fas fa-tag",Title:"Products",Url:"/menu/products"},{Icon:"fas fa-archive",Title:"Inventory",Url:"/menu/inventory"},{Icon:"fas fa-money-bill-alt",Title:"Price",Url:"/menu/price"},{Icon:"fas fa-shopping-cart",Title:"Order",Url:"/menu/Order"},{Icon:"fas fa-clipboard-list",Title:"Report",Url:"/menu/report"},{Icon:"fas fa-dolly",Title:"Logistic",Url:"/menu/Logistic"},{Icon:"fas fa-cog",Title:"Channel",Url:"/menu/channel"},{Icon:"fas fa-file-alt",Title:"Logs",Url:"/menu/log"},{Icon:"fas fa-bell",Title:"Notification",Url:"/menu/Notification"}]}get getMenu(){return this.menus}}var p=a(4650),b=a(8002),A=a(7185),z=a(9568),pt=a(1589),It=a(266);function Zt(c,r){if(1&c&&(p.TgZ(0,"li",17)(1,"a",18),p._UZ(2,"i"),p.TgZ(3,"p"),p._uU(4),p.qZA()()()),2&c){const o=r.$implicit,d=p.oxw();p.xp6(1),p.Q6J("matTooltip",d.isCollapseSidebar?o.Title:"")("routerLink",o.Url),p.xp6(1),p.Tol(o.Icon),p.xp6(2),p.Oqu(o.Title)}}function ot(c,r){if(1&c){const o=p.EpF();p.TgZ(0,"div",19)(1,"span"),p._uU(2),p.TgZ(3,"a",20),p._uU(4,"this Article"),p.qZA(),p._uU(5," to renew your ShopID! "),p.qZA(),p.TgZ(6,"a",21),p.NdJ("click",function(){p.CHM(o);const g=p.oxw();return p.KtG(g.CloseWarning())}),p._UZ(7,"i",22),p.qZA()()}if(2&c){const o=p.oxw();p.xp6(2),p.AsE(" Your Shopee Channel ShopID ",o.ShopID," is expired in (",o.Difference_In_Days,") days, please refer to ")}}const w=[{path:"",component:(()=>{class c{constructor(o,d,g,h,H){this._router=o,this.tokendecode=d,this.toastr=g,this.LocalData=h,this.toggleSidebarService=H,this.Menu={},this.connection=!1,this.Difference_In_Days=0,this.IsExpired=!1,this.destroy$=new G.x,this.isCollapseSidebar=!1,this.initIntercom(),this.token=this.tokendecode.GetNamePOS(),this.storeName=this.token.StoreName,this.Menu=(new E).getMenu,this.CheckExpired()}ngOnInit(){this.startConnection(),this.subscribeToSidebarChange()}initIntercom(){var o=localStorage.getItem("Intercom"),d=JSON.parse(o);null==d?window.Intercom("boot",{app_id:"xv1oomgl"}):window.Intercom("boot",{app_id:"xv1oomgl",name:d.Name,email:d.Email,created_at:d.Created,user_hash:d.Hash})}subscribeToSidebarChange(){this.toggleSidebarService.toggleState$.pipe((0,y.R)(this.destroy$)).subscribe(o=>{this.isNavOpen=o})}CloseWarning(){localStorage.removeItem("channel"),this.IsExpired=!1}CheckExpired(){let o=JSON.parse(window.localStorage.getItem("user"));if(o)if(null!=o.expiredAt)this.LogOut();else{let g=o.Channel;if(g.length>0)for(let h of g)if(null!=h.ExpiredTime&&0==h.TypeID){let H=new Date(h.ExpiredTime),tt=new Date;var d=H.getTime()-tt.getTime();this.Difference_In_Days=Math.round(d/864e5),this.Difference_In_Days<=10&&(this.IsExpired=!0,this.ShopID=h.ShopID)}}}user(){this._router.navigate(["/menu/users"])}LogOut(){window.Intercom("shutdown"),window.localStorage.removeItem("user"),window.localStorage.removeItem("Intercom"),window.localStorage.removeItem("channel"),this.LocalData.clearDatabase(),this._router.navigate([""])}startConnection(){this.hubConnection=(new Gt).withUrl("/MarketplaceHub").withAutomaticReconnect([0,1e4,1e4,1e4,1e4,null]).configureLogging(C.Information).build(),this.hubConnection.start().then(()=>{this.connection=!0,this.connectToRegister()}).catch(o=>console.log("Error while starting connection: "+o)),this.hubConnection.onclose(()=>{this.startConnection(),this.connection=!1}),this.hubConnection.on("Notification",o=>{let d=JSON.parse(o);d.ID==this.token.POSAccountID&&(200!=d.StatusCode?this.toastr.error(d.Message,d.Title,{enableHtml:!0}):this.toastr.success(d.Message,d.Title,{enableHtml:!0}))})}connectToRegister(){this.hubConnection.invoke("SubscribeGroup",this.token.POSAccountID)}onCallapseSidebar(){this.isCollapseSidebar=!this.isCollapseSidebar,this.storeName=this.token.StoreName,this.isCollapseSidebar&&(this.storeName=this.getInitialTitle(this.token.StoreName))}getInitialTitle(o){if(o){let d;const g=o.split(" ");return d=1==g.length?g[0].substring(0,2):g.shift().charAt(0)+g.pop().charAt(0),d}}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}}return c.\u0275fac=function(o){return new(o||c)(p.Y36(s.F0),p.Y36(b.e),p.Y36(A._W),p.Y36(z.T),p.Y36(pt.g))},c.\u0275cmp=p.Xpm({type:c,selectors:[["app-menu"]],decls:23,vars:9,consts:[[1,"wrapper"],["data-color","green",1,"sidebar",3,"ngClass"],[1,"btn-minimize","d-md-block","d-none","p-0","border-0","bg-white",3,"click"],[1,"fas","cursor",3,"ngClass"],[1,"logo"],[1,"navbar","dropdown","bg-transparent","border-0"],["data-bs-toggle","dropdown","aria-expanded","false",1,"simple-text","text-start","dropdown-toggle","d-flex","align-items-center","justify-content-center","cursor-pointer",3,"title"],[1,"dropdown-menu"],[1,"dropdown-header","text-dark","border-bottom"],[1,"divider","m-0"],[1,"dropdown-item","h5",2,"cursor","pointer",3,"click"],["aria-hidden","true",1,"fas","fa-sign-out-alt"],[1,"sidebar-wrapper"],[1,"nav"],["routerLinkActive","active",4,"ngFor","ngForOf"],[1,"main-panel"],["class","alert alert-warning d-flex justify-content-between text-dark","role","alert",4,"ngIf"],["routerLinkActive","active"],["matTooltipPosition","right",1,"nav-link","position-relative","d-block",3,"matTooltip","routerLink"],["role","alert",1,"alert","alert-warning","d-flex","justify-content-between","text-dark"],["target","_blank","href","https://support.dealpos.com/en/articles/5334947-renew-shopee-authorization"],[1,"alert-link","text-danger",2,"cursor","pointer",3,"click"],[1,"far","fa-times-circle","fa-lg"]],template:function(o,d){1&o&&(p.TgZ(0,"div",0)(1,"div",1)(2,"button",2),p.NdJ("click",function(){return d.onCallapseSidebar()}),p._UZ(3,"i",3),p.qZA(),p.TgZ(4,"div",4)(5,"div",5)(6,"a",6),p._uU(7),p.qZA(),p.TgZ(8,"div",7)(9,"div",8),p._uU(10),p.qZA(),p._UZ(11,"div",9),p.TgZ(12,"a",10),p.NdJ("click",function(){return d.LogOut()}),p._UZ(13,"i",11),p._uU(14,"\xa0 "),p.TgZ(15,"span"),p._uU(16," Log Out"),p.qZA()()()()(),p.TgZ(17,"div",12)(18,"ul",13),p.YNc(19,Zt,5,5,"li",14),p.qZA()()(),p.TgZ(20,"div",15),p.YNc(21,ot,8,2,"div",16),p._UZ(22,"router-outlet"),p.qZA()()),2&o&&(p.ekj("nav-open",d.isNavOpen),p.xp6(1),p.Q6J("ngClass",d.isCollapseSidebar?"collapses":""),p.xp6(2),p.Q6J("ngClass",d.isCollapseSidebar?"fa-angle-left":"fa-angle-right"),p.xp6(3),p.s9C("title",d.token.StoreName),p.xp6(1),p.hij(" ",d.storeName," "),p.xp6(3),p.hij("",d.token.UserName," "),p.xp6(9),p.Q6J("ngForOf",d.Menu),p.xp6(2),p.Q6J("ngIf",d.IsExpired))},dependencies:[n.mk,n.sg,n.O5,s.lC,s.yS,s.Od,It.gM],styles:[".top-initial[_ngcontent-%COMP%] .dropdown-menu.show[_ngcontent-%COMP%]{top:initial!important}@media (max-width: 468px){.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{white-space:nowrap;max-width:7em;overflow:hidden;text-overflow:ellipsis}}@media only screen and (min-width: 992px){.sidebar[_ngcontent-%COMP%]{z-index:1050!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%], .sidebar.collapses[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{width:70px;transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] .simple-text[_ngcontent-%COMP%]{background-color:#ffffff3b;border-radius:20px;height:40px;width:40px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important;height:50px;text-align:center;margin:10px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:none}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{padding-left:70px}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{left:70px!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]{position:absolute;top:17px;right:-20px;z-index:7;transform:rotate(180deg);border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;width:24px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1;background-color:#fff;position:absolute;top:17px;right:-20px;z-index:7;transform:rotate(180deg);border:0;border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;padding:0;width:24px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{cursor:pointer}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1}.full-container[_ngcontent-%COMP%]{padding-top:0!important}}"]}),c})(),children:[{path:"",redirectTo:"products",pathMatch:"full"},{path:"products",loadChildren:()=>Promise.all([a.e(796),a.e(516),a.e(739),a.e(592),a.e(466)]).then(a.bind(a,4466)).then(c=>c.ProductModule),canActivate:[e.a],data:{title:"Products"}},{path:"inventory",loadChildren:()=>Promise.all([a.e(796),a.e(516),a.e(61),a.e(171),a.e(162)]).then(a.bind(a,9162)).then(c=>c.InventoryModule),canActivate:[e.a],data:{title:"Inventory"}},{path:"price",loadChildren:()=>Promise.all([a.e(796),a.e(516),a.e(61),a.e(171),a.e(592),a.e(874)]).then(a.bind(a,1874)).then(c=>c.PriceModule),canActivate:[e.a],data:{title:"Price"}},{path:"Order",loadChildren:()=>Promise.all([a.e(796),a.e(616),a.e(739),a.e(592),a.e(402)]).then(a.bind(a,5402)).then(c=>c.OrdersModule),canActivate:[e.a],data:{title:"Order"}},{path:"report",loadChildren:()=>Promise.all([a.e(616),a.e(585),a.e(360)]).then(a.bind(a,4360)).then(c=>c.ReportModule),canActivate:[e.a],data:{title:"Report"}},{path:"Logistic",loadChildren:()=>a.e(512).then(a.bind(a,5512)).then(c=>c.LogisticModule),canActivate:[e.a],data:{title:"Logistic"}},{path:"channel",loadChildren:()=>Promise.all([a.e(796),a.e(61),a.e(592),a.e(334)]).then(a.bind(a,4334)).then(c=>c.ChannelsModule),canActivate:[e.a],data:{title:"Marketplace"}},{path:"log",loadChildren:()=>Promise.all([a.e(796),a.e(616),a.e(739),a.e(585),a.e(832)]).then(a.bind(a,1832)).then(c=>c.LogsModule),canActivate:[e.a],data:{title:"Orders"}},{path:"Notification",loadChildren:()=>Promise.all([a.e(796),a.e(717)]).then(a.bind(a,6717)).then(c=>c.NotificationModule),canActivate:[e.a],data:{title:"Push Notification"}}]}];let at=(()=>{class c{}return c.\u0275fac=function(o){return new(o||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[s.Bz.forChild(w),s.Bz]}),c})();var Rt=a(7481),Bt=a(4006),Kt=a(5412),qt=a(1948),ne=a(4144),Jt=a(9549),re=a(4385),le=a(8966),ce=a(6709),de=a(6401);let he=(()=>{class c{}return c.\u0275fac=function(o){return new(o||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[n.ez,Bt.u5,Kt.Is,qt.Fk,ne.c,Jt.lN,re.LD,ce.p9,It.AV,le.n,de.d]}),c})(),ue=(()=>{class c{}return c.\u0275fac=function(o){return new(o||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({providers:[n.uU],imports:[n.ez,at,Rt.R,It.AV,he]}),c})()},9694:(Vt,bt,a)=>{a.d(bt,{x:()=>n});var n=(()=>{return(s=n||(n={}))[s.Shopee=0]="Shopee",s[s.Tokopedia=1]="Tokopedia",s[s.WooCommerce=2]="WooCommerce",s[s.None=3]="None",s[s.KalCare=4]="KalCare",s[s.ShopeeV2=5]="ShopeeV2",s[s.Tiktok=6]="Tiktok",s[s.Lazada=7]="Lazada",n;var s})()},8063:(Vt,bt,a)=>{a.d(bt,{a:()=>e});var n=a(4650),s=a(8252);let e=(()=>{class k{constructor(T){this.router=T}canActivate(T,vt){let rt=JSON.parse(window.localStorage.getItem("user")),Z=new Date;return null!=rt&&Z<new Date(rt.Token.expiredAt)||(this.router.navigate([""]),!1)}}return k.\u0275fac=function(T){return new(T||k)(n.LFG(s.F0))},k.\u0275prov=n.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})()},9568:(Vt,bt,a)=>{a.d(bt,{T:()=>st});var n=a(4004),s=a(9694),e=a(4650),k=a(3131);let st=(()=>{class T{constructor(rt){this.db=rt,this.DATABASE="Categories"}saveCategoriesByChannelType(rt,Z){let B=this.getKey(Z);return this.db.add(this.DATABASE,rt,B).pipe((0,n.U)(C=>rt))}getCategoriesByChannelType(rt){let Z=this.getKey(rt);return this.db.getByKey(this.DATABASE,Z)}getKey(rt){let Z="";switch(rt){case s.x.Lazada:Z="Lazada";break;case s.x.Tokopedia:Z="Tokopedia"}return Z}clearDatabase(){this.db.clear(this.DATABASE)}}return T.\u0275fac=function(rt){return new(rt||T)(e.LFG(k.ys))},T.\u0275prov=e.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},1589:(Vt,bt,a)=>{a.d(bt,{g:()=>e});var n=a(1135),s=a(4650);let e=(()=>{class k{constructor(){this._toggleState=new n.X(!1),this.toggleState$=this._toggleState.asObservable()}toggleSidebar(){this._toggleState.next(!this._toggleState.value)}}return k.\u0275fac=function(T){return new(T||k)},k.\u0275prov=s.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})()},494:(Vt,bt,a)=>{a.d(bt,{n:()=>n});var n=(()=>{return(s=n||(n={})).Success="Success",s.Info="Info",s.Warning="Warning",s.Error="Error",n;var s})()},6779:(Vt,bt,a)=>{a.d(bt,{O:()=>s});var n=a(494);class s{constructor(){this.title="New Modal",this.titleExtra="",this.okText="OK",this.cancelText="CANCEL",this.hideFooter=!1,this.hideCancel=!1,this.hideOk=!1,this.hideClose=!1,this.eMoney=!1,this.headerType=n.n.Success,this.validated=!0,this.customWidth="initial",this.bodyScrollable=!1,this.hideScrollbar=!1,this.disableKeyup=!1,this.showMoreButton=!1,this.noPadding=!1}}},6401:(Vt,bt,a)=>{a.d(bt,{M:()=>J,d:()=>gt});var n=a(4650),s=a(6895),e=a(6779),k=a(494);function st(ct,_t){if(1&ct){const X=n.EpF();n.TgZ(0,"div",9),n.NdJ("click",function(){n.CHM(X);const m=n.oxw();return n.KtG(m.onBack.emit())}),n.TgZ(1,"a",10),n._UZ(2,"i",11),n.qZA()()}}function T(ct,_t){if(1&ct){const X=n.EpF();n.TgZ(0,"div",12)(1,"a",13),n.NdJ("click",function(){n.CHM(X);const m=n.oxw();return n.KtG(m.onCancel.emit())}),n._UZ(2,"i",14),n.qZA()()}}function vt(ct,_t){1&ct&&n.Hsn(0,2,["*ngIf","more"])}function rt(ct,_t){if(1&ct){const X=n.EpF();n.TgZ(0,"a",19),n.NdJ("click",function(){n.CHM(X);const m=n.oxw(2);return n.KtG(m.more=!m.more)}),n._uU(1,"More"),n.qZA()}}function Z(ct,_t){if(1&ct){const X=n.EpF();n.TgZ(0,"a",20),n.NdJ("click",function(){n.CHM(X);const m=n.oxw(2);return n.KtG(m.onCancel.emit())}),n._uU(1),n.qZA()}if(2&ct){const X=n.oxw(2);n.xp6(1),n.hij(" ",X.config.cancelText?X.config.cancelText:"CANCEL","")}}function B(ct,_t){if(1&ct){const X=n.EpF();n.TgZ(0,"button",21),n.NdJ("click",function(){n.CHM(X);const m=n.oxw(2);return n.KtG(m.onOk.emit())})("keyup.F2",function(){n.CHM(X);const m=n.oxw(2);return n.KtG(m.onOk.emit())}),n.qZA()}if(2&ct){const X=n.oxw(2);n.Q6J("disabled",!X.config.validated||!X.dynamicValidated)("innerHTML",X.config.okText?X.config.okText:"OK",n.oJD)}}function C(ct,_t){if(1&ct&&(n.TgZ(0,"mat-dialog-actions",15),n.YNc(1,rt,2,0,"a",16),n.Hsn(2,3),n.YNc(3,Z,2,1,"a",17),n.YNc(4,B,1,2,"button",18),n.qZA()),2&ct){const X=n.oxw();n.xp6(1),n.Q6J("ngIf",X.config.showMoreButton),n.xp6(2),n.Q6J("ngIf",!X.config.hideCancel),n.xp6(1),n.Q6J("ngIf",!X.config.hideOk)}}const L=[[["","header",""]],[["","content",""]],[["","more-content",""]],[["","footer",""]]],R=function(ct,_t){return{bodyScrollable:ct,hideScrollbar:_t}},N=function(ct){return{"mx-auto":ct}},U=function(ct,_t){return{"show-footer":ct,"p-0":_t}},K=["[header]","[content]","[more-content]","[footer]"];let J=(()=>{class ct{constructor(){this.dynamicValidated=!0,this.onOk=new n.vpe,this.onCancel=new n.vpe,this.onClose=new n.vpe,this.onBack=new n.vpe,this.term="",this.more=!1}ngOnInit(){switch(null==this.config&&(this.config=new e.O),this.config.headerType){case k.n.Success:this.background="bg-success";break;case k.n.Warning:case k.n.Info:this.background="bg-warning";break;case k.n.Error:this.background="bg-danger";break;default:this.background=""}}onKeyup(X){this.config.disableKeyup||("F2"==X.code&&this.onOk.emit("F2"),("Enter"==X.code||"NumpadEnter"==X.code)&&this.onOk.emit("Enter"))}}return ct.\u0275fac=function(X){return new(X||ct)},ct.\u0275cmp=n.Xpm({type:ct,selectors:[["modal-material"]],inputs:{config:"config",dynamicValidated:"dynamicValidated"},outputs:{onOk:"onOk",onCancel:"onCancel",onClose:"onClose",onBack:"onBack"},ngContentSelectors:K,decls:12,vars:21,consts:[[1,"modal-material","d-flex","align-items-start","flex-column","position-relative","maxHeight",3,"ngClass","keyup"],["mat-dialog-title",""],["class","back-button position-absolute pointer d-print-none",3,"click",4,"ngIf"],[1,"d-flex","flex-row","d-print-none",3,"ngClass"],[1,"fw-normal"],["class","ps-3",4,"ngIf"],[1,"modal-body","w-100","pb-3",3,"ngClass"],[4,"ngIf"],["class","w-100 py-7 border-top d-flex justify-content-end d-print-none",4,"ngIf"],[1,"back-button","position-absolute","pointer","d-print-none",3,"click"],[1,"btn","back-button"],[1,"fa-solid","fa-arrow-left"],[1,"ps-3"],[1,"btn-light-blue","btn-sm","pointer","close",3,"click"],[1,"fas","fa-times","fa-md","text-primary"],[1,"w-100","py-7","border-top","d-flex","justify-content-end","d-print-none"],["class","more clearfix",3,"click",4,"ngIf"],["class","btn btn-light-blue text-primary btn-lg fw-bold mx-3",3,"click",4,"ngIf"],["style","width: 70px;","class","btn btn-light-blue me-6 text-primary btn-lg fw-bold mx-3","data-cy","ConfirmOk",3,"disabled","innerHTML","click","keyup.F2",4,"ngIf"],[1,"more","clearfix",3,"click"],[1,"btn","btn-light-blue","text-primary","btn-lg","fw-bold","mx-3",3,"click"],["data-cy","ConfirmOk",1,"btn","btn-light-blue","me-6","text-primary","btn-lg","fw-bold","mx-3",2,"width","70px",3,"disabled","innerHTML","click","keyup.F2"]],template:function(X,$){1&X&&(n.F$t(L),n.TgZ(0,"div",0),n.NdJ("keyup",function(M){return $.onKeyup(M)}),n.TgZ(1,"div",1),n.YNc(2,st,3,0,"div",2),n.TgZ(3,"div",3)(4,"h4",4),n._uU(5),n.qZA(),n.Hsn(6),n.qZA(),n.YNc(7,T,3,0,"div",5),n.qZA(),n.TgZ(8,"mat-dialog-content",6),n.Hsn(9,1),n.YNc(10,vt,1,0,"ng-content",7),n.qZA(),n.YNc(11,C,5,3,"mat-dialog-actions",8),n.qZA()),2&X&&(n.Udp("width",$.config.customWidth),n.Q6J("ngClass",n.WLB(13,R,$.config.bodyScrollable,$.config.hideScrollbar)),n.xp6(1),n.Gre("d-flex w-100 justify-content-between modal-header position-relative ",$.background,""),n.xp6(1),n.Q6J("ngIf",$.config.eMoney),n.xp6(1),n.Q6J("ngClass",n.VKq(16,N,$.config.eMoney)),n.xp6(2),n.Oqu($.config.title),n.xp6(2),n.Q6J("ngIf",!$.config.hideClose),n.xp6(1),n.Q6J("ngClass",n.WLB(18,U,!$.config.hideFooter,$.config.noPadding)),n.xp6(2),n.Q6J("ngIf",$.more),n.xp6(1),n.Q6J("ngIf",!$.config.hideFooter))},dependencies:[s.mk,s.O5],styles:[".mat-dialog-container{padding:0!important;border-radius:4px!important;overflow:visible!important} .mat-dialog-container [mat-dialog-title]{color:#fff;padding:15px;border:none}@media print{ .mat-dialog-container{box-shadow:unset;width:100vw}}@media print{ .cdk-overlay-pane{position:absolute!important;top:-30px;max-width:100vw!important}.modal-body[_ngcontent-%COMP%]{width:100vw!important}}.maxHeight[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{max-height:100%!important}.maxHeight.bodyScrollable[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{max-height:450px!important;overflow-y:auto}body.modal-body[_ngcontent-%COMP%]{height:100%;overflow-y:hidden}mat-dialog-actions[_ngcontent-%COMP%]{bottom:15px}mat-dialog-actions[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:15px!important;margin-right:12px}mat-dialog-actions[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{margin-right:auto;margin-top:-1rem;padding-top:.4rem!important;margin-left:1rem}.back-button[_ngcontent-%COMP%]{top:5px;left:0px}.close[_ngcontent-%COMP%]{padding:.4rem .5rem}.no-padding[_ngcontent-%COMP%]{padding:0}.modal-material[_ngcontent-%COMP%]{width:40vw}@media (max-width: 992px){.modal-material[_ngcontent-%COMP%]{width:50vw!important}}.modal-header[_ngcontent-%COMP%], .modal-footer[_ngcontent-%COMP%], .modal-footer[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{padding:15px}.modal-dialog[_ngcontent-%COMP%]{max-width:none}.modal-content[_ngcontent-%COMP%]{width:auto;margin:auto;max-width:850px}.maxHeight[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{max-height:400px;overflow:auto}.modal-body[_ngcontent-%COMP%]{padding:1rem}.modal-body[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{display:block}.modal-body[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{margin:0;position:absolute;bottom:-20px}.modal-body[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .modal-body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .modal-body[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{border:1px solid #c8d3df;padding:5px 7px}.modal-body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:330px;height:90px}"]}),ct})(),gt=(()=>{class ct{}return ct.\u0275fac=function(X){return new(X||ct)},ct.\u0275mod=n.oAB({type:ct}),ct.\u0275inj=n.cJS({imports:[s.ez]}),ct})()},8966:(Vt,bt,a)=>{a.d(bt,{h:()=>It,n:()=>Zt});var n=a(6895),s=a(4650),e=a(4006),k=a(9549),st=a(4385),T=a(2722),vt=a(8372),rt=a(8505),Z=a(7579),B=a(4968);let L=(()=>{class ot{constructor(w,at){this.matSelect=w,this.ngZone=at,this.threshold="15%",this.debounceTime=150,this.infiniteScroll=new s.vpe,this.thrPx=0,this.thrPc=0,this.singleOptionHeight=3,this.destroyed$=new Z.x}ngOnInit(){this.evaluateThreshold()}ngAfterViewInit(){this.matSelect.openedChange.pipe((0,T.R)(this.destroyed$)).subscribe(w=>{w&&(this.panel=this.matSelect.panel.nativeElement,this.singleOptionHeight=this.getSelectItemHeightPx(),this.registerScrollListener())})}ngOnDestroy(){this.destroyed$.next(!0),this.destroyed$.complete()}evaluateThreshold(){this.threshold.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(this.threshold)/100):(this.thrPx=parseFloat(this.threshold),this.thrPc=0)}registerScrollListener(){(0,B.R)(this.panel,"scroll").pipe((0,T.R)(this.destroyed$),(0,vt.b)(this.debounceTime),(0,rt.b)(w=>{this.handleScrollEvent(w)})).subscribe()}handleScrollEvent(w){this.ngZone.runOutsideAngular(()=>{if(this.complete)return;const Rt=this.singleOptionHeight*this.matSelect.options.length;this.panel.clientHeight+w.target.scrollTop+(0!==this.thrPc?Rt*this.thrPc:this.thrPx)>=Rt&&this.ngZone.run(()=>this.infiniteScroll.emit())})}getSelectItemHeightPx(){return 3*parseFloat(getComputedStyle(this.panel).fontSize)}}return ot.\u0275fac=function(w){return new(w||ot)(s.Y36(st.gD),s.Y36(s.R0b))},ot.\u0275dir=s.lG2({type:ot,selectors:[["","msInfiniteScroll",""]],inputs:{threshold:"threshold",debounceTime:"debounceTime",complete:"complete"},outputs:{infiniteScroll:"infiniteScroll"}}),ot})(),R=(()=>{class ot{}return ot.\u0275fac=function(w){return new(w||ot)},ot.\u0275mod=s.oAB({type:ot}),ot.\u0275inj=s.cJS({imports:[[st.LD]]}),ot})();var N=a(9521),U=a(3238),K=a(1135),J=a(9646),gt=a(9841),ct=a(3900),_t=a(4004),X=a(8675),$=a(4986),m=a(7272),M=a(5698),v=a(4482),S=a(5403),dt=a(5032),Et=a(9718),Tt=a(5577);function Dt(ot,mt){return mt?w=>(0,m.z)(mt.pipe((0,M.q)(1),function kt(){return(0,v.e)((ot,mt)=>{ot.subscribe((0,S.x)(mt,dt.Z))})}()),w.pipe(Dt(ot))):(0,Tt.z)((w,at)=>ot(w,at).pipe((0,M.q)(1),(0,Et.h)(w)))}var Mt=a(2805),W=a(9300),Y=a(7376),ft=a(2687),F=a(6709),Q=a(1281),lt=a(3353),St=a(727);function it(ot,mt){if(1&ot&&(s.O4$(),s._UZ(0,"circle",4)),2&ot){const w=s.oxw(),at=s.MAs(1);s.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+w._spinnerAnimationLabel)("stroke-dashoffset",w._getStrokeDashOffset(),"px")("stroke-dasharray",w._getStrokeCircumference(),"px")("stroke-width",w._getCircleStrokeWidth(),"%")("transform-origin",w._getCircleTransformOrigin(at)),s.uIk("r",w._getCircleRadius())}}function Lt(ot,mt){if(1&ot&&(s.O4$(),s._UZ(0,"circle",4)),2&ot){const w=s.oxw(),at=s.MAs(1);s.Udp("stroke-dashoffset",w._getStrokeDashOffset(),"px")("stroke-dasharray",w._getStrokeCircumference(),"px")("stroke-width",w._getCircleStrokeWidth(),"%")("transform-origin",w._getCircleTransformOrigin(at)),s.uIk("r",w._getCircleRadius())}}const nt=(0,U.pj)(class{constructor(ot){this._elementRef=ot}},"primary"),ht=new s.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function xt(){return{diameter:100}}});class Ut extends nt{constructor(mt,w,at,Rt,Bt,Kt,qt,ne){super(mt),this._document=at,this._diameter=100,this._value=0,this._resizeSubscription=St.w0.EMPTY,this.mode="determinate";const Jt=Ut._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),Jt.has(at.head)||Jt.set(at.head,new Set([100])),this._noopAnimations="NoopAnimations"===Rt&&!!Bt&&!Bt._forceAnimations,"mat-spinner"===mt.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),Bt&&(Bt.color&&(this.color=this.defaultColor=Bt.color),Bt.diameter&&(this.diameter=Bt.diameter),Bt.strokeWidth&&(this.strokeWidth=Bt.strokeWidth)),w.isBrowser&&w.SAFARI&&qt&&Kt&&ne&&(this._resizeSubscription=qt.change(150).subscribe(()=>{"indeterminate"===this.mode&&ne.run(()=>Kt.markForCheck())}))}get diameter(){return this._diameter}set diameter(mt){this._diameter=(0,Q.su)(mt),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(mt){this._strokeWidth=(0,Q.su)(mt)}get value(){return"determinate"===this.mode?this._value:0}set value(mt){this._value=Math.max(0,Math.min(100,(0,Q.su)(mt)))}ngOnInit(){const mt=this._elementRef.nativeElement;this._styleRoot=(0,lt.kV)(mt)||this._document.head,this._attachStyleNode(),mt.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const mt=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${mt} ${mt}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(mt){const w=50*(mt.currentScale??1);return`${w}% ${w}%`}_attachStyleNode(){const mt=this._styleRoot,w=this._diameter,at=Ut._diameters;let Rt=at.get(mt);if(!Rt||!Rt.has(w)){const Bt=this._document.createElement("style");Bt.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),Bt.textContent=this._getAnimationText(),mt.appendChild(Bt),Rt||(Rt=new Set,at.set(mt,Rt)),Rt.add(w)}}_getAnimationText(){const mt=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*mt).replace(/END_VALUE/g,""+.2*mt).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}Ut._diameters=new WeakMap,Ut.\u0275fac=function(mt){return new(mt||Ut)(s.Y36(s.SBq),s.Y36(lt.t4),s.Y36(n.K0,8),s.Y36(s.QbO,8),s.Y36(ht),s.Y36(s.sBO),s.Y36(Y.rL),s.Y36(s.R0b))},Ut.\u0275cmp=s.Xpm({type:Ut,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(mt,w){2&mt&&(s.uIk("aria-valuemin","determinate"===w.mode?0:null)("aria-valuemax","determinate"===w.mode?100:null)("aria-valuenow","determinate"===w.mode?w.value:null)("mode",w.mode),s.Udp("width",w.diameter,"px")("height",w.diameter,"px"),s.ekj("_mat-animation-noopable",w._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[s.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(mt,w){1&mt&&(s.O4$(),s.TgZ(0,"svg",0,1),s.YNc(2,it,1,11,"circle",2),s.YNc(3,Lt,1,9,"circle",3),s.qZA()),2&mt&&(s.Udp("width",w.diameter,"px")("height",w.diameter,"px"),s.Q6J("ngSwitch","indeterminate"===w.mode),s.uIk("viewBox",w._getViewBox()),s.xp6(2),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngSwitchCase",!1))},dependencies:[n.RF,n.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"],encapsulation:2,changeDetection:0});let jt=(()=>{class ot{}return ot.\u0275fac=function(w){return new(w||ot)},ot.\u0275mod=s.oAB({type:ot}),ot.\u0275inj=s.cJS({imports:[U.BQ,n.ez,U.BQ]}),ot})();var Xt=a(4859),Qt=a(7392),te=a(266);const At=["searchSelectInput"],D=["innerSelectSearch"];function u(ot,mt){if(1&ot){const w=s.EpF();s.TgZ(0,"mat-checkbox",9),s.NdJ("change",function(Rt){s.CHM(w);const Bt=s.oxw();return s.KtG(Bt._emitSelectAllBooleanToParent(Rt.checked))}),s.qZA()}if(2&ot){const w=s.oxw();s.Q6J("color",null==w.matFormField?null:w.matFormField.color)("checked",w.toggleAllCheckboxChecked)("indeterminate",w.toggleAllCheckboxIndeterminate)("matTooltip",w.toggleAllCheckboxTooltipMessage)("matTooltipPosition",w.toogleAllCheckboxTooltipPosition)}}function i(ot,mt){1&ot&&s._UZ(0,"mat-spinner",10)}function t(ot,mt){1&ot&&s.Hsn(0,1,["*ngIf","clearIcon; else defaultIcon"])}function l(ot,mt){if(1&ot&&(s.TgZ(0,"mat-icon",14),s._uU(1),s.qZA()),2&ot){const w=s.oxw(2);s.Q6J("svgIcon",w.closeSvgIcon),s.xp6(1),s.hij(" ",w.closeSvgIcon?null:w.closeIcon," ")}}function f(ot,mt){if(1&ot){const w=s.EpF();s.TgZ(0,"button",11),s.NdJ("click",function(){s.CHM(w);const Rt=s.oxw();return s.KtG(Rt._reset(!0))}),s.YNc(1,t,1,0,"ng-content",12),s.YNc(2,l,2,2,"ng-template",null,13,s.W1O),s.qZA()}if(2&ot){const w=s.MAs(3),at=s.oxw();s.xp6(1),s.Q6J("ngIf",at.clearIcon)("ngIfElse",w)}}function x(ot,mt){1&ot&&s.Hsn(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function I(ot,mt){if(1&ot&&s._uU(0),2&ot){const w=s.oxw(2);s.Oqu(w.noEntriesFoundLabel)}}function et(ot,mt){if(1&ot&&(s.TgZ(0,"div",15),s.YNc(1,x,1,0,"ng-content",12),s.YNc(2,I,1,1,"ng-template",null,16,s.W1O),s.qZA()),2&ot){const w=s.MAs(3),at=s.oxw();s.xp6(1),s.Q6J("ngIf",at.noEntriesFound)("ngIfElse",w)}}const Ct=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],wt=function(ot,mt){return{"mat-select-search-inner-multiple":ot,"mat-select-search-inner-toggle-all":mt}},Ft=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"];let Ot=(()=>{class ot{}return ot.\u0275fac=function(w){return new(w||ot)},ot.\u0275dir=s.lG2({type:ot,selectors:[["","ngxMatSelectSearchClear",""]]}),ot})();const Nt=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","indexAndLengthScreenReaderText","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],Yt=new s.OlP("mat-selectsearch-default-options");let V=(()=>{class ot{}return ot.\u0275fac=function(w){return new(w||ot)},ot.\u0275dir=s.lG2({type:ot,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),ot})(),y=(()=>{class ot{constructor(w,at,Rt,Bt=null,Kt,qt=null,ne){this.matSelect=w,this.changeDetectorRef=at,this._viewportRuler=Rt,this.matOption=Bt,this.liveAnnouncer=Kt,this.matFormField=qt,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",this.indexAndLengthScreenReaderText=" of ",this.clearSearchInput=!0,this.searching=!1,this.disableInitialFocus=!1,this.enableClearOnEscapePressed=!1,this.preventHomeEndKeyPropagation=!1,this.disableScrollToActiveOnOptionsChanged=!1,this.ariaLabel="dropdown search",this.showToggleAllCheckbox=!1,this.toggleAllCheckboxChecked=!1,this.toggleAllCheckboxIndeterminate=!1,this.toggleAllCheckboxTooltipMessage="",this.toogleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.toggleAll=new s.vpe,this.onTouched=Jt=>{},this._options$=new K.X(null),this.optionsList$=this._options$.pipe((0,ct.w)(Jt=>Jt?Jt.changes.pipe((0,_t.U)(re=>re.toArray()),(0,X.O)(Jt.toArray())):(0,J.of)(null))),this.optionsLength$=this.optionsList$.pipe((0,_t.U)(Jt=>Jt?Jt.length:0)),this._formControl=new e.NI(""),this._showNoEntriesFound$=(0,gt.a)([this._formControl.valueChanges,this.optionsLength$]).pipe((0,_t.U)(([Jt,re])=>this.noEntriesFoundLabel&&Jt&&re===this.getOptionsLengthOffset())),this._onDestroy=new Z.x,this.applyDefaultOptions(ne)}get isInsideMatOption(){return!!this.matOption}get value(){return this._formControl.value}set _options(w){this._options$.next(w)}get _options(){return this._options$.getValue()}applyDefaultOptions(w){if(w)for(const at of Nt)w.hasOwnProperty(at)&&(this[at]=w[at])}ngOnInit(){const w="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(w):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,w]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[w]=!0):this.matSelect.panelClass=w,this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search")):console.error("<ngx-mat-select-search> must be placed inside a <mat-option> element"),this.matSelect.openedChange.pipe(function yt(ot,mt=$.z){const w=(0,Mt.H)(ot,mt);return Dt(()=>w)}(1),(0,T.R)(this._onDestroy)).subscribe(at=>{at?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe((0,M.q)(1)).pipe((0,T.R)(this._onDestroy)).subscribe(()=>{this.matSelect._keyManager?this.matSelect._keyManager.change.pipe((0,T.R)(this._onDestroy)).subscribe(()=>this.adjustScrollTopToFitActiveOptionIntoView()):console.log("_keyManager was not initialized."),this._options=this.matSelect.options;let at=this._options.toArray()[this.getOptionsLengthOffset()];this._options.changes.pipe((0,T.R)(this._onDestroy)).subscribe(()=>{setTimeout(()=>{const Rt=this._options.toArray(),Bt=Rt[this.getOptionsLengthOffset()],Kt=this.matSelect._keyManager;Kt&&this.matSelect.panelOpen&&((!this.matSelect.compareWith(at,Bt)||!Kt.activeItem||!Rt.find(ne=>this.matSelect.compareWith(ne,Kt.activeItem)))&&Kt.setFirstItemActive(),setTimeout(()=>{this.updateInputWidth()}),this.disableScrollToActiveOnOptionsChanged||this.adjustScrollTopToFitActiveOptionIntoView()),at=Bt})})}),this._showNoEntriesFound$.pipe((0,T.R)(this._onDestroy)).subscribe(at=>{this.matOption&&(at?this.matOption._getHostElement().classList.add("mat-select-search-no-entries-found"):this.matOption._getHostElement().classList.remove("mat-select-search-no-entries-found"))}),this._viewportRuler.change().pipe((0,T.R)(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe((0,T.R)(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(w){this.toggleAll.emit(w)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(w){(w.key&&1===w.key.length||w.keyCode>=N.A&&w.keyCode<=N.Z||w.keyCode>=N.xE&&w.keyCode<=N.aO||w.keyCode===N.L_||this.preventHomeEndKeyPropagation&&(w.keyCode===N.Sd||w.keyCode===N.uR))&&w.stopPropagation(),this.matSelect.multiple&&w.key&&w.keyCode===N.K5&&setTimeout(()=>this._focus()),!0===this.enableClearOnEscapePressed&&w.keyCode===N.hY&&this.value&&(this._reset(!0),w.stopPropagation())}_handleKeyup(w){if(w.keyCode===N.LH||w.keyCode===N.JH){const at=this.matSelect._getAriaActiveDescendant(),Rt=this._options.toArray().findIndex(Bt=>Bt.id===at);if(-1!==Rt){const Bt=this._options.toArray()[Rt];this.liveAnnouncer.announce(Bt.viewValue+" "+this.getAriaIndex(Rt)+this.indexAndLengthScreenReaderText+this.getAriaLength())}}}getAriaIndex(w){return 0===this.getOptionsLengthOffset()?w+1:w}getAriaLength(){return this._options.toArray().length-this.getOptionsLengthOffset()}writeValue(w){this._lastExternalInputValue=w,this._formControl.setValue(w),this.changeDetectorRef.markForCheck()}onBlur(){this.onTouched()}registerOnChange(w){this._formControl.valueChanges.pipe((0,W.h)(at=>at!==this._lastExternalInputValue),(0,rt.b)(()=>this._lastExternalInputValue=void 0),(0,T.R)(this._onDestroy)).subscribe(w)}registerOnTouched(w){this.onTouched=w}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;const w=this.matSelect.panel.nativeElement,at=w.scrollTop;this.searchSelectInput.nativeElement.focus(),w.scrollTop=at}_reset(w){this._formControl.setValue(""),w&&this._focus()}initMultipleHandling(){this.matSelect.ngControl?(this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges.pipe((0,T.R)(this._onDestroy)).subscribe(w=>{let at=!1;const Rt=w&&Array.isArray(w)?[...w]:[];if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){const Bt=this.matSelect.options.map(Kt=>Kt.value);this.previousSelectedValues.forEach(Kt=>{!Rt.some(qt=>this.matSelect.compareWith(qt,Kt))&&!Bt.some(qt=>this.matSelect.compareWith(qt,Kt))&&(Rt.push(Kt),at=!0)})}this.previousSelectedValues=Rt,at&&this.matSelect._onChange(Rt)})):this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true")}adjustScrollTopToFitActiveOptionIntoView(){if(this.matSelect.panel&&this.matSelect.options.length>0){const w=this.getMatOptionHeight(),at=this.matSelect._keyManager.activeItemIndex||0,Rt=(0,U.CB)(at,this.matSelect.options,this.matSelect.optionGroups),Bt=(this.matOption?-1:0)+Rt+at,Kt=this.matSelect.panel.nativeElement.scrollTop,qt=this.innerSelectSearch.nativeElement.offsetHeight,ne=Math.floor((256-qt)/w),Jt=Math.round((Kt+qt)/w)-1;Jt>=Bt?this.matSelect.panel.nativeElement.scrollTop=Bt*w:Jt+ne<=Bt&&(this.matSelect.panel.nativeElement.scrollTop=(Bt+1)*w-(256-qt))}}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let at,w=this.innerSelectSearch.nativeElement;for(;w=w.parentElement;)if(w.classList.contains("mat-select-panel")){at=w;break}at&&(this.innerSelectSearch.nativeElement.style.width=at.clientWidth+"px")}getMatOptionHeight(){return this.matSelect.options.length>0?this.matSelect.options.first._getHostElement().getBoundingClientRect().height:0}getOptionsLengthOffset(){return this.matOption?1:0}}return ot.\u0275fac=function(w){return new(w||ot)(s.Y36(st.gD),s.Y36(s.sBO),s.Y36(Y.rL),s.Y36(U.ey,8),s.Y36(ft.Kd),s.Y36(k.KE,8),s.Y36(Yt,8))},ot.\u0275cmp=s.Xpm({type:ot,selectors:[["ngx-mat-select-search"]],contentQueries:function(w,at,Rt){if(1&w&&(s.Suo(Rt,Ot,5),s.Suo(Rt,V,5)),2&w){let Bt;s.iGM(Bt=s.CRH())&&(at.clearIcon=Bt.first),s.iGM(Bt=s.CRH())&&(at.noEntriesFound=Bt.first)}},viewQuery:function(w,at){if(1&w&&(s.Gf(At,7,s.SBq),s.Gf(D,7,s.SBq)),2&w){let Rt;s.iGM(Rt=s.CRH())&&(at.searchSelectInput=Rt.first),s.iGM(Rt=s.CRH())&&(at.innerSelectSearch=Rt.first)}},hostVars:2,hostBindings:function(w,at){2&w&&s.ekj("mat-select-search-inside-mat-option",at.isInsideMatOption)},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",indexAndLengthScreenReaderText:"indexAndLengthScreenReaderText",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toogleAllCheckboxTooltipPosition:"toogleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti"},outputs:{toggleAll:"toggleAll"},features:[s._Bn([{provide:e.JU,useExisting:(0,s.Gpc)(()=>ot),multi:!0}])],ngContentSelectors:Ft,decls:11,vars:14,consts:[["matInput","",1,"mat-select-search-input","mat-select-search-hidden"],[1,"mat-select-search-inner","mat-typography","mat-datepicker-content","mat-tab-header",3,"ngClass"],["innerSelectSearch",""],["class","mat-select-search-toggle-all-checkbox","matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change",4,"ngIf"],["autocomplete","off",1,"mat-select-search-input","mat-input-element",3,"type","formControl","placeholder","keydown","keyup","blur"],["searchSelectInput",""],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["mat-button","","mat-icon-button","","aria-label","Clear","class","mat-select-search-clear",3,"click",4,"ngIf"],["class","mat-select-search-no-entries-found",4,"ngIf"],["matTooltipClass","ngx-mat-select-search-toggle-all-tooltip",1,"mat-select-search-toggle-all-checkbox",3,"color","checked","indeterminate","matTooltip","matTooltipPosition","change"],["diameter","16",1,"mat-select-search-spinner"],["mat-button","","mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"],["defaultNoEntriesFound",""]],template:function(w,at){1&w&&(s.F$t(Ct),s._UZ(0,"input",0),s.TgZ(1,"div",1,2),s.YNc(3,u,1,5,"mat-checkbox",3),s.TgZ(4,"input",4,5),s.NdJ("keydown",function(Bt){return at._handleKeydown(Bt)})("keyup",function(Bt){return at._handleKeyup(Bt)})("blur",function(){return at.onBlur()}),s.qZA(),s.YNc(6,i,1,0,"mat-spinner",6),s.YNc(7,f,4,2,"button",7),s.Hsn(8),s.qZA(),s.YNc(9,et,4,2,"div",8),s.ALo(10,"async")),2&w&&(s.xp6(1),s.Q6J("ngClass",s.WLB(11,wt,at.matSelect.multiple,at._isToggleAllCheckboxVisible())),s.xp6(2),s.Q6J("ngIf",at._isToggleAllCheckboxVisible()),s.xp6(1),s.Q6J("type",at.type)("formControl",at._formControl)("placeholder",at.placeholderLabel),s.uIk("aria-label",at.ariaLabel),s.xp6(2),s.Q6J("ngIf",at.searching),s.xp6(1),s.Q6J("ngIf",!at.hideClearSearchButton&&at.value&&!at.searching),s.xp6(2),s.Q6J("ngIf",s.lcZ(10,9,at._showNoEntriesFound$)))},dependencies:[F.oG,Ut,Xt.lW,Qt.Hw,n.mk,n.O5,te.gM,e.Fj,e.JJ,e.oH,n.Ov],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:100%;border-bottom-width:1px;border-bottom-style:solid;z-index:100;font-size:inherit;box-shadow:none;border-radius:4px 4px 0 0;-webkit-transform:translate3d(0,0,0)}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:100%}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{flex-basis:auto}.mat-select-search-inner[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder{-ms-user-select:text} .mat-select-search-panel{transform:none!important;overflow-x:hidden}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 44px 16px 16px;box-sizing:border-box;width:100%}[dir=rtl][_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-right:16px;padding-left:44px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:5px}[dir=rtl][_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{right:auto;left:4px}.mat-select-search-spinner[_ngcontent-%COMP%]{position:absolute;right:16px;top:calc(50% - 8px)}[dir=rtl][_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-spinner[_ngcontent-%COMP%]{right:auto;left:16px}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0;height:3em;line-height:3em}.mat-select-search-inside-mat-option[_nghost-%COMP%] .mat-select-search-clear[_ngcontent-%COMP%]{top:3px} .mat-option[aria-disabled=true].contains-mat-select-search{position:static;padding:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-option[aria-disabled=true].contains-mat-select-search .mat-option-pseudo-checkbox{display:none} .mat-option[aria-disabled=true].contains-mat-select-search.mat-select-search-no-entries-found{height:6em}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:16px;padding-bottom:2px}[dir=rtl][_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%], [dir=rtl] [_nghost-%COMP%] .mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:0;padding-right:16px}"],changeDetection:0}),ot})(),E=(()=>{class ot{}return ot.\u0275fac=function(w){return new(w||ot)},ot.\u0275mod=s.oAB({type:ot}),ot.\u0275inj=s.cJS({imports:[[n.ez,e.UX,Xt.ot,F.p9,Qt.Ps,jt,te.AV]]}),ot})();var p=a(6451),b=a(5026);const A=["matSelectInfiniteScroll"];function z(ot,mt){if(1&ot&&(s.ynx(0),s._UZ(1,"img",7),s.BQk()),2&ot){const w=s.oxw().$implicit;s.xp6(1),s.Q6J("src",w.Img,s.LSH)}}function pt(ot,mt){if(1&ot&&(s.TgZ(0,"mat-option",5),s.YNc(1,z,2,1,"ng-container",6),s._uU(2),s.qZA()),2&ot){const w=mt.$implicit,at=s.oxw();s.Q6J("value",w[at.bindValue]),s.xp6(1),s.Q6J("ngIf",null==w?null:w.Img),s.xp6(1),s.hij(" ",w[at.bindLabel]," ")}}let It=(()=>{class ot{constructor(){this.disabled=!1,this.batchSize=50,this.optionCtrl=new e.p4,this.searchCtrl=new e.p4,this.filteredData$=this.searchCtrl.valueChanges.pipe((0,X.O)(""),(0,_t.U)(w=>w?this.data.filter(at=>at[this.bindLabel].toLowerCase().indexOf(w.toLowerCase())>-1):this.data)),this.incrementBatchOffset$=new Z.x,this.resetBatchOffset$=new Z.x,this.minimumBatchOffset$=(0,gt.a)([this.filteredData$,this.searchCtrl.valueChanges]).pipe((0,_t.U)(([w,at])=>!this.searchCtrl.value&&this.optionCtrl.value?w.findIndex(Bt=>Bt[this.bindValue]===this.optionCtrl.value)+this.batchSize:0),(0,X.O)(0)),this.batchOffset$=(0,gt.a)([(0,p.T)(this.incrementBatchOffset$.pipe((0,Et.h)(!0)),this.resetBatchOffset$.pipe((0,Et.h)(!1))),this.minimumBatchOffset$]).pipe((0,b.R)((w,[at,Rt])=>at?Math.max(w+this.batchSize,Rt+this.batchSize):Math.max(Rt,this.batchSize),this.batchSize)),this.filteredBatchedData$=(0,gt.a)([this.filteredData$,this.batchOffset$]).pipe((0,_t.U)(([w,at])=>w.slice(0,at))),this.destroy$=new Z.x,this.data=[],this.onSelect=new s.vpe}ngOnInit(){this.infiniteScrollSelect.openedChange.pipe((0,T.R)(this.destroy$)).subscribe(w=>{w&&this.resetBatchOffset$.next()}),this.onSelectData()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onSelectData(){this.optionCtrl.valueChanges.subscribe(w=>{w&&this.onSelect.emit(w)})}getNextBatch(){this.incrementBatchOffset$.next()}}return ot.\u0275fac=function(w){return new(w||ot)},ot.\u0275cmp=s.Xpm({type:ot,selectors:[["app-select-search"]],viewQuery:function(w,at){if(1&w&&s.Gf(A,7),2&w){let Rt;s.iGM(Rt=s.CRH())&&(at.infiniteScrollSelect=Rt.first)}},inputs:{appearance:"appearance",data:"data",bindValue:"bindValue",bindLabel:"bindLabel",placeholder:"placeholder",disabled:"disabled",batchSize:"batchSize"},outputs:{onSelect:"onSelect"},decls:7,vars:9,consts:[[1,"select-search",3,"appearance"],["msInfiniteScroll","",3,"disabled","formControl","placeholder","infiniteScroll"],["matSelectInfiniteScroll",""],["placeholderLabel","search","noEntriesFoundLabel","No entry matches",3,"formControl","disableScrollToActiveOnOptionsChanged"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[4,"ngIf"],["alt","",2,"width","18px","margin-right","10px",3,"src"]],template:function(w,at){1&w&&(s.TgZ(0,"mat-form-field",0)(1,"mat-select",1,2),s.NdJ("infiniteScroll",function(){return at.getNextBatch()}),s.TgZ(3,"mat-option"),s._UZ(4,"ngx-mat-select-search",3),s.qZA(),s.YNc(5,pt,3,3,"mat-option",4),s.ALo(6,"async"),s.qZA()()),2&w&&(s.Q6J("appearance",at.appearance),s.xp6(1),s.Q6J("disabled",at.disabled)("formControl",at.optionCtrl)("placeholder",at.placeholder),s.xp6(3),s.Q6J("formControl",at.searchCtrl)("disableScrollToActiveOnOptionsChanged",!0),s.xp6(1),s.Q6J("ngForOf",s.lcZ(6,7,at.filteredBatchedData$)))},dependencies:[n.sg,n.O5,e.JJ,e.oH,k.KE,st.gD,U.ey,y,L,n.Ov],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%} mat-form-field.select-search>div.mat-form-field-wrapper{padding-bottom:0}"]}),ot})(),Zt=(()=>{class ot{}return ot.\u0275fac=function(w){return new(w||ot)},ot.\u0275mod=s.oAB({type:ot}),ot.\u0275inj=s.cJS({imports:[n.ez,e.UX,st.LD,k.lN,E,R]}),ot})()},4968:(Vt,bt,a)=>{a.d(bt,{R:()=>B});var n=a(8421),s=a(8306),e=a(5577),k=a(1144),st=a(576),T=a(3268);const vt=["addListener","removeListener"],rt=["addEventListener","removeEventListener"],Z=["on","off"];function B(U,K,J,gt){if((0,st.m)(J)&&(gt=J,J=void 0),gt)return B(U,K,J).pipe((0,T.Z)(gt));const[ct,_t]=function N(U){return(0,st.m)(U.addEventListener)&&(0,st.m)(U.removeEventListener)}(U)?rt.map(X=>$=>U[X](K,$,J)):function L(U){return(0,st.m)(U.addListener)&&(0,st.m)(U.removeListener)}(U)?vt.map(C(U,K)):function R(U){return(0,st.m)(U.on)&&(0,st.m)(U.off)}(U)?Z.map(C(U,K)):[];if(!ct&&(0,k.z)(U))return(0,e.z)(X=>B(X,K,J))((0,n.Xf)(U));if(!ct)throw new TypeError("Invalid event target");return new s.y(X=>{const $=(...m)=>X.next(1<m.length?m:m[0]);return ct($),()=>_t($)})}function C(U,K){return J=>gt=>U[J](K,gt)}},3601:(Vt,bt,a)=>{a.d(bt,{e:()=>vt});var n=a(4986),s=a(4482),e=a(8421),k=a(5403),T=a(2805);function vt(rt,Z=n.z){return function st(rt){return(0,s.e)((Z,B)=>{let C=!1,L=null,R=null,N=!1;const U=()=>{if(R?.unsubscribe(),R=null,C){C=!1;const J=L;L=null,B.next(J)}N&&B.complete()},K=()=>{R=null,N&&B.complete()};Z.subscribe((0,k.x)(B,J=>{C=!0,L=J,R||(0,e.Xf)(rt(J)).subscribe(R=(0,k.x)(B,U,K))},()=>{N=!0,(!C||!R||R.closed)&&B.complete()}))})}(()=>(0,T.H)(rt,Z))}},8372:(Vt,bt,a)=>{a.d(bt,{b:()=>k});var n=a(4986),s=a(4482),e=a(5403);function k(st,T=n.z){return(0,s.e)((vt,rt)=>{let Z=null,B=null,C=null;const L=()=>{if(Z){Z.unsubscribe(),Z=null;const N=B;B=null,rt.next(N)}};function R(){const N=C+st,U=T.now();if(U<N)return Z=this.schedule(void 0,N-U),void rt.add(Z);L()}vt.subscribe((0,e.x)(rt,N=>{B=N,C=T.now(),Z||(Z=T.schedule(R,st),rt.add(Z))},()=>{L(),rt.complete()},void 0,()=>{B=Z=null}))})}},5684:(Vt,bt,a)=>{a.d(bt,{T:()=>s});var n=a(9300);function s(e){return(0,n.h)((k,st)=>e<=st)}},2722:(Vt,bt,a)=>{a.d(bt,{R:()=>st});var n=a(4482),s=a(5403),e=a(8421),k=a(5032);function st(T){return(0,n.e)((vt,rt)=>{(0,e.Xf)(T).subscribe((0,s.x)(rt,()=>rt.complete(),k.Z)),!rt.closed&&vt.subscribe(rt)})}},6406:(Vt,bt,a)=>{a.d(bt,{Z:()=>vt});var n=a(4408),s=a(727);const e={schedule(Z){let B=requestAnimationFrame,C=cancelAnimationFrame;const{delegate:L}=e;L&&(B=L.requestAnimationFrame,C=L.cancelAnimationFrame);const R=B(N=>{C=void 0,Z(N)});return new s.w0(()=>C?.(R))},requestAnimationFrame(...Z){const{delegate:B}=e;return(B?.requestAnimationFrame||requestAnimationFrame)(...Z)},cancelAnimationFrame(...Z){const{delegate:B}=e;return(B?.cancelAnimationFrame||cancelAnimationFrame)(...Z)},delegate:void 0};var st=a(7565);const vt=new class T extends st.v{flush(B){this._active=!0;const C=this._scheduled;this._scheduled=void 0;const{actions:L}=this;let R;B=B||L.shift();do{if(R=B.execute(B.state,B.delay))break}while((B=L[0])&&B.id===C&&L.shift());if(this._active=!1,R){for(;(B=L[0])&&B.id===C&&L.shift();)B.unsubscribe();throw R}}}(class k extends n.o{constructor(B,C){super(B,C),this.scheduler=B,this.work=C}requestAsyncId(B,C,L=0){return null!==L&&L>0?super.requestAsyncId(B,C,L):(B.actions.push(this),B._scheduled||(B._scheduled=e.requestAnimationFrame(()=>B.flush(void 0))))}recycleAsyncId(B,C,L=0){if(null!=L&&L>0||null==L&&this.delay>0)return super.recycleAsyncId(B,C,L);B.actions.some(R=>R.id===C)||(e.cancelAnimationFrame(C),B._scheduled=void 0)}})},3101:(Vt,bt,a)=>{a.d(bt,{E:()=>N});var n=a(4408);let e,s=1;const k={};function st(K){return K in k&&(delete k[K],!0)}const T={setImmediate(K){const J=s++;return k[J]=!0,e||(e=Promise.resolve()),e.then(()=>st(J)&&K()),J},clearImmediate(K){st(K)}},{setImmediate:rt,clearImmediate:Z}=T,B={setImmediate(...K){const{delegate:J}=B;return(J?.setImmediate||rt)(...K)},clearImmediate(K){const{delegate:J}=B;return(J?.clearImmediate||Z)(K)},delegate:void 0};var L=a(7565);const N=new class R extends L.v{flush(J){this._active=!0;const gt=this._scheduled;this._scheduled=void 0;const{actions:ct}=this;let _t;J=J||ct.shift();do{if(_t=J.execute(J.state,J.delay))break}while((J=ct[0])&&J.id===gt&&ct.shift());if(this._active=!1,_t){for(;(J=ct[0])&&J.id===gt&&ct.shift();)J.unsubscribe();throw _t}}}(class C extends n.o{constructor(J,gt){super(J,gt),this.scheduler=J,this.work=gt}requestAsyncId(J,gt,ct=0){return null!==ct&&ct>0?super.requestAsyncId(J,gt,ct):(J.actions.push(this),J._scheduled||(J._scheduled=B.setImmediate(J.flush.bind(J,void 0))))}recycleAsyncId(J,gt,ct=0){if(null!=ct&&ct>0||null==ct&&this.delay>0)return super.recycleAsyncId(J,gt,ct);J.actions.some(_t=>_t.id===gt)||(B.clearImmediate(gt),J._scheduled=void 0)}})},2687:(Vt,bt,a)=>{a.d(bt,{$s:()=>kt,Em:()=>yt,Kd:()=>wt,X6:()=>D,ic:()=>Y,kH:()=>zt,mK:()=>jt,qV:()=>Ut,qm:()=>y,rt:()=>G,s1:()=>Mt,tE:()=>Yt,yG:()=>u});var n=a(6895),s=a(4650),e=a(3353),k=a(7579),st=a(727),T=a(1135),vt=a(9646),rt=a(9521),Z=a(8505),B=a(8372),C=a(9300),L=a(4004),R=a(5698),N=a(5684),U=a(1884),K=a(2722),J=a(1281),gt=a(9643),ct=a(2289);function m(E,p){return(E.getAttribute(p)||"").match(/\S+/g)||[]}const v="cdk-describedby-message",S="cdk-describedby-host";let dt=0,kt=(()=>{class E{constructor(b,A){this._platform=A,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+dt++,this._document=b,this._id=(0,s.f3M)(s.AFp)+"-"+dt++}describe(b,A,z){if(!this._canBeDescribed(b,A))return;const pt=Et(A,z);"string"!=typeof A?(Tt(A,this._id),this._messageRegistry.set(pt,{messageElement:A,referenceCount:0})):this._messageRegistry.has(pt)||this._createMessageElement(A,z),this._isElementDescribedByMessage(b,pt)||this._addMessageReference(b,pt)}removeDescription(b,A,z){if(!A||!this._isElementNode(b))return;const pt=Et(A,z);if(this._isElementDescribedByMessage(b,pt)&&this._removeMessageReference(b,pt),"string"==typeof A){const It=this._messageRegistry.get(pt);It&&0===It.referenceCount&&this._deleteMessageElement(pt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const b=this._document.querySelectorAll(`[${S}="${this._id}"]`);for(let A=0;A<b.length;A++)this._removeCdkDescribedByReferenceIds(b[A]),b[A].removeAttribute(S);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(b,A){const z=this._document.createElement("div");Tt(z,this._id),z.textContent=b,A&&z.setAttribute("role",A),this._createMessagesContainer(),this._messagesContainer.appendChild(z),this._messageRegistry.set(Et(b,A),{messageElement:z,referenceCount:0})}_deleteMessageElement(b){this._messageRegistry.get(b)?.messageElement?.remove(),this._messageRegistry.delete(b)}_createMessagesContainer(){if(this._messagesContainer)return;const b="cdk-describedby-message-container",A=this._document.querySelectorAll(`.${b}[platform="server"]`);for(let pt=0;pt<A.length;pt++)A[pt].remove();const z=this._document.createElement("div");z.style.visibility="hidden",z.classList.add(b),z.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&z.setAttribute("platform","server"),this._document.body.appendChild(z),this._messagesContainer=z}_removeCdkDescribedByReferenceIds(b){const A=m(b,"aria-describedby").filter(z=>0!=z.indexOf(v));b.setAttribute("aria-describedby",A.join(" "))}_addMessageReference(b,A){const z=this._messageRegistry.get(A);(function X(E,p,b){const A=m(E,p);A.some(z=>z.trim()==b.trim())||(A.push(b.trim()),E.setAttribute(p,A.join(" ")))})(b,"aria-describedby",z.messageElement.id),b.setAttribute(S,this._id),z.referenceCount++}_removeMessageReference(b,A){const z=this._messageRegistry.get(A);z.referenceCount--,function $(E,p,b){const z=m(E,p).filter(pt=>pt!=b.trim());z.length?E.setAttribute(p,z.join(" ")):E.removeAttribute(p)}(b,"aria-describedby",z.messageElement.id),b.removeAttribute(S)}_isElementDescribedByMessage(b,A){const z=m(b,"aria-describedby"),pt=this._messageRegistry.get(A),It=pt&&pt.messageElement.id;return!!It&&-1!=z.indexOf(It)}_canBeDescribed(b,A){if(!this._isElementNode(b))return!1;if(A&&"object"==typeof A)return!0;const z=null==A?"":`${A}`.trim(),pt=b.getAttribute("aria-label");return!(!z||pt&&pt.trim()===z)}_isElementNode(b){return b.nodeType===this._document.ELEMENT_NODE}}return E.\u0275fac=function(b){return new(b||E)(s.LFG(n.K0),s.LFG(e.t4))},E.\u0275prov=s.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();function Et(E,p){return"string"==typeof E?`${p||""}/${E}`:E}function Tt(E,p){E.id||(E.id=`${v}-${p}-${dt++}`)}class Dt{constructor(p){this._items=p,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new k.x,this._typeaheadSubscription=st.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=b=>b.disabled,this._pressedLetters=[],this.tabOut=new k.x,this.change=new k.x,p instanceof s.n_E&&p.changes.subscribe(b=>{if(this._activeItem){const z=b.toArray().indexOf(this._activeItem);z>-1&&z!==this._activeItemIndex&&(this._activeItemIndex=z)}})}skipPredicate(p){return this._skipPredicateFn=p,this}withWrap(p=!0){return this._wrap=p,this}withVerticalOrientation(p=!0){return this._vertical=p,this}withHorizontalOrientation(p){return this._horizontal=p,this}withAllowedModifierKeys(p){return this._allowedModifierKeys=p,this}withTypeAhead(p=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Z.b)(b=>this._pressedLetters.push(b)),(0,B.b)(p),(0,C.h)(()=>this._pressedLetters.length>0),(0,L.U)(()=>this._pressedLetters.join(""))).subscribe(b=>{const A=this._getItemsArray();for(let z=1;z<A.length+1;z++){const pt=(this._activeItemIndex+z)%A.length,It=A[pt];if(!this._skipPredicateFn(It)&&0===It.getLabel().toUpperCase().trim().indexOf(b)){this.setActiveItem(pt);break}}this._pressedLetters=[]}),this}withHomeAndEnd(p=!0){return this._homeAndEnd=p,this}setActiveItem(p){const b=this._activeItem;this.updateActiveItem(p),this._activeItem!==b&&this.change.next(this._activeItemIndex)}onKeydown(p){const b=p.keyCode,z=["altKey","ctrlKey","metaKey","shiftKey"].every(pt=>!p[pt]||this._allowedModifierKeys.indexOf(pt)>-1);switch(b){case rt.Mf:return void this.tabOut.next();case rt.JH:if(this._vertical&&z){this.setNextItemActive();break}return;case rt.LH:if(this._vertical&&z){this.setPreviousItemActive();break}return;case rt.SV:if(this._horizontal&&z){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case rt.oh:if(this._horizontal&&z){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case rt.Sd:if(this._homeAndEnd&&z){this.setFirstItemActive();break}return;case rt.uR:if(this._homeAndEnd&&z){this.setLastItemActive();break}return;default:return void((z||(0,rt.Vb)(p,"shiftKey"))&&(p.key&&1===p.key.length?this._letterKeyStream.next(p.key.toLocaleUpperCase()):(b>=rt.A&&b<=rt.Z||b>=rt.xE&&b<=rt.aO)&&this._letterKeyStream.next(String.fromCharCode(b))))}this._pressedLetters=[],p.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(p){const b=this._getItemsArray(),A="number"==typeof p?p:b.indexOf(p);this._activeItem=b[A]??null,this._activeItemIndex=A}_setActiveItemByDelta(p){this._wrap?this._setActiveInWrapMode(p):this._setActiveInDefaultMode(p)}_setActiveInWrapMode(p){const b=this._getItemsArray();for(let A=1;A<=b.length;A++){const z=(this._activeItemIndex+p*A+b.length)%b.length;if(!this._skipPredicateFn(b[z]))return void this.setActiveItem(z)}}_setActiveInDefaultMode(p){this._setActiveItemByIndex(this._activeItemIndex+p,p)}_setActiveItemByIndex(p,b){const A=this._getItemsArray();if(A[p]){for(;this._skipPredicateFn(A[p]);)if(!A[p+=b])return;this.setActiveItem(p)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}class Mt extends Dt{setActiveItem(p){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(p),this.activeItem&&this.activeItem.setActiveStyles()}}class yt extends Dt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(p){return this._origin=p,this}setActiveItem(p){super.setActiveItem(p),this.activeItem&&this.activeItem.focus(this._origin)}}let Y=(()=>{class E{constructor(b){this._platform=b}isDisabled(b){return b.hasAttribute("disabled")}isVisible(b){return function F(E){return!!(E.offsetWidth||E.offsetHeight||"function"==typeof E.getClientRects&&E.getClientRects().length)}(b)&&"visible"===getComputedStyle(b).visibility}isTabbable(b){if(!this._platform.isBrowser)return!1;const A=function ft(E){try{return E.frameElement}catch{return null}}(function xt(E){return E.ownerDocument&&E.ownerDocument.defaultView||window}(b));if(A&&(-1===j(A)||!this.isVisible(A)))return!1;let z=b.nodeName.toLowerCase(),pt=j(b);return b.hasAttribute("contenteditable")?-1!==pt:!("iframe"===z||"object"===z||this._platform.WEBKIT&&this._platform.IOS&&!function nt(E){let p=E.nodeName.toLowerCase(),b="input"===p&&E.type;return"text"===b||"password"===b||"select"===p||"textarea"===p}(b))&&("audio"===z?!!b.hasAttribute("controls")&&-1!==pt:"video"===z?-1!==pt&&(null!==pt||this._platform.FIREFOX||b.hasAttribute("controls")):b.tabIndex>=0)}isFocusable(b,A){return function ht(E){return!function lt(E){return function it(E){return"input"==E.nodeName.toLowerCase()}(E)&&"hidden"==E.type}(E)&&(function Q(E){let p=E.nodeName.toLowerCase();return"input"===p||"select"===p||"button"===p||"textarea"===p}(E)||function St(E){return function Lt(E){return"a"==E.nodeName.toLowerCase()}(E)&&E.hasAttribute("href")}(E)||E.hasAttribute("contenteditable")||P(E))}(b)&&!this.isDisabled(b)&&(A?.ignoreVisibility||this.isVisible(b))}}return E.\u0275fac=function(b){return new(b||E)(s.LFG(e.t4))},E.\u0275prov=s.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();function P(E){if(!E.hasAttribute("tabindex")||void 0===E.tabIndex)return!1;let p=E.getAttribute("tabindex");return!(!p||isNaN(parseInt(p,10)))}function j(E){if(!P(E))return null;const p=parseInt(E.getAttribute("tabindex")||"",10);return isNaN(p)?-1:p}class Pt{constructor(p,b,A,z,pt=!1){this._element=p,this._checker=b,this._ngZone=A,this._document=z,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,pt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(p){this._enabled=p,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(p,this._startAnchor),this._toggleAnchorTabIndex(p,this._endAnchor))}destroy(){const p=this._startAnchor,b=this._endAnchor;p&&(p.removeEventListener("focus",this.startAnchorListener),p.remove()),b&&(b.removeEventListener("focus",this.endAnchorListener),b.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(p){return new Promise(b=>{this._executeOnStable(()=>b(this.focusInitialElement(p)))})}focusFirstTabbableElementWhenReady(p){return new Promise(b=>{this._executeOnStable(()=>b(this.focusFirstTabbableElement(p)))})}focusLastTabbableElementWhenReady(p){return new Promise(b=>{this._executeOnStable(()=>b(this.focusLastTabbableElement(p)))})}_getRegionBoundary(p){const b=this._element.querySelectorAll(`[cdk-focus-region-${p}], [cdkFocusRegion${p}], [cdk-focus-${p}]`);return"start"==p?b.length?b[0]:this._getFirstTabbableElement(this._element):b.length?b[b.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(p){const b=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(b){if(!this._checker.isFocusable(b)){const A=this._getFirstTabbableElement(b);return A?.focus(p),!!A}return b.focus(p),!0}return this.focusFirstTabbableElement(p)}focusFirstTabbableElement(p){const b=this._getRegionBoundary("start");return b&&b.focus(p),!!b}focusLastTabbableElement(p){const b=this._getRegionBoundary("end");return b&&b.focus(p),!!b}hasAttached(){return this._hasAttached}_getFirstTabbableElement(p){if(this._checker.isFocusable(p)&&this._checker.isTabbable(p))return p;const b=p.children;for(let A=0;A<b.length;A++){const z=b[A].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(b[A]):null;if(z)return z}return null}_getLastTabbableElement(p){if(this._checker.isFocusable(p)&&this._checker.isTabbable(p))return p;const b=p.children;for(let A=b.length-1;A>=0;A--){const z=b[A].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(b[A]):null;if(z)return z}return null}_createAnchor(){const p=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,p),p.classList.add("cdk-visually-hidden"),p.classList.add("cdk-focus-trap-anchor"),p.setAttribute("aria-hidden","true"),p}_toggleAnchorTabIndex(p,b){p?b.setAttribute("tabindex","0"):b.removeAttribute("tabindex")}toggleAnchors(p){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(p,this._startAnchor),this._toggleAnchorTabIndex(p,this._endAnchor))}_executeOnStable(p){this._ngZone.isStable?p():this._ngZone.onStable.pipe((0,R.q)(1)).subscribe(p)}}let Ut=(()=>{class E{constructor(b,A,z){this._checker=b,this._ngZone=A,this._document=z}create(b,A=!1){return new Pt(b,this._checker,this._ngZone,this._document,A)}}return E.\u0275fac=function(b){return new(b||E)(s.LFG(Y),s.LFG(s.R0b),s.LFG(n.K0))},E.\u0275prov=s.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),jt=(()=>{class E{constructor(b,A,z){this._elementRef=b,this._focusTrapFactory=A,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(b){this.focusTrap.enabled=(0,J.Ig)(b)}get autoCapture(){return this._autoCapture}set autoCapture(b){this._autoCapture=(0,J.Ig)(b)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(b){const A=b.autoCapture;A&&!A.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,e.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return E.\u0275fac=function(b){return new(b||E)(s.Y36(s.SBq),s.Y36(Ut),s.Y36(n.K0))},E.\u0275dir=s.lG2({type:E,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[s.TTD]}),E})();function D(E){return 0===E.buttons||0===E.offsetX&&0===E.offsetY}function u(E){const p=E.touches&&E.touches[0]||E.changedTouches&&E.changedTouches[0];return!(!p||-1!==p.identifier||null!=p.radiusX&&1!==p.radiusX||null!=p.radiusY&&1!==p.radiusY)}const i=new s.OlP("cdk-input-modality-detector-options"),t={ignoreKeys:[rt.zL,rt.jx,rt.b2,rt.MW,rt.JU]},f=(0,e.i$)({passive:!0,capture:!0});let x=(()=>{class E{constructor(b,A,z,pt){this._platform=b,this._mostRecentTarget=null,this._modality=new T.X(null),this._lastTouchMs=0,this._onKeydown=It=>{this._options?.ignoreKeys?.some(Zt=>Zt===It.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,e.sA)(It))},this._onMousedown=It=>{Date.now()-this._lastTouchMs<650||(this._modality.next(D(It)?"keyboard":"mouse"),this._mostRecentTarget=(0,e.sA)(It))},this._onTouchstart=It=>{u(It)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,e.sA)(It))},this._options={...t,...pt},this.modalityDetected=this._modality.pipe((0,N.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,U.x)()),b.isBrowser&&A.runOutsideAngular(()=>{z.addEventListener("keydown",this._onKeydown,f),z.addEventListener("mousedown",this._onMousedown,f),z.addEventListener("touchstart",this._onTouchstart,f)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,f),document.removeEventListener("mousedown",this._onMousedown,f),document.removeEventListener("touchstart",this._onTouchstart,f))}}return E.\u0275fac=function(b){return new(b||E)(s.LFG(e.t4),s.LFG(s.R0b),s.LFG(n.K0),s.LFG(i,8))},E.\u0275prov=s.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const I=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function et(){return null}}),Ct=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let wt=(()=>{class E{constructor(b,A,z,pt){this._ngZone=A,this._defaultOptions=pt,this._document=z,this._liveElement=b||this._createLiveElement()}announce(b,...A){const z=this._defaultOptions;let pt,It;return 1===A.length&&"number"==typeof A[0]?It=A[0]:[pt,It]=A,this.clear(),clearTimeout(this._previousTimeout),pt||(pt=z&&z.politeness?z.politeness:"polite"),null==It&&z&&(It=z.duration),this._liveElement.setAttribute("aria-live",pt),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Zt=>this._currentResolve=Zt)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=b,"number"==typeof It&&(this._previousTimeout=setTimeout(()=>this.clear(),It)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const b="cdk-live-announcer-element",A=this._document.getElementsByClassName(b),z=this._document.createElement("div");for(let pt=0;pt<A.length;pt++)A[pt].remove();return z.classList.add(b),z.classList.add("cdk-visually-hidden"),z.setAttribute("aria-atomic","true"),z.setAttribute("aria-live","polite"),this._document.body.appendChild(z),z}}return E.\u0275fac=function(b){return new(b||E)(s.LFG(I,8),s.LFG(s.R0b),s.LFG(n.K0),s.LFG(Ct,8))},E.\u0275prov=s.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const Ot=new s.OlP("cdk-focus-monitor-default-options"),Nt=(0,e.i$)({passive:!0,capture:!0});let Yt=(()=>{class E{constructor(b,A,z,pt,It){this._ngZone=b,this._platform=A,this._inputModalityDetector=z,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new k.x,this._rootNodeFocusAndBlurListener=Zt=>{const ot=(0,e.sA)(Zt),mt="focus"===Zt.type?this._onFocus:this._onBlur;for(let w=ot;w;w=w.parentElement)mt.call(this,Zt,w)},this._document=pt,this._detectionMode=It?.detectionMode||0}monitor(b,A=!1){const z=(0,J.fI)(b);if(!this._platform.isBrowser||1!==z.nodeType)return(0,vt.of)(null);const pt=(0,e.kV)(z)||this._getDocument(),It=this._elementInfo.get(z);if(It)return A&&(It.checkChildren=!0),It.subject;const Zt={checkChildren:A,subject:new k.x,rootNode:pt};return this._elementInfo.set(z,Zt),this._registerGlobalListeners(Zt),Zt.subject}stopMonitoring(b){const A=(0,J.fI)(b),z=this._elementInfo.get(A);z&&(z.subject.complete(),this._setClasses(A),this._elementInfo.delete(A),this._removeGlobalListeners(z))}focusVia(b,A,z){const pt=(0,J.fI)(b);pt===this._getDocument().activeElement?this._getClosestElementsInfo(pt).forEach(([Zt,ot])=>this._originChanged(Zt,A,ot)):(this._setOrigin(A),"function"==typeof pt.focus&&pt.focus(z))}ngOnDestroy(){this._elementInfo.forEach((b,A)=>this.stopMonitoring(A))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(b){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(b)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(b){return 1===this._detectionMode||!!b?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(b,A){b.classList.toggle("cdk-focused",!!A),b.classList.toggle("cdk-touch-focused","touch"===A),b.classList.toggle("cdk-keyboard-focused","keyboard"===A),b.classList.toggle("cdk-mouse-focused","mouse"===A),b.classList.toggle("cdk-program-focused","program"===A)}_setOrigin(b,A=!1){this._ngZone.runOutsideAngular(()=>{this._origin=b,this._originFromTouchInteraction="touch"===b&&A,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(b,A){const z=this._elementInfo.get(A),pt=(0,e.sA)(b);!z||!z.checkChildren&&A!==pt||this._originChanged(A,this._getFocusOrigin(pt),z)}_onBlur(b,A){const z=this._elementInfo.get(A);!z||z.checkChildren&&b.relatedTarget instanceof Node&&A.contains(b.relatedTarget)||(this._setClasses(A),this._emitOrigin(z,null))}_emitOrigin(b,A){b.subject.observers.length&&this._ngZone.run(()=>b.subject.next(A))}_registerGlobalListeners(b){if(!this._platform.isBrowser)return;const A=b.rootNode,z=this._rootNodeFocusListenerCount.get(A)||0;z||this._ngZone.runOutsideAngular(()=>{A.addEventListener("focus",this._rootNodeFocusAndBlurListener,Nt),A.addEventListener("blur",this._rootNodeFocusAndBlurListener,Nt)}),this._rootNodeFocusListenerCount.set(A,z+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,K.R)(this._stopInputModalityDetector)).subscribe(pt=>{this._setOrigin(pt,!0)}))}_removeGlobalListeners(b){const A=b.rootNode;if(this._rootNodeFocusListenerCount.has(A)){const z=this._rootNodeFocusListenerCount.get(A);z>1?this._rootNodeFocusListenerCount.set(A,z-1):(A.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Nt),A.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Nt),this._rootNodeFocusListenerCount.delete(A))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(b,A,z){this._setClasses(b,A),this._emitOrigin(z,A),this._lastFocusOrigin=A}_getClosestElementsInfo(b){const A=[];return this._elementInfo.forEach((z,pt)=>{(pt===b||z.checkChildren&&pt.contains(b))&&A.push([pt,z])}),A}}return E.\u0275fac=function(b){return new(b||E)(s.LFG(s.R0b),s.LFG(e.t4),s.LFG(x),s.LFG(n.K0,8),s.LFG(Ot,8))},E.\u0275prov=s.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),zt=(()=>{class E{constructor(b,A){this._elementRef=b,this._focusMonitor=A,this.cdkFocusChange=new s.vpe}ngAfterViewInit(){const b=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(b,1===b.nodeType&&b.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(A=>this.cdkFocusChange.emit(A))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return E.\u0275fac=function(b){return new(b||E)(s.Y36(s.SBq),s.Y36(Yt))},E.\u0275dir=s.lG2({type:E,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),E})();const Gt="cdk-high-contrast-black-on-white",V="cdk-high-contrast-white-on-black",O="cdk-high-contrast-active";let y=(()=>{class E{constructor(b,A){this._platform=b,this._document=A,this._breakpointSubscription=(0,s.f3M)(ct.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const b=this._document.createElement("div");b.style.backgroundColor="rgb(1,2,3)",b.style.position="absolute",this._document.body.appendChild(b);const A=this._document.defaultView||window,z=A&&A.getComputedStyle?A.getComputedStyle(b):null,pt=(z&&z.backgroundColor||"").replace(/ /g,"");switch(b.remove(),pt){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const b=this._document.body.classList;b.remove(O,Gt,V),this._hasCheckedHighContrastMode=!0;const A=this.getHighContrastMode();1===A?b.add(O,Gt):2===A&&b.add(O,V)}}}return E.\u0275fac=function(b){return new(b||E)(s.LFG(e.t4),s.LFG(n.K0))},E.\u0275prov=s.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})(),G=(()=>{class E{constructor(b){b._applyBodyHighContrastModeCssClasses()}}return E.\u0275fac=function(b){return new(b||E)(s.LFG(y))},E.\u0275mod=s.oAB({type:E}),E.\u0275inj=s.cJS({imports:[gt.Q8]}),E})()},445:(Vt,bt,a)=>{a.d(bt,{Is:()=>vt,vT:()=>Z});var n=a(4650),s=a(6895);const e=new n.OlP("cdk-dir-doc",{providedIn:"root",factory:function k(){return(0,n.f3M)(s.K0)}}),st=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let vt=(()=>{class B{constructor(L){if(this.value="ltr",this.change=new n.vpe,L){const N=L.documentElement?L.documentElement.dir:null;this.value=function T(B){const C=B?.toLowerCase()||"";return"auto"===C&&typeof navigator<"u"&&navigator?.language?st.test(navigator.language)?"rtl":"ltr":"rtl"===C?"rtl":"ltr"}((L.body?L.body.dir:null)||N||"ltr")}}ngOnDestroy(){this.change.complete()}}return B.\u0275fac=function(L){return new(L||B)(n.LFG(e,8))},B.\u0275prov=n.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),Z=(()=>{class B{}return B.\u0275fac=function(L){return new(L||B)},B.\u0275mod=n.oAB({type:B}),B.\u0275inj=n.cJS({}),B})()},1281:(Vt,bt,a)=>{a.d(bt,{Eq:()=>st,HM:()=>T,Ig:()=>s,du:()=>rt,fI:()=>vt,su:()=>e});var n=a(4650);function s(Z){return null!=Z&&"false"!=`${Z}`}function e(Z,B=0){return function k(Z){return!isNaN(parseFloat(Z))&&!isNaN(Number(Z))}(Z)?Number(Z):B}function st(Z){return Array.isArray(Z)?Z:[Z]}function T(Z){return null==Z?"":"string"==typeof Z?Z:`${Z}px`}function vt(Z){return Z instanceof n.SBq?Z.nativeElement:Z}function rt(Z,B=/\s+/){const C=[];if(null!=Z){const L=Array.isArray(Z)?Z:`${Z}`.split(B);for(const R of L){const N=`${R}`.trim();N&&C.push(N)}}return C}},5017:(Vt,bt,a)=>{a.d(bt,{A8:()=>B,Ov:()=>rt});var n=a(7579),s=a(4650);class rt{constructor(R=!1,N,U=!0){this._multiple=R,this._emitChanges=U,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new n.x,N&&N.length&&(R?N.forEach(K=>this._markSelected(K)):this._markSelected(N[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...R){this._verifyValueAssignment(R),R.forEach(N=>this._markSelected(N)),this._emitChangeEvent()}deselect(...R){this._verifyValueAssignment(R),R.forEach(N=>this._unmarkSelected(N)),this._emitChangeEvent()}toggle(R){this.isSelected(R)?this.deselect(R):this.select(R)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(R){return this._selection.has(R)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(R){this._multiple&&this.selected&&this._selected.sort(R)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(R){this.isSelected(R)||(this._multiple||this._unmarkAll(),this._selection.add(R),this._emitChanges&&this._selectedToEmit.push(R))}_unmarkSelected(R){this.isSelected(R)&&(this._selection.delete(R),this._emitChanges&&this._deselectedToEmit.push(R))}_unmarkAll(){this.isEmpty()||this._selection.forEach(R=>this._unmarkSelected(R))}_verifyValueAssignment(R){}}let B=(()=>{class L{constructor(){this._listeners=[]}notify(N,U){for(let K of this._listeners)K(N,U)}listen(N){return this._listeners.push(N),()=>{this._listeners=this._listeners.filter(U=>N!==U)}}ngOnDestroy(){this._listeners=[]}}return L.\u0275fac=function(N){return new(N||L)},L.\u0275prov=s.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})()},9521:(Vt,bt,a)=>{a.d(bt,{A:()=>lt,JH:()=>_t,JU:()=>T,K5:()=>st,Ku:()=>R,LH:()=>gt,L_:()=>L,MW:()=>Ct,Mf:()=>e,SV:()=>ct,Sd:()=>K,VM:()=>N,Vb:()=>me,Z:()=>et,ZH:()=>s,aO:()=>W,b2:()=>pe,hY:()=>C,jx:()=>vt,oh:()=>J,uR:()=>U,xE:()=>v,yY:()=>M,zL:()=>rt});const s=8,e=9,st=13,T=16,vt=17,rt=18,C=27,L=32,R=33,N=34,U=35,K=36,J=37,gt=38,ct=39,_t=40,M=46,v=48,W=57,lt=65,et=90,Ct=91,pe=224;function me(se,...fe){return fe.length?fe.some(ge=>se[ge]):se.altKey||se.shiftKey||se.ctrlKey||se.metaKey}},2289:(Vt,bt,a)=>{a.d(bt,{Yg:()=>_t,u3:()=>$});var n=a(4650),s=a(1281),e=a(7579),k=a(9841),st=a(7272),T=a(8306),vt=a(5698),rt=a(5684),Z=a(8372),B=a(4004),C=a(8675),L=a(2722),R=a(3353);const U=new Set;let K,J=(()=>{class m{constructor(v){this._platform=v,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ct}matchMedia(v){return(this._platform.WEBKIT||this._platform.BLINK)&&function gt(m){if(!U.has(m))try{K||(K=document.createElement("style"),K.setAttribute("type","text/css"),document.head.appendChild(K)),K.sheet&&(K.sheet.insertRule(`@media ${m} {body{ }}`,0),U.add(m))}catch(M){console.error(M)}}(v),this._matchMedia(v)}}return m.\u0275fac=function(v){return new(v||m)(n.LFG(R.t4))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function ct(m){return{matches:"all"===m||""===m,media:m,addListener:()=>{},removeListener:()=>{}}}let _t=(()=>{class m{constructor(v,S){this._mediaMatcher=v,this._zone=S,this._queries=new Map,this._destroySubject=new e.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(v){return X((0,s.Eq)(v)).some(dt=>this._registerQuery(dt).mql.matches)}observe(v){const dt=X((0,s.Eq)(v)).map(Et=>this._registerQuery(Et).observable);let kt=(0,k.a)(dt);return kt=(0,st.z)(kt.pipe((0,vt.q)(1)),kt.pipe((0,rt.T)(1),(0,Z.b)(0))),kt.pipe((0,B.U)(Et=>{const Tt={matches:!1,breakpoints:{}};return Et.forEach(({matches:Dt,query:Mt})=>{Tt.matches=Tt.matches||Dt,Tt.breakpoints[Mt]=Dt}),Tt}))}_registerQuery(v){if(this._queries.has(v))return this._queries.get(v);const S=this._mediaMatcher.matchMedia(v),kt={observable:new T.y(Et=>{const Tt=Dt=>this._zone.run(()=>Et.next(Dt));return S.addListener(Tt),()=>{S.removeListener(Tt)}}).pipe((0,C.O)(S),(0,B.U)(({matches:Et})=>({query:v,matches:Et})),(0,L.R)(this._destroySubject)),mql:S};return this._queries.set(v,kt),kt}}return m.\u0275fac=function(v){return new(v||m)(n.LFG(J),n.LFG(n.R0b))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})();function X(m){return m.map(M=>M.split(",")).reduce((M,v)=>M.concat(v)).map(M=>M.trim())}const $={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},9643:(Vt,bt,a)=>{a.d(bt,{Q8:()=>Z,wD:()=>rt});var n=a(1281),s=a(4650),e=a(8306),k=a(7579),st=a(8372);let T=(()=>{class B{create(L){return typeof MutationObserver>"u"?null:new MutationObserver(L)}}return B.\u0275fac=function(L){return new(L||B)},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),vt=(()=>{class B{constructor(L){this._mutationObserverFactory=L,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((L,R)=>this._cleanupObserver(R))}observe(L){const R=(0,n.fI)(L);return new e.y(N=>{const K=this._observeElement(R).subscribe(N);return()=>{K.unsubscribe(),this._unobserveElement(R)}})}_observeElement(L){if(this._observedElements.has(L))this._observedElements.get(L).count++;else{const R=new k.x,N=this._mutationObserverFactory.create(U=>R.next(U));N&&N.observe(L,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(L,{observer:N,stream:R,count:1})}return this._observedElements.get(L).stream}_unobserveElement(L){this._observedElements.has(L)&&(this._observedElements.get(L).count--,this._observedElements.get(L).count||this._cleanupObserver(L))}_cleanupObserver(L){if(this._observedElements.has(L)){const{observer:R,stream:N}=this._observedElements.get(L);R&&R.disconnect(),N.complete(),this._observedElements.delete(L)}}}return B.\u0275fac=function(L){return new(L||B)(s.LFG(T))},B.\u0275prov=s.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),rt=(()=>{class B{constructor(L,R,N){this._contentObserver=L,this._elementRef=R,this._ngZone=N,this.event=new s.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(L){this._disabled=(0,n.Ig)(L),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(L){this._debounce=(0,n.su)(L),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const L=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?L.pipe((0,st.b)(this.debounce)):L).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return B.\u0275fac=function(L){return new(L||B)(s.Y36(vt),s.Y36(s.SBq),s.Y36(s.R0b))},B.\u0275dir=s.lG2({type:B,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),B})(),Z=(()=>{class B{}return B.\u0275fac=function(L){return new(L||B)},B.\u0275mod=s.oAB({type:B}),B.\u0275inj=s.cJS({providers:[T]}),B})()},2561:(Vt,bt,a)=>{a.d(bt,{pI:()=>Qt,xu:()=>Xt,_G:()=>lt,aV:()=>Ut,X_:()=>S,Xj:()=>Y,U8:()=>D,Iu:()=>ft});var n=a(7376),s=a(6895),e=a(4650),k=a(1281),st=a(3353),T=a(445),vt=a(4080),rt=a(7579),Z=a(727),B=a(6451),C=a(4482),L=a(5403),N=a(5698),U=a(2722),K=a(9521);const J=(0,st.Mq)();class gt{constructor(t,l){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=l}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=(0,k.HM)(-this._previousScrollPosition.left),t.style.top=(0,k.HM)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,f=t.style,x=this._document.body.style,I=f.scrollBehavior||"",et=x.scrollBehavior||"";this._isEnabled=!1,f.left=this._previousHTMLStyles.left,f.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),J&&(f.scrollBehavior=x.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),J&&(f.scrollBehavior=I,x.scrollBehavior=et)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const l=this._document.body,f=this._viewportRuler.getViewportSize();return l.scrollHeight>f.height||l.scrollWidth>f.width}}class _t{constructor(t,l,f,x){this._scrollDispatcher=t,this._ngZone=l,this._viewportRuler=f,this._config=x,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const l=this._viewportRuler.getViewportScrollPosition().top;Math.abs(l-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class X{enable(){}disable(){}attach(){}}function $(i,t){return t.some(l=>i.bottom<l.top||i.top>l.bottom||i.right<l.left||i.left>l.right)}function m(i,t){return t.some(l=>i.top<l.top||i.bottom>l.bottom||i.left<l.left||i.right>l.right)}class M{constructor(t,l,f,x){this._scrollDispatcher=t,this._viewportRuler=l,this._ngZone=f,this._config=x,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const l=this._overlayRef.overlayElement.getBoundingClientRect(),{width:f,height:x}=this._viewportRuler.getViewportSize();$(l,[{width:f,height:x,bottom:x,right:f,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let v=(()=>{class i{constructor(l,f,x,I){this._scrollDispatcher=l,this._viewportRuler=f,this._ngZone=x,this.noop=()=>new X,this.close=et=>new _t(this._scrollDispatcher,this._ngZone,this._viewportRuler,et),this.block=()=>new gt(this._viewportRuler,this._document),this.reposition=et=>new M(this._scrollDispatcher,this._viewportRuler,this._ngZone,et),this._document=I}}return i.\u0275fac=function(l){return new(l||i)(e.LFG(n.mF),e.LFG(n.rL),e.LFG(e.R0b),e.LFG(s.K0))},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class S{constructor(t){if(this.scrollStrategy=new X,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const l=Object.keys(t);for(const f of l)void 0!==t[f]&&(this[f]=t[f])}}}class Et{constructor(t,l){this.connectionPair=t,this.scrollableViewProperties=l}}let Mt=(()=>{class i{constructor(l){this._attachedOverlays=[],this._document=l}ngOnDestroy(){this.detach()}add(l){this.remove(l),this._attachedOverlays.push(l)}remove(l){const f=this._attachedOverlays.indexOf(l);f>-1&&this._attachedOverlays.splice(f,1),0===this._attachedOverlays.length&&this.detach()}}return i.\u0275fac=function(l){return new(l||i)(e.LFG(s.K0))},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),yt=(()=>{class i extends Mt{constructor(l,f){super(l),this._ngZone=f,this._keydownListener=x=>{const I=this._attachedOverlays;for(let et=I.length-1;et>-1;et--)if(I[et]._keydownEvents.observers.length>0){const Ct=I[et]._keydownEvents;this._ngZone?this._ngZone.run(()=>Ct.next(x)):Ct.next(x);break}}}add(l){super.add(l),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return i.\u0275fac=function(l){return new(l||i)(e.LFG(s.K0),e.LFG(e.R0b,8))},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),W=(()=>{class i extends Mt{constructor(l,f,x){super(l),this._platform=f,this._ngZone=x,this._cursorStyleIsSet=!1,this._pointerDownListener=I=>{this._pointerDownEventTarget=(0,st.sA)(I)},this._clickListener=I=>{const et=(0,st.sA)(I),Ct="click"===I.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:et;this._pointerDownEventTarget=null;const wt=this._attachedOverlays.slice();for(let Ft=wt.length-1;Ft>-1;Ft--){const Ot=wt[Ft];if(Ot._outsidePointerEvents.observers.length<1||!Ot.hasAttached())continue;if(Ot.overlayElement.contains(et)||Ot.overlayElement.contains(Ct))break;const Nt=Ot._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Nt.next(I)):Nt.next(I)}}}add(l){if(super.add(l),!this._isAttached){const f=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(f)):this._addEventListeners(f),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=f.style.cursor,f.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const l=this._document.body;l.removeEventListener("pointerdown",this._pointerDownListener,!0),l.removeEventListener("click",this._clickListener,!0),l.removeEventListener("auxclick",this._clickListener,!0),l.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(l.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(l){l.addEventListener("pointerdown",this._pointerDownListener,!0),l.addEventListener("click",this._clickListener,!0),l.addEventListener("auxclick",this._clickListener,!0),l.addEventListener("contextmenu",this._clickListener,!0)}}return i.\u0275fac=function(l){return new(l||i)(e.LFG(s.K0),e.LFG(st.t4),e.LFG(e.R0b,8))},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Y=(()=>{class i{constructor(l,f){this._platform=f,this._document=l}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const l="cdk-overlay-container";if(this._platform.isBrowser||(0,st.Oy)()){const x=this._document.querySelectorAll(`.${l}[platform="server"], .${l}[platform="test"]`);for(let I=0;I<x.length;I++)x[I].remove()}const f=this._document.createElement("div");f.classList.add(l),(0,st.Oy)()?f.setAttribute("platform","test"):this._platform.isBrowser||f.setAttribute("platform","server"),this._document.body.appendChild(f),this._containerElement=f}}return i.\u0275fac=function(l){return new(l||i)(e.LFG(s.K0),e.LFG(st.t4))},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class ft{constructor(t,l,f,x,I,et,Ct,wt,Ft,Ot=!1){this._portalOutlet=t,this._host=l,this._pane=f,this._config=x,this._ngZone=I,this._keyboardDispatcher=et,this._document=Ct,this._location=wt,this._outsideClickDispatcher=Ft,this._animationsDisabled=Ot,this._backdropElement=null,this._backdropClick=new rt.x,this._attachments=new rt.x,this._detachments=new rt.x,this._locationChanges=Z.w0.EMPTY,this._backdropClickHandler=Nt=>this._backdropClick.next(Nt),this._backdropTransitionendHandler=Nt=>{this._disposeBackdrop(Nt.target)},this._keydownEvents=new rt.x,this._outsidePointerEvents=new rt.x,x.scrollStrategy&&(this._scrollStrategy=x.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=x.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const l=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,N.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),l}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=(0,k.HM)(this._config.width),t.height=(0,k.HM)(this._config.height),t.minWidth=(0,k.HM)(this._config.minWidth),t.minHeight=(0,k.HM)(this._config.minHeight),t.maxWidth=(0,k.HM)(this._config.maxWidth),t.maxHeight=(0,k.HM)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,l,f){const x=(0,k.Eq)(l||[]).filter(I=>!!I);x.length&&(f?t.classList.add(...x):t.classList.remove(...x))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((0,U.R)((0,B.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const F="cdk-overlay-connected-position-bounding-box",Q=/([A-Za-z%]+)$/;class lt{constructor(t,l,f,x,I){this._viewportRuler=l,this._document=f,this._platform=x,this._overlayContainer=I,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new rt.x,this._resizeSubscription=Z.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(F),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,l=this._overlayRect,f=this._viewportRect,x=this._containerRect,I=[];let et;for(let Ct of this._preferredPositions){let wt=this._getOriginPoint(t,x,Ct),Ft=this._getOverlayPoint(wt,l,Ct),Ot=this._getOverlayFit(Ft,l,f,Ct);if(Ot.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Ct,wt);this._canFitWithFlexibleDimensions(Ot,Ft,f)?I.push({position:Ct,origin:wt,overlayRect:l,boundingBoxRect:this._calculateBoundingBoxRect(wt,Ct)}):(!et||et.overlayFit.visibleArea<Ot.visibleArea)&&(et={overlayFit:Ot,overlayPoint:Ft,originPoint:wt,position:Ct,overlayRect:l})}if(I.length){let Ct=null,wt=-1;for(const Ft of I){const Ot=Ft.boundingBoxRect.width*Ft.boundingBoxRect.height*(Ft.position.weight||1);Ot>wt&&(wt=Ot,Ct=Ft)}return this._isPushed=!1,void this._applyPosition(Ct.position,Ct.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(et.position,et.originPoint);this._applyPosition(et.position,et.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&St(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(F),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const l=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,l)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,l,f){let x,I;if("center"==f.originX)x=t.left+t.width/2;else{const et=this._isRtl()?t.right:t.left,Ct=this._isRtl()?t.left:t.right;x="start"==f.originX?et:Ct}return l.left<0&&(x-=l.left),I="center"==f.originY?t.top+t.height/2:"top"==f.originY?t.top:t.bottom,l.top<0&&(I-=l.top),{x,y:I}}_getOverlayPoint(t,l,f){let x,I;return x="center"==f.overlayX?-l.width/2:"start"===f.overlayX?this._isRtl()?-l.width:0:this._isRtl()?0:-l.width,I="center"==f.overlayY?-l.height/2:"top"==f.overlayY?0:-l.height,{x:t.x+x,y:t.y+I}}_getOverlayFit(t,l,f,x){const I=Lt(l);let{x:et,y:Ct}=t,wt=this._getOffset(x,"x"),Ft=this._getOffset(x,"y");wt&&(et+=wt),Ft&&(Ct+=Ft);let Yt=0-Ct,zt=Ct+I.height-f.height,Gt=this._subtractOverflows(I.width,0-et,et+I.width-f.width),V=this._subtractOverflows(I.height,Yt,zt),O=Gt*V;return{visibleArea:O,isCompletelyWithinViewport:I.width*I.height===O,fitsInViewportVertically:V===I.height,fitsInViewportHorizontally:Gt==I.width}}_canFitWithFlexibleDimensions(t,l,f){if(this._hasFlexibleDimensions){const x=f.bottom-l.y,I=f.right-l.x,et=it(this._overlayRef.getConfig().minHeight),Ct=it(this._overlayRef.getConfig().minWidth),Ft=t.fitsInViewportHorizontally||null!=Ct&&Ct<=I;return(t.fitsInViewportVertically||null!=et&&et<=x)&&Ft}return!1}_pushOverlayOnScreen(t,l,f){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const x=Lt(l),I=this._viewportRect,et=Math.max(t.x+x.width-I.width,0),Ct=Math.max(t.y+x.height-I.height,0),wt=Math.max(I.top-f.top-t.y,0),Ft=Math.max(I.left-f.left-t.x,0);let Ot=0,Nt=0;return Ot=x.width<=I.width?Ft||-et:t.x<this._viewportMargin?I.left-f.left-t.x:0,Nt=x.height<=I.height?wt||-Ct:t.y<this._viewportMargin?I.top-f.top-t.y:0,this._previousPushAmount={x:Ot,y:Nt},{x:t.x+Ot,y:t.y+Nt}}_applyPosition(t,l){if(this._setTransformOrigin(t),this._setOverlayElementStyles(l,t),this._setBoundingBoxStyles(l,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const f=this._getScrollVisibility(),x=new Et(t,f);this._positionChanges.next(x)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const l=this._boundingBox.querySelectorAll(this._transformOriginSelector);let f,x=t.overlayY;f="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let I=0;I<l.length;I++)l[I].style.transformOrigin=`${f} ${x}`}_calculateBoundingBoxRect(t,l){const f=this._viewportRect,x=this._isRtl();let I,et,Ct,Ot,Nt,Yt;if("top"===l.overlayY)et=t.y,I=f.height-et+this._viewportMargin;else if("bottom"===l.overlayY)Ct=f.height-t.y+2*this._viewportMargin,I=f.height-Ct+this._viewportMargin;else{const zt=Math.min(f.bottom-t.y+f.top,t.y),Gt=this._lastBoundingBoxSize.height;I=2*zt,et=t.y-zt,I>Gt&&!this._isInitialRender&&!this._growAfterOpen&&(et=t.y-Gt/2)}if("end"===l.overlayX&&!x||"start"===l.overlayX&&x)Yt=f.width-t.x+this._viewportMargin,Ot=t.x-this._viewportMargin;else if("start"===l.overlayX&&!x||"end"===l.overlayX&&x)Nt=t.x,Ot=f.right-t.x;else{const zt=Math.min(f.right-t.x+f.left,t.x),Gt=this._lastBoundingBoxSize.width;Ot=2*zt,Nt=t.x-zt,Ot>Gt&&!this._isInitialRender&&!this._growAfterOpen&&(Nt=t.x-Gt/2)}return{top:et,left:Nt,bottom:Ct,right:Yt,width:Ot,height:I}}_setBoundingBoxStyles(t,l){const f=this._calculateBoundingBoxRect(t,l);!this._isInitialRender&&!this._growAfterOpen&&(f.height=Math.min(f.height,this._lastBoundingBoxSize.height),f.width=Math.min(f.width,this._lastBoundingBoxSize.width));const x={};if(this._hasExactPosition())x.top=x.left="0",x.bottom=x.right=x.maxHeight=x.maxWidth="",x.width=x.height="100%";else{const I=this._overlayRef.getConfig().maxHeight,et=this._overlayRef.getConfig().maxWidth;x.height=(0,k.HM)(f.height),x.top=(0,k.HM)(f.top),x.bottom=(0,k.HM)(f.bottom),x.width=(0,k.HM)(f.width),x.left=(0,k.HM)(f.left),x.right=(0,k.HM)(f.right),x.alignItems="center"===l.overlayX?"center":"end"===l.overlayX?"flex-end":"flex-start",x.justifyContent="center"===l.overlayY?"center":"bottom"===l.overlayY?"flex-end":"flex-start",I&&(x.maxHeight=(0,k.HM)(I)),et&&(x.maxWidth=(0,k.HM)(et))}this._lastBoundingBoxSize=f,St(this._boundingBox.style,x)}_resetBoundingBoxStyles(){St(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){St(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,l){const f={},x=this._hasExactPosition(),I=this._hasFlexibleDimensions,et=this._overlayRef.getConfig();if(x){const Ot=this._viewportRuler.getViewportScrollPosition();St(f,this._getExactOverlayY(l,t,Ot)),St(f,this._getExactOverlayX(l,t,Ot))}else f.position="static";let Ct="",wt=this._getOffset(l,"x"),Ft=this._getOffset(l,"y");wt&&(Ct+=`translateX(${wt}px) `),Ft&&(Ct+=`translateY(${Ft}px)`),f.transform=Ct.trim(),et.maxHeight&&(x?f.maxHeight=(0,k.HM)(et.maxHeight):I&&(f.maxHeight="")),et.maxWidth&&(x?f.maxWidth=(0,k.HM)(et.maxWidth):I&&(f.maxWidth="")),St(this._pane.style,f)}_getExactOverlayY(t,l,f){let x={top:"",bottom:""},I=this._getOverlayPoint(l,this._overlayRect,t);return this._isPushed&&(I=this._pushOverlayOnScreen(I,this._overlayRect,f)),"bottom"===t.overlayY?x.bottom=this._document.documentElement.clientHeight-(I.y+this._overlayRect.height)+"px":x.top=(0,k.HM)(I.y),x}_getExactOverlayX(t,l,f){let et,x={left:"",right:""},I=this._getOverlayPoint(l,this._overlayRect,t);return this._isPushed&&(I=this._pushOverlayOnScreen(I,this._overlayRect,f)),et=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===et?x.right=this._document.documentElement.clientWidth-(I.x+this._overlayRect.width)+"px":x.left=(0,k.HM)(I.x),x}_getScrollVisibility(){const t=this._getOriginRect(),l=this._pane.getBoundingClientRect(),f=this._scrollables.map(x=>x.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:m(t,f),isOriginOutsideView:$(t,f),isOverlayClipped:m(l,f),isOverlayOutsideView:$(l,f)}}_subtractOverflows(t,...l){return l.reduce((f,x)=>f-Math.max(x,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,l=this._document.documentElement.clientHeight,f=this._viewportRuler.getViewportScrollPosition();return{top:f.top+this._viewportMargin,left:f.left+this._viewportMargin,right:f.left+t-this._viewportMargin,bottom:f.top+l-this._viewportMargin,width:t-2*this._viewportMargin,height:l-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,l){return"x"===l?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&(0,k.Eq)(t).forEach(l=>{""!==l&&-1===this._appliedPanelClasses.indexOf(l)&&(this._appliedPanelClasses.push(l),this._pane.classList.add(l))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof e.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const l=t.width||0,f=t.height||0;return{top:t.y,bottom:t.y+f,left:t.x,right:t.x+l,height:f,width:l}}}function St(i,t){for(let l in t)t.hasOwnProperty(l)&&(i[l]=t[l]);return i}function it(i){if("number"!=typeof i&&null!=i){const[t,l]=i.split(Q);return l&&"px"!==l?null:parseFloat(t)}return i||null}function Lt(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}const nt="cdk-global-overlay-wrapper";class ht{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const l=t.getConfig();this._overlayRef=t,this._width&&!l.width&&t.updateSize({width:this._width}),this._height&&!l.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(nt),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,l=this._overlayRef.hostElement.style,f=this._overlayRef.getConfig(),{width:x,height:I,maxWidth:et,maxHeight:Ct}=f,wt=!("100%"!==x&&"100vw"!==x||et&&"100%"!==et&&"100vw"!==et),Ft=!("100%"!==I&&"100vh"!==I||Ct&&"100%"!==Ct&&"100vh"!==Ct),Ot=this._xPosition,Nt=this._xOffset,Yt="rtl"===this._overlayRef.getConfig().direction;let zt="",Gt="",V="";wt?V="flex-start":"center"===Ot?(V="center",Yt?Gt=Nt:zt=Nt):Yt?"left"===Ot||"end"===Ot?(V="flex-end",zt=Nt):("right"===Ot||"start"===Ot)&&(V="flex-start",Gt=Nt):"left"===Ot||"start"===Ot?(V="flex-start",zt=Nt):("right"===Ot||"end"===Ot)&&(V="flex-end",Gt=Nt),t.position=this._cssPosition,t.marginLeft=wt?"0":zt,t.marginTop=Ft?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=wt?"0":Gt,l.justifyContent=V,l.alignItems=Ft?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,l=this._overlayRef.hostElement,f=l.style;l.classList.remove(nt),f.justifyContent=f.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let xt=(()=>{class i{constructor(l,f,x,I){this._viewportRuler=l,this._document=f,this._platform=x,this._overlayContainer=I}global(){return new ht}flexibleConnectedTo(l){return new lt(l,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return i.\u0275fac=function(l){return new(l||i)(e.LFG(n.rL),e.LFG(s.K0),e.LFG(st.t4),e.LFG(Y))},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Pt=0,Ut=(()=>{class i{constructor(l,f,x,I,et,Ct,wt,Ft,Ot,Nt,Yt,zt){this.scrollStrategies=l,this._overlayContainer=f,this._componentFactoryResolver=x,this._positionBuilder=I,this._keyboardDispatcher=et,this._injector=Ct,this._ngZone=wt,this._document=Ft,this._directionality=Ot,this._location=Nt,this._outsideClickDispatcher=Yt,this._animationsModuleType=zt}create(l){const f=this._createHostElement(),x=this._createPaneElement(f),I=this._createPortalOutlet(x),et=new S(l);return et.direction=et.direction||this._directionality.value,new ft(I,f,x,et,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(l){const f=this._document.createElement("div");return f.id="cdk-overlay-"+Pt++,f.classList.add("cdk-overlay-pane"),l.appendChild(f),f}_createHostElement(){const l=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(l),l}_createPortalOutlet(l){return this._appRef||(this._appRef=this._injector.get(e.z2F)),new vt.u0(l,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return i.\u0275fac=function(l){return new(l||i)(e.LFG(v),e.LFG(Y),e.LFG(e._Vd),e.LFG(xt),e.LFG(yt),e.LFG(e.zs3),e.LFG(e.R0b),e.LFG(s.K0),e.LFG(T.Is),e.LFG(s.Ye),e.LFG(W),e.LFG(e.QbO,8))},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac}),i})();const jt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],$t=new e.OlP("cdk-connected-overlay-scroll-strategy");let Xt=(()=>{class i{constructor(l){this.elementRef=l}}return i.\u0275fac=function(l){return new(l||i)(e.Y36(e.SBq))},i.\u0275dir=e.lG2({type:i,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),i})(),Qt=(()=>{class i{constructor(l,f,x,I,et){this._overlay=l,this._dir=et,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Z.w0.EMPTY,this._attachSubscription=Z.w0.EMPTY,this._detachSubscription=Z.w0.EMPTY,this._positionSubscription=Z.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new e.vpe,this.positionChange=new e.vpe,this.attach=new e.vpe,this.detach=new e.vpe,this.overlayKeydown=new e.vpe,this.overlayOutsideClick=new e.vpe,this._templatePortal=new vt.UE(f,x),this._scrollStrategyFactory=I,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(l){this._offsetX=l,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(l){this._offsetY=l,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(l){this._hasBackdrop=(0,k.Ig)(l)}get lockPosition(){return this._lockPosition}set lockPosition(l){this._lockPosition=(0,k.Ig)(l)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(l){this._flexibleDimensions=(0,k.Ig)(l)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(l){this._growAfterOpen=(0,k.Ig)(l)}get push(){return this._push}set push(l){this._push=(0,k.Ig)(l)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(l){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),l.origin&&this.open&&this._position.apply()),l.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=jt);const l=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=l.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=l.detachments().subscribe(()=>this.detach.emit()),l.keydownEvents().subscribe(f=>{this.overlayKeydown.next(f),f.keyCode===K.hY&&!this.disableClose&&!(0,K.Vb)(f)&&(f.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(f=>{this.overlayOutsideClick.next(f)})}_buildConfig(){const l=this._position=this.positionStrategy||this._createPositionStrategy(),f=new S({direction:this._dir,positionStrategy:l,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(f.width=this.width),(this.height||0===this.height)&&(f.height=this.height),(this.minWidth||0===this.minWidth)&&(f.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(f.minHeight=this.minHeight),this.backdropClass&&(f.backdropClass=this.backdropClass),this.panelClass&&(f.panelClass=this.panelClass),f}_updatePositionStrategy(l){const f=this.positions.map(x=>({originX:x.originX,originY:x.originY,overlayX:x.overlayX,overlayY:x.overlayY,offsetX:x.offsetX||this.offsetX,offsetY:x.offsetY||this.offsetY,panelClass:x.panelClass||void 0}));return l.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(f).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const l=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(l),l}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Xt?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(l=>{this.backdropClick.emit(l)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function R(i,t=!1){return(0,C.e)((l,f)=>{let x=0;l.subscribe((0,L.x)(f,I=>{const et=i(I,x++);(et||t)&&f.next(I),!et&&f.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(l=>{this.positionChange.emit(l),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return i.\u0275fac=function(l){return new(l||i)(e.Y36(Ut),e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36($t),e.Y36(T.Is,8))},i.\u0275dir=e.lG2({type:i,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[e.TTD]}),i})();const At={provide:$t,deps:[Ut],useFactory:function te(i){return()=>i.scrollStrategies.reposition()}};let D=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({providers:[Ut,At],imports:[T.vT,vt.eL,n.Cl,n.Cl]}),i})()},3353:(Vt,bt,a)=>{a.d(bt,{Mq:()=>N,Oy:()=>X,ht:()=>ct,i$:()=>C,kV:()=>gt,qK:()=>rt,sA:()=>_t,t4:()=>k});var n=a(4650),s=a(6895);let e;try{e=typeof Intl<"u"&&Intl.v8BreakIterator}catch{e=!1}let T,k=(()=>{class ${constructor(M){this._platformId=M,this.isBrowser=this._platformId?(0,s.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!e)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return $.\u0275fac=function(M){return new(M||$)(n.LFG(n.Lbi))},$.\u0275prov=n.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})();const vt=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function rt(){if(T)return T;if("object"!=typeof document||!document)return T=new Set(vt),T;let $=document.createElement("input");return T=new Set(vt.filter(m=>($.setAttribute("type",m),$.type===m))),T}let Z,R,K;function C($){return function B(){if(null==Z&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Z=!0}))}finally{Z=Z||!1}return Z}()?$:!!$.capture}function N(){if(null==R){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return R=!1,R;if("scrollBehavior"in document.documentElement.style)R=!0;else{const $=Element.prototype.scrollTo;R=!!$&&!/\{\s*\[native code\]\s*\}/.test($.toString())}}return R}function gt($){if(function J(){if(null==K){const $=typeof document<"u"?document.head:null;K=!(!$||!$.createShadowRoot&&!$.attachShadow)}return K}()){const m=$.getRootNode?$.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&m instanceof ShadowRoot)return m}return null}function ct(){let $=typeof document<"u"&&document?document.activeElement:null;for(;$&&$.shadowRoot;){const m=$.shadowRoot.activeElement;if(m===$)break;$=m}return $}function _t($){return $.composedPath?$.composedPath()[0]:$.target}function X(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(Vt,bt,a)=>{a.d(bt,{C5:()=>B,Pl:()=>ct,UE:()=>C,eL:()=>X,en:()=>R,u0:()=>U});var n=a(4650),s=a(6895);class Z{attach(M){return this._attachedHost=M,M.attach(this)}detach(){let M=this._attachedHost;null!=M&&(this._attachedHost=null,M.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(M){this._attachedHost=M}}class B extends Z{constructor(M,v,S,dt){super(),this.component=M,this.viewContainerRef=v,this.injector=S,this.componentFactoryResolver=dt}}class C extends Z{constructor(M,v,S,dt){super(),this.templateRef=M,this.viewContainerRef=v,this.context=S,this.injector=dt}get origin(){return this.templateRef.elementRef}attach(M,v=this.context){return this.context=v,super.attach(M)}detach(){return this.context=void 0,super.detach()}}class L extends Z{constructor(M){super(),this.element=M instanceof n.SBq?M.nativeElement:M}}class R{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(M){return M instanceof B?(this._attachedPortal=M,this.attachComponentPortal(M)):M instanceof C?(this._attachedPortal=M,this.attachTemplatePortal(M)):this.attachDomPortal&&M instanceof L?(this._attachedPortal=M,this.attachDomPortal(M)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(M){this._disposeFn=M}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class U extends R{constructor(M,v,S,dt,kt){super(),this.outletElement=M,this._componentFactoryResolver=v,this._appRef=S,this._defaultInjector=dt,this.attachDomPortal=Et=>{const Tt=Et.element,Dt=this._document.createComment("dom-portal");Tt.parentNode.insertBefore(Dt,Tt),this.outletElement.appendChild(Tt),this._attachedPortal=Et,super.setDisposeFn(()=>{Dt.parentNode&&Dt.parentNode.replaceChild(Tt,Dt)})},this._document=kt}attachComponentPortal(M){const S=(M.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(M.component);let dt;return M.viewContainerRef?(dt=M.viewContainerRef.createComponent(S,M.viewContainerRef.length,M.injector||M.viewContainerRef.injector),this.setDisposeFn(()=>dt.destroy())):(dt=S.create(M.injector||this._defaultInjector||n.zs3.NULL),this._appRef.attachView(dt.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(dt.hostView),dt.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(dt)),this._attachedPortal=M,dt}attachTemplatePortal(M){let v=M.viewContainerRef,S=v.createEmbeddedView(M.templateRef,M.context,{injector:M.injector});return S.rootNodes.forEach(dt=>this.outletElement.appendChild(dt)),S.detectChanges(),this.setDisposeFn(()=>{let dt=v.indexOf(S);-1!==dt&&v.remove(dt)}),this._attachedPortal=M,S}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(M){return M.hostView.rootNodes[0]}}let ct=(()=>{class m extends R{constructor(v,S,dt){super(),this._componentFactoryResolver=v,this._viewContainerRef=S,this._isInitialized=!1,this.attached=new n.vpe,this.attachDomPortal=kt=>{const Et=kt.element,Tt=this._document.createComment("dom-portal");kt.setAttachedHost(this),Et.parentNode.insertBefore(Tt,Et),this._getRootNode().appendChild(Et),this._attachedPortal=kt,super.setDisposeFn(()=>{Tt.parentNode&&Tt.parentNode.replaceChild(Et,Tt)})},this._document=dt}get portal(){return this._attachedPortal}set portal(v){this.hasAttached()&&!v&&!this._isInitialized||(this.hasAttached()&&super.detach(),v&&super.attach(v),this._attachedPortal=v||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(v){v.setAttachedHost(this);const S=null!=v.viewContainerRef?v.viewContainerRef:this._viewContainerRef,kt=(v.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(v.component),Et=S.createComponent(kt,S.length,v.injector||S.injector);return S!==this._viewContainerRef&&this._getRootNode().appendChild(Et.hostView.rootNodes[0]),super.setDisposeFn(()=>Et.destroy()),this._attachedPortal=v,this._attachedRef=Et,this.attached.emit(Et),Et}attachTemplatePortal(v){v.setAttachedHost(this);const S=this._viewContainerRef.createEmbeddedView(v.templateRef,v.context,{injector:v.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=v,this._attachedRef=S,this.attached.emit(S),S}_getRootNode(){const v=this._viewContainerRef.element.nativeElement;return v.nodeType===v.ELEMENT_NODE?v:v.parentNode}}return m.\u0275fac=function(v){return new(v||m)(n.Y36(n._Vd),n.Y36(n.s_b),n.Y36(s.K0))},m.\u0275dir=n.lG2({type:m,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.qOj]}),m})(),X=(()=>{class m{}return m.\u0275fac=function(v){return new(v||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({}),m})()},7376:(Vt,bt,a)=>{a.d(bt,{Cl:()=>Dt,ZD:()=>Tt,mF:()=>X,rL:()=>M});var n=a(1281),s=a(4650),e=a(7579),k=a(9646),st=a(8306),T=a(4968),Z=(a(6406),a(3101),a(3601)),B=a(9300),C=a(3353),L=a(6895),R=a(445);let X=(()=>{class Mt{constructor(W,Y,ft){this._ngZone=W,this._platform=Y,this._scrolled=new e.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ft}register(W){this.scrollContainers.has(W)||this.scrollContainers.set(W,W.elementScrolled().subscribe(()=>this._scrolled.next(W)))}deregister(W){const Y=this.scrollContainers.get(W);Y&&(Y.unsubscribe(),this.scrollContainers.delete(W))}scrolled(W=20){return this._platform.isBrowser?new st.y(Y=>{this._globalSubscription||this._addGlobalListener();const ft=W>0?this._scrolled.pipe((0,Z.e)(W)).subscribe(Y):this._scrolled.subscribe(Y);return this._scrolledCount++,()=>{ft.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,k.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((W,Y)=>this.deregister(Y)),this._scrolled.complete()}ancestorScrolled(W,Y){const ft=this.getAncestorScrollContainers(W);return this.scrolled(Y).pipe((0,B.h)(F=>!F||ft.indexOf(F)>-1))}getAncestorScrollContainers(W){const Y=[];return this.scrollContainers.forEach((ft,F)=>{this._scrollableContainsElement(F,W)&&Y.push(F)}),Y}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(W,Y){let ft=(0,n.fI)(Y),F=W.getElementRef().nativeElement;do{if(ft==F)return!0}while(ft=ft.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const W=this._getWindow();return(0,T.R)(W.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Mt.\u0275fac=function(W){return new(W||Mt)(s.LFG(s.R0b),s.LFG(C.t4),s.LFG(L.K0,8))},Mt.\u0275prov=s.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})(),M=(()=>{class Mt{constructor(W,Y,ft){this._platform=W,this._change=new e.x,this._changeListener=F=>{this._change.next(F)},this._document=ft,Y.runOutsideAngular(()=>{if(W.isBrowser){const F=this._getWindow();F.addEventListener("resize",this._changeListener),F.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const W=this._getWindow();W.removeEventListener("resize",this._changeListener),W.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const W={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),W}getViewportRect(){const W=this.getViewportScrollPosition(),{width:Y,height:ft}=this.getViewportSize();return{top:W.top,left:W.left,bottom:W.top+ft,right:W.left+Y,height:ft,width:Y}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const W=this._document,Y=this._getWindow(),ft=W.documentElement,F=ft.getBoundingClientRect();return{top:-F.top||W.body.scrollTop||Y.scrollY||ft.scrollTop||0,left:-F.left||W.body.scrollLeft||Y.scrollX||ft.scrollLeft||0}}change(W=20){return W>0?this._change.pipe((0,Z.e)(W)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const W=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:W.innerWidth,height:W.innerHeight}:{width:0,height:0}}}return Mt.\u0275fac=function(W){return new(W||Mt)(s.LFG(C.t4),s.LFG(s.R0b),s.LFG(L.K0,8))},Mt.\u0275prov=s.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})(),Tt=(()=>{class Mt{}return Mt.\u0275fac=function(W){return new(W||Mt)},Mt.\u0275mod=s.oAB({type:Mt}),Mt.\u0275inj=s.cJS({}),Mt})(),Dt=(()=>{class Mt{}return Mt.\u0275fac=function(W){return new(W||Mt)},Mt.\u0275mod=s.oAB({type:Mt}),Mt.\u0275inj=s.cJS({imports:[R.vT,Tt,R.vT,Tt]}),Mt})()},4859:(Vt,bt,a)=>{a.d(bt,{lW:()=>B,ot:()=>L});var n=a(4650),s=a(3238),e=a(2687);const k=["mat-button",""],st=["*"],rt=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Z=(0,s.pj)((0,s.Id)((0,s.Kr)(class{constructor(R){this._elementRef=R}})));let B=(()=>{class R extends Z{constructor(U,K,J){super(U),this._focusMonitor=K,this._animationMode=J,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const gt of rt)this._hasHostAttributes(gt)&&this._getHostElement().classList.add(gt);U.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(U,K){U?this._focusMonitor.focusVia(this._getHostElement(),U,K):this._getHostElement().focus(K)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...U){return U.some(K=>this._getHostElement().hasAttribute(K))}}return R.\u0275fac=function(U){return new(U||R)(n.Y36(n.SBq),n.Y36(e.tE),n.Y36(n.QbO,8))},R.\u0275cmp=n.Xpm({type:R,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(U,K){if(1&U&&n.Gf(s.wG,5),2&U){let J;n.iGM(J=n.CRH())&&(K.ripple=J.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(U,K){2&U&&(n.uIk("disabled",K.disabled||null),n.ekj("_mat-animation-noopable","NoopAnimations"===K._animationMode)("mat-button-disabled",K.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[n.qOj],attrs:k,ngContentSelectors:st,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(U,K){1&U&&(n.F$t(),n.TgZ(0,"span",0),n.Hsn(1),n.qZA(),n._UZ(2,"span",1)(3,"span",2)),2&U&&(n.xp6(2),n.ekj("mat-button-ripple-round",K.isRoundButton||K.isIconButton),n.Q6J("matRippleDisabled",K._isRippleDisabled())("matRippleCentered",K.isIconButton)("matRippleTrigger",K._getHostElement()))},dependencies:[s.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}"],encapsulation:2,changeDetection:0}),R})(),L=(()=>{class R{}return R.\u0275fac=function(U){return new(U||R)},R.\u0275mod=n.oAB({type:R}),R.\u0275inj=n.cJS({imports:[s.si,s.BQ,s.BQ]}),R})()},6709:(Vt,bt,a)=>{a.d(bt,{oG:()=>gt,p9:()=>$});var n=a(2687),s=a(1281),e=a(4650),k=a(4006),st=a(3238),T=a(9643);const vt=["input"],rt=function(m){return{enterDuration:m}},Z=["*"],B=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:C});function C(){return{color:"accent",clickAction:"check-indeterminate"}}let L=0;const R=C(),N={provide:k.JU,useExisting:(0,e.Gpc)(()=>gt),multi:!0};class U{}const K=(0,st.sb)((0,st.pj)((0,st.Kr)((0,st.Id)(class{constructor(m){this._elementRef=m}}))));let J=(()=>{class m extends K{constructor(v,S,dt,kt,Et,Tt,Dt){super(S),this._changeDetectorRef=dt,this._ngZone=kt,this._animationMode=Tt,this._options=Dt,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.vpe,this.indeterminateChange=new e.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||R,this.color=this.defaultColor=this._options.color||R.color,this.tabIndex=parseInt(Et)||0,this.id=this._uniqueId=`${v}${++L}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(v){this._required=(0,s.Ig)(v)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(v){const S=(0,s.Ig)(v);S!=this.checked&&(this._checked=S,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(v){const S=(0,s.Ig)(v);S!==this.disabled&&(this._disabled=S,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(v){const S=v!=this._indeterminate;this._indeterminate=(0,s.Ig)(v),S&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(v){this.checked=!!v}registerOnChange(v){this._controlValueAccessorChangeFn=v}registerOnTouched(v){this._onTouched=v}setDisabledState(v){this.disabled=v}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(v){let S=this._currentCheckState,dt=this._getAnimationTargetElement();if(S!==v&&dt&&(this._currentAnimationClass.length>0&&dt.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(S,v),this._currentCheckState=v,this._currentAnimationClass.length>0)){dt.classList.add(this._currentAnimationClass);const kt=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{dt.classList.remove(kt)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const v=this._options?.clickAction;this.disabled||"noop"===v?!this.disabled&&"noop"===v&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==v&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(v){v.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(v,S){if("NoopAnimations"===this._animationMode)return"";switch(v){case 0:if(1===S)return this._animationClasses.uncheckedToChecked;if(3==S)return this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===S?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===S?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===S?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(v){const S=this._inputElement;S&&(S.nativeElement.indeterminate=v)}}return m.\u0275fac=function(v){e.$Z()},m.\u0275dir=e.lG2({type:m,viewQuery:function(v,S){if(1&v&&(e.Gf(vt,5),e.Gf(st.wG,5)),2&v){let dt;e.iGM(dt=e.CRH())&&(S._inputElement=dt.first),e.iGM(dt=e.CRH())&&(S.ripple=dt.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[e.qOj]}),m})(),gt=(()=>{class m extends J{constructor(v,S,dt,kt,Et,Tt,Dt){super("mat-checkbox-",v,S,kt,Et,Tt,Dt),this._focusMonitor=dt,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(v){const S=new U;return S.source=this,S.checked=v,S}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(v=>{v||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(v){v.stopPropagation(),super._handleInputClick()}focus(v,S){v?this._focusMonitor.focusVia(this._inputElement,v,S):this._inputElement.nativeElement.focus(S)}}return m.\u0275fac=function(v){return new(v||m)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(n.tE),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(B,8))},m.\u0275cmp=e.Xpm({type:m,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(v,S){2&v&&(e.Ikx("id",S.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.ekj("mat-checkbox-indeterminate",S.indeterminate)("mat-checkbox-checked",S.checked)("mat-checkbox-disabled",S.disabled)("mat-checkbox-label-before","before"==S.labelPosition)("_mat-animation-noopable","NoopAnimations"===S._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e._Bn([N]),e.qOj],ngContentSelectors:Z,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(v,S){if(1&v&&(e.F$t(),e.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),e.NdJ("change",function(kt){return S._onInteractionEvent(kt)})("click",function(kt){return S._onInputClick(kt)}),e.qZA(),e.TgZ(5,"span",5),e._UZ(6,"span",6),e.qZA(),e._UZ(7,"span",7),e.TgZ(8,"span",8),e.O4$(),e.TgZ(9,"svg",9),e._UZ(10,"path",10),e.qZA(),e.kcU(),e._UZ(11,"span",11),e.qZA()(),e.TgZ(12,"span",12,13),e.NdJ("cdkObserveContent",function(){return S._onLabelTextChange()}),e.TgZ(14,"span",14),e._uU(15,"\xa0"),e.qZA(),e.Hsn(16),e.qZA()()),2&v){const dt=e.MAs(1),kt=e.MAs(13);e.uIk("for",S.inputId),e.xp6(2),e.ekj("mat-checkbox-inner-container-no-side-margin",!kt.textContent||!kt.textContent.trim()),e.xp6(1),e.Q6J("id",S.inputId)("required",S.required)("checked",S.checked)("disabled",S.disabled)("tabIndex",S.tabIndex),e.uIk("value",S.value)("name",S.name)("aria-label",S.ariaLabel||null)("aria-labelledby",S.ariaLabelledby)("aria-checked",S._getAriaChecked())("aria-describedby",S.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",dt)("matRippleDisabled",S._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",e.VKq(19,rt,"NoopAnimations"===S._animationMode?0:150))}},dependencies:[st.wG,T.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}"],encapsulation:2,changeDetection:0}),m})(),X=(()=>{class m{}return m.\u0275fac=function(v){return new(v||m)},m.\u0275mod=e.oAB({type:m}),m.\u0275inj=e.cJS({}),m})(),$=(()=>{class m{}return m.\u0275fac=function(v){return new(v||m)},m.\u0275mod=e.oAB({type:m}),m.\u0275inj=e.cJS({imports:[st.si,st.BQ,T.Q8,X,st.BQ,X]}),m})()},3238:(Vt,bt,a)=>{a.d(bt,{_A:()=>yt,rD:()=>Lt,sG:()=>W,Ad:()=>Dt,K7:()=>et,HF:()=>l,Y2:()=>At,BQ:()=>X,XK:()=>St,ey:()=>Nt,Ng:()=>Gt,wG:()=>D,si:()=>u,IR:()=>Qt,CB:()=>Yt,jH:()=>zt,pj:()=>S,Kr:()=>dt,Id:()=>v,FD:()=>Et,dB:()=>Tt,sb:()=>kt});var n=a(4650),s=a(2687),e=a(445),st=a(6895),T=a(3353),vt=a(1281),rt=a(8306),Z=a(7579),B=a(9521);function R(V,O){if(1&V&&n._UZ(0,"mat-pseudo-checkbox",4),2&V){const y=n.oxw();n.Q6J("state",y.selected?"checked":"unchecked")("disabled",y.disabled)}}function N(V,O){if(1&V&&(n.TgZ(0,"span",5),n._uU(1),n.qZA()),2&V){const y=n.oxw();n.xp6(1),n.hij("(",y.group.label,")")}}const U=["*"],_t=new n.OlP("mat-sanity-checks",{providedIn:"root",factory:function ct(){return!0}});let X=(()=>{class V{constructor(y,G,E){this._sanityChecks=G,this._document=E,this._hasDoneGlobalChecks=!1,y._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(y){return!(0,T.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[y])}}return V.\u0275fac=function(y){return new(y||V)(n.LFG(s.qm),n.LFG(_t,8),n.LFG(st.K0))},V.\u0275mod=n.oAB({type:V}),V.\u0275inj=n.cJS({imports:[e.vT,e.vT]}),V})();function v(V){return class extends V{constructor(...O){super(...O),this._disabled=!1}get disabled(){return this._disabled}set disabled(O){this._disabled=(0,vt.Ig)(O)}}}function S(V,O){return class extends V{constructor(...y){super(...y),this.defaultColor=O,this.color=O}get color(){return this._color}set color(y){const G=y||this.defaultColor;G!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),G&&this._elementRef.nativeElement.classList.add(`mat-${G}`),this._color=G)}}}function dt(V){return class extends V{constructor(...O){super(...O),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(O){this._disableRipple=(0,vt.Ig)(O)}}}function kt(V,O=0){return class extends V{constructor(...y){super(...y),this._tabIndex=O,this.defaultTabIndex=O}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(y){this._tabIndex=null!=y?(0,vt.su)(y):this.defaultTabIndex}}}function Et(V){return class extends V{constructor(...O){super(...O),this.errorState=!1}updateErrorState(){const O=this.errorState,p=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);p!==O&&(this.errorState=p,this.stateChanges.next())}}}function Tt(V){return class extends V{constructor(...O){super(...O),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new rt.y(y=>{this._isInitialized?this._notifySubscriber(y):this._pendingSubscribers.push(y)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(O){O.next(),O.complete()}}}const Dt=new n.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Mt(){return(0,n.f3M)(n.soG)}});class yt{constructor(){this._localeChanges=new Z.x,this.localeChanges=this._localeChanges}getValidDateOrNull(O){return this.isDateInstance(O)&&this.isValid(O)?O:null}deserialize(O){return null==O||this.isDateInstance(O)&&this.isValid(O)?O:this.invalid()}setLocale(O){this.locale=O,this._localeChanges.next()}compareDate(O,y){return this.getYear(O)-this.getYear(y)||this.getMonth(O)-this.getMonth(y)||this.getDate(O)-this.getDate(y)}sameDate(O,y){if(O&&y){let G=this.isValid(O),E=this.isValid(y);return G&&E?!this.compareDate(O,y):G==E}return O==y}clampDate(O,y,G){return y&&this.compareDate(O,y)<0?y:G&&this.compareDate(O,G)>0?G:O}}const W=new n.OlP("mat-date-formats"),Y=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ft(V,O){const y=Array(V);for(let G=0;G<V;G++)y[G]=O(G);return y}let F=(()=>{class V extends yt{constructor(y,G){super(),this.useUtcForDisplay=!1,super.setLocale(y)}getYear(y){return y.getFullYear()}getMonth(y){return y.getMonth()}getDate(y){return y.getDate()}getDayOfWeek(y){return y.getDay()}getMonthNames(y){const G=new Intl.DateTimeFormat(this.locale,{month:y,timeZone:"utc"});return ft(12,E=>this._format(G,new Date(2017,E,1)))}getDateNames(){const y=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ft(31,G=>this._format(y,new Date(2017,0,G+1)))}getDayOfWeekNames(y){const G=new Intl.DateTimeFormat(this.locale,{weekday:y,timeZone:"utc"});return ft(7,E=>this._format(G,new Date(2017,0,E+1)))}getYearName(y){const G=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(G,y)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(y){return this.getDate(this._createDateWithOverflow(this.getYear(y),this.getMonth(y)+1,0))}clone(y){return new Date(y.getTime())}createDate(y,G,E){let p=this._createDateWithOverflow(y,G,E);return p.getMonth(),p}today(){return new Date}parse(y){return"number"==typeof y?new Date(y):y?new Date(Date.parse(y)):null}format(y,G){if(!this.isValid(y))throw Error("NativeDateAdapter: Cannot format invalid date.");const E=new Intl.DateTimeFormat(this.locale,{...G,timeZone:"utc"});return this._format(E,y)}addCalendarYears(y,G){return this.addCalendarMonths(y,12*G)}addCalendarMonths(y,G){let E=this._createDateWithOverflow(this.getYear(y),this.getMonth(y)+G,this.getDate(y));return this.getMonth(E)!=((this.getMonth(y)+G)%12+12)%12&&(E=this._createDateWithOverflow(this.getYear(E),this.getMonth(E),0)),E}addCalendarDays(y,G){return this._createDateWithOverflow(this.getYear(y),this.getMonth(y),this.getDate(y)+G)}toIso8601(y){return[y.getUTCFullYear(),this._2digit(y.getUTCMonth()+1),this._2digit(y.getUTCDate())].join("-")}deserialize(y){if("string"==typeof y){if(!y)return null;if(Y.test(y)){let G=new Date(y);if(this.isValid(G))return G}}return super.deserialize(y)}isDateInstance(y){return y instanceof Date}isValid(y){return!isNaN(y.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(y,G,E){const p=new Date;return p.setFullYear(y,G,E),p.setHours(0,0,0,0),p}_2digit(y){return("00"+y).slice(-2)}_format(y,G){const E=new Date;return E.setUTCFullYear(G.getFullYear(),G.getMonth(),G.getDate()),E.setUTCHours(G.getHours(),G.getMinutes(),G.getSeconds(),G.getMilliseconds()),y.format(E)}}return V.\u0275fac=function(y){return new(y||V)(n.LFG(Dt,8),n.LFG(T.t4))},V.\u0275prov=n.Yz7({token:V,factory:V.\u0275fac}),V})();const Q={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let lt=(()=>{class V{}return V.\u0275fac=function(y){return new(y||V)},V.\u0275mod=n.oAB({type:V}),V.\u0275inj=n.cJS({providers:[{provide:yt,useClass:F}]}),V})(),St=(()=>{class V{}return V.\u0275fac=function(y){return new(y||V)},V.\u0275mod=n.oAB({type:V}),V.\u0275inj=n.cJS({providers:[{provide:W,useValue:Q}],imports:[lt]}),V})(),Lt=(()=>{class V{isErrorState(y,G){return!!(y&&y.invalid&&(y.touched||G&&G.submitted))}}return V.\u0275fac=function(y){return new(y||V)},V.\u0275prov=n.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();class xt{constructor(O,y,G,E=!1){this._renderer=O,this.element=y,this.config=G,this._animationForciblyDisabledThroughCss=E,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Pt={enterDuration:225,exitDuration:150},jt=(0,T.i$)({passive:!0}),$t=["mousedown","touchstart"],Xt=["mouseup","mouseleave","touchend","touchcancel"];class Qt{constructor(O,y,G,E){this._target=O,this._ngZone=y,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,E.isBrowser&&(this._containerElement=(0,vt.fI)(G))}fadeInRipple(O,y,G={}){const E=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),p={...Pt,...G.animation};G.centered&&(O=E.left+E.width/2,y=E.top+E.height/2);const b=G.radius||function te(V,O,y){const G=Math.max(Math.abs(V-y.left),Math.abs(V-y.right)),E=Math.max(Math.abs(O-y.top),Math.abs(O-y.bottom));return Math.sqrt(G*G+E*E)}(O,y,E),A=O-E.left,z=y-E.top,pt=p.enterDuration,It=document.createElement("div");It.classList.add("mat-ripple-element"),It.style.left=A-b+"px",It.style.top=z-b+"px",It.style.height=2*b+"px",It.style.width=2*b+"px",null!=G.color&&(It.style.backgroundColor=G.color),It.style.transitionDuration=`${pt}ms`,this._containerElement.appendChild(It);const Zt=window.getComputedStyle(It),mt=Zt.transitionDuration,w="none"===Zt.transitionProperty||"0s"===mt||"0s, 0s"===mt,at=new xt(this,It,G,w);It.style.transform="scale3d(1, 1, 1)",at.state=0,G.persistent||(this._mostRecentTransientRipple=at);let Rt=null;return!w&&(pt||p.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Bt=()=>this._finishRippleTransition(at),Kt=()=>this._destroyRipple(at);It.addEventListener("transitionend",Bt),It.addEventListener("transitioncancel",Kt),Rt={onTransitionEnd:Bt,onTransitionCancel:Kt}}),this._activeRipples.set(at,Rt),(w||!pt)&&this._finishRippleTransition(at),at}fadeOutRipple(O){if(2===O.state||3===O.state)return;const y=O.element,G={...Pt,...O.config.animation};y.style.transitionDuration=`${G.exitDuration}ms`,y.style.opacity="0",O.state=2,(O._animationForciblyDisabledThroughCss||!G.exitDuration)&&this._finishRippleTransition(O)}fadeOutAll(){this._getActiveRipples().forEach(O=>O.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(O=>{O.config.persistent||O.fadeOut()})}setupTriggerEvents(O){const y=(0,vt.fI)(O);!y||y===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=y,this._registerEvents($t))}handleEvent(O){"mousedown"===O.type?this._onMousedown(O):"touchstart"===O.type?this._onTouchStart(O):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Xt),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(O){0===O.state?this._startFadeOutTransition(O):2===O.state&&this._destroyRipple(O)}_startFadeOutTransition(O){const y=O===this._mostRecentTransientRipple,{persistent:G}=O.config;O.state=1,!G&&(!y||!this._isPointerDown)&&O.fadeOut()}_destroyRipple(O){const y=this._activeRipples.get(O)??null;this._activeRipples.delete(O),this._activeRipples.size||(this._containerRect=null),O===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),O.state=3,null!==y&&(O.element.removeEventListener("transitionend",y.onTransitionEnd),O.element.removeEventListener("transitioncancel",y.onTransitionCancel)),O.element.remove()}_onMousedown(O){const y=(0,s.X6)(O),G=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!y&&!G&&(this._isPointerDown=!0,this.fadeInRipple(O.clientX,O.clientY,this._target.rippleConfig))}_onTouchStart(O){if(!this._target.rippleDisabled&&!(0,s.yG)(O)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const y=O.changedTouches;for(let G=0;G<y.length;G++)this.fadeInRipple(y[G].clientX,y[G].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(O=>{!O.config.persistent&&(1===O.state||O.config.terminateOnPointerUp&&0===O.state)&&O.fadeOut()}))}_registerEvents(O){this._ngZone.runOutsideAngular(()=>{O.forEach(y=>{this._triggerElement.addEventListener(y,this,jt)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&($t.forEach(O=>{this._triggerElement.removeEventListener(O,this,jt)}),this._pointerUpEventsRegistered&&Xt.forEach(O=>{this._triggerElement.removeEventListener(O,this,jt)}))}}const At=new n.OlP("mat-ripple-global-options");let D=(()=>{class V{constructor(y,G,E,p,b){this._elementRef=y,this._animationMode=b,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=p||{},this._rippleRenderer=new Qt(this,G,y,E)}get disabled(){return this._disabled}set disabled(y){y&&this.fadeOutAllNonPersistent(),this._disabled=y,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(y){this._trigger=y,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(y,G=0,E){return"number"==typeof y?this._rippleRenderer.fadeInRipple(y,G,{...this.rippleConfig,...E}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...y})}}return V.\u0275fac=function(y){return new(y||V)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(T.t4),n.Y36(At,8),n.Y36(n.QbO,8))},V.\u0275dir=n.lG2({type:V,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(y,G){2&y&&n.ekj("mat-ripple-unbounded",G.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),V})(),u=(()=>{class V{}return V.\u0275fac=function(y){return new(y||V)},V.\u0275mod=n.oAB({type:V}),V.\u0275inj=n.cJS({imports:[X,X]}),V})(),i=(()=>{class V{constructor(y){this._animationMode=y,this.state="unchecked",this.disabled=!1}}return V.\u0275fac=function(y){return new(y||V)(n.Y36(n.QbO,8))},V.\u0275cmp=n.Xpm({type:V,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(y,G){2&y&&n.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===G.state)("mat-pseudo-checkbox-checked","checked"===G.state)("mat-pseudo-checkbox-disabled",G.disabled)("_mat-animation-noopable","NoopAnimations"===G._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(y,G){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),V})(),t=(()=>{class V{}return V.\u0275fac=function(y){return new(y||V)},V.\u0275mod=n.oAB({type:V}),V.\u0275inj=n.cJS({imports:[X]}),V})();const l=new n.OlP("MAT_OPTION_PARENT_COMPONENT"),et=new n.OlP("MatOptgroup");let wt=0;class Ft{constructor(O,y=!1){this.source=O,this.isUserInput=y}}let Ot=(()=>{class V{constructor(y,G,E,p){this._element=y,this._changeDetectorRef=G,this._parent=E,this.group=p,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+wt++,this.onSelectionChange=new n.vpe,this._stateChanges=new Z.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(y){this._disabled=(0,vt.Ig)(y)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(y,G){const E=this._getHostElement();"function"==typeof E.focus&&E.focus(G)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(y){(y.keyCode===B.K5||y.keyCode===B.L_)&&!(0,B.Vb)(y)&&(this._selectViaInteraction(),y.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const y=this.viewValue;y!==this._mostRecentViewValue&&(this._mostRecentViewValue=y,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(y=!1){this.onSelectionChange.emit(new Ft(this,y))}}return V.\u0275fac=function(y){n.$Z()},V.\u0275dir=n.lG2({type:V,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),V})(),Nt=(()=>{class V extends Ot{constructor(y,G,E,p){super(y,G,E,p)}}return V.\u0275fac=function(y){return new(y||V)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(l,8),n.Y36(et,8))},V.\u0275cmp=n.Xpm({type:V,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(y,G){1&y&&n.NdJ("click",function(){return G._selectViaInteraction()})("keydown",function(p){return G._handleKeydown(p)}),2&y&&(n.Ikx("id",G.id),n.uIk("tabindex",G._getTabIndex())("aria-selected",G._getAriaSelected())("aria-disabled",G.disabled.toString()),n.ekj("mat-selected",G.selected)("mat-option-multiple",G.multiple)("mat-active",G.active)("mat-option-disabled",G.disabled))},exportAs:["matOption"],features:[n.qOj],ngContentSelectors:U,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(y,G){1&y&&(n.F$t(),n.YNc(0,R,1,2,"mat-pseudo-checkbox",0),n.TgZ(1,"span",1),n.Hsn(2),n.qZA(),n.YNc(3,N,2,1,"span",2),n._UZ(4,"div",3)),2&y&&(n.Q6J("ngIf",G.multiple),n.xp6(3),n.Q6J("ngIf",G.group&&G.group._inert),n.xp6(1),n.Q6J("matRippleTrigger",G._getHostElement())("matRippleDisabled",G.disabled||G.disableRipple))},dependencies:[D,st.O5,i],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],encapsulation:2,changeDetection:0}),V})();function Yt(V,O,y){if(y.length){let G=O.toArray(),E=y.toArray(),p=0;for(let b=0;b<V+1;b++)G[b].group&&G[b].group===E[p]&&p++;return p}return 0}function zt(V,O,y,G){return V<y?V:V+O>y+G?Math.max(0,V-G+O):y}let Gt=(()=>{class V{}return V.\u0275fac=function(y){return new(y||V)},V.\u0275mod=n.oAB({type:V}),V.\u0275inj=n.cJS({imports:[u,st.ez,X,t]}),V})()},5412:(Vt,bt,a)=>{a.d(bt,{WI:()=>St,uw:()=>Pt,Is:()=>At,so:()=>Q});var n=a(2687),s=a(2561),e=a(3353),k=a(4080),st=a(6895),T=a(4650),vt=a(9521),rt=a(7579),Z=a(9770),B=a(9646),C=a(445),L=a(8675);function R(D,u){}class N{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let K=(()=>{class D extends k.en{constructor(i,t,l,f,x,I,et,Ct){super(),this._elementRef=i,this._focusTrapFactory=t,this._config=f,this._interactivityChecker=x,this._ngZone=I,this._overlayRef=et,this._focusMonitor=Ct,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=wt=>{this._portalOutlet.hasAttached();const Ft=this._portalOutlet.attachDomPortal(wt);return this._contentAttached(),Ft},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=l}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(i){this._portalOutlet.hasAttached();const t=this._portalOutlet.attachComponentPortal(i);return this._contentAttached(),t}attachTemplatePortal(i){this._portalOutlet.hasAttached();const t=this._portalOutlet.attachTemplatePortal(i);return this._contentAttached(),t}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(i,t){this._interactivityChecker.isFocusable(i)||(i.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const l=()=>{i.removeEventListener("blur",l),i.removeEventListener("mousedown",l),i.removeAttribute("tabindex")};i.addEventListener("blur",l),i.addEventListener("mousedown",l)})),i.focus(t)}_focusByCssSelector(i,t){let l=this._elementRef.nativeElement.querySelector(i);l&&this._forceFocus(l,t)}_trapFocus(){const i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const i=this._config.restoreFocus;let t=null;if("string"==typeof i?t=this._document.querySelector(i):"boolean"==typeof i?t=i?this._elementFocusedBeforeDialogWasOpened:null:i&&(t=i),this._config.restoreFocus&&t&&"function"==typeof t.focus){const l=(0,e.ht)(),f=this._elementRef.nativeElement;(!l||l===this._document.body||l===f||f.contains(l))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const i=this._elementRef.nativeElement,t=(0,e.ht)();return i===t||i.contains(t)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,e.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return D.\u0275fac=function(i){return new(i||D)(T.Y36(T.SBq),T.Y36(n.qV),T.Y36(st.K0,8),T.Y36(N),T.Y36(n.ic),T.Y36(T.R0b),T.Y36(s.Iu),T.Y36(n.tE))},D.\u0275cmp=T.Xpm({type:D,selectors:[["cdk-dialog-container"]],viewQuery:function(i,t){if(1&i&&T.Gf(k.Pl,7),2&i){let l;T.iGM(l=T.CRH())&&(t._portalOutlet=l.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,t){2&i&&T.uIk("id",t._config.id||null)("role",t._config.role)("aria-modal",t._config.ariaModal)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null)},features:[T.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,t){1&i&&T.YNc(0,R,0,0,"ng-template",0)},dependencies:[k.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),D})();class J{constructor(u,i){this.overlayRef=u,this.config=i,this.closed=new rt.x,this.disableClose=i.disableClose,this.backdropClick=u.backdropClick(),this.keydownEvents=u.keydownEvents(),this.outsidePointerEvents=u.outsidePointerEvents(),this.id=i.id,this.keydownEvents.subscribe(t=>{t.keyCode===vt.hY&&!this.disableClose&&!(0,vt.Vb)(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(u,i){if(this.containerInstance){const t=this.closed;this.containerInstance._closeInteractionType=i?.focusOrigin||"program",this.overlayRef.dispose(),t.next(u),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(u="",i=""){return this.overlayRef.updateSize({width:u,height:i}),this}addPanelClass(u){return this.overlayRef.addPanelClass(u),this}removePanelClass(u){return this.overlayRef.removePanelClass(u),this}}const gt=new T.OlP("DialogScrollStrategy"),ct=new T.OlP("DialogData"),_t=new T.OlP("DefaultDialogConfig"),$={provide:gt,deps:[s.aV],useFactory:function X(D){return()=>D.scrollStrategies.block()}};let m=0,M=(()=>{class D{constructor(i,t,l,f,x,I){this._overlay=i,this._injector=t,this._defaultOptions=l,this._parentDialog=f,this._overlayContainer=x,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new rt.x,this._afterOpenedAtThisLevel=new rt.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,Z.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,L.O)(void 0))),this._scrollStrategy=I}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(i,t){(t={...this._defaultOptions||new N,...t}).id=t.id||"cdk-dialog-"+m++,t.id&&this.getDialogById(t.id);const f=this._getOverlayConfig(t),x=this._overlay.create(f),I=new J(x,t),et=this._attachContainer(x,I,t);return I.containerInstance=et,this._attachDialogContent(i,I,et,t),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(I),I.closed.subscribe(()=>this._removeOpenDialog(I,!0)),this.afterOpened.next(I),I}closeAll(){v(this.openDialogs,i=>i.close())}getDialogById(i){return this.openDialogs.find(t=>t.id===i)}ngOnDestroy(){v(this._openDialogsAtThisLevel,i=>{!1===i.config.closeOnDestroy&&this._removeOpenDialog(i,!1)}),v(this._openDialogsAtThisLevel,i=>i.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(i){const t=new s.X_({positionStrategy:i.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:i.scrollStrategy||this._scrollStrategy(),panelClass:i.panelClass,hasBackdrop:i.hasBackdrop,direction:i.direction,minWidth:i.minWidth,minHeight:i.minHeight,maxWidth:i.maxWidth,maxHeight:i.maxHeight,width:i.width,height:i.height,disposeOnNavigation:i.closeOnNavigation});return i.backdropClass&&(t.backdropClass=i.backdropClass),t}_attachContainer(i,t,l){const f=l.injector??l.viewContainerRef?.injector,x=[{provide:N,useValue:l},{provide:J,useValue:t},{provide:s.Iu,useValue:i}];let I;l.container?"function"==typeof l.container?I=l.container:(I=l.container.type,x.push(...l.container.providers(l))):I=K;const et=new k.C5(I,l.viewContainerRef,T.zs3.create({parent:f||this._injector,providers:x}),l.componentFactoryResolver);return i.attach(et).instance}_attachDialogContent(i,t,l,f){const x=this._createInjector(f,t,l);if(i instanceof T.Rgc){let I={$implicit:f.data,dialogRef:t};f.templateContext&&(I={...I,..."function"==typeof f.templateContext?f.templateContext():f.templateContext}),l.attachTemplatePortal(new k.UE(i,null,I,x))}else{const I=l.attachComponentPortal(new k.C5(i,f.viewContainerRef,x,f.componentFactoryResolver));t.componentInstance=I.instance}}_createInjector(i,t,l){const f=i&&i.viewContainerRef&&i.viewContainerRef.injector,x=[{provide:ct,useValue:i.data},{provide:J,useValue:t}];return i.providers&&("function"==typeof i.providers?x.push(...i.providers(t,i,l)):x.push(...i.providers)),i.direction&&(!f||!f.get(C.Is,null,T.XFs.Optional))&&x.push({provide:C.Is,useValue:{value:i.direction,change:(0,B.of)()}}),T.zs3.create({parent:f||this._injector,providers:x})}_removeOpenDialog(i,t){const l=this.openDialogs.indexOf(i);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((f,x)=>{f?x.setAttribute("aria-hidden",f):x.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const i=this._overlayContainer.getContainerElement();if(i.parentElement){const t=i.parentElement.children;for(let l=t.length-1;l>-1;l--){const f=t[l];f!==i&&"SCRIPT"!==f.nodeName&&"STYLE"!==f.nodeName&&!f.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(f,f.getAttribute("aria-hidden")),f.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return D.\u0275fac=function(i){return new(i||D)(T.LFG(s.aV),T.LFG(T.zs3),T.LFG(_t,8),T.LFG(D,12),T.LFG(s.Xj),T.LFG(gt))},D.\u0275prov=T.Yz7({token:D,factory:D.\u0275fac}),D})();function v(D,u){let i=D.length;for(;i--;)u(D[i])}let S=(()=>{class D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275mod=T.oAB({type:D}),D.\u0275inj=T.cJS({providers:[M,$],imports:[s.U8,k.eL,n.rt,k.eL]}),D})();var dt=a(3238),kt=a(6451),Et=a(9300),Tt=a(5698),Dt=a(7340);function Mt(D,u){}const yt={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},W={dialogContainer:(0,Dt.X$)("dialogContainer",[(0,Dt.SB)("void, exit",(0,Dt.oB)({opacity:0,transform:"scale(0.7)"})),(0,Dt.SB)("enter",(0,Dt.oB)({transform:"none"})),(0,Dt.eR)("* => enter",(0,Dt.ru)([(0,Dt.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,Dt.oB)({transform:"none",opacity:1})),(0,Dt.IO)("@*",(0,Dt.pV)(),{optional:!0})]),yt),(0,Dt.eR)("* => void, * => exit",(0,Dt.ru)([(0,Dt.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,Dt.oB)({opacity:0})),(0,Dt.IO)("@*",(0,Dt.pV)(),{optional:!0})]),yt)])};class Y{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=yt.params.enterAnimationDuration,this.exitAnimationDuration=yt.params.exitAnimationDuration}}let ft=(()=>{class D extends K{constructor(i,t,l,f,x,I,et,Ct){super(i,t,l,f,x,I,et,Ct),this._animationStateChanged=new T.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(i){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})}}return D.\u0275fac=function(i){return new(i||D)(T.Y36(T.SBq),T.Y36(n.qV),T.Y36(st.K0,8),T.Y36(Y),T.Y36(n.ic),T.Y36(T.R0b),T.Y36(s.Iu),T.Y36(n.tE))},D.\u0275cmp=T.Xpm({type:D,selectors:[["ng-component"]],features:[T.qOj],decls:0,vars:0,template:function(i,t){},encapsulation:2}),D})(),F=(()=>{class D extends ft{constructor(i,t,l,f,x,I,et,Ct,wt){super(i,t,l,f,x,I,et,wt),this._changeDetectorRef=Ct,this._state="enter"}_onAnimationDone({toState:i,totalTime:t}){"enter"===i?this._openAnimationDone(t):"exit"===i&&this._animationStateChanged.next({state:"closed",totalTime:t})}_onAnimationStart({toState:i,totalTime:t}){"enter"===i?this._animationStateChanged.next({state:"opening",totalTime:t}):("exit"===i||"void"===i)&&this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||yt.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||yt.params.exitAnimationDuration}}}}return D.\u0275fac=function(i){return new(i||D)(T.Y36(T.SBq),T.Y36(n.qV),T.Y36(st.K0,8),T.Y36(Y),T.Y36(n.ic),T.Y36(T.R0b),T.Y36(s.Iu),T.Y36(T.sBO),T.Y36(n.tE))},D.\u0275cmp=T.Xpm({type:D,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(i,t){1&i&&T.WFA("@dialogContainer.start",function(f){return t._onAnimationStart(f)})("@dialogContainer.done",function(f){return t._onAnimationDone(f)}),2&i&&(T.Ikx("id",t._config.id),T.uIk("aria-modal",t._config.ariaModal)("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),T.d8E("@dialogContainer",t._getAnimationState()))},features:[T.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,t){1&i&&T.YNc(0,Mt,0,0,"ng-template",0)},dependencies:[k.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[W.dialogContainer]}}),D})();class Q{constructor(u,i,t){this._ref=u,this._containerInstance=t,this._afterOpened=new rt.x,this._beforeClosed=new rt.x,this._state=0,this.disableClose=i.disableClose,this.id=u.id,t._animationStateChanged.pipe((0,Et.h)(l=>"opened"===l.state),(0,Tt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe((0,Et.h)(l=>"closed"===l.state),(0,Tt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),u.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,kt.T)(this.backdropClick(),this.keydownEvents().pipe((0,Et.h)(l=>l.keyCode===vt.hY&&!this.disableClose&&!(0,vt.Vb)(l)))).subscribe(l=>{this.disableClose||(l.preventDefault(),function lt(D,u,i){D._closeInteractionType=u,D.close(i)}(this,"keydown"===l.type?"keyboard":"mouse"))})}close(u){this._result=u,this._containerInstance._animationStateChanged.pipe((0,Et.h)(i=>"closing"===i.state),(0,Tt.q)(1)).subscribe(i=>{this._beforeClosed.next(u),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(u){let i=this._ref.config.positionStrategy;return u&&(u.left||u.right)?u.left?i.left(u.left):i.right(u.right):i.centerHorizontally(),u&&(u.top||u.bottom)?u.top?i.top(u.top):i.bottom(u.bottom):i.centerVertically(),this._ref.updatePosition(),this}updateSize(u="",i=""){return this._ref.updateSize(u,i),this}addPanelClass(u){return this._ref.addPanelClass(u),this}removePanelClass(u){return this._ref.removePanelClass(u),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const St=new T.OlP("MatDialogData"),it=new T.OlP("mat-dialog-default-options"),Lt=new T.OlP("mat-dialog-scroll-strategy"),nt={provide:Lt,deps:[s.aV],useFactory:function j(D){return()=>D.scrollStrategies.block()}};let ht=0,xt=(()=>{class D{constructor(i,t,l,f,x,I,et,Ct,wt,Ft){this._overlay=i,this._defaultOptions=l,this._parentDialog=f,this._dialogRefConstructor=et,this._dialogContainerType=Ct,this._dialogDataToken=wt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new rt.x,this._afterOpenedAtThisLevel=new rt.x,this._idPrefix="mat-dialog-",this.afterAllClosed=(0,Z.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,L.O)(void 0))),this._scrollStrategy=I,this._dialog=t.get(M)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(i,t){let l;(t={...this._defaultOptions||new Y,...t}).id=t.id||`${this._idPrefix}${ht++}`,t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();const f=this._dialog.open(i,{...t,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:Y,useValue:t},{provide:N,useValue:t}]},templateContext:()=>({dialogRef:l}),providers:(x,I,et)=>(l=new this._dialogRefConstructor(x,t,et),l.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:et},{provide:this._dialogDataToken,useValue:I.data},{provide:this._dialogRefConstructor,useValue:l}])});return l.componentInstance=f.componentInstance,this.openDialogs.push(l),this.afterOpened.next(l),l.afterClosed().subscribe(()=>{const x=this.openDialogs.indexOf(l);x>-1&&(this.openDialogs.splice(x,1),this.openDialogs.length||this._getAfterAllClosed().next())}),l}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(i){return this.openDialogs.find(t=>t.id===i)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(i){let t=i.length;for(;t--;)i[t].close()}}return D.\u0275fac=function(i){T.$Z()},D.\u0275prov=T.Yz7({token:D,factory:D.\u0275fac}),D})(),Pt=(()=>{class D extends xt{constructor(i,t,l,f,x,I,et,Ct){super(i,t,f,I,et,x,Q,F,St,Ct)}}return D.\u0275fac=function(i){return new(i||D)(T.LFG(s.aV),T.LFG(T.zs3),T.LFG(st.Ye,8),T.LFG(it,8),T.LFG(Lt),T.LFG(D,12),T.LFG(s.Xj),T.LFG(T.QbO,8))},D.\u0275prov=T.Yz7({token:D,factory:D.\u0275fac}),D})(),At=(()=>{class D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275mod=T.oAB({type:D}),D.\u0275inj=T.cJS({providers:[Pt,nt],imports:[S,s.U8,k.eL,dt.BQ,dt.BQ]}),D})()},9549:(Vt,bt,a)=>{a.d(bt,{Eo:()=>Y,G_:()=>Qt,KE:()=>te,R9:()=>xt,hX:()=>Lt,lN:()=>At,qo:()=>nt});var n=a(9643),s=a(6895),e=a(4650),k=a(3238),st=a(445),T=a(1281),vt=a(7579),rt=a(6451),Z=a(4968),B=a(8675),C=a(2722),L=a(5698),R=a(7340),N=a(3353);const U=["connectionContainer"],K=["inputContainer"],J=["label"];function gt(D,u){1&D&&(e.ynx(0),e.TgZ(1,"div",14),e._UZ(2,"div",15)(3,"div",16)(4,"div",17),e.qZA(),e.TgZ(5,"div",18),e._UZ(6,"div",15)(7,"div",16)(8,"div",17),e.qZA(),e.BQk())}function ct(D,u){if(1&D){const i=e.EpF();e.TgZ(0,"div",19),e.NdJ("cdkObserveContent",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.updateOutlineGap())}),e.Hsn(1,1),e.qZA()}if(2&D){const i=e.oxw();e.Q6J("cdkObserveContentDisabled","outline"!=i.appearance)}}function _t(D,u){if(1&D&&(e.ynx(0),e.Hsn(1,2),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.BQk()),2&D){const i=e.oxw(2);e.xp6(3),e.Oqu(i._control.placeholder)}}function X(D,u){1&D&&e.Hsn(0,3,["*ngSwitchCase","true"])}function $(D,u){1&D&&(e.TgZ(0,"span",23),e._uU(1," *"),e.qZA())}function m(D,u){if(1&D){const i=e.EpF();e.TgZ(0,"label",20,21),e.NdJ("cdkObserveContent",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.updateOutlineGap())}),e.YNc(2,_t,4,1,"ng-container",12),e.YNc(3,X,1,0,"ng-content",12),e.YNc(4,$,2,0,"span",22),e.qZA()}if(2&D){const i=e.oxw();e.ekj("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),e.Q6J("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),e.uIk("for",i._control.id)("aria-owns",i._control.id),e.xp6(2),e.Q6J("ngSwitchCase",!1),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function M(D,u){1&D&&(e.TgZ(0,"div",24),e.Hsn(1,4),e.qZA())}function v(D,u){if(1&D&&(e.TgZ(0,"div",25),e._UZ(1,"span",26),e.qZA()),2&D){const i=e.oxw();e.xp6(1),e.ekj("mat-accent","accent"==i.color)("mat-warn","warn"==i.color)}}function S(D,u){if(1&D&&(e.TgZ(0,"div"),e.Hsn(1,5),e.qZA()),2&D){const i=e.oxw();e.Q6J("@transitionMessages",i._subscriptAnimationState)}}function dt(D,u){if(1&D&&(e.TgZ(0,"div",30),e._uU(1),e.qZA()),2&D){const i=e.oxw(2);e.Q6J("id",i._hintLabelId),e.xp6(1),e.Oqu(i.hintLabel)}}function kt(D,u){if(1&D&&(e.TgZ(0,"div",27),e.YNc(1,dt,2,2,"div",28),e.Hsn(2,6),e._UZ(3,"div",29),e.Hsn(4,7),e.qZA()),2&D){const i=e.oxw();e.Q6J("@transitionMessages",i._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",i.hintLabel)}}const Et=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Tt=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Mt=new e.OlP("MatError"),W={transitionMessages:(0,R.X$)("transitionMessages",[(0,R.SB)("enter",(0,R.oB)({opacity:1,transform:"translateY(0%)"})),(0,R.eR)("void => enter",[(0,R.oB)({opacity:0,transform:"translateY(-5px)"}),(0,R.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Y=(()=>{class D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275dir=e.lG2({type:D}),D})();const St=new e.OlP("MatHint");let Lt=(()=>{class D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275dir=e.lG2({type:D,selectors:[["mat-label"]]}),D})(),P=(()=>{class D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275dir=e.lG2({type:D,selectors:[["mat-placeholder"]]}),D})();const j=new e.OlP("MatPrefix");let nt=(()=>{class D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275dir=e.lG2({type:D,selectors:[["","matPrefix",""]],features:[e._Bn([{provide:j,useExisting:D}])]}),D})();const ht=new e.OlP("MatSuffix");let xt=(()=>{class D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275dir=e.lG2({type:D,selectors:[["","matSuffix",""]],features:[e._Bn([{provide:ht,useExisting:D}])]}),D})(),Pt=0;const $t=(0,k.pj)(class{constructor(D){this._elementRef=D}},"primary"),Xt=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Qt=new e.OlP("MatFormField");let te=(()=>{class D extends $t{constructor(i,t,l,f,x,I,et){super(i),this._changeDetectorRef=t,this._dir=l,this._defaults=f,this._platform=x,this._ngZone=I,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new vt.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Pt++,this._labelId="mat-form-field-label-"+Pt++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==et,this.appearance=f?.appearance||"legacy",f&&(this._hideRequiredMarker=Boolean(f.hideRequiredMarker),f.color&&(this.color=this.defaultColor=f.color))}get appearance(){return this._appearance}set appearance(i){const t=this._appearance;this._appearance=i||this._defaults?.appearance||"legacy","outline"===this._appearance&&t!==i&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(i){this._hideRequiredMarker=(0,T.Ig)(i)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(i){this._hintLabel=i,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(i){i!==this._floatLabel&&(this._floatLabel=i||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(i){this._explicitFormFieldControl=i}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const i=this._control;i.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${i.controlType}`),i.stateChanges.pipe((0,B.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),i.ngControl&&i.ngControl.valueChanges&&i.ngControl.valueChanges.pipe((0,C.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,C.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,rt.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,B.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,B.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,C.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(i){const t=this._control?this._control.ngControl:null;return t&&t[i]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,Z.R)(this._label.nativeElement,"transitionend").pipe((0,L.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let i=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&i.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(f=>"start"===f.align):null,l=this._hintChildren?this._hintChildren.find(f=>"end"===f.align):null;t?i.push(t.id):this._hintLabel&&i.push(this._hintLabelId),l&&i.push(l.id)}else this._errorChildren&&i.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(i)}}_validateControlChild(){}updateOutlineGap(){const i=this._label?this._label.nativeElement:null,t=this._connectionContainerRef.nativeElement,l=".mat-form-field-outline-start",f=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!i||!i.children.length||!i.textContent.trim()){const wt=t.querySelectorAll(`${l}, ${f}`);for(let Ft=0;Ft<wt.length;Ft++)wt[Ft].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let x=0,I=0;const et=t.querySelectorAll(l),Ct=t.querySelectorAll(f);if(this._label&&this._label.nativeElement.children.length){const wt=t.getBoundingClientRect();if(0===wt.width&&0===wt.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const Ft=this._getStartEnd(wt),Ot=i.children,Nt=this._getStartEnd(Ot[0].getBoundingClientRect());let Yt=0;for(let zt=0;zt<Ot.length;zt++)Yt+=Ot[zt].offsetWidth;x=Math.abs(Nt-Ft)-5,I=Yt>0?.75*Yt+10:0}for(let wt=0;wt<et.length;wt++)et[wt].style.width=`${x}px`;for(let wt=0;wt<Ct.length;wt++)Ct[wt].style.width=`${I}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(i){return this._dir&&"rtl"===this._dir.value?i.right:i.left}_isAttachedToDOM(){const i=this._elementRef.nativeElement;if(i.getRootNode){const t=i.getRootNode();return t&&t!==i}return document.documentElement.contains(i)}}return D.\u0275fac=function(i){return new(i||D)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(st.Is,8),e.Y36(Xt,8),e.Y36(N.t4),e.Y36(e.R0b),e.Y36(e.QbO,8))},D.\u0275cmp=e.Xpm({type:D,selectors:[["mat-form-field"]],contentQueries:function(i,t,l){if(1&i&&(e.Suo(l,Y,5),e.Suo(l,Y,7),e.Suo(l,Lt,5),e.Suo(l,Lt,7),e.Suo(l,P,5),e.Suo(l,Mt,5),e.Suo(l,St,5),e.Suo(l,j,5),e.Suo(l,ht,5)),2&i){let f;e.iGM(f=e.CRH())&&(t._controlNonStatic=f.first),e.iGM(f=e.CRH())&&(t._controlStatic=f.first),e.iGM(f=e.CRH())&&(t._labelChildNonStatic=f.first),e.iGM(f=e.CRH())&&(t._labelChildStatic=f.first),e.iGM(f=e.CRH())&&(t._placeholderChild=f.first),e.iGM(f=e.CRH())&&(t._errorChildren=f),e.iGM(f=e.CRH())&&(t._hintChildren=f),e.iGM(f=e.CRH())&&(t._prefixChildren=f),e.iGM(f=e.CRH())&&(t._suffixChildren=f)}},viewQuery:function(i,t){if(1&i&&(e.Gf(U,7),e.Gf(K,5),e.Gf(J,5)),2&i){let l;e.iGM(l=e.CRH())&&(t._connectionContainerRef=l.first),e.iGM(l=e.CRH())&&(t._inputContainerRef=l.first),e.iGM(l=e.CRH())&&(t._label=l.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(i,t){2&i&&e.ekj("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat())("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:Qt,useExisting:D}]),e.qOj],ngContentSelectors:Tt,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(i,t){1&i&&(e.F$t(Et),e.TgZ(0,"div",0)(1,"div",1,2),e.NdJ("click",function(f){return t._control.onContainerClick&&t._control.onContainerClick(f)}),e.YNc(3,gt,9,0,"ng-container",3),e.YNc(4,ct,2,1,"div",4),e.TgZ(5,"div",5,6),e.Hsn(7),e.TgZ(8,"span",7),e.YNc(9,m,5,16,"label",8),e.qZA()(),e.YNc(10,M,2,0,"div",9),e.qZA(),e.YNc(11,v,2,4,"div",10),e.TgZ(12,"div",11),e.YNc(13,S,2,1,"div",12),e.YNc(14,kt,5,2,"div",13),e.qZA()()),2&i&&(e.xp6(3),e.Q6J("ngIf","outline"==t.appearance),e.xp6(1),e.Q6J("ngIf",t._prefixChildren.length),e.xp6(5),e.Q6J("ngIf",t._hasFloatingLabel()),e.xp6(1),e.Q6J("ngIf",t._suffixChildren.length),e.xp6(1),e.Q6J("ngIf","outline"!=t.appearance),e.xp6(1),e.Q6J("ngSwitch",t._getDisplayedMessages()),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","hint"))},dependencies:[s.O5,s.RF,s.n9,n.wD],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{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-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{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-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{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-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{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-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[W.transitionMessages]},changeDetection:0}),D})(),At=(()=>{class D{}return D.\u0275fac=function(i){return new(i||D)},D.\u0275mod=e.oAB({type:D}),D.\u0275inj=e.cJS({imports:[s.ez,k.BQ,n.Q8,k.BQ]}),D})()},7392:(Vt,bt,a)=>{a.d(bt,{Hw:()=>lt,Ps:()=>St});var n=a(4650),s=a(3238),e=a(1281),k=a(6895),st=a(9646),T=a(2843),vt=a(4128),rt=a(727),Z=a(8505),B=a(4004),C=a(262),L=a(8746),R=a(3099),N=a(5698),U=a(529),K=a(1481);const J=["*"];let gt;function _t(it){return function ct(){if(void 0===gt&&(gt=null,typeof window<"u")){const it=window;void 0!==it.trustedTypes&&(gt=it.trustedTypes.createPolicy("angular#components",{createHTML:Lt=>Lt}))}return gt}()?.createHTML(it)||it}function X(it){return Error(`Unable to find icon with the name "${it}"`)}function m(it){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${it}".`)}function M(it){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${it}".`)}class v{constructor(Lt,P,j){this.url=Lt,this.svgText=P,this.options=j}}let S=(()=>{class it{constructor(P,j,nt,ht){this._httpClient=P,this._sanitizer=j,this._errorHandler=ht,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons"],this._document=nt}addSvgIcon(P,j,nt){return this.addSvgIconInNamespace("",P,j,nt)}addSvgIconLiteral(P,j,nt){return this.addSvgIconLiteralInNamespace("",P,j,nt)}addSvgIconInNamespace(P,j,nt,ht){return this._addSvgIconConfig(P,j,new v(nt,null,ht))}addSvgIconResolver(P){return this._resolvers.push(P),this}addSvgIconLiteralInNamespace(P,j,nt,ht){const xt=this._sanitizer.sanitize(n.q3G.HTML,nt);if(!xt)throw M(nt);const Pt=_t(xt);return this._addSvgIconConfig(P,j,new v("",Pt,ht))}addSvgIconSet(P,j){return this.addSvgIconSetInNamespace("",P,j)}addSvgIconSetLiteral(P,j){return this.addSvgIconSetLiteralInNamespace("",P,j)}addSvgIconSetInNamespace(P,j,nt){return this._addSvgIconSetConfig(P,new v(j,null,nt))}addSvgIconSetLiteralInNamespace(P,j,nt){const ht=this._sanitizer.sanitize(n.q3G.HTML,j);if(!ht)throw M(j);const xt=_t(ht);return this._addSvgIconSetConfig(P,new v("",xt,nt))}registerFontClassAlias(P,j=P){return this._fontCssClassesByAlias.set(P,j),this}classNameForFontAlias(P){return this._fontCssClassesByAlias.get(P)||P}setDefaultFontSetClass(...P){return this._defaultFontSetClass=P,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(P){const j=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,P);if(!j)throw m(P);const nt=this._cachedIconsByUrl.get(j);return nt?(0,st.of)(Et(nt)):this._loadSvgIconFromConfig(new v(P,null)).pipe((0,Z.b)(ht=>this._cachedIconsByUrl.set(j,ht)),(0,B.U)(ht=>Et(ht)))}getNamedSvgIcon(P,j=""){const nt=Tt(j,P);let ht=this._svgIconConfigs.get(nt);if(ht)return this._getSvgFromConfig(ht);if(ht=this._getIconConfigFromResolvers(j,P),ht)return this._svgIconConfigs.set(nt,ht),this._getSvgFromConfig(ht);const xt=this._iconSetConfigs.get(j);return xt?this._getSvgFromIconSetConfigs(P,xt):(0,T._)(X(nt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(P){return P.svgText?(0,st.of)(Et(this._svgElementFromConfig(P))):this._loadSvgIconFromConfig(P).pipe((0,B.U)(j=>Et(j)))}_getSvgFromIconSetConfigs(P,j){const nt=this._extractIconWithNameFromAnySet(P,j);if(nt)return(0,st.of)(nt);const ht=j.filter(xt=>!xt.svgText).map(xt=>this._loadSvgIconSetFromConfig(xt).pipe((0,C.K)(Pt=>{const jt=`Loading icon set URL: ${this._sanitizer.sanitize(n.q3G.RESOURCE_URL,xt.url)} failed: ${Pt.message}`;return this._errorHandler.handleError(new Error(jt)),(0,st.of)(null)})));return(0,vt.D)(ht).pipe((0,B.U)(()=>{const xt=this._extractIconWithNameFromAnySet(P,j);if(!xt)throw X(P);return xt}))}_extractIconWithNameFromAnySet(P,j){for(let nt=j.length-1;nt>=0;nt--){const ht=j[nt];if(ht.svgText&&ht.svgText.toString().indexOf(P)>-1){const xt=this._svgElementFromConfig(ht),Pt=this._extractSvgIconFromSet(xt,P,ht.options);if(Pt)return Pt}}return null}_loadSvgIconFromConfig(P){return this._fetchIcon(P).pipe((0,Z.b)(j=>P.svgText=j),(0,B.U)(()=>this._svgElementFromConfig(P)))}_loadSvgIconSetFromConfig(P){return P.svgText?(0,st.of)(null):this._fetchIcon(P).pipe((0,Z.b)(j=>P.svgText=j))}_extractSvgIconFromSet(P,j,nt){const ht=P.querySelector(`[id="${j}"]`);if(!ht)return null;const xt=ht.cloneNode(!0);if(xt.removeAttribute("id"),"svg"===xt.nodeName.toLowerCase())return this._setSvgAttributes(xt,nt);if("symbol"===xt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(xt),nt);const Pt=this._svgElementFromString(_t("<svg></svg>"));return Pt.appendChild(xt),this._setSvgAttributes(Pt,nt)}_svgElementFromString(P){const j=this._document.createElement("DIV");j.innerHTML=P;const nt=j.querySelector("svg");if(!nt)throw Error("<svg> tag not found");return nt}_toSvgElement(P){const j=this._svgElementFromString(_t("<svg></svg>")),nt=P.attributes;for(let ht=0;ht<nt.length;ht++){const{name:xt,value:Pt}=nt[ht];"id"!==xt&&j.setAttribute(xt,Pt)}for(let ht=0;ht<P.childNodes.length;ht++)P.childNodes[ht].nodeType===this._document.ELEMENT_NODE&&j.appendChild(P.childNodes[ht].cloneNode(!0));return j}_setSvgAttributes(P,j){return P.setAttribute("fit",""),P.setAttribute("height","100%"),P.setAttribute("width","100%"),P.setAttribute("preserveAspectRatio","xMidYMid meet"),P.setAttribute("focusable","false"),j&&j.viewBox&&P.setAttribute("viewBox",j.viewBox),P}_fetchIcon(P){const{url:j,options:nt}=P,ht=nt?.withCredentials??!1;if(!this._httpClient)throw function $(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==j)throw Error(`Cannot fetch icon from URL "${j}".`);const xt=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,j);if(!xt)throw m(j);const Pt=this._inProgressUrlFetches.get(xt);if(Pt)return Pt;const Ut=this._httpClient.get(xt,{responseType:"text",withCredentials:ht}).pipe((0,B.U)(jt=>_t(jt)),(0,L.x)(()=>this._inProgressUrlFetches.delete(xt)),(0,R.B)());return this._inProgressUrlFetches.set(xt,Ut),Ut}_addSvgIconConfig(P,j,nt){return this._svgIconConfigs.set(Tt(P,j),nt),this}_addSvgIconSetConfig(P,j){const nt=this._iconSetConfigs.get(P);return nt?nt.push(j):this._iconSetConfigs.set(P,[j]),this}_svgElementFromConfig(P){if(!P.svgElement){const j=this._svgElementFromString(P.svgText);this._setSvgAttributes(j,P.options),P.svgElement=j}return P.svgElement}_getIconConfigFromResolvers(P,j){for(let nt=0;nt<this._resolvers.length;nt++){const ht=this._resolvers[nt](j,P);if(ht)return Dt(ht)?new v(ht.url,null,ht.options):new v(ht,null)}}}return it.\u0275fac=function(P){return new(P||it)(n.LFG(U.eN,8),n.LFG(K.H7),n.LFG(k.K0,8),n.LFG(n.qLn))},it.\u0275prov=n.Yz7({token:it,factory:it.\u0275fac,providedIn:"root"}),it})();function Et(it){return it.cloneNode(!0)}function Tt(it,Lt){return it+":"+Lt}function Dt(it){return!(!it.url||!it.options)}const Mt=(0,s.pj)(class{constructor(it){this._elementRef=it}}),yt=new n.OlP("MAT_ICON_DEFAULT_OPTIONS"),W=new n.OlP("mat-icon-location",{providedIn:"root",factory:function Y(){const it=(0,n.f3M)(k.K0),Lt=it?it.location:null;return{getPathname:()=>Lt?Lt.pathname+Lt.search:""}}}),ft=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],F=ft.map(it=>`[${it}]`).join(", "),Q=/^url\(['"]?#(.*?)['"]?\)$/;let lt=(()=>{class it extends Mt{constructor(P,j,nt,ht,xt,Pt){super(P),this._iconRegistry=j,this._location=ht,this._errorHandler=xt,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=rt.w0.EMPTY,Pt&&(Pt.color&&(this.color=this.defaultColor=Pt.color),Pt.fontSet&&(this.fontSet=Pt.fontSet)),nt||P.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(P){this._inline=(0,e.Ig)(P)}get svgIcon(){return this._svgIcon}set svgIcon(P){P!==this._svgIcon&&(P?this._updateSvgIcon(P):this._svgIcon&&this._clearSvgElement(),this._svgIcon=P)}get fontSet(){return this._fontSet}set fontSet(P){const j=this._cleanupFontValue(P);j!==this._fontSet&&(this._fontSet=j,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(P){const j=this._cleanupFontValue(P);j!==this._fontIcon&&(this._fontIcon=j,this._updateFontIconClasses())}_splitIconName(P){if(!P)return["",""];const j=P.split(":");switch(j.length){case 1:return["",j[0]];case 2:return j;default:throw Error(`Invalid icon name: "${P}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const P=this._elementsWithExternalReferences;if(P&&P.size){const j=this._location.getPathname();j!==this._previousPath&&(this._previousPath=j,this._prependPathToReferences(j))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(P){this._clearSvgElement();const j=this._location.getPathname();this._previousPath=j,this._cacheChildrenWithExternalReferences(P),this._prependPathToReferences(j),this._elementRef.nativeElement.appendChild(P)}_clearSvgElement(){const P=this._elementRef.nativeElement;let j=P.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();j--;){const nt=P.childNodes[j];(1!==nt.nodeType||"svg"===nt.nodeName.toLowerCase())&&nt.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const P=this._elementRef.nativeElement,j=(this.fontSet?[this._iconRegistry.classNameForFontAlias(this.fontSet)]:this._iconRegistry.getDefaultFontSetClass()).filter(nt=>nt.length>0);this._previousFontSetClass.forEach(nt=>P.classList.remove(nt)),j.forEach(nt=>P.classList.add(nt)),this._previousFontSetClass=j,this.fontIcon!==this._previousFontIconClass&&(this._previousFontIconClass&&P.classList.remove(this._previousFontIconClass),this.fontIcon&&P.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(P){return"string"==typeof P?P.trim().split(" ")[0]:P}_prependPathToReferences(P){const j=this._elementsWithExternalReferences;j&&j.forEach((nt,ht)=>{nt.forEach(xt=>{ht.setAttribute(xt.name,`url('${P}#${xt.value}')`)})})}_cacheChildrenWithExternalReferences(P){const j=P.querySelectorAll(F),nt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let ht=0;ht<j.length;ht++)ft.forEach(xt=>{const Pt=j[ht],Ut=Pt.getAttribute(xt),jt=Ut?Ut.match(Q):null;if(jt){let $t=nt.get(Pt);$t||($t=[],nt.set(Pt,$t)),$t.push({name:xt,value:jt[1]})}})}_updateSvgIcon(P){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),P){const[j,nt]=this._splitIconName(P);j&&(this._svgNamespace=j),nt&&(this._svgName=nt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(nt,j).pipe((0,N.q)(1)).subscribe(ht=>this._setSvgElement(ht),ht=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${j}:${nt}! ${ht.message}`))})}}}return it.\u0275fac=function(P){return new(P||it)(n.Y36(n.SBq),n.Y36(S),n.$8M("aria-hidden"),n.Y36(W),n.Y36(n.qLn),n.Y36(yt,8))},it.\u0275cmp=n.Xpm({type:it,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(P,j){2&P&&(n.uIk("data-mat-icon-type",j._usingFontIcon()?"font":"svg")("data-mat-icon-name",j._svgName||j.fontIcon)("data-mat-icon-namespace",j._svgNamespace||j.fontSet),n.ekj("mat-icon-inline",j.inline)("mat-icon-no-color","primary"!==j.color&&"accent"!==j.color&&"warn"!==j.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.qOj],ngContentSelectors:J,decls:1,vars:0,template:function(P,j){1&P&&(n.F$t(),n.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),it})(),St=(()=>{class it{}return it.\u0275fac=function(P){return new(P||it)},it.\u0275mod=n.oAB({type:it}),it.\u0275inj=n.cJS({imports:[s.BQ,s.BQ]}),it})()},4144:(Vt,bt,a)=>{a.d(bt,{Jk:()=>U,Nt:()=>ct,c:()=>_t});var n=a(1281),s=a(3353),e=a(4650),k=a(515),st=a(7579);const T=(0,s.i$)({passive:!0});let vt=(()=>{class X{constructor(m,M){this._platform=m,this._ngZone=M,this._monitoredElements=new Map}monitor(m){if(!this._platform.isBrowser)return k.E;const M=(0,n.fI)(m),v=this._monitoredElements.get(M);if(v)return v.subject;const S=new st.x,dt="cdk-text-field-autofilled",kt=Et=>{"cdk-text-field-autofill-start"!==Et.animationName||M.classList.contains(dt)?"cdk-text-field-autofill-end"===Et.animationName&&M.classList.contains(dt)&&(M.classList.remove(dt),this._ngZone.run(()=>S.next({target:Et.target,isAutofilled:!1}))):(M.classList.add(dt),this._ngZone.run(()=>S.next({target:Et.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{M.addEventListener("animationstart",kt,T),M.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(M,{subject:S,unlisten:()=>{M.removeEventListener("animationstart",kt,T)}}),S}stopMonitoring(m){const M=(0,n.fI)(m),v=this._monitoredElements.get(M);v&&(v.unlisten(),v.subject.complete(),M.classList.remove("cdk-text-field-autofill-monitored"),M.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(M))}ngOnDestroy(){this._monitoredElements.forEach((m,M)=>this.stopMonitoring(M))}}return X.\u0275fac=function(m){return new(m||X)(e.LFG(s.t4),e.LFG(e.R0b))},X.\u0275prov=e.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),B=(()=>{class X{}return X.\u0275fac=function(m){return new(m||X)},X.\u0275mod=e.oAB({type:X}),X.\u0275inj=e.cJS({}),X})();var C=a(4006),L=a(3238),R=a(9549);const U=new e.OlP("MAT_INPUT_VALUE_ACCESSOR"),K=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let J=0;const gt=(0,L.FD)(class{constructor(X,$,m,M){this._defaultErrorStateMatcher=X,this._parentForm=$,this._parentFormGroup=m,this.ngControl=M,this.stateChanges=new st.x}});let ct=(()=>{class X extends gt{constructor(m,M,v,S,dt,kt,Et,Tt,Dt,Mt){super(kt,S,dt,v),this._elementRef=m,this._platform=M,this._autofillMonitor=Tt,this._formField=Mt,this._uid="mat-input-"+J++,this.focused=!1,this.stateChanges=new st.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Y=>(0,s.qK)().has(Y)),this._iOSKeyupListener=Y=>{const ft=Y.target;!ft.value&&0===ft.selectionStart&&0===ft.selectionEnd&&(ft.setSelectionRange(1,1),ft.setSelectionRange(0,0))};const yt=this._elementRef.nativeElement,W=yt.nodeName.toLowerCase();this._inputValueAccessor=Et||yt,this._previousNativeValue=this.value,this.id=this.id,M.IOS&&Dt.runOutsideAngular(()=>{m.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===W,this._isTextarea="textarea"===W,this._isInFormField=!!Mt,this._isNativeSelect&&(this.controlType=yt.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(m){this._disabled=(0,n.Ig)(m),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(m){this._id=m||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(C.kI.required)??!1}set required(m){this._required=(0,n.Ig)(m)}get type(){return this._type}set type(m){this._type=m||"text",this._validateType(),!this._isTextarea&&(0,s.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(m){m!==this.value&&(this._inputValueAccessor.value=m,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(m){this._readonly=(0,n.Ig)(m)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(m=>{this.autofilled=m.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(m){this._elementRef.nativeElement.focus(m)}_focusChanged(m){m!==this.focused&&(this.focused=m,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){const m=this._formField,M=m&&"legacy"===m.appearance&&!m._hasLabel?.()?null:this.placeholder;if(M!==this._previousPlaceholder){const v=this._elementRef.nativeElement;this._previousPlaceholder=M,M?v.setAttribute("placeholder",M):v.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const m=this._elementRef.nativeElement.value;this._previousNativeValue!==m&&(this._previousNativeValue=m,this.stateChanges.next())}_validateType(){K.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let m=this._elementRef.nativeElement.validity;return m&&m.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const m=this._elementRef.nativeElement,M=m.options[0];return this.focused||m.multiple||!this.empty||!!(m.selectedIndex>-1&&M&&M.label)}return this.focused||!this.empty}setDescribedByIds(m){m.length?this._elementRef.nativeElement.setAttribute("aria-describedby",m.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const m=this._elementRef.nativeElement;return this._isNativeSelect&&(m.multiple||m.size>1)}}return X.\u0275fac=function(m){return new(m||X)(e.Y36(e.SBq),e.Y36(s.t4),e.Y36(C.a5,10),e.Y36(C.F,8),e.Y36(C.sg,8),e.Y36(L.rD),e.Y36(U,10),e.Y36(vt),e.Y36(e.R0b),e.Y36(R.G_,8))},X.\u0275dir=e.lG2({type:X,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(m,M){1&m&&e.NdJ("focus",function(){return M._focusChanged(!0)})("blur",function(){return M._focusChanged(!1)})("input",function(){return M._onInput()}),2&m&&(e.Ikx("disabled",M.disabled)("required",M.required),e.uIk("id",M.id)("data-placeholder",M.placeholder)("name",M.name||null)("readonly",M.readonly&&!M._isNativeSelect||null)("aria-invalid",M.empty&&M.required?null:M.errorState)("aria-required",M.required),e.ekj("mat-input-server",M._isServer)("mat-native-select-inline",M._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[e._Bn([{provide:R.Eo,useExisting:X}]),e.qOj,e.TTD]}),X})(),_t=(()=>{class X{}return X.\u0275fac=function(m){return new(m||X)},X.\u0275mod=e.oAB({type:X}),X.\u0275inj=e.cJS({providers:[L.rD],imports:[B,R.lN,L.BQ,B,R.lN]}),X})()},1948:(Vt,bt,a)=>{a.d(bt,{Fk:()=>$,U0:()=>X,VQ:()=>J});var n=a(4650),s=a(3238),e=a(2687),k=a(1281),st=a(5017),T=a(4006);const vt=["input"],rt=function(m){return{enterDuration:m}},Z=["*"],B=new n.OlP("mat-radio-default-options",{providedIn:"root",factory:function C(){return{color:"accent"}}});let L=0;const R={provide:T.JU,useExisting:(0,n.Gpc)(()=>J),multi:!0};class N{constructor(M,v){this.source=M,this.value=v}}const U=new n.OlP("MatRadioGroup");let K=(()=>{class m{constructor(v){this._changeDetector=v,this._value=null,this._name="mat-radio-group-"+L++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.vpe}get name(){return this._name}set name(v){this._name=v,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(v){this._labelPosition="before"===v?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(v){this._value!==v&&(this._value=v,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(v){this._selected=v,this.value=v?v.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(v){this._disabled=(0,k.Ig)(v),this._markRadiosForCheck()}get required(){return this._required}set required(v){this._required=(0,k.Ig)(v),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(v=>{v.name=this.name,v._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(S=>{S.checked=this.value===S.value,S.checked&&(this._selected=S)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new N(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(v=>v._markForCheck())}writeValue(v){this.value=v,this._changeDetector.markForCheck()}registerOnChange(v){this._controlValueAccessorChangeFn=v}registerOnTouched(v){this.onTouched=v}setDisabledState(v){this.disabled=v,this._changeDetector.markForCheck()}}return m.\u0275fac=function(v){return new(v||m)(n.Y36(n.sBO))},m.\u0275dir=n.lG2({type:m,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),m})(),J=(()=>{class m extends K{}return m.\u0275fac=function(){let M;return function(S){return(M||(M=n.n5z(m)))(S||m)}}(),m.\u0275dir=n.lG2({type:m,selectors:[["mat-radio-group"]],contentQueries:function(v,S,dt){if(1&v&&n.Suo(dt,X,5),2&v){let kt;n.iGM(kt=n.CRH())&&(S._radios=kt)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[n._Bn([R,{provide:U,useExisting:m}]),n.qOj]}),m})();class gt{constructor(M){this._elementRef=M}}const ct=(0,s.Kr)((0,s.sb)(gt));let _t=(()=>{class m extends ct{constructor(v,S,dt,kt,Et,Tt,Dt,Mt){super(S),this._changeDetector=dt,this._focusMonitor=kt,this._radioDispatcher=Et,this._providerOverride=Dt,this._uniqueId="mat-radio-"+ ++L,this.id=this._uniqueId,this.change=new n.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=v,this._noopAnimations="NoopAnimations"===Tt,Mt&&(this.tabIndex=(0,k.su)(Mt,0)),this._removeUniqueSelectionListener=Et.listen((yt,W)=>{yt!==this.id&&W===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(v){const S=(0,k.Ig)(v);this._checked!==S&&(this._checked=S,S&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!S&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),S&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(v){this._value!==v&&(this._value=v,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===v),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(v){this._labelPosition=v}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(v){this._setDisabled((0,k.Ig)(v))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(v){this._required=(0,k.Ig)(v)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(v){this._color=v}get inputId(){return`${this.id||this._uniqueId}-input`}focus(v,S){S?this._focusMonitor.focusVia(this._inputElement,S,v):this._inputElement.nativeElement.focus(v)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(v=>{!v&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new N(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(v){v.stopPropagation()}_onInputInteraction(v){if(v.stopPropagation(),!this.checked&&!this.disabled){const S=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),S&&this.radioGroup._emitChangeEvent())}}_setDisabled(v){this._disabled!==v&&(this._disabled=v,this._changeDetector.markForCheck())}_updateTabIndex(){const v=this.radioGroup;let S;if(S=v&&v.selected&&!this.disabled?v.selected===this?this.tabIndex:-1:this.tabIndex,S!==this._previousTabIndex){const dt=this._inputElement?.nativeElement;dt&&(dt.setAttribute("tabindex",S+""),this._previousTabIndex=S)}}}return m.\u0275fac=function(v){n.$Z()},m.\u0275dir=n.lG2({type:m,viewQuery:function(v,S){if(1&v&&n.Gf(vt,5),2&v){let dt;n.iGM(dt=n.CRH())&&(S._inputElement=dt.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[n.qOj]}),m})(),X=(()=>{class m extends _t{constructor(v,S,dt,kt,Et,Tt,Dt,Mt){super(v,S,dt,kt,Et,Tt,Dt,Mt)}}return m.\u0275fac=function(v){return new(v||m)(n.Y36(U,8),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(e.tE),n.Y36(st.A8),n.Y36(n.QbO,8),n.Y36(B,8),n.$8M("tabindex"))},m.\u0275cmp=n.Xpm({type:m,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(v,S){1&v&&n.NdJ("focus",function(){return S._inputElement.nativeElement.focus()}),2&v&&(n.uIk("tabindex",null)("id",S.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.ekj("mat-radio-checked",S.checked)("mat-radio-disabled",S.disabled)("_mat-animation-noopable",S._noopAnimations)("mat-primary","primary"===S.color)("mat-accent","accent"===S.color)("mat-warn","warn"===S.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[n.qOj],ngContentSelectors:Z,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(v,S){if(1&v&&(n.F$t(),n.TgZ(0,"label",0,1)(2,"span",2),n._UZ(3,"span",3)(4,"span",4),n.TgZ(5,"input",5,6),n.NdJ("change",function(kt){return S._onInputInteraction(kt)})("click",function(kt){return S._onInputClick(kt)}),n.qZA(),n.TgZ(7,"span",7),n._UZ(8,"span",8),n.qZA()(),n.TgZ(9,"span",9)(10,"span",10),n._uU(11,"\xa0"),n.qZA(),n.Hsn(12),n.qZA()()),2&v){const dt=n.MAs(1);n.uIk("for",S.inputId),n.xp6(5),n.Q6J("id",S.inputId)("checked",S.checked)("disabled",S.disabled)("required",S.required),n.uIk("name",S.name)("value",S.value)("aria-label",S.ariaLabel)("aria-labelledby",S.ariaLabelledby)("aria-describedby",S.ariaDescribedby),n.xp6(2),n.Q6J("matRippleTrigger",dt)("matRippleDisabled",S._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.VKq(17,rt,S._noopAnimations?0:150)),n.xp6(2),n.ekj("mat-radio-label-before","before"==S.labelPosition)}},dependencies:[s.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}"],encapsulation:2,changeDetection:0}),m})(),$=(()=>{class m{}return m.\u0275fac=function(v){return new(v||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({imports:[s.si,s.BQ,s.BQ]}),m})()},4385:(Vt,bt,a)=>{a.d(bt,{LD:()=>te,gD:()=>Qt});var n=a(2561),s=a(6895),e=a(4650),k=a(3238),st=a(9549),T=a(7376),vt=a(2687),rt=a(445),Z=a(1281),B=a(5017),C=a(9521),L=a(4006),R=a(7579),N=a(9770),U=a(6451),K=a(8675),J=a(3900),gt=a(5698),ct=a(9300),_t=a(4004),X=a(1884),$=a(2722),m=a(7340);const M=["trigger"],v=["panel"];function S(At,D){if(1&At&&(e.TgZ(0,"span",8),e._uU(1),e.qZA()),2&At){const u=e.oxw();e.xp6(1),e.Oqu(u.placeholder)}}function dt(At,D){if(1&At&&(e.TgZ(0,"span",12),e._uU(1),e.qZA()),2&At){const u=e.oxw(2);e.xp6(1),e.Oqu(u.triggerValue)}}function kt(At,D){1&At&&e.Hsn(0,0,["*ngSwitchCase","true"])}function Et(At,D){if(1&At&&(e.TgZ(0,"span",9),e.YNc(1,dt,2,1,"span",10),e.YNc(2,kt,1,0,"ng-content",11),e.qZA()),2&At){const u=e.oxw();e.Q6J("ngSwitch",!!u.customTrigger),e.xp6(2),e.Q6J("ngSwitchCase",!0)}}function Tt(At,D){if(1&At){const u=e.EpF();e.TgZ(0,"div",13)(1,"div",14,15),e.NdJ("@transformPanel.done",function(t){e.CHM(u);const l=e.oxw();return e.KtG(l._panelDoneAnimatingStream.next(t.toState))})("keydown",function(t){e.CHM(u);const l=e.oxw();return e.KtG(l._handleKeydown(t))}),e.Hsn(3,1),e.qZA()()}if(2&At){const u=e.oxw();e.Q6J("@transformPanelWrap",void 0),e.xp6(1),e.Gre("mat-select-panel ",u._getPanelTheme(),""),e.Udp("transform-origin",u._transformOrigin)("font-size",u._triggerFontSize,"px"),e.Q6J("ngClass",u.panelClass)("@transformPanel",u.multiple?"showing-multiple":"showing"),e.uIk("id",u.id+"-panel")("aria-multiselectable",u.multiple)("aria-label",u.ariaLabel||null)("aria-labelledby",u._getPanelAriaLabelledby())}}const Dt=[[["mat-select-trigger"]],"*"],Mt=["mat-select-trigger","*"],yt={transformPanelWrap:(0,m.X$)("transformPanelWrap",[(0,m.eR)("* => void",(0,m.IO)("@transformPanel",[(0,m.pV)()],{optional:!0}))]),transformPanel:(0,m.X$)("transformPanel",[(0,m.SB)("void",(0,m.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,m.SB)("showing",(0,m.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,m.SB)("showing-multiple",(0,m.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,m.eR)("void => *",(0,m.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,m.eR)("* => void",(0,m.jt)("100ms 25ms linear",(0,m.oB)({opacity:0})))])};let F=0;const Q=256,j=new e.OlP("mat-select-scroll-strategy"),ht=new e.OlP("MAT_SELECT_CONFIG"),xt={provide:j,deps:[n.aV],useFactory:function nt(At){return()=>At.scrollStrategies.reposition()}};class Pt{constructor(D,u){this.source=D,this.value=u}}const Ut=(0,k.Kr)((0,k.sb)((0,k.Id)((0,k.FD)(class{constructor(At,D,u,i,t){this._elementRef=At,this._defaultErrorStateMatcher=D,this._parentForm=u,this._parentFormGroup=i,this.ngControl=t,this.stateChanges=new R.x}})))),jt=new e.OlP("MatSelectTrigger");let Xt=(()=>{class At extends Ut{constructor(u,i,t,l,f,x,I,et,Ct,wt,Ft,Ot,Nt,Yt){super(f,l,I,et,wt),this._viewportRuler=u,this._changeDetectorRef=i,this._ngZone=t,this._dir=x,this._parentFormField=Ct,this._liveAnnouncer=Nt,this._defaultOptions=Yt,this._panelOpen=!1,this._compareWith=(zt,Gt)=>zt===Gt,this._uid="mat-select-"+F++,this._triggerAriaLabelledBy=null,this._destroy=new R.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+F++,this._panelDoneAnimatingStream=new R.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,N.P)(()=>{const zt=this.options;return zt?zt.changes.pipe((0,K.O)(zt),(0,J.w)(()=>(0,U.T)(...zt.map(Gt=>Gt.onSelectionChange)))):this._ngZone.onStable.pipe((0,gt.q)(1),(0,J.w)(()=>this.optionSelectionChanges))}),this.openedChange=new e.vpe,this._openedStream=this.openedChange.pipe((0,ct.h)(zt=>zt),(0,_t.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,ct.h)(zt=>!zt),(0,_t.U)(()=>{})),this.selectionChange=new e.vpe,this.valueChange=new e.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=Yt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Yt.typeaheadDebounceInterval),this._scrollStrategyFactory=Ot,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Ft)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(u){this._placeholder=u,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(L.kI.required)??!1}set required(u){this._required=(0,Z.Ig)(u),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(u){this._multiple=(0,Z.Ig)(u)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(u){this._disableOptionCentering=(0,Z.Ig)(u)}get compareWith(){return this._compareWith}set compareWith(u){this._compareWith=u,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(u){this._assignValue(u)&&this._onChange(u)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(u){this._typeaheadDebounceInterval=(0,Z.su)(u)}get id(){return this._id}set id(u){this._id=u||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new B.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,X.x)(),(0,$.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,$.R)(this._destroy)).subscribe(u=>{u.added.forEach(i=>i.select()),u.removed.forEach(i=>i.deselect())}),this.options.changes.pipe((0,K.O)(null),(0,$.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const u=this._getTriggerAriaLabelledby(),i=this.ngControl;if(u!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=u,u?t.setAttribute("aria-labelledby",u):t.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(u){(u.disabled||u.userAriaDescribedBy)&&this.stateChanges.next(),u.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(u){this._assignValue(u)}registerOnChange(u){this._onChange=u}registerOnTouched(u){this._onTouched=u}setDisabledState(u){this.disabled=u,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const u=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&u.reverse(),u.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(u){this.disabled||(this.panelOpen?this._handleOpenKeydown(u):this._handleClosedKeydown(u))}_handleClosedKeydown(u){const i=u.keyCode,t=i===C.JH||i===C.LH||i===C.oh||i===C.SV,l=i===C.K5||i===C.L_,f=this._keyManager;if(!f.isTyping()&&l&&!(0,C.Vb)(u)||(this.multiple||u.altKey)&&t)u.preventDefault(),this.open();else if(!this.multiple){const x=this.selected;f.onKeydown(u);const I=this.selected;I&&x!==I&&this._liveAnnouncer.announce(I.viewValue,1e4)}}_handleOpenKeydown(u){const i=this._keyManager,t=u.keyCode,l=t===C.JH||t===C.LH,f=i.isTyping();if(l&&u.altKey)u.preventDefault(),this.close();else if(f||t!==C.K5&&t!==C.L_||!i.activeItem||(0,C.Vb)(u))if(!f&&this._multiple&&t===C.A&&u.ctrlKey){u.preventDefault();const x=this.options.some(I=>!I.disabled&&!I.selected);this.options.forEach(I=>{I.disabled||(x?I.select():I.deselect())})}else{const x=i.activeItemIndex;i.onKeydown(u),this._multiple&&l&&u.shiftKey&&i.activeItem&&i.activeItemIndex!==x&&i.activeItem._selectViaInteraction()}else u.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,gt.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(u){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&u)Array.isArray(u),u.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(u);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(u){const i=this.options.find(t=>{if(this._selectionModel.isSelected(t))return!1;try{return null!=t.value&&this._compareWith(t.value,u)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(u){return!!(u!==this._value||this._multiple&&Array.isArray(u))&&(this.options&&this._setSelectionByValue(u),this._value=u,!0)}_initKeyManager(){this._keyManager=new vt.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,$.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,$.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const u=(0,U.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,$.R)(u)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,U.T)(...this.options.map(i=>i._stateChanges)).pipe((0,$.R)(u)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(u,i){const t=this._selectionModel.isSelected(u);null!=u.value||this._multiple?(t!==u.selected&&(u.selected?this._selectionModel.select(u):this._selectionModel.deselect(u)),i&&this._keyManager.setActiveItem(u),this.multiple&&(this._sortValues(),i&&this.focus())):(u.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(u.value)),t!==this._selectionModel.isSelected(u)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const u=this.options.toArray();this._selectionModel.sort((i,t)=>this.sortComparator?this.sortComparator(i,t,u):u.indexOf(i)-u.indexOf(t)),this.stateChanges.next()}}_propagateChanges(u){let i=null;i=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:u,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(u){this._elementRef.nativeElement.focus(u)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const u=this._parentFormField?.getLabelId();return this.ariaLabelledby?(u?u+" ":"")+this.ariaLabelledby:u}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const u=this._parentFormField?.getLabelId();let i=(u?u+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(u){this.openedChange.emit(u)}setDescribedByIds(u){u.length?this._elementRef.nativeElement.setAttribute("aria-describedby",u.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return At.\u0275fac=function(u){return new(u||At)(e.Y36(T.rL),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(k.rD),e.Y36(e.SBq),e.Y36(rt.Is,8),e.Y36(L.F,8),e.Y36(L.sg,8),e.Y36(st.G_,8),e.Y36(L.a5,10),e.$8M("tabindex"),e.Y36(j),e.Y36(vt.Kd),e.Y36(ht,8))},At.\u0275dir=e.lG2({type:At,viewQuery:function(u,i){if(1&u&&(e.Gf(M,5),e.Gf(v,5),e.Gf(n.pI,5)),2&u){let t;e.iGM(t=e.CRH())&&(i.trigger=t.first),e.iGM(t=e.CRH())&&(i.panel=t.first),e.iGM(t=e.CRH())&&(i._overlayDir=t.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[e.qOj,e.TTD]}),At})(),Qt=(()=>{class At extends Xt{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(u,i,t){const l=this._getItemHeight();return Math.min(Math.max(0,l*u-i+l/2),t)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,$.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,gt.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(u){const i=(0,k.CB)(u,this.options,this.optionGroups),t=this._getItemHeight();this.panel.nativeElement.scrollTop=0===u&&1===i?0:(0,k.jH)((u+i)*t,t,this.panel.nativeElement.scrollTop,Q)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(u){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(u)}_getChangeEvent(u){return new Pt(this,u)}_calculateOverlayOffsetX(){const u=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),t=this._isRtl(),l=this.multiple?56:32;let f;if(this.multiple)f=40;else if(this.disableOptionCentering)f=16;else{let et=this._selectionModel.selected[0]||this.options.first;f=et&&et.group?32:16}t||(f*=-1);const x=0-(u.left+f-(t?l:0)),I=u.right+f-i.width+(t?0:l);x>0?f+=x+8:I>0&&(f-=I+8),this._overlayDir.offsetX=Math.round(f),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(u,i,t){const l=this._getItemHeight(),f=(l-this._triggerRect.height)/2,x=Math.floor(Q/l);let I;return this.disableOptionCentering?0:(I=0===this._scrollTop?u*l:this._scrollTop===t?(u-(this._getItemCount()-x))*l+(l-(this._getItemCount()*l-Q)%l):i-l/2,Math.round(-1*I-f))}_checkOverlayWithinViewport(u){const i=this._getItemHeight(),t=this._viewportRuler.getViewportSize(),l=this._triggerRect.top-8,f=t.height-this._triggerRect.bottom-8,x=Math.abs(this._offsetY),et=Math.min(this._getItemCount()*i,Q)-x-this._triggerRect.height;et>f?this._adjustPanelUp(et,f):x>l?this._adjustPanelDown(x,l,u):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(u,i){const t=Math.round(u-i);this._scrollTop-=t,this._offsetY-=t,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(u,i,t){const l=Math.round(u-i);if(this._scrollTop+=l,this._offsetY+=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=t)return this._scrollTop=t,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const u=this._getItemHeight(),i=this._getItemCount(),t=Math.min(i*u,Q),f=i*u-t;let x;x=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),x+=(0,k.CB)(x,this.options,this.optionGroups);const I=t/2;this._scrollTop=this._calculateOverlayScroll(x,I,f),this._offsetY=this._calculateOverlayOffsetY(x,I,f),this._checkOverlayWithinViewport(f)}_getOriginBasedOnOption(){const u=this._getItemHeight(),i=(u-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+u/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return At.\u0275fac=function(){let D;return function(i){return(D||(D=e.n5z(At)))(i||At)}}(),At.\u0275cmp=e.Xpm({type:At,selectors:[["mat-select"]],contentQueries:function(u,i,t){if(1&u&&(e.Suo(t,jt,5),e.Suo(t,k.ey,5),e.Suo(t,k.K7,5)),2&u){let l;e.iGM(l=e.CRH())&&(i.customTrigger=l.first),e.iGM(l=e.CRH())&&(i.options=l),e.iGM(l=e.CRH())&&(i.optionGroups=l)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(u,i){1&u&&e.NdJ("keydown",function(l){return i._handleKeydown(l)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&u&&(e.uIk("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),e.ekj("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[e._Bn([{provide:st.Eo,useExisting:At},{provide:k.HF,useExisting:At}]),e.qOj],ngContentSelectors:Mt,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(u,i){if(1&u&&(e.F$t(Dt),e.TgZ(0,"div",0,1),e.NdJ("click",function(){return i.toggle()}),e.TgZ(3,"div",2),e.YNc(4,S,2,1,"span",3),e.YNc(5,Et,3,2,"span",4),e.qZA(),e.TgZ(6,"div",5),e._UZ(7,"div",6),e.qZA()(),e.YNc(8,Tt,4,14,"ng-template",7),e.NdJ("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&u){const t=e.MAs(1);e.uIk("aria-owns",i.panelOpen?i.id+"-panel":null),e.xp6(3),e.Q6J("ngSwitch",i.empty),e.uIk("id",i._valueId),e.xp6(1),e.Q6J("ngSwitchCase",!0),e.xp6(1),e.Q6J("ngSwitchCase",!1),e.xp6(3),e.Q6J("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[s.mk,s.RF,s.n9,s.ED,n.pI,n.xu],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[yt.transformPanelWrap,yt.transformPanel]},changeDetection:0}),At})(),te=(()=>{class At{}return At.\u0275fac=function(u){return new(u||At)},At.\u0275mod=e.oAB({type:At}),At.\u0275inj=e.cJS({providers:[xt],imports:[s.ez,n.U8,k.Ng,k.BQ,T.ZD,st.lN,k.Ng,k.BQ]}),At})()},266:(Vt,bt,a)=>{a.d(bt,{AV:()=>yt,gM:()=>Tt});var n=a(2561),s=a(2687),e=a(6895),k=a(4650),st=a(3238),T=a(7376),vt=a(445),rt=a(1281),Z=a(9521),B=a(2289),C=a(3353),L=a(4080),R=a(7579),N=a(2722),U=a(5698);a(7340);const J=["tooltip"],_t="tooltip-panel",X=(0,C.i$)({passive:!0}),M=new k.OlP("mat-tooltip-scroll-strategy"),S={provide:M,deps:[n.aV],useFactory:function v(Y){return()=>Y.scrollStrategies.reposition({scrollThrottle:20})}},dt=new k.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function kt(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Et=(()=>{class Y{constructor(F,Q,lt,St,it,Lt,P,j,nt,ht,xt,Pt){this._overlay=F,this._elementRef=Q,this._scrollDispatcher=lt,this._viewContainerRef=St,this._ngZone=it,this._platform=Lt,this._ariaDescriber=P,this._focusMonitor=j,this._dir=ht,this._defaultOptions=xt,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new R.x,this._scrollStrategy=nt,this._document=Pt,xt&&(xt.position&&(this.position=xt.position),xt.touchGestures&&(this.touchGestures=xt.touchGestures)),ht.change.pipe((0,N.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(F){F!==this._position&&(this._position=F,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(F){this._disabled=(0,rt.Ig)(F),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(F){this._showDelay=(0,rt.su)(F)}get hideDelay(){return this._hideDelay}set hideDelay(F){this._hideDelay=(0,rt.su)(F),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(F){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=F?String(F).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(F){this._tooltipClass=F,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,N.R)(this._destroyed)).subscribe(F=>{F?"keyboard"===F&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const F=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Q,lt])=>{F.removeEventListener(Q,lt,X)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(F,this.message,"tooltip"),this._focusMonitor.stopMonitoring(F)}show(F=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const Q=this._createOverlay();this._detach(),this._portal=this._portal||new L.C5(this._tooltipComponent,this._viewContainerRef);const lt=this._tooltipInstance=Q.attach(this._portal).instance;lt._triggerElement=this._elementRef.nativeElement,lt._mouseLeaveHideDelay=this._hideDelay,lt.afterHidden().pipe((0,N.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),lt.show(F)}hide(F=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(F)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const F=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Q=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(F);return Q.positionChanges.pipe((0,N.R)(this._destroyed)).subscribe(lt=>{this._updateCurrentPositionClass(lt.connectionPair),this._tooltipInstance&&lt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Q,panelClass:`${this._cssClassPrefix}-${_t}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,N.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,N.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,N.R)(this._destroyed)).subscribe(lt=>{this._isTooltipVisible()&&lt.keyCode===Z.hY&&!(0,Z.Vb)(lt)&&(lt.preventDefault(),lt.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(F){const Q=F.getConfig().positionStrategy,lt=this._getOrigin(),St=this._getOverlayPosition();Q.withPositions([this._addOffset({...lt.main,...St.main}),this._addOffset({...lt.fallback,...St.fallback})])}_addOffset(F){return F}_getOrigin(){const F=!this._dir||"ltr"==this._dir.value,Q=this.position;let lt;"above"==Q||"below"==Q?lt={originX:"center",originY:"above"==Q?"top":"bottom"}:"before"==Q||"left"==Q&&F||"right"==Q&&!F?lt={originX:"start",originY:"center"}:("after"==Q||"right"==Q&&F||"left"==Q&&!F)&&(lt={originX:"end",originY:"center"});const{x:St,y:it}=this._invertPosition(lt.originX,lt.originY);return{main:lt,fallback:{originX:St,originY:it}}}_getOverlayPosition(){const F=!this._dir||"ltr"==this._dir.value,Q=this.position;let lt;"above"==Q?lt={overlayX:"center",overlayY:"bottom"}:"below"==Q?lt={overlayX:"center",overlayY:"top"}:"before"==Q||"left"==Q&&F||"right"==Q&&!F?lt={overlayX:"end",overlayY:"center"}:("after"==Q||"right"==Q&&F||"left"==Q&&!F)&&(lt={overlayX:"start",overlayY:"center"});const{x:St,y:it}=this._invertPosition(lt.overlayX,lt.overlayY);return{main:lt,fallback:{overlayX:St,overlayY:it}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,U.q)(1),(0,N.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(F){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=F,this._tooltipInstance._markForCheck())}_invertPosition(F,Q){return"above"===this.position||"below"===this.position?"top"===Q?Q="bottom":"bottom"===Q&&(Q="top"):"end"===F?F="start":"start"===F&&(F="end"),{x:F,y:Q}}_updateCurrentPositionClass(F){const{overlayY:Q,originX:lt,originY:St}=F;let it;if(it="center"===Q?this._dir&&"rtl"===this._dir.value?"end"===lt?"left":"right":"start"===lt?"left":"right":"bottom"===Q&&"top"===St?"above":"below",it!==this._currentPosition){const Lt=this._overlayRef;if(Lt){const P=`${this._cssClassPrefix}-${_t}-`;Lt.removePanelClass(P+this._currentPosition),Lt.addPanelClass(P+it)}this._currentPosition=it}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const F=[];if(this._platformSupportsMouseEvents())F.push(["mouseleave",Q=>{const lt=Q.relatedTarget;(!lt||!this._overlayRef?.overlayElement.contains(lt))&&this.hide()}],["wheel",Q=>this._wheelListener(Q)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Q=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};F.push(["touchend",Q],["touchcancel",Q])}this._addListeners(F),this._passiveListeners.push(...F)}_addListeners(F){F.forEach(([Q,lt])=>{this._elementRef.nativeElement.addEventListener(Q,lt,X)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(F){if(this._isTooltipVisible()){const Q=this._document.elementFromPoint(F.clientX,F.clientY),lt=this._elementRef.nativeElement;Q!==lt&&!lt.contains(Q)&&this.hide()}}_disableNativeGesturesIfNecessary(){const F=this.touchGestures;if("off"!==F){const Q=this._elementRef.nativeElement,lt=Q.style;("on"===F||"INPUT"!==Q.nodeName&&"TEXTAREA"!==Q.nodeName)&&(lt.userSelect=lt.msUserSelect=lt.webkitUserSelect=lt.MozUserSelect="none"),("on"===F||!Q.draggable)&&(lt.webkitUserDrag="none"),lt.touchAction="none",lt.webkitTapHighlightColor="transparent"}}}return Y.\u0275fac=function(F){k.$Z()},Y.\u0275dir=k.lG2({type:Y,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),Y})(),Tt=(()=>{class Y extends Et{constructor(F,Q,lt,St,it,Lt,P,j,nt,ht,xt,Pt){super(F,Q,lt,St,it,Lt,P,j,nt,ht,xt,Pt),this._tooltipComponent=Mt}}return Y.\u0275fac=function(F){return new(F||Y)(k.Y36(n.aV),k.Y36(k.SBq),k.Y36(T.mF),k.Y36(k.s_b),k.Y36(k.R0b),k.Y36(C.t4),k.Y36(s.$s),k.Y36(s.tE),k.Y36(M),k.Y36(vt.Is,8),k.Y36(dt,8),k.Y36(e.K0))},Y.\u0275dir=k.lG2({type:Y,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[k.qOj]}),Y})(),Dt=(()=>{class Y{constructor(F,Q){this._changeDetectorRef=F,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R.x,this._animationsDisabled="NoopAnimations"===Q}show(F){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},F)}hide(F){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},F)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:F}){(!F||!this._triggerElement.contains(F))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:F}){(F===this._showAnimation||F===this._hideAnimation)&&this._finalizeAnimation(F===this._showAnimation)}_finalizeAnimation(F){F?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(F){const Q=this._tooltip.nativeElement,lt=this._showAnimation,St=this._hideAnimation;if(Q.classList.remove(F?St:lt),Q.classList.add(F?lt:St),this._isVisible=F,F&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const it=getComputedStyle(Q);("0s"===it.getPropertyValue("animation-duration")||"none"===it.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}F&&this._onShow(),this._animationsDisabled&&(Q.classList.add("_mat-animation-noopable"),this._finalizeAnimation(F))}}return Y.\u0275fac=function(F){return new(F||Y)(k.Y36(k.sBO),k.Y36(k.QbO,8))},Y.\u0275dir=k.lG2({type:Y}),Y})(),Mt=(()=>{class Y extends Dt{constructor(F,Q,lt){super(F,lt),this._breakpointObserver=Q,this._isHandset=this._breakpointObserver.observe(B.u3.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return Y.\u0275fac=function(F){return new(F||Y)(k.Y36(k.sBO),k.Y36(B.Yg),k.Y36(k.QbO,8))},Y.\u0275cmp=k.Xpm({type:Y,selectors:[["mat-tooltip-component"]],viewQuery:function(F,Q){if(1&F&&k.Gf(J,7),2&F){let lt;k.iGM(lt=k.CRH())&&(Q._tooltip=lt.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(F,Q){1&F&&k.NdJ("mouseleave",function(St){return Q._handleMouseLeave(St)}),2&F&&k.Udp("zoom",Q.isVisible()?1:null)},features:[k.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(F,Q){if(1&F&&(k.TgZ(0,"div",0,1),k.NdJ("animationend",function(St){return Q._handleAnimationEnd(St)}),k.ALo(2,"async"),k._uU(3),k.qZA()),2&F){let lt;k.ekj("mat-tooltip-handset",null==(lt=k.lcZ(2,4,Q._isHandset))?null:lt.matches),k.Q6J("ngClass",Q.tooltipClass),k.xp6(3),k.Oqu(Q.message)}},dependencies:[e.mk,e.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),Y})(),yt=(()=>{class Y{}return Y.\u0275fac=function(F){return new(F||Y)},Y.\u0275mod=k.oAB({type:Y}),Y.\u0275inj=k.cJS({providers:[S],imports:[s.rt,e.ez,n.U8,st.BQ,st.BQ,T.ZD]}),Y})()}}]);