1"use strict";(self.webpackChunkbluecal_front_end=self.webpackChunkbluecal_front_end||[]).push([[261],{7677:(ce,L,f)=>{f.d(L,{c:()=>b});var p=f(6814),P=f(3665),r=f(5879);let b=(()=>{class O{static#e=this.\u0275fac=function(w){return new(w||O)};static#t=this.\u0275mod=r.oAB({type:O});static#i=this.\u0275inj=r.cJS({providers:[P.D],imports:[p.ez]})}return O})()},3665:(ce,L,f)=>{f.d(L,{D:()=>z});var p=f(5619),P=f(4664),r=f(2096),b=f(5879),O=f(9862),X=f(7244);let z=(()=>{class w{constructor(R,C){this.http=R,this.commonService=C,this.apiUrl="https://translation.googleapis.com/language/translate/v2",this.apiKey="AIzaSyDAzUmxlZbfLHm1jD0i_tIu-B-OZbeTaqg",this.cache=new Map,this.commonService.$storeId.subscribe(D=>{this.language=D.language})}translateText(R){const C=`${R}-${this.language}`;if(this.cache.has(C))return this.cache.get(C).asObservable();const D=new p.X("");return this.cache.set(C,D),this.http.post(`${this.apiUrl}?key=${this.apiKey}`,{q:R,target:this.language,format:"text"}).pipe((0,P.w)(q=>{const Q=q.data.translations[0].translatedText;return D.next(Q),(0,r.of)(Q)})).subscribe(),D.asObservable()}static#e=this.\u0275fac=function(C){return new(C||w)(b.LFG(O.eN),b.LFG(X.v))};static#t=this.\u0275prov=b.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})()},1261:(ce,L,f)=>{f.r(L),f.d(L,{EstimationModule:()=>Ni});var p=f(6814),P=f(4063),r=f(5879),b=f(2163),O=f(7244);let X=(()=>{class n{constructor(e){this.commonService=e,this.firestore=(0,r.f3M)(b.gg),this.commonService.$storeId.subscribe(i=>{this.storeId=i})}getEstimation(){const e=(0,b.IO)((0,b.hJ)(this.firestore,"/Estimation"),(0,b.ar)("idStore","==",this.storeId.id),(0,b.ar)("product_id","==",this.storeId.type));return(0,b.BS)(e,{idField:"id"})}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(O.v))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var z=f(3814),w=f(7509),Xe=f(418);function R(n,t){if(1&n){const e=r.EpF();r.TgZ(0,"li")(1,"a",15),r.NdJ("click",function(){const s=r.CHM(e).$implicit,a=r.oxw();return r.KtG(a.selectType(s))}),r._uU(2),r.ALo(3,"async"),r.ALo(4,"translation"),r.qZA()()}if(2&n){const e=t.$implicit;r.xp6(2),r.Oqu(r.lcZ(3,1,r.lcZ(4,3,e)))}}function C(n,t){if(1&n){const e=r.EpF();r.TgZ(0,"li")(1,"a",15),r.NdJ("click",function(){const s=r.CHM(e).$implicit,a=r.oxw();return r.KtG(a.selectProduct(s))}),r._uU(2),r.qZA()()}if(2&n){const e=t.$implicit;r.xp6(2),r.Oqu(e)}}function D(n,t){if(1&n){const e=r.EpF();r.TgZ(0,"li")(1,"a",15),r.NdJ("click",function(){const s=r.CHM(e).$implicit,a=r.oxw();return r.KtG(a.selectModel(s))}),r._uU(2),r.qZA()()}if(2&n){const e=t.$implicit;r.xp6(2),r.Oqu(e)}}function K(n,t){if(1&n&&(r.TgZ(0,"div",16)(1,"div",17)(2,"h5",18),r._uU(3),r.ALo(4,"async"),r.ALo(5,"translation"),r.qZA(),r.TgZ(6,"p",19),r._uU(7),r.ALo(8,"async"),r.ALo(9,"translation"),r.qZA(),r.TgZ(10,"figure",20)(11,"span",21),r._uU(12),r.qZA()()(),r.TgZ(13,"div",22)(14,"h5",18),r._uU(15),r.ALo(16,"async"),r.ALo(17,"translation"),r.qZA(),r.TgZ(18,"p",19),r._uU(19),r.ALo(20,"async"),r.ALo(21,"translation"),r.qZA(),r.TgZ(22,"figure",20)(23,"span",23),r._uU(24),r.qZA()()()()),2&n){const e=r.oxw();r.xp6(3),r.hij(" ",r.lcZ(4,6,r.lcZ(5,8,"Your estimated cost"))," "),r.xp6(4),r.hij(" ",r.lcZ(8,10,r.lcZ(9,12,"We\u2019ll check your service coverage to determine the final service fee.")),""),r.xp6(5),r.Oqu(e.finalResult[0].estimate),r.xp6(3),r.hij(" ",r.lcZ(16,14,r.lcZ(17,16,"Got an AppleCare+ plan?")),""),r.xp6(4),r.hij(" ",r.lcZ(20,18,r.lcZ(21,20,"Got an AppleCare+ plan?"))," "),r.xp6(5),r.Oqu(e.finalResult[0].apple_care_plus_plan)}}const $=function(n){return{disabled:n}},q=function(n){return{"d-none":n}},Ke=[{path:"",component:(()=>{class n{constructor(e){this.estimationService=e,this.selectedType="Select type",this.selectedProduct="Select Product or accesory",this.selectedModel="Select Model",this.isDisabled=!1,this.availableVersions=[]}ngOnInit(){this.estimationService.getEstimation().subscribe(e=>{this.estimationsList=e,this.typesList=[...new Set(this.estimationsList.map(i=>i.type))].sort()})}selectType(e){this.selectedType=e,this.selectedProduct="Select Product or accesory",this.selectedModel="Select Model",this.finalResult=null,this.productsList=[...new Set(this.estimationsList.filter(i=>i.type==e).sort((i,o)=>new Date(o.release_date).getTime()-new Date(i.release_date).getTime()).map(i=>i.product))]}selectProduct(e){this.selectedProduct=e,this.selectedModel="Select Model",this.finalResult=null,this.modelsList=[...new Set(this.estimationsList.filter(i=>i.product==e).sort((i,o)=>new Date(o.release_date).getTime()-new Date(i.release_date).getTime()).map(i=>i.model))],this.isDisabled=!1}selectModel(e){this.finalResult=null,this.selectedModel=e}calculateEstimation(){"Select Model"!==this.selectedModel&&"Select Product or accesory"!==this.selectedProduct&&"Select type"!==this.selectedType&&(this.finalResult=this.estimationsList.filter(e=>e.type.replace(/\s/g,"")===this.selectedType.replace(/\s/g,"")&&e.model.replace(/\s/g,"")===this.selectedModel.replace(/\s/g,"")&&e.product.replace(/\s/g,"")===this.selectedProduct.replace(/\s/g,"")))}static#e=this.\u0275fac=function(i){return new(i||n)(r.Y36(X))};static#t=this.\u0275cmp=r.Xpm({type:n,selectors:[["app-estimation"]],decls:57,vars:56,consts:[[1,"container"],[1,"cont"],[1,"dropdowns-container"],[1,"dropdown"],["type","button","id","dropdownMenuButton","data-bs-toggle","dropdown","aria-expanded","fal
1se",1,"btn","btn-secondary","dropdown-toggle"],[2,"display","flex","flex-direction","column"],[2,"font-size","8pt","color","rgb(136, 136, 136)"],[2,"overflow","hidden"],["aria-labelledby","dropdownMenuButton",1,"dropdown-menu"],[4,"ngFor","ngForOf"],[2,"display","flex","flex-direction","column","max-width","230px"],["type","button","id","dropdownMenuButton","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","btn-secondary","dropdown-toggle",3,"ngClass"],["aria-labelledby","dropdownMenuButton",1,"dropdown-menu",2,"max-height","180px","overflow-y","auto",3,"ngClass"],[1,"estimate",3,"click"],["class","cost-section","bis_skin_checked","1","fxLayout","row","fxLayoutAlign","space-around start","style","font-size: 12pt; margin: 5px;",4,"ngIf"],[1,"dropdown-item",2,"word-break","break-word","white-space","normal",3,"click"],["bis_skin_checked","1","fxLayout","row","fxLayoutAlign","space-around start",1,"cost-section",2,"font-size","12pt","margin","5px"],["id","service-coverage-section","bis_skin_checked","1",1,"cost-info",2,"padding","5px","text-align","left","padding-right","8px"],[1,"cost-type"],[1,"cost-description"],[1,"cost-amount","stat","stat-reduced"],["id","service-coverage-value",1,"stat-value"],["id","apple-care-section","bis_skin_checked","1",1,"cost-info",2,"border-left","1px solid gray","padding","5px","padding-left","8px","text-align","left"],["id","apple-care-value",1,"stat-value"]],template:function(i,o){1&i&&(r.TgZ(0,"div",0)(1,"div",1)(2,"h3"),r._uU(3),r.ALo(4,"async"),r.ALo(5,"translation"),r.qZA(),r.TgZ(6,"div"),r._uU(7),r.ALo(8,"async"),r.ALo(9,"translation"),r.qZA(),r._UZ(10,"br"),r.TgZ(11,"div",2)(12,"div",3)(13,"button",4)(14,"div",5)(15,"span",6),r._uU(16),r.ALo(17,"async"),r.ALo(18,"translation"),r.qZA(),r.TgZ(19,"span",7),r._uU(20),r.ALo(21,"async"),r.ALo(22,"translation"),r.qZA()()(),r.TgZ(23,"ul",8),r.YNc(24,R,5,5,"li",9),r.qZA()(),r.TgZ(25,"div",3)(26,"button",4)(27,"div",10)(28,"span",6),r._uU(29),r.ALo(30,"async"),r.ALo(31,"translation"),r.qZA(),r.TgZ(32,"span",7),r._uU(33),r.ALo(34,"async"),r.ALo(35,"translation"),r.qZA()()(),r.TgZ(36,"ul",8),r.YNc(37,C,3,1,"li",9),r.qZA()(),r.TgZ(38,"div",3)(39,"button",11)(40,"div",10)(41,"span",6),r._uU(42),r.ALo(43,"async"),r.ALo(44,"translation"),r.qZA(),r.TgZ(45,"span",7),r._uU(46),r.ALo(47,"async"),r.ALo(48,"translation"),r.qZA()()(),r.TgZ(49,"ul",12),r.YNc(50,D,3,1,"li",9),r.qZA()()(),r.TgZ(51,"div")(52,"button",13),r.NdJ("click",function(){return o.calculateEstimation()}),r._uU(53),r.ALo(54,"async"),r.ALo(55,"translation"),r.qZA()(),r.YNc(56,K,25,22,"div",14),r.qZA()()),2&i&&(r.xp6(3),r.Oqu(r.lcZ(4,16,r.lcZ(5,18,"Get an estimate"))),r.xp6(4),r.Oqu(r.lcZ(8,20,r.lcZ(9,22,"Make your selections below."))),r.xp6(9),r.hij(" ",r.lcZ(17,24,r.lcZ(18,26,"Damage Type")),""),r.xp6(4),r.Oqu(r.lcZ(21,28,r.lcZ(22,30,o.selectedType))),r.xp6(4),r.Q6J("ngForOf",o.typesList),r.xp6(5),r.Oqu(r.lcZ(30,32,r.lcZ(31,34,"Product or Accesory"))),r.xp6(4),r.Oqu(r.lcZ(34,36,r.lcZ(35,38,o.selectedProduct))),r.xp6(4),r.Q6J("ngForOf",o.productsList),r.xp6(2),r.Q6J("ngClass",r.VKq(52,$,o.isDisabled)),r.uIk("disabled",!!o.isDisabled||null),r.xp6(3),r.Oqu(r.lcZ(43,40,r.lcZ(44,42,"Model"))),r.xp6(4),r.Oqu(r.lcZ(47,44,r.lcZ(48,46,o.selectedModel))),r.xp6(3),r.Q6J("ngClass",r.VKq(54,q,o.isDisabled)),r.xp6(1),r.Q6J("ngForOf",o.modelsList),r.xp6(3),r.hij(" ",r.lcZ(54,48,r.lcZ(55,50,"Get estimate")),""),r.xp6(3),r.Q6J("ngIf",o.finalResult))},dependencies:[p.mk,p.sg,p.O5,z.xw,z.Wh,w.oO,p.Ov,Xe.k],styles:['@charset "UTF-8";.container[_ngcontent-%COMP%]{width:550px;margin:32px auto 16px}.cont[_ngcontent-%COMP%]{text-align:center;border-radius:20px;background-color:#f5f5f7;padding:40px 6.2% 0;position:relative;margin:20px;display:flex;flex-direction:column;align-items:center}.dropdown-menu[_ngcontent-%COMP%]{width:280px}.dropdown-item[_ngcontent-%COMP%]:hover, .dropdown-item[_ngcontent-%COMP%]:focus{background-color:#0474e4!important;color:#fff!important}.dropdowns-container[_ngcontent-%COMP%]{margin:auto;display:flex;flex-direction:column;gap:16px}.btn-secondary.dropdown-toggle[_ngcontent-%COMP%]{background:white!important;color:#000!important;width:280px;height:60px;border:none;border-radius:12px;text-align:initial;border:solid 2px #e6e6e6}.btn-secondary.dropdown-toggle[_ngcontent-%COMP%]:hover, .btn-secondary.dropdown-toggle[_ngcontent-%COMP%]:focus{border:solid 2px #0474E4}.estimate[_ngcontent-%COMP%]{background:#1d1d1f;color:#fff;border-radius:20px;margin:40px 0;
1height:40px;padding:0 20px;font-size:16px}button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.65}.d-none[_ngcontent-%COMP%]{display:none}.stat-value[_ngcontent-%COMP%]{font-weight:bolder;font-size:17pt}']})}return n})()}];let $e=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({imports:[P.Bz.forChild(Ke),P.Bz]})}return n})();var qe=f(6223);f(6825);let J,Qe=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Je=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({providers:[Qe]})}return n})();try{J=typeof Intl<"u"&&Intl.v8BreakIterator}catch{J=!1}let V,F,k=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,p.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&&!J)&&t
1ypeof 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}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(r.Lbi))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function H(n){return function et(){if(null==V&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>V=!0}))}finally{V=V||!1}return V}()?n:!!n.capture}function tt(){if(null==F){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return F=!1,F;if("scrollBehavior"in document.documentElement.style)F=!0;else{const n=Element.prototype.scrollTo;F=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return F}function te(n){return n.composedPath?n.composedPath()[0]:n.target}function ie(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var m=f(2495),E=f(8645),lt=f(2572),dt=f(5211),fe=f(5592),ue=f(8180),ct=f(836),ht=f(3620),me=f(7398),ft=f(7921),pe=f(9773);const _e=new Set;let T,ut=(()=>{class n{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):pt}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function mt(n,t){if(!_e.has(n))try{T||(T=document.createElement("style"),t&&(T.nonce=t),T.setAttribute("type","text/css"),document.head.appendChild(T)),T.sheet&&(T.sheet.insertRule(`@media ${n} {body{ }}`,0),_e.add(n))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(k),r.LFG(r.Ojb,8))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function pt(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let _t=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new E.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return ge((0,m.Eq)(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){const o=ge((0,m.Eq)(e)).map(a=>this._registerQuery(a).observable);let s=(0,lt.a)(o);return s=(0,dt.z)(s.pipe((0,ue.q)(1)),s.pipe((0,ct.T)(1),(0,ht.b)(0))),s.pipe((0,me.U)(a=>{const l={matches:!1,breakpoints:{}};return a.forEach(({matches:d,query:h})=>{l.matches=l.matches||d,l.breakpoints[h]=d}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),s={observable:new fe.y(a=>{const l=d=>this._zone.run(()=>a.next(d));return i.addListener(l),()=>{i.removeListener(l)}}).pipe((0,ft.O)(i),(0,me.U)(({matches:a})=>({query:e,matches:a})),(0,pe.R)(this._destroySubject)),mql:i};return this._queries.set(e,s),s}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(ut),r.LFG(r.R0b))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function ge(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const ye="cdk-high-contrast-black-on-white",we="cdk-high-contrast-white-on-black",ne="cdk-high-contrast-active";let St=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=(0,r.f3M)(_t).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}
1_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(ne,ye,we),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(ne,ye):2===i&&e.add(ne,we)}}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(k),r.LFG(p.K0))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var B=f(9388);const Dt=new r.OlP("mat-sanity-checks",{providedIn:"root",factory:function Rt(){return!0}});let S=(()=>{class n{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!ie()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(St),r.LFG(Dt,8),r.LFG(p.K0))};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({imports:[B.vT,B.vT]})}return n})();const Me=H({passive:!0,capture:!0});class Tt{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=te(t);e&&this._events.get(t.type)?.forEach((i,o)=>{(o===e||o.contains(e))&&i.forEach(s=>s.handleEvent(t))})}}addHandler(t,e,i,o){const s=this._events.get(e);if(s){const a=s.get(i);a?a.add(o):s.set(i,new Set([o]))}else this._events.set(e,new Map([[i,new Set([o])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Me)})}removeHandler(t,e,i){const o=this._events.get(t);if(!o)return;const s=o.get(e);s&&(s.delete(i),0===s.size&&o.delete(e),0===o.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,Me)))}}class oe{static#e=this._eventManager=new Tt;constructor(t,e,i,o){this._target=t,this._ngZone=e,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=(0,m.fI)(i))}fadeInRipple(t,e,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s={...Oe,...i.animation},a=i.radius||function At(n,t,e){const i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),o=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+o*o)}(t,e,o),l=t-o.left,d=e-o.top,h=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=l-a+"px",c.style.top=d-a+"px",c.style.height=2*a+"px",c.style.width=2*a+"px",null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(c);const u=window.getComputedStyle(c),v=u.transitionDuration,x="none"===u.transitionProperty||"0s"===v||"0s, 0s"===v||0===o.width&&0===o.height,g=new Ft(this,c,i,x);c.style.transform="scale3d(1, 1, 1)",g.state=0,i.persistent||(this._mostRecentTransientRipple=g);return!x&&(h||s.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const G=()=>this._finishRippleTransition(g),Ge=()=>this._destroyRipple(g);c.addEventListener("transitionend",G),c.addEventListener("transitioncancel",Ge)}),this._activeRipples.set(g,null),(x||!h)&&this._finishRippleTransition(g),g}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,i={...Oe,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=(0,m.fI)(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Re.forEach(i=>{oe._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{De.forEach(e=>{this._triggerElement.addEventListener(e,this,Se)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=function Et(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!function Mt(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEac
1h(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(Re.forEach(e=>oe._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&De.forEach(e=>t.removeEventListener(e,this,Se)))}}let Lt=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({imports:[S,S]})}return n})(),Pt=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({imports:[S]})}return n})(),ke=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({imports:[Lt,p.ez,S,Pt]})}return n})(),Fe=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({imports:[S,p.ez,Je,S]})}return n})();var Ut=f(2096),Yt=f(2438),Wt=(f(927),f(1954));let re,Gt=1;const Y={};function Te(n){return n in Y&&(delete Y[n],!0)}const Xt={setImmediate(n){const t=Gt++;return Y[t]=!0,re||(re=Promise.resolve()),re.then(()=>Te(t)&&n()),t},clearImmediate(n){Te(n)}},{setImmediate:Kt,clearImmediate:$t}=Xt,W={setImmediate(...n){const{delegate:t}=W;return(t?.setImmediate||Kt)(...n)},clearImmediate(n){const{delegate:t}=W;return(t?.clearImmediate||$t)(n)},delegate:void 0};var Qt=f(2631);new class Jt extends Qt.v{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;t=t||i.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===e&&i.shift());if(this._active=!1,o){for(;(t=i[0])&&t.id===e&&i.shift();)t.unsubscribe();throw o}}}(class qt extends Wt.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t._scheduled||(t._scheduled=W.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,e,i);const{actions:s}=t;null!=e&&(null===(o=s[s.length-1])||void 0===o?void 0:o.id)!==e&&(W.clearImmediate(e),t._scheduled===e&&(t._scheduled=void 0))}});var Ie=f(9028),Ae=f(2181);let ii=(()=>{class n{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new E.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new fe.y(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe((0,Ie.e)(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ut.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe((0,Ae.h)(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,e)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=(0,m.fI)(i),s=e.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const e=this._getWindow();return(0,Yt.R)(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(r.R0b),r.LFG(k),r.LFG(p.K0,8))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Le=(()=>{class n{constructor(e,i,o){this._platform=e,this._change=new E.x,this._changeListener=s=>{this._change.next(s)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();
1return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,s=o.getBoundingClientRect();return{top:-s.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-s.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe((0,Ie.e)(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(k),r.LFG(r.R0b),r.LFG(p.K0,8))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),se=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({})}return n})(),Pe=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({imports:[B.vT,se,B.vT,se]})}return n})();class ae{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class oi extends ae{constructor(t,e,i,o,s){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=s}}class ri extends ae{constructor(t,e,i,o){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class si extends ae{constructor(t){super(),this.element=t instanceof r.SBq?t.nativeElement:t}}class ai{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof oi?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof ri?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof si?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class li extends ai{constructor(t,e,i,o,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=o,this.attachDomPortal=a=>{const l=a.element,d=this._document.createComment("dom-portal");l.parentNode.insertBefore(d,l),this.outletElement.appendChild(l),this._attachedPortal=a,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(l,d)})},this._document=s}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let o;return t.viewContainerRef?(o=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(t.injector||this._defaultInjector||r.zs3.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=t,o}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(i);-1!==o&&e.remove(o)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let di=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({})}return n})();var Ne=f(7394),ci=f(3019);const Be=tt();
1class hi{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}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,m.HM)(-this._previousScrollPosition.left),t.style.top=(0,m.HM)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,o=this._document.body.style,s=i.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Be&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Be&&(i.scrollBehavior=s,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class fi{constructor(t,e,i,o){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=o,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).pipe((0,Ae.h)(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-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 ze{enable(){}disable(){}attach(){}}function le(n,t){return t.some(e=>n.bottom<e.top||n.top>e.bottom||n.right<e.left||n.left>e.right)}function Ve(n,t){return t.some(e=>n.top<e.top||n.bottom>e.bottom||n.left<e.left||n.right>e.right)}class ui{constructor(t,e,i,o){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=o,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 e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();le(e,[{width:i,height:o,bottom:o,right:i,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 mi=(()=>{class n{constructor(e,i,o,s){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new ze,this.close=a=>new fi(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new hi(this._viewportRuler,this._document),this.reposition=a=>new ui(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(ii),r.LFG(Le),r.LFG(r.R0b),r.LFG(p.K0))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();class pi{constructor(t){if(this.scrollStrategy=new ze,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const i of e)void 0!==t[i]&&(this[i]=t[i])}}}class _i{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let je=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}
1ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(p.K0))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),gi=(()=>{class n extends je{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){const l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(e){super.add(e),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)}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(p.K0),r.LFG(r.R0b,8))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),vi=(()=>{class n extends je{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=te(s)},this._clickListener=s=>{const a=te(s),l="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const d=this._attachedOverlays.slice();for(let h=d.length-1;h>-1;h--){const c=d[h];if(c._outsidePointerEvents.observers.length<1||!c.hasAttached())continue;if(c.overlayElement.contains(a)||c.overlayElement.contains(l))break;const u=c._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(s)):u.next(s)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(p.K0),r.LFG(k),r.LFG(r.R0b,8))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),He=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||ie()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let s=0;s<o.length;s++)o[s].remove()}const i=this._document.createElement("div");i.classList.add(e),ie()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(p.K0),r.LFG(k))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();class xi{constructor(t,e,i,o,s,a,l,d,h,c=!1){this._portalOutlet=t,this._host=e,this._pane=i,this._config=o,this._ngZone=s,this._keyboardDispatcher=a,this._document=l,this._location=d,this._outsideClickDispatcher=h,this._animationsDisabled=c,this._backdropElement=null,this._backdropClick=new E.x,this._attachments=new E.x,this._detachments=new E.x,this._locationChanges=Ne.w0.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)}
1,this._keydownEvents=new E.x,this._outsidePointerEvents=new E.x,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.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 e=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,ue.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),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}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,m.HM)(this._config.width),t.height=(0,m.HM)(this._config.height),t.minWidth=(0,m.HM)(this._config.minWidth),t.minHeight=(0,m.HM)(this._config.minHeight),t.maxWidth=(0,m.HM)(this._config.maxWidth),t.maxHeight=(0,m.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,e,i){const o=(0,m.Eq)(e||[]).filter(s=>!!s);o.length&&(i?t.classList.add(...o):t.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((0,pe.R)((0,ci.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 Ue="cdk-overlay-connected-position-bounding-box",bi=/([A-Za-z%]+)$/;class yi{get positions(){return this._preferredPositions}
1constructor(t,e,i,o,s){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=s,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 E.x,this._resizeSubscription=Ne.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(Ue),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,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,s=[];let a;for(let l of this._preferredPositions){let d=this._getOriginPoint(t,o,l),h=this._getOverlayPoint(d,e,l),c=this._getOverlayFit(h,e,i,l);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(l,d);this._canFitWithFlexibleDimensions(c,h,i)?s.push({position:l,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,l)}):(!a||a.overlayFit.visibleArea<c.visibleArea)&&(a={overlayFit:c,overlayPoint:h,originPoint:d,position:l,overlayRect:e})}if(s.length){let l=null,d=-1;for(const h of s){const c=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);c>d&&(d=c,l=h)}return this._isPushed=!1,void this._applyPosition(l.position,l.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&I(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ue),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 e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}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,e,i){let o,s;if("center"==i.originX)o=t.left+t.width/2;else{const a=this._isRtl()?t.right:t.left,l=this._isRtl()?t.left:t.right;o="start"==i.originX?a:l}return e.left<0&&(o-=e.left),s="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(s-=e.top),{x:o,y:s}}_getOverlayPoint(t,e,i){let o,s;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+o,y:t.y+s}}_getOverlayFit(t,e,i,o){const s=Ze(e);let{x:a,y:l}=t,d=this._getOffset(o,"x"),h=this._getOffset(o,"y");d&&(a+=d),h&&(l+=h);let y=0-l,v=l+s.height-i.height,x=this._subtractOverflows(s.width,0-a,a+s.width-i.width),g=this._subtractOverflows(s.height,y,v),M=x*g;return{visibleArea:M,isCompletelyWithinViewport:s.width*s.height===M,fitsInViewportVertically:g===s.height,fitsInViewportHorizontally:x==s.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,s=i.right-e.x,a=Ye(this._overlayRef.getConfig().minHeight),l=Ye(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=a&&a<=o)&&(t.fitsInViewportHorizontally||null!=l&&l<=s)}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const o=Ze(e),s=this._viewportRect,a=Math.max(t.x+o.width-s.width,0),l=Math.max(t.y+o.height-s.height,0),d=Math.max(s.top-i.top-t.y,0),h=Math.max(s.left-i.left-t.x,0);let c=0,u=0;return c=o.width<=s.width?h||-a:t.x<this._viewportMargin?s.left-i.left-t.x:0,u=o.height<=s.height?d||-l:t.y<this._viewportMargin?s.top-i.top-t.y:0,this._previousPushAmount={x:c,y:u},{x:t.x+c,y:t.y+u}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const i=this._getScrollVisibility(),o=new _i(t,i);this._positionChanges.next(o)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let s=0;s<e.length;s++)e[s].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(t,e){const i=this._viewportRect,o=this._isRtl();let s,a,l,c,u,y;if("top"===e.overlayY)a=t.y,s=i.height-a+this._viewportMargin;else if("bottom"===e.overlayY)l=i.height-t.y+2*this._viewportMargin,s=i.height-l+this._viewportMargin;else{const v=Math.min(i.bottom-t.y+i.top,t.y),x=this._lastBoundingBoxSize.height;s=2*v,a=t.y-v,s>x&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-x/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)y=i.width-t.x+this._viewportMargin,c=t.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)u=t.x,c=i.right-t.x;else{const v=Math.min(i.right-t.x+i.left,t.x),x=this._lastBoundingBoxSize.width;c=2*v,u=t.x-v,c>x&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-x/2)}return{top:a,left:u,bottom:l,right:y,width:c,height:s}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=(0,m.HM)(i.height),o.top=(0,m.HM)(i.top),o.bottom=(0,m.HM)(i.bottom),o.width=(0,m.HM)(i.width),o.left=(0,m.HM)(i.left),o.right=(0,m.HM)(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",s&&(o.maxHeight=(0,m.HM)(s)),a&&(o.maxWidth=(0,m.HM)(a))}this._lastBoundingBoxSize=i,I(this._boundingBox.style,o)}_resetBoundingBoxStyles(){I(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){I(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},o=this._hasExactPosition(),s=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){const c=this._viewportRuler.getViewportScrollPosition();I(i,this._getExactOverlayY(e,t,c)),I(i,this._getExactOverlayX(e,t,c))}else i.position="static";let l="",d=this._getOffset(e,"x"),h=this._getOffset(e,"y");d&&(l+=`translateX(${d}px) `),h&&(l+=`translateY(${h}px)`),i.transform=l.trim(),a.maxHeight&&(o?i.maxHeight=(0,m.HM)(a.maxHeight):s&&(i.maxHeight="")),a.maxWidth&&(o?i.maxWidth=(0,m.HM)(a.maxWidth):s&&(i.maxWidth="")),I(this._pane.style,i)}_getExactOverlayY(t,e,i){let o={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":o.top=(0,m.HM)(s.y),o}_getExactOverlayX(t,e,i){let a,o={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),a=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===a?o.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":o.left=(0,m.HM)(s.x),o}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ve(t,i),isOriginOutsideView:le(t,i),isOverlayClipped:Ve(e,i),isOverlayOutsideView:le(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,o)=>i-Math.max(o,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}
1_addPanelClasses(t){this._pane&&(0,m.Eq)(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof r.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function I(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function Ye(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(bi);return e&&"px"!==e?null:parseFloat(t)}return n||null}function Ze(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const We="cdk-global-overlay-wrapper";class wi{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(We),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,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:s,maxWidth:a,maxHeight:l}=i,d=!("100%"!==o&&"100vw"!==o||a&&"100%"!==a&&"100vw"!==a),h=!("100%"!==s&&"100vh"!==s||l&&"100%"!==l&&"100vh"!==l),c=this._xPosition,u=this._xOffset,y="rtl"===this._overlayRef.getConfig().direction;let v="",x="",g="";d?g="flex-start":"center"===c?(g="center",y?x=u:v=u):y?"left"===c||"end"===c?(g="flex-end",v=u):("right"===c||"start"===c)&&(g="flex-start",x=u):"left"===c||"start"===c?(g="flex-start",v=u):("right"===c||"end"===c)&&(g="flex-end",x=u),t.position=this._cssPosition,t.marginLeft=d?"0":v,t.marginTop=h?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=d?"0":x,e.justifyContent=g,e.alignItems=h?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(We),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Ci=(()=>{class n{constructor(e,i,o,s){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=s}global(){return new wi}flexibleConnectedTo(e){return new yi(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(Le),r.LFG(p.K0),r.LFG(k),r.LFG(He))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ei=0,de=(()=>{class n{constructor(e,i,o,s,a,l,d,h,c,u,y,v){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=d,this._document=h,this._directionality=c,this._location=u,this._outsideClickDispatcher=y,this._animationsModuleType=v}create(e){const i=this._createHostElement(),o=this._createPaneElement(i),s=this._createPortalOutlet(o),a=new pi(e);return a.direction=a.direction||this._directionality.value,new xi(s,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+Ei++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(r.z2F)),new li(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(i){return new(i||n)(r.LFG(mi),r.LFG(He),r.LFG(r._Vd),r.LFG(Ci),r.LFG(gi),r.LFG(r.zs3),r.LFG(r.R0b),r.LFG(p.K0),r.LFG(B.Is),r.LFG(p.Ye),r.LFG(vi),r.LFG(r.QbO,8))};static#t=this.\u0275prov=r.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const Si={provide:new r.OlP("cdk-connected-overlay-scroll-strategy"),deps:[de],useFactory:function Oi(n){return()=>n.scrollStrategies.reposition()}};let Ri=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({providers:[de,Si],imports:[B.vT,di,Pe,Pe]})}return n})();const Ii={provide:new r.OlP("mat-select-scroll-strategy"),deps:[de],useFactory:function Ti(n){return()=>n.scrollStrategies.reposition()}};let Ai=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({providers:[Ii],imports:[p.ez,Ri,ke,S,se,Fe,ke,S]})}return n})();var Li=f(1447),Pi=f(7677);let Ni=(()=>{class n{static#e=this.\u0275fac=function(i){return new(i||n)};static#t=this.\u0275mod=r.oAB({type:n});static#i=this.\u0275inj=r.cJS({imports:[p.ez,$e,qe.u5,Fe,Ai,Li.o9,Pi.c]})}return n})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.