@mxtommy/kip 3.9.0-beta.9 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/copilot-instructions.md +1 -1
- package/.github/instructions/angular.instructions.md +46 -0
- package/CHANGELOG.md +11 -0
- package/README.md +1 -1
- package/package.json +3 -5
- package/public/3rdpartylicenses.txt +129 -129
- package/public/assets/apple-icon-180.png +0 -0
- package/public/assets/apple-splash-1125-2436.jpg +0 -0
- package/public/assets/apple-splash-1136-640.jpg +0 -0
- package/public/assets/apple-splash-1170-2532.jpg +0 -0
- package/public/assets/apple-splash-1179-2556.jpg +0 -0
- package/public/assets/apple-splash-1206-2622.jpg +0 -0
- package/public/assets/apple-splash-1242-2208.jpg +0 -0
- package/public/assets/apple-splash-1242-2688.jpg +0 -0
- package/public/assets/apple-splash-1284-2778.jpg +0 -0
- package/public/assets/apple-splash-1290-2796.jpg +0 -0
- package/public/assets/apple-splash-1320-2868.jpg +0 -0
- package/public/assets/apple-splash-1334-750.jpg +0 -0
- package/public/assets/apple-splash-1488-2266.jpg +0 -0
- package/public/assets/apple-splash-1536-2048.jpg +0 -0
- package/public/assets/apple-splash-1620-2160.jpg +0 -0
- package/public/assets/apple-splash-1640-2360.jpg +0 -0
- package/public/assets/apple-splash-1668-2224.jpg +0 -0
- package/public/assets/apple-splash-1668-2388.jpg +0 -0
- package/public/assets/apple-splash-1792-828.jpg +0 -0
- package/public/assets/apple-splash-2048-1536.jpg +0 -0
- package/public/assets/apple-splash-2048-2732.jpg +0 -0
- package/public/assets/apple-splash-2160-1620.jpg +0 -0
- package/public/assets/apple-splash-2208-1242.jpg +0 -0
- package/public/assets/apple-splash-2224-1668.jpg +0 -0
- package/public/assets/apple-splash-2266-1488.jpg +0 -0
- package/public/assets/apple-splash-2360-1640.jpg +0 -0
- package/public/assets/apple-splash-2388-1668.jpg +0 -0
- package/public/assets/apple-splash-2436-1125.jpg +0 -0
- package/public/assets/apple-splash-2532-1170.jpg +0 -0
- package/public/assets/apple-splash-2556-1179.jpg +0 -0
- package/public/assets/apple-splash-2622-1206.jpg +0 -0
- package/public/assets/apple-splash-2688-1242.jpg +0 -0
- package/public/assets/apple-splash-2732-2048.jpg +0 -0
- package/public/assets/apple-splash-2778-1284.jpg +0 -0
- package/public/assets/apple-splash-2796-1290.jpg +0 -0
- package/public/assets/apple-splash-2868-1320.jpg +0 -0
- package/public/assets/apple-splash-640-1136.jpg +0 -0
- package/public/assets/apple-splash-750-1334.jpg +0 -0
- package/public/assets/apple-splash-828-1792.jpg +0 -0
- package/public/assets/apple-touch-icon.png +0 -0
- package/public/assets/favicon-16x16.png +0 -0
- package/public/assets/favicon-32x32.png +0 -0
- package/public/assets/favicon-64x64.png +0 -0
- package/public/assets/favicon.ico +0 -0
- package/public/assets/favicon.svg +25 -73
- package/public/assets/faviconn.ico +0 -0
- package/public/assets/help-docs/configuration.md +4 -4
- package/public/assets/help-docs/dashboards.md +4 -2
- package/public/assets/help-docs/welcome.md +14 -9
- package/public/assets/icon-192x192.png +0 -0
- package/public/assets/icon-256x256.png +0 -0
- package/public/assets/icon-384x384.png +0 -0
- package/public/assets/icon-512x512.png +0 -0
- package/public/assets/icon-64x64.png +0 -0
- package/public/assets/icon-72x72.png +0 -0
- package/public/assets/manifest-icon-192.maskable.png +0 -0
- package/public/assets/manifest-icon-512.maskable.png +0 -0
- package/public/assets/svg/icons.svg +436 -45
- package/public/{chunk-2YVW3TBK.js → chunk-25PZU2O2.js} +1 -1
- package/public/chunk-2RLXZJPK.js +7 -0
- package/public/chunk-3IUMPTFN.js +6 -0
- package/public/chunk-5KVBD33V.js +4 -0
- package/public/chunk-6WOHGZ7K.js +11 -0
- package/public/{chunk-CQXWGD3T.js → chunk-BYWGV2DR.js} +2 -2
- package/public/chunk-CW3ZK4N3.js +2 -0
- package/public/chunk-DNBBDEKP.js +6 -0
- package/public/chunk-FYD5M4IT.js +16 -0
- package/public/{chunk-KTDDP73O.js → chunk-HECHZXLY.js} +1 -1
- package/public/chunk-N6T2NRWF.js +1 -0
- package/public/chunk-NEYBKWJP.js +1 -0
- package/public/{chunk-4JJLPUET.js → chunk-NHAQWUX3.js} +1 -1
- package/public/chunk-RIG2POCP.js +1 -0
- package/public/chunk-TGXMWTBW.js +1 -0
- package/public/chunk-TP7LH2BI.js +11 -0
- package/public/chunk-ZJO5PJKQ.js +5 -0
- package/public/chunk-ZMNGRHMV.js +1 -0
- package/public/index.html +18 -16
- package/public/main-AQ7CLM7C.js +53 -0
- package/public/{styles-RECKN66R.css → styles-PDNHT2L2.css} +1 -1
- package/public/assets/favicon.png +0 -0
- package/public/assets/hammer.min.js +0 -7
- package/public/chunk-35L7BBBD.js +0 -15
- package/public/chunk-3LEMFOCV.js +0 -3
- package/public/chunk-6XCLXHSA.js +0 -1
- package/public/chunk-7R3XHBAS.js +0 -11
- package/public/chunk-CBUY7NMR.js +0 -2
- package/public/chunk-CY7XGKUT.js +0 -1
- package/public/chunk-HCXH72CD.js +0 -5
- package/public/chunk-HEQYEGSJ.js +0 -6
- package/public/chunk-J6T4PKPB.js +0 -2
- package/public/chunk-JY3WVS7C.js +0 -2
- package/public/chunk-NMEZOCU2.js +0 -1
- package/public/chunk-NS2FPVWM.js +0 -4
- package/public/chunk-PKNLASTF.js +0 -4
- package/public/chunk-Q2Y75POI.js +0 -1
- package/public/chunk-RRTCHHRC.js +0 -3
- package/public/chunk-T74UYW3I.js +0 -1
- package/public/chunk-TA4GACKT.js +0 -4
- package/public/chunk-TXPLRBW5.js +0 -2
- package/public/chunk-VHFBF47T.js +0 -1
- package/public/chunk-VYUMZVH2.js +0 -2
- package/public/chunk-ZBCOJLI4.js +0 -6
- package/public/main-FDZZCWB6.js +0 -53
package/public/chunk-TXPLRBW5.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$a as Pr,$b as Kr,A as m,B as mt,C as A,D as fn,Da as Ve,E as yr,Ea as _,Eb as Gr,Ed as fi,F as vt,Fa as Tr,Fb as Ee,Fd as pi,G as Rr,Ga as ne,Gb as K,Gd as gi,Ha as St,Hb as Yr,Hd as mi,Ib as wn,Ja as Mr,Jb as Zr,Jd as vi,Ka as Ar,Kb as Et,Kd as Si,L as Y,Lb as _t,M as Z,Mb as In,N as le,Na as yt,Nb as Qr,Oa as Sn,Ob as En,Pa as Dr,Pb as _n,Q as pn,Qa as Rt,Qb as bn,R as ee,Rb as bt,Sa as Or,Ta as yn,Ua as Nr,Va as qe,Vc as ri,W as Re,Wc as ii,X as te,Xa as Rn,Y as gn,Ya as Cn,Z as Cr,Za as Ce,_a as we,_c as Tt,a as d,ab as Ur,ad as oi,b as N,ba as wr,bb as Lr,ca as Ir,cb as xr,db as jr,eb as kr,ed as Tn,f as pr,fa as Er,fb as $r,g as gt,ga as D,gb as P,gd as si,ha as mn,hd as ai,i as gr,ia as w,ic as Xr,id as _e,j as mr,jb as Fr,k as dn,l as hn,la as y,lc as Jr,ld as ci,m as W,ma as Q,mb as We,mc as ei,md as be,nd as ui,o as x,oa as v,ob as zr,od as li,pa as de,pb as Hr,pd as di,qa as _r,qb as Ie,qd as Te,r as G,ra as C,rb as Br,rd as hi,s as M,sa as g,sb as Vr,sd as Me,t as h,ta as l,tb as qr,td as Mn,te as An,u as ue,ua as vn,ub as Wr,v as vr,vb as Ct,w as Sr,wa as br,wb as wt,wc as ti,xa as he,xb as fe,ya as j,yb as It,yc as ni}from"./chunk-35L7BBBD.js";var At=new C(""),Un=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,i,o){return this._findPluginFor(t).addEventListener(e,t,i,o)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(o=>o.supports(e)),!t)throw new y(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||n)(g(At),g(K))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),Ge=class{_doc;constructor(r){this._doc=r}manager},Dn="ng-app-id";function yi(n){for(let r of n)r.remove()}function Ri(n,r){let e=r.createElement("style");return e.textContent=n,e}function $o(n,r,e,t){let i=n.head?.querySelectorAll(`style[${Dn}="${r}"],link[${Dn}="${r}"]`);if(i)for(let o of i)o.removeAttribute(Dn),o instanceof HTMLLinkElement?t.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Nn(n,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var Ln=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,i,o={}){this.doc=e,this.appId=t,this.nonce=i,$o(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let i of e)this.addUsage(i,this.inline,Ri);t?.forEach(i=>this.addUsage(i,this.external,Nn))}removeStyles(e,t){for(let i of e)this.removeUsage(i,this.inline);t?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,t,i){let o=t.get(e);o?o.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,t){let i=t.get(e);i&&(i.usage--,i.usage<=0&&(yi(i.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])yi(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:i}]of this.inline)i.push(this.addElement(e,Ri(t,this.doc)));for(let[t,{elements:i}]of this.external)i.push(this.addElement(e,Nn(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static \u0275fac=function(t){return new(t||n)(g(_),g(yn),g(Rn,8),g(qe))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),On={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},xn=/%COMP%/g;var wi="%COMP%",Fo=`_nghost-${wi}`,zo=`_ngcontent-${wi}`,Ho=!0,Bo=new C("",{providedIn:"root",factory:()=>Ho});function Vo(n){return zo.replace(xn,n)}function qo(n){return Fo.replace(xn,n)}function Ii(n,r){return r.map(e=>e.replace(xn,n))}var jn=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,i,o,s,a,c,u=null,f=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=f,this.platformIsServer=!1,this.defaultRenderer=new Ye(e,s,c,this.platformIsServer,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,t);return i instanceof Mt?i.applyToHost(e):i instanceof Ze&&i.applyStyles(),i}getOrCreateRenderer(e,t){let i=this.rendererByCompId,o=i.get(t.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,R=this.platformIsServer,I=this.tracingService;switch(t.encapsulation){case Cn.Emulated:o=new Mt(c,u,t,this.appId,f,s,a,R,I);break;case Cn.ShadowDom:return new Pn(c,u,e,t,s,a,this.nonce,R,I);default:o=new Ze(c,u,t,f,s,a,R,I);break}i.set(t.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||n)(g(Un),g(Ln),g(yn),g(Bo),g(_),g(qe),g(K),g(Rn),g(Gr,8))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),Ye=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,t,i,o){this.eventManager=r,this.doc=e,this.ngZone=t,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(On[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(Ci(r)?r.content:r).appendChild(e)}insertBefore(r,e,t){r&&(Ci(r)?r.content:r).insertBefore(e,t)}removeChild(r,e){e.remove()}selectRootElement(r,e){let t=typeof r=="string"?this.doc.querySelector(r):r;if(!t)throw new y(-5104,!1);return e||(t.textContent=""),t}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,t,i){if(i){e=i+":"+e;let o=On[i];o?r.setAttributeNS(o,e,t):r.setAttribute(e,t)}else r.setAttribute(e,t)}removeAttribute(r,e,t){if(t){let i=On[t];i?r.removeAttributeNS(i,e):r.removeAttribute(`${t}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,t,i){i&(We.DashCase|We.Important)?r.style.setProperty(e,t,i&We.Important?"important":""):r.style[e]=t}removeStyle(r,e,t){t&We.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,t){r!=null&&(r[e]=t)}setValue(r,e){r.nodeValue=e}listen(r,e,t,i){if(typeof r=="string"&&(r=be().getGlobalEventTarget(this.doc,r),!r))throw new y(5102,!1);let o=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;r(e)===!1&&e.preventDefault()}}};function Ci(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Pn=class extends Ye{sharedStylesHost;hostEl;shadowRoot;constructor(r,e,t,i,o,s,a,c,u){super(r,o,s,c,u),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let f=i.styles;f=Ii(i.id,f);for(let I of f){let b=document.createElement("style");a&&b.setAttribute("nonce",a),b.textContent=I,this.shadowRoot.appendChild(b)}let R=i.getExternalStyles?.();if(R)for(let I of R){let b=Nn(I,o);a&&b.setAttribute("nonce",a),this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,t){return super.insertBefore(this.nodeOrShadowRoot(r),e,t)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ze=class extends Ye{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,t,i,o,s,a,c,u){super(r,o,s,a,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let f=t.styles;this.styles=u?Ii(u,f):f,this.styleUrls=t.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Mt=class extends Ze{contentAttr;hostAttr;constructor(r,e,t,i,o,s,a,c,u){let f=i+"-"+t.id;super(r,e,t,o,s,a,c,u,f),this.contentAttr=Vo(f),this.hostAttr=qo(f)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let t=super.createElement(r,e);return super.setAttribute(t,this.contentAttr,""),t}};var Dt=class n extends li{supportsDOMEvents=!0;static makeCurrent(){ui(new n)}onAndCancel(r,e,t,i){return r.addEventListener(e,t,i),()=>{r.removeEventListener(e,t,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=Wo();return e==null?null:Go(e)}resetBaseElement(){Qe=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return pi(document.cookie,r)}},Qe=null;function Wo(){return Qe=Qe||document.head.querySelector("base"),Qe?Qe.getAttribute("href"):null}function Go(n){return new URL(n,document.baseURI).pathname}var Ot=class{addToWindow(r){Q.getAngularTestability=(t,i=!0)=>{let o=r.findTestabilityInTree(t,i);if(o==null)throw new y(5103,!1);return o},Q.getAllAngularTestabilities=()=>r.getAllTestabilities(),Q.getAllAngularRootElements=()=>r.getAllRootElements();let e=t=>{let i=Q.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&t()};i.forEach(a=>{a.whenStable(s)})};Q.frameworkStabilizers||(Q.frameworkStabilizers=[]),Q.frameworkStabilizers.push(e)}findTestabilityInTree(r,e,t){if(e==null)return null;let i=r.getTestability(e);return i??(t?be().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null)}},Yo=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||n)};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),_i=(()=>{class n extends Ge{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,i,o){return e.addEventListener(t,i,o),()=>this.removeEventListener(e,t,i,o)}removeEventListener(e,t,i,o){return e.removeEventListener(t,i,o)}static \u0275fac=function(t){return new(t||n)(g(_))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),Ei=["alt","control","meta","shift"],Zo={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Qo={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},bi=(()=>{class n extends Ge{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,t,i,o){let s=n.parseEventName(t),a=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>be().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let t=e.toLowerCase().split("."),i=t.shift();if(t.length===0||!(i==="keydown"||i==="keyup"))return null;let o=n._normalizeKey(t.pop()),s="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),s="code."),Ei.forEach(u=>{let f=t.indexOf(u);f>-1&&(t.splice(f,1),s+=u+".")}),s+=o,t.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(e,t){let i=Zo[e.key]||e.key,o="";return t.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Ei.forEach(s=>{if(s!==i){let a=Qo[s];a(e)&&(o+=s+".")}}),o+=i,o===t)}static eventCallback(e,t,i){return o=>{n.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>t(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||n)(g(_))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})();function Ko(n,r){let e=d({rootComponent:n},Xo(r));return ai(e)}function Xo(n){return{appProviders:[...Ti,...n?.providers??[]],platformProviders:ns}}function Jo(){Dt.makeCurrent()}function es(){return new ne}function ts(){return Or(document),document}var ns=[{provide:qe,useValue:mi},{provide:Nr,useValue:Jo,multi:!0},{provide:_,useFactory:ts}];var rs=[{provide:Et,useClass:Ot},{provide:Zr,useClass:_t,deps:[K,In,Et]},{provide:_t,useClass:_t,deps:[K,In,Et]}],Ti=[{provide:br,useValue:"root"},{provide:ne,useFactory:es},{provide:At,useClass:_i,multi:!0,deps:[_]},{provide:At,useClass:bi,multi:!0,deps:[_]},jn,Ln,Un,{provide:zr,useExisting:jn},{provide:gi,useClass:Yo},[]],is=(()=>{class n{constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275mod=fe({type:n});static \u0275inj=de({providers:[...Ti,...rs],imports:[fi,si]})}return n})();var Mi=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||n)(g(_))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var kn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=v({token:n,factory:function(t){let i=null;return t?i=new(t||n):i=g(as),i},providedIn:"root"})}return n})(),as=(()=>{class n extends kn{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case P.NONE:return t;case P.HTML:return we(t,"HTML")?Ce(t):$r(this._doc,String(t)).toString();case P.STYLE:return we(t,"Style")?Ce(t):t;case P.SCRIPT:if(we(t,"Script"))return Ce(t);throw new y(5200,!1);case P.URL:return we(t,"URL")?Ce(t):kr(String(t));case P.RESOURCE_URL:if(we(t,"ResourceURL"))return Ce(t);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(e){return Pr(e)}bypassSecurityTrustStyle(e){return Ur(e)}bypassSecurityTrustScript(e){return Lr(e)}bypassSecurityTrustUrl(e){return xr(e)}bypassSecurityTrustResourceUrl(e){return jr(e)}static \u0275fac=function(t){return new(t||n)(g(_))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var p="primary",ut=Symbol("RouteTitle"),Bn=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function me(n){return new Bn(n)}function ji(n,r,e){let t=e.path.split("/");if(t.length>n.length||e.pathMatch==="full"&&(r.hasChildren()||t.length<n.length))return null;let i={};for(let o=0;o<t.length;o++){let s=t[o],a=n[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:n.slice(0,t.length),posParams:i}}function cs(n,r){if(n.length!==r.length)return!1;for(let e=0;e<n.length;++e)if(!F(n[e],r[e]))return!1;return!0}function F(n,r){let e=n?Vn(n):void 0,t=r?Vn(r):void 0;if(!e||!t||e.length!=t.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!ki(n[i],r[i]))return!1;return!0}function Vn(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function ki(n,r){if(Array.isArray(n)&&Array.isArray(r)){if(n.length!==r.length)return!1;let e=[...n].sort(),t=[...r].sort();return e.every((i,o)=>t[o]===i)}else return n===r}function $i(n){return n.length>0?n[n.length-1]:null}function X(n){return vr(n)?n:Qr(n)?M(Promise.resolve(n)):h(n)}var us={exact:zi,subset:Hi},Fi={exact:ls,subset:ds,ignored:()=>!0};function Di(n,r,e){return us[e.paths](n.root,r.root,e.matrixParams)&&Fi[e.queryParams](n.queryParams,r.queryParams)&&!(e.fragment==="exact"&&n.fragment!==r.fragment)}function ls(n,r){return F(n,r)}function zi(n,r,e){if(!pe(n.segments,r.segments)||!Ut(n.segments,r.segments,e)||n.numberOfChildren!==r.numberOfChildren)return!1;for(let t in r.children)if(!n.children[t]||!zi(n.children[t],r.children[t],e))return!1;return!0}function ds(n,r){return Object.keys(r).length<=Object.keys(n).length&&Object.keys(r).every(e=>ki(n[e],r[e]))}function Hi(n,r,e){return Bi(n,r,r.segments,e)}function Bi(n,r,e,t){if(n.segments.length>e.length){let i=n.segments.slice(0,e.length);return!(!pe(i,e)||r.hasChildren()||!Ut(i,e,t))}else if(n.segments.length===e.length){if(!pe(n.segments,e)||!Ut(n.segments,e,t))return!1;for(let i in r.children)if(!n.children[i]||!Hi(n.children[i],r.children[i],t))return!1;return!0}else{let i=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!pe(n.segments,i)||!Ut(n.segments,i,t)||!n.children[p]?!1:Bi(n.children[p],r,o,t)}}function Ut(n,r,e){return r.every((t,i)=>Fi[e](n[i].parameters,t.parameters))}var H=class{root;queryParams;fragment;_queryParamMap;constructor(r=new S([],{}),e={},t=null){this.root=r,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap??=me(this.queryParams),this._queryParamMap}toString(){return ps.serialize(this)}},S=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Lt(this)}},re=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=me(this.parameters),this._parameterMap}toString(){return qi(this)}};function hs(n,r){return pe(n,r)&&n.every((e,t)=>F(e.parameters,r[t].parameters))}function pe(n,r){return n.length!==r.length?!1:n.every((e,t)=>e.path===r[t].path)}function fs(n,r){let e=[];return Object.entries(n.children).forEach(([t,i])=>{t===p&&(e=e.concat(r(i,t)))}),Object.entries(n.children).forEach(([t,i])=>{t!==p&&(e=e.concat(r(i,t)))}),e}var ve=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=v({token:n,factory:()=>new ie,providedIn:"root"})}return n})(),ie=class{parse(r){let e=new Wn(r);return new H(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${Ke(r.root,!0)}`,t=vs(r.queryParams),i=typeof r.fragment=="string"?`#${gs(r.fragment)}`:"";return`${e}${t}${i}`}},ps=new ie;function Lt(n){return n.segments.map(r=>qi(r)).join("/")}function Ke(n,r){if(!n.hasChildren())return Lt(n);if(r){let e=n.children[p]?Ke(n.children[p],!1):"",t=[];return Object.entries(n.children).forEach(([i,o])=>{i!==p&&t.push(`${i}:${Ke(o,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}else{let e=fs(n,(t,i)=>i===p?[Ke(n.children[p],!1)]:[`${i}:${Ke(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[p]!=null?`${Lt(n)}/${e[0]}`:`${Lt(n)}/(${e.join("//")})`}}function Vi(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nt(n){return Vi(n).replace(/%3B/gi,";")}function gs(n){return encodeURI(n)}function qn(n){return Vi(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xt(n){return decodeURIComponent(n)}function Oi(n){return xt(n.replace(/\+/g,"%20"))}function qi(n){return`${qn(n.path)}${ms(n.parameters)}`}function ms(n){return Object.entries(n).map(([r,e])=>`;${qn(r)}=${qn(e)}`).join("")}function vs(n){let r=Object.entries(n).map(([e,t])=>Array.isArray(t)?t.map(i=>`${Nt(e)}=${Nt(i)}`).join("&"):`${Nt(e)}=${Nt(t)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var Ss=/^[^\/()?;#]+/;function $n(n){let r=n.match(Ss);return r?r[0]:""}var ys=/^[^\/()?;=#]+/;function Rs(n){let r=n.match(ys);return r?r[0]:""}var Cs=/^[^=?&#]+/;function ws(n){let r=n.match(Cs);return r?r[0]:""}var Is=/^[^&#]+/;function Es(n){let r=n.match(Is);return r?r[0]:""}var Wn=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new S([],{}):new S([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(t[p]=new S(r,e)),t}parseSegment(){let r=$n(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(r),new re(xt(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=Rs(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let i=$n(this.remaining);i&&(t=i,this.capture(t))}r[xt(e)]=xt(t)}parseQueryParam(r){let e=ws(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let s=Es(this.remaining);s&&(t=s,this.capture(t))}let i=Oi(e),o=Oi(t);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=$n(this.remaining),i=this.remaining[t.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):r&&(o=p);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[p]:new S([],s),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new y(4011,!1)}};function Wi(n){return n.segments.length>0?new S([],{[p]:n}):n}function Gi(n){let r={};for(let[t,i]of Object.entries(n.children)){let o=Gi(i);if(t===p&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))r[s]=a;else(o.segments.length>0||o.hasChildren())&&(r[t]=o)}let e=new S(n.segments,r);return _s(e)}function _s(n){if(n.numberOfChildren===1&&n.children[p]){let r=n.children[p];return new S(n.segments.concat(r.segments),r.children)}return n}function oe(n){return n instanceof H}function Yi(n,r,e=null,t=null){let i=Zi(n);return Qi(i,r,e,t)}function Zi(n){let r;function e(o){let s={};for(let c of o.children){let u=e(c);s[c.outlet]=u}let a=new S(o.url,s);return o===n&&(r=a),a}let t=e(n.root),i=Wi(t);return r??i}function Qi(n,r,e,t){let i=n;for(;i.parent;)i=i.parent;if(r.length===0)return Fn(i,i,i,e,t);let o=bs(r);if(o.toRoot())return Fn(i,i,new S([],{}),e,t);let s=Ts(o,i,n),a=s.processChildren?Je(s.segmentGroup,s.index,o.commands):Xi(s.segmentGroup,s.index,o.commands);return Fn(i,s.segmentGroup,a,e,t)}function jt(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function tt(n){return typeof n=="object"&&n!=null&&n.outlets}function Fn(n,r,e,t,i){let o={};t&&Object.entries(t).forEach(([c,u])=>{o[c]=Array.isArray(u)?u.map(f=>`${f}`):`${u}`});let s;n===r?s=e:s=Ki(n,r,e);let a=Wi(Gi(s));return new H(a,o,i)}function Ki(n,r,e){let t={};return Object.entries(n.children).forEach(([i,o])=>{o===r?t[i]=e:t[i]=Ki(o,r,e)}),new S(n.segments,t)}var kt=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,t){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=t,r&&t.length>0&&jt(t[0]))throw new y(4003,!1);let i=t.find(tt);if(i&&i!==$i(t))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function bs(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new kt(!0,0,n);let r=0,e=!1,t=n.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?r++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new kt(e,r,t)}var Ne=class{segmentGroup;processChildren;index;constructor(r,e,t){this.segmentGroup=r,this.processChildren=e,this.index=t}};function Ts(n,r,e){if(n.isAbsolute)return new Ne(r,!0,0);if(!e)return new Ne(r,!1,NaN);if(e.parent===null)return new Ne(e,!0,0);let t=jt(n.commands[0])?0:1,i=e.segments.length-1+t;return Ms(e,i,n.numberOfDoubleDots)}function Ms(n,r,e){let t=n,i=r,o=e;for(;o>i;){if(o-=i,t=t.parent,!t)throw new y(4005,!1);i=t.segments.length}return new Ne(t,!1,i-o)}function As(n){return tt(n[0])?n[0].outlets:{[p]:n}}function Xi(n,r,e){if(n??=new S([],{}),n.segments.length===0&&n.hasChildren())return Je(n,r,e);let t=Ds(n,r,e),i=e.slice(t.commandIndex);if(t.match&&t.pathIndex<n.segments.length){let o=new S(n.segments.slice(0,t.pathIndex),{});return o.children[p]=new S(n.segments.slice(t.pathIndex),n.children),Je(o,0,i)}else return t.match&&i.length===0?new S(n.segments,{}):t.match&&!n.hasChildren()?Gn(n,r,e):t.match?Je(n,0,i):Gn(n,r,e)}function Je(n,r,e){if(e.length===0)return new S(n.segments,{});{let t=As(e),i={};if(Object.keys(t).some(o=>o!==p)&&n.children[p]&&n.numberOfChildren===1&&n.children[p].segments.length===0){let o=Je(n.children[p],r,e);return new S(n.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Xi(n.children[o],r,s))}),Object.entries(n.children).forEach(([o,s])=>{t[o]===void 0&&(i[o]=s)}),new S(n.segments,i)}}function Ds(n,r,e){let t=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<n.segments.length;){if(t>=e.length)return o;let s=n.segments[i],a=e[t];if(tt(a))break;let c=`${a}`,u=t<e.length-1?e[t+1]:null;if(i>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Pi(c,u,s))return o;t+=2}else{if(!Pi(c,{},s))return o;t++}i++}return{match:!0,pathIndex:i,commandIndex:t}}function Gn(n,r,e){let t=n.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(tt(o)){let c=Os(o.outlets);return new S(t,c)}if(i===0&&jt(e[0])){let c=n.segments[r];t.push(new re(c.path,Ni(e[0]))),i++;continue}let s=tt(o)?o.outlets[p]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&jt(a)?(t.push(new re(s,Ni(a))),i+=2):(t.push(new re(s,{})),i++)}return new S(t,{})}function Os(n){let r={};return Object.entries(n).forEach(([e,t])=>{typeof t=="string"&&(t=[t]),t!==null&&(r[e]=Gn(new S([],{}),0,t))}),r}function Ni(n){let r={};return Object.entries(n).forEach(([e,t])=>r[e]=`${t}`),r}function Pi(n,r,e){return n==e.path&&F(r,e.parameters)}var Pe="imperative",E=(function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n})(E||{}),L=class{id;url;constructor(r,e){this.id=r,this.url=e}},se=class extends L{type=E.NavigationStart;navigationTrigger;restoredState;constructor(r,e,t="imperative",i=null){super(r,e),this.navigationTrigger=t,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},k=class extends L{urlAfterRedirects;type=E.NavigationEnd;constructor(r,e,t){super(r,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},T=(function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n[n.Aborted=4]="Aborted",n})(T||{}),Le=(function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n})(Le||{}),z=class extends L{reason;code;type=E.NavigationCancel;constructor(r,e,t,i){super(r,e),this.reason=t,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},B=class extends L{reason;code;type=E.NavigationSkipped;constructor(r,e,t,i){super(r,e),this.reason=t,this.code=i}},xe=class extends L{error;target;type=E.NavigationError;constructor(r,e,t,i){super(r,e),this.error=t,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},nt=class extends L{urlAfterRedirects;state;type=E.RoutesRecognized;constructor(r,e,t,i){super(r,e),this.urlAfterRedirects=t,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$t=class extends L{urlAfterRedirects;state;type=E.GuardsCheckStart;constructor(r,e,t,i){super(r,e),this.urlAfterRedirects=t,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ft=class extends L{urlAfterRedirects;state;shouldActivate;type=E.GuardsCheckEnd;constructor(r,e,t,i,o){super(r,e),this.urlAfterRedirects=t,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},zt=class extends L{urlAfterRedirects;state;type=E.ResolveStart;constructor(r,e,t,i){super(r,e),this.urlAfterRedirects=t,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ht=class extends L{urlAfterRedirects;state;type=E.ResolveEnd;constructor(r,e,t,i){super(r,e),this.urlAfterRedirects=t,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bt=class{route;type=E.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Vt=class{route;type=E.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},qt=class{snapshot;type=E.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wt=class{snapshot;type=E.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gt=class{snapshot;type=E.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yt=class{snapshot;type=E.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},je=class{routerEvent;position;anchor;type=E.Scroll;constructor(r,e,t){this.routerEvent=r,this.position=e,this.anchor=t}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},rt=class{},ke=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function Ns(n){return!(n instanceof rt)&&!(n instanceof ke)}function Ps(n,r){return n.providers&&!n._injector&&(n._injector=Ct(n.providers,r,`Route: ${n.path}`)),n._injector??r}function $(n){return n.outlet||p}function Us(n,r){let e=n.filter(t=>$(t)===r);return e.push(...n.filter(t=>$(t)!==r)),e}function ze(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let r=n.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Zt=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ze(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new Se(this.rootInjector)}},Se=(()=>{class n{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,t){let i=this.getOrCreateContext(e);i.outlet=t,this.contexts.set(e,i)}onChildOutletDestroyed(e){let t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new Zt(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(t){return new(t||n)(g(he))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Qt=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=Yn(r,this._root);return e?e.children.map(t=>t.value):[]}firstChild(r){let e=Yn(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=Zn(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return Zn(r,this._root).map(e=>e.value)}};function Yn(n,r){if(n===r.value)return r;for(let e of r.children){let t=Yn(n,e);if(t)return t}return null}function Zn(n,r){if(n===r.value)return[r];for(let e of r.children){let t=Zn(n,e);if(t.length)return t.unshift(r),t}return[]}var U=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function Oe(n){let r={};return n&&n.children.forEach(e=>r[e.value.outlet]=e),r}var it=class extends Qt{snapshot;constructor(r,e){super(r),this.snapshot=e,rr(this,r)}toString(){return this.snapshot.toString()}};function Ji(n){let r=Ls(n),e=new x([new re("",{})]),t=new x({}),i=new x({}),o=new x({}),s=new x(""),a=new V(e,t,o,s,i,p,n,r.root);return a.snapshot=r.root,new it(new U(a,[]),r)}function Ls(n){let r={},e={},t={},o=new ge([],r,t,"",e,p,n,null,{});return new ot("",new U(o,[]))}var V=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,t,i,o,s,a,c){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=t,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(m(u=>u[ut]))??h(void 0),this.url=r,this.params=e,this.queryParams=t,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(m(r=>me(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(m(r=>me(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Kt(n,r,e="emptyOnly"){let t,{routeConfig:i}=n;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?t={params:d(d({},r.params),n.params),data:d(d({},r.data),n.data),resolve:d(d(d(d({},n.data),r.data),i?.data),n._resolvedData)}:t={params:d({},n.params),data:d({},n.data),resolve:d(d({},n.data),n._resolvedData??{})},i&&to(i)&&(t.resolve[ut]=i.title),t}var ge=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ut]}constructor(r,e,t,i,o,s,a,c,u){this.url=r,this.params=e,this.queryParams=t,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=me(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=me(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(t=>t.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},ot=class extends Qt{url;constructor(r,e){super(e),this.url=r,rr(this,e)}toString(){return eo(this._root)}};function rr(n,r){r.value._routerState=n,r.children.forEach(e=>rr(n,e))}function eo(n){let r=n.children.length>0?` { ${n.children.map(eo).join(", ")} } `:"";return`${n.value}${r}`}function zn(n){if(n.snapshot){let r=n.snapshot,e=n._futureSnapshot;n.snapshot=e,F(r.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),F(r.params,e.params)||n.paramsSubject.next(e.params),cs(r.url,e.url)||n.urlSubject.next(e.url),F(r.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function Qn(n,r){let e=F(n.params,r.params)&&hs(n.url,r.url),t=!n.parent!=!r.parent;return e&&!t&&(!n.parent||Qn(n.parent,r.parent))}function to(n){return typeof n.title=="string"||n.title===null}var no=new C(""),ir=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=p;activateEvents=new Ee;deactivateEvents=new Ee;attachEvents=new Ee;detachEvents=new Ee;routerOutletData=oi(void 0);parentContexts=l(Se);location=l(Vr);changeDetector=l(Tn);inputBinder=l(lt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:t,previousValue:i}=e.name;if(t)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Kn(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=It({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[yt]})}return n})(),Kn=class{route;childContexts;parent;outletData;constructor(r,e,t,i){this.route=r,this.childContexts=e,this.parent=t,this.outletData=i}get(r,e){return r===V?this.route:r===Se?this.childContexts:r===no?this.outletData:this.parent.get(r,e)}},lt=new C(""),or=(()=>{class n{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:t}=e,i=mt([t.queryParams,t.params,t.data]).pipe(D(([o,s,a],c)=>(a=d(d(d({},o),s),a),c===0?h(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==t||t.component===null){this.unsubscribeFromRouteData(e);return}let s=ci(t.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),sr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=wt({type:n,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,i){t&1&&Kr(0,"router-outlet")},dependencies:[ir],encapsulation:2})}return n})();function ar(n){let r=n.children&&n.children.map(ar),e=r?N(d({},n),{children:r}):d({},n);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==p&&(e.component=sr),e}function xs(n,r,e){let t=st(n,r._root,e?e._root:void 0);return new it(t,r)}function st(n,r,e){if(e&&n.shouldReuseRoute(r.value,e.value.snapshot)){let t=e.value;t._futureSnapshot=r.value;let i=js(n,r,e);return new U(t,i)}else{if(n.shouldAttach(r.value)){let o=n.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(a=>st(n,a)),s}}let t=ks(r.value),i=r.children.map(o=>st(n,o));return new U(t,i)}}function js(n,r,e){return r.children.map(t=>{for(let i of e.children)if(n.shouldReuseRoute(t.value,i.value.snapshot))return st(n,t,i);return st(n,t)})}function ks(n){return new V(new x(n.url),new x(n.params),new x(n.queryParams),new x(n.fragment),new x(n.data),n.outlet,n.component,n)}var $e=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},ro="ngNavigationCancelingError";function Xt(n,r){let{redirectTo:e,navigationBehaviorOptions:t}=oe(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=io(!1,T.Redirect);return i.url=e,i.navigationBehaviorOptions=t,i}function io(n,r){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[ro]=!0,e.cancellationCode=r,e}function $s(n){return oo(n)&&oe(n.url)}function oo(n){return!!n&&n[ro]}var Fs=(n,r,e,t)=>m(i=>(new Xn(r,i.targetRouterState,i.currentRouterState,e,t).activate(n),i)),Xn=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,t,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=t,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,r),zn(this.futureState.root),this.activateChildRoutes(e,t,r)}deactivateChildRoutes(r,e,t){let i=Oe(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],t),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(r,e,t){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=t.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,t);else o&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let t=e.getContext(r.value.outlet),i=t&&r.value.component?t.children:e,o=Oe(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:a})}}deactivateRouteAndOutlet(r,e){let t=e.getContext(r.value.outlet),i=t&&r.value.component?t.children:e,o=Oe(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(r,e,t){let i=Oe(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],t),this.forwardEvent(new Yt(o.value.snapshot))}),r.children.length&&this.forwardEvent(new Wt(r.value.snapshot))}activateRoutes(r,e,t){let i=r.value,o=e?e.value:null;if(zn(i),i===o)if(i.component){let s=t.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,t);else if(i.component){let s=t.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),zn(a.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,t)}},Jt=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},Ue=class{component;route;constructor(r,e){this.component=r,this.route=e}};function zs(n,r,e){let t=n._root,i=r?r._root:null;return Xe(t,i,e,[t.value])}function Hs(n){let r=n.routeConfig?n.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:n,guards:r}}function He(n,r){let e=Symbol(),t=r.get(n,e);return t===e?typeof n=="function"&&!_r(n)?n:r.get(n):t}function Xe(n,r,e,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Oe(r);return n.children.forEach(s=>{Bs(s,o[s.value.outlet],e,t.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>et(a,e.getContext(s),i)),i}function Bs(n,r,e,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=r?r.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=Vs(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Jt(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Xe(n,r,a?a.children:null,t,i):Xe(n,r,e,t,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ue(a.outlet.component,s))}else s&&et(r,a,i),i.canActivateChecks.push(new Jt(t)),o.component?Xe(n,null,a?a.children:null,t,i):Xe(n,null,e,t,i);return i}function Vs(n,r,e){if(typeof e=="function")return e(n,r);switch(e){case"pathParamsChange":return!pe(n.url,r.url);case"pathParamsOrQueryParamsChange":return!pe(n.url,r.url)||!F(n.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Qn(n,r)||!F(n.queryParams,r.queryParams);case"paramsChange":default:return!Qn(n,r)}}function et(n,r,e){let t=Oe(n),i=n.value;Object.entries(t).forEach(([o,s])=>{i.component?r?et(s,r.children.getContext(o),e):et(s,null,e):et(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new Ue(r.outlet.component,i)):e.canDeactivateChecks.push(new Ue(null,i)):e.canDeactivateChecks.push(new Ue(null,i))}function dt(n){return typeof n=="function"}function qs(n){return typeof n=="boolean"}function Ws(n){return n&&dt(n.canLoad)}function Gs(n){return n&&dt(n.canActivate)}function Ys(n){return n&&dt(n.canActivateChild)}function Zs(n){return n&&dt(n.canDeactivate)}function Qs(n){return n&&dt(n.canMatch)}function so(n){return n instanceof Sr||n?.name==="EmptyError"}var Pt=Symbol("INITIAL_VALUE");function Fe(){return D(n=>mt(n.map(r=>r.pipe(ee(1),Er(Pt)))).pipe(m(r=>{for(let e of r)if(e!==!0){if(e===Pt)return Pt;if(e===!1||Ks(e))return e}return!0}),Y(r=>r!==Pt),ee(1)))}function Ks(n){return oe(n)||n instanceof $e}function Xs(n,r){return A(e=>{let{targetSnapshot:t,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?h(N(d({},e),{guardsResult:!0})):Js(s,t,i,n).pipe(A(a=>a&&qs(a)?ea(t,o,n,r):h(a)),m(a=>N(d({},e),{guardsResult:a})))})}function Js(n,r,e,t){return M(n).pipe(A(i=>oa(i.component,i.route,e,r,t)),te(i=>i!==!0,!0))}function ea(n,r,e,t){return M(r).pipe(le(i=>yr(na(i.route.parent,t),ta(i.route,t),ia(n,i.path,e),ra(n,i.route,e))),te(i=>i!==!0,!0))}function ta(n,r){return n!==null&&r&&r(new Gt(n)),h(!0)}function na(n,r){return n!==null&&r&&r(new qt(n)),h(!0)}function ra(n,r,e){let t=r.routeConfig?r.routeConfig.canActivate:null;if(!t||t.length===0)return h(!0);let i=t.map(o=>vt(()=>{let s=ze(r)??e,a=He(o,s),c=Gs(a)?a.canActivate(r,n):j(s,()=>a(r,n));return X(c).pipe(te())}));return h(i).pipe(Fe())}function ia(n,r,e){let t=r[r.length-1],o=r.slice(0,r.length-1).reverse().map(s=>Hs(s)).filter(s=>s!==null).map(s=>vt(()=>{let a=s.guards.map(c=>{let u=ze(s.node)??e,f=He(c,u),R=Ys(f)?f.canActivateChild(t,n):j(u,()=>f(t,n));return X(R).pipe(te())});return h(a).pipe(Fe())}));return h(o).pipe(Fe())}function oa(n,r,e,t,i){let o=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!o||o.length===0)return h(!0);let s=o.map(a=>{let c=ze(r)??i,u=He(a,c),f=Zs(u)?u.canDeactivate(n,r,e,t):j(c,()=>u(n,r,e,t));return X(f).pipe(te())});return h(s).pipe(Fe())}function sa(n,r,e,t){let i=r.canLoad;if(i===void 0||i.length===0)return h(!0);let o=i.map(s=>{let a=He(s,n),c=Ws(a)?a.canLoad(r,e):j(n,()=>a(r,e));return X(c)});return h(o).pipe(Fe(),ao(t))}function ao(n){return gr(w(r=>{if(typeof r!="boolean")throw Xt(n,r)}),m(r=>r===!0))}function aa(n,r,e,t){let i=r.canMatch;if(!i||i.length===0)return h(!0);let o=i.map(s=>{let a=He(s,n),c=Qs(a)?a.canMatch(r,e):j(n,()=>a(r,e));return X(c)});return h(o).pipe(Fe(),ao(t))}var at=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},ct=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function De(n){return ue(new at(n))}function ca(n){return ue(new y(4e3,!1))}function ua(n){return ue(io(!1,T.GuardRejected))}var Jn=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let t=[],i=e.root;for(;;){if(t=t.concat(i.segments),i.numberOfChildren===0)return h(t);if(i.numberOfChildren>1||!i.children[p])return ca(`${r.redirectTo}`);i=i.children[p]}}applyRedirectCommands(r,e,t,i,o){return la(e,i,o).pipe(m(s=>{if(s instanceof H)throw new ct(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),r,t);if(s[0]==="/")throw new ct(a);return a}))}applyRedirectCreateUrlTree(r,e,t,i){let o=this.createSegmentGroup(r,e.root,t,i);return new H(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let t={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);t[i]=e[a]}else t[i]=o}),t}createSegmentGroup(r,e,t,i){let o=this.createSegments(r,e.segments,t,i),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(r,c,t,i)}),new S(o,s)}createSegments(r,e,t,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,t))}findPosParam(r,e,t){let i=t[e.path.substring(1)];if(!i)throw new y(4001,!1);return i}findOrReturn(r,e){let t=0;for(let i of e){if(i.path===r.path)return e.splice(t),i;t++}return r}};function la(n,r,e){if(typeof n=="string")return h(n);let t=n,{queryParams:i,fragment:o,routeConfig:s,url:a,outlet:c,params:u,data:f,title:R}=r;return X(j(e,()=>t({params:u,data:f,queryParams:i,fragment:o,routeConfig:s,url:a,outlet:c,title:R})))}var er={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function da(n,r,e,t,i){let o=co(n,r,e);return o.matched?(t=Ps(r,t),aa(t,r,e,i).pipe(m(s=>s===!0?o:d({},er)))):h(o)}function co(n,r,e){if(r.path==="**")return ha(e);if(r.path==="")return r.pathMatch==="full"&&(n.hasChildren()||e.length>0)?d({},er):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||ji)(e,n,r);if(!i)return d({},er);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?d(d({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function ha(n){return{matched:!0,parameters:n.length>0?$i(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function Ui(n,r,e,t){return e.length>0&&ga(n,e,t)?{segmentGroup:new S(r,pa(t,new S(e,n.children))),slicedSegments:[]}:e.length===0&&ma(n,e,t)?{segmentGroup:new S(n.segments,fa(n,e,t,n.children)),slicedSegments:e}:{segmentGroup:new S(n.segments,n.children),slicedSegments:e}}function fa(n,r,e,t){let i={};for(let o of e)if(tn(n,r,o)&&!t[$(o)]){let s=new S([],{});i[$(o)]=s}return d(d({},t),i)}function pa(n,r){let e={};e[p]=r;for(let t of n)if(t.path===""&&$(t)!==p){let i=new S([],{});e[$(t)]=i}return e}function ga(n,r,e){return e.some(t=>tn(n,r,t)&&$(t)!==p)}function ma(n,r,e){return e.some(t=>tn(n,r,t))}function tn(n,r,e){return(n.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function va(n,r,e){return r.length===0&&!n.children[e]}var tr=class{};function Sa(n,r,e,t,i,o,s="emptyOnly"){return new nr(n,r,e,t,i,s,o).recognize()}var ya=31,nr=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,t,i,o,s,a){this.injector=r,this.configLoader=e,this.rootComponentType=t,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Jn(this.urlSerializer,this.urlTree)}noMatchError(r){return new y(4002,`'${r.segmentGroup}'`)}recognize(){let r=Ui(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(m(({children:e,rootSnapshot:t})=>{let i=new U(t,e),o=new ot("",i),s=Yi(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(r){let e=new ge([],Object.freeze({}),Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),p,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,p,e).pipe(m(t=>({children:t,rootSnapshot:e})),Z(t=>{if(t instanceof ct)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof at?this.noMatchError(t):t}))}processSegmentGroup(r,e,t,i,o){return t.segments.length===0&&t.hasChildren()?this.processChildren(r,e,t,o):this.processSegment(r,e,t,t.segments,i,!0,o).pipe(m(s=>s instanceof U?[s]:[]))}processChildren(r,e,t,i){let o=[];for(let s of Object.keys(t.children))s==="primary"?o.unshift(s):o.push(s);return M(o).pipe(le(s=>{let a=t.children[s],c=Us(e,s);return this.processSegmentGroup(r,c,a,s,i)}),wr((s,a)=>(s.push(...a),s)),pn(null),Cr(),A(s=>{if(s===null)return De(t);let a=uo(s);return Ra(a),h(a)}))}processSegment(r,e,t,i,o,s,a){return M(e).pipe(le(c=>this.processSegmentAgainstRoute(c._injector??r,e,c,t,i,o,s,a).pipe(Z(u=>{if(u instanceof at)return h(null);throw u}))),te(c=>!!c),Z(c=>{if(so(c))return va(t,i,o)?h(new tr):De(t);throw c}))}processSegmentAgainstRoute(r,e,t,i,o,s,a,c){return $(t)!==s&&(s===p||!tn(i,o,t))?De(i):t.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,t,o,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,t,o,s,c):De(i)}expandSegmentAgainstRouteUsingRedirect(r,e,t,i,o,s,a){let{matched:c,parameters:u,consumedSegments:f,positionalParamSegments:R,remainingSegments:I}=co(e,i,o);if(!c)return De(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ya&&(this.allowRedirects=!1));let b=new ge(o,u,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Li(i),$(i),i.component??i._loadedComponent??null,i,xi(i)),O=Kt(b,a,this.paramsInheritanceStrategy);return b.params=Object.freeze(O.params),b.data=Object.freeze(O.data),this.applyRedirects.applyRedirectCommands(f,i.redirectTo,R,b,r).pipe(D(ce=>this.applyRedirects.lineralizeSegments(i,ce)),A(ce=>this.processSegment(r,t,e,ce.concat(I),s,!1,a)))}matchSegmentAgainstRoute(r,e,t,i,o,s){let a=da(e,t,i,r,this.urlSerializer);return t.path==="**"&&(e.children={}),a.pipe(D(c=>c.matched?(r=t._injector??r,this.getChildConfig(r,t,i).pipe(D(({routes:u})=>{let f=t._loadedInjector??r,{parameters:R,consumedSegments:I,remainingSegments:b}=c,O=new ge(I,R,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Li(t),$(t),t.component??t._loadedComponent??null,t,xi(t)),un=Kt(O,s,this.paramsInheritanceStrategy);O.params=Object.freeze(un.params),O.data=Object.freeze(un.data);let{segmentGroup:ce,slicedSegments:ln}=Ui(e,I,b,u);if(ln.length===0&&ce.hasChildren())return this.processChildren(f,u,ce,O).pipe(m(pt=>new U(O,pt)));if(u.length===0&&ln.length===0)return h(new U(O,[]));let ko=$(t)===o;return this.processSegment(f,u,ce,ln,ko?p:o,!0,O).pipe(m(pt=>new U(O,pt instanceof U?[pt]:[])))}))):De(e)))}getChildConfig(r,e,t){return e.children?h({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?h({routes:e._loadedRoutes,injector:e._loadedInjector}):sa(r,e,t,this.urlSerializer).pipe(A(i=>i?this.configLoader.loadChildren(r,e).pipe(w(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):ua(e))):h({routes:[],injector:r})}};function Ra(n){n.sort((r,e)=>r.value.outlet===p?-1:e.value.outlet===p?1:r.value.outlet.localeCompare(e.value.outlet))}function Ca(n){let r=n.value.routeConfig;return r&&r.path===""}function uo(n){let r=[],e=new Set;for(let t of n){if(!Ca(t)){r.push(t);continue}let i=r.find(o=>t.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...t.children),e.add(i)):r.push(t)}for(let t of e){let i=uo(t.children);r.push(new U(t.value,i))}return r.filter(t=>!e.has(t))}function Li(n){return n.data||{}}function xi(n){return n.resolve||{}}function wa(n,r,e,t,i,o){return A(s=>Sa(n,r,e,t,s.extractedUrl,i,o).pipe(m(({state:a,tree:c})=>N(d({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Ia(n,r){return A(e=>{let{targetSnapshot:t,guards:{canActivateChecks:i}}=e;if(!i.length)return h(e);let o=new Set(i.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let u of lo(c))s.add(u);let a=0;return M(s).pipe(le(c=>o.has(c)?Ea(c,t,n,r):(c.data=Kt(c,c.parent,n).resolve,h(void 0))),w(()=>a++),gn(1),A(c=>a===s.size?h(e):G))})}function lo(n){let r=n.children.map(e=>lo(e)).flat();return[n,...r]}function Ea(n,r,e,t){let i=n.routeConfig,o=n._resolve;return i?.title!==void 0&&!to(i)&&(o[ut]=i.title),vt(()=>(n.data=Kt(n,n.parent,e).resolve,_a(o,n,r,t).pipe(m(s=>(n._resolvedData=s,n.data=d(d({},n.data),s),null)))))}function _a(n,r,e,t){let i=Vn(n);if(i.length===0)return h({});let o={};return M(i).pipe(A(s=>ba(n[s],r,e,t).pipe(te(),w(a=>{if(a instanceof $e)throw Xt(new ie,a);o[s]=a}))),gn(1),m(()=>o),Z(s=>so(s)?G:ue(s)))}function ba(n,r,e,t){let i=ze(r)??t,o=He(n,i),s=o.resolve?o.resolve(r,e):j(i,()=>o(r,e));return X(s)}function Hn(n){return D(r=>{let e=n(r);return e?M(e).pipe(m(()=>r)):h(r)})}var cr=(()=>{class n{buildTitle(e){let t,i=e.root;for(;i!==void 0;)t=this.getResolvedTitleForRoute(i)??t,i=i.children.find(o=>o.outlet===p);return t}getResolvedTitleForRoute(e){return e.data[ut]}static \u0275fac=function(t){return new(t||n)};static \u0275prov=v({token:n,factory:()=>l(ho),providedIn:"root"})}return n})(),ho=(()=>{class n extends cr{title;constructor(e){super(),this.title=e}updateTitle(e){let t=this.buildTitle(e);t!==void 0&&this.title.setTitle(t)}static \u0275fac=function(t){return new(t||n)(g(Mi))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ae=new C("",{providedIn:"root",factory:()=>({})}),ye=new C(""),nn=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=l(ri);loadComponent(e,t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return h(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let i=X(j(e,()=>t.loadComponent())).pipe(m(po),D(go),w(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),Re(()=>{this.componentLoaders.delete(t)})),o=new hn(i,()=>new W).pipe(dn());return this.componentLoaders.set(t,o),o}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return h({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);let o=fo(t,this.compiler,e,this.onLoadEndListener).pipe(Re(()=>{this.childrenLoaders.delete(t)})),s=new hn(o,()=>new W).pipe(dn());return this.childrenLoaders.set(t,s),s}static \u0275fac=function(t){return new(t||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function fo(n,r,e,t){return X(j(e,()=>n.loadChildren())).pipe(m(po),D(go),A(i=>i instanceof Wr||Array.isArray(i)?h(i):M(r.compileModuleAsync(i))),m(i=>{t&&t(n);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(ye,[],{optional:!0,self:!0}).flat()),{routes:s.map(ar),injector:o}}))}function Ta(n){return n&&typeof n=="object"&&"default"in n}function po(n){return Ta(n)?n.default:n}function go(n){return h(n)}var rn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=v({token:n,factory:()=>l(Ma),providedIn:"root"})}return n})(),Ma=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static \u0275fac=function(t){return new(t||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ur=new C(""),lr=new C("");function mo(n,r,e){let t=n.get(lr),i=n.get(_);if(!i.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),a=i.startViewTransition(()=>(o(),Aa(n)));a.ready.catch(u=>{});let{onViewTransitionCreated:c}=t;return c&&j(n,()=>c({transition:a,from:r,to:e})),s}function Aa(n){return new Promise(r=>{Yr({read:()=>setTimeout(r)},{injector:n})})}var dr=new C(""),on=(()=>{class n{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new W;transitionAbortWithErrorSubject=new W;configLoader=l(nn);environmentInjector=l(he);destroyRef=l(Tr);urlSerializer=l(ve);rootContexts=l(Se);location=l(Me);inputBindingEnabled=l(lt,{optional:!0})!==null;titleStrategy=l(cr);options=l(ae,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=l(rn);createViewTransition=l(ur,{optional:!0});navigationErrorHandler=l(dr,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>h(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new Bt(i)),t=i=>this.events.next(new Vt(i));this.configLoader.onLoadEndListener=t,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let t=++this.navigationId;this.transitions?.next(N(d({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:t}))}setupNavigations(e){return this.transitions=new x(null),this.transitions.pipe(Y(t=>t!==null),D(t=>{let i=!1;return h(t).pipe(D(o=>{if(this.navigationId>t.id)return this.cancelNavigationTransition(t,"",T.SupersededByNewNavigation),G;this.currentTransition=t,this.currentNavigation={id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?N(d({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()};let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new B(o.id,this.urlSerializer.serialize(o.rawUrl),"",Le.IgnoredSameUrlNavigation)),o.resolve(!1),G;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return h(o).pipe(D(c=>(this.events.next(new se(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?G:Promise.resolve(c))),wa(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),w(c=>{t.targetSnapshot=c.targetSnapshot,t.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation=N(d({},this.currentNavigation),{finalUrl:c.urlAfterRedirects});let u=new nt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:c,extractedUrl:u,source:f,restoredState:R,extras:I}=o,b=new se(c,this.urlSerializer.serialize(u),f,R);this.events.next(b);let O=Ji(this.rootComponentType).snapshot;return this.currentTransition=t=N(d({},o),{targetSnapshot:O,urlAfterRedirects:u,extras:N(d({},I),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=u,h(t)}else return this.events.next(new B(o.id,this.urlSerializer.serialize(o.extractedUrl),"",Le.IgnoredByUrlHandlingStrategy)),o.resolve(!1),G}),w(o=>{let s=new $t(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),m(o=>(this.currentTransition=t=N(d({},o),{guards:zs(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),t)),Xs(this.environmentInjector,o=>this.events.next(o)),w(o=>{if(t.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw Xt(this.urlSerializer,o.guardsResult);let s=new Ft(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),Y(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",T.GuardRejected),!1)),Hn(o=>{if(o.guards.canActivateChecks.length!==0)return h(o).pipe(w(s=>{let a=new zt(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),D(s=>{let a=!1;return h(s).pipe(Ia(this.paramsInheritanceStrategy,this.environmentInjector),w({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",T.NoDataFromResolver)}}))}),w(s=>{let a=new Ht(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Hn(o=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent&&!a.routeConfig._loadedComponent){let u=ze(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(u,a.routeConfig).pipe(w(f=>{a.component=f}),m(()=>{})))}for(let u of a.children)c.push(...s(u));return c};return mt(s(o.targetSnapshot.root)).pipe(pn(null),ee(1))}),Hn(()=>this.afterPreactivation()),D(()=>{let{currentSnapshot:o,targetSnapshot:s}=t,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?M(a).pipe(m(()=>t)):h(t)}),m(o=>{let s=xs(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=t=N(d({},o),{targetRouterState:s}),this.currentNavigation.targetRouterState=s,t}),w(()=>{this.events.next(new rt)}),Fs(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),ee(1),mn(new mr(o=>{let s=t.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(Y(()=>!i&&!t.targetRouterState),w(()=>{this.cancelNavigationTransition(t,t.abortController.signal.reason+"",T.Aborted)}))),w({next:o=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new k(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{i=!0}}),mn(this.transitionAbortWithErrorSubject.pipe(w(o=>{throw o}))),Re(()=>{i||this.cancelNavigationTransition(t,"",T.SupersededByNewNavigation),this.currentTransition?.id===t.id&&(this.currentNavigation=null,this.currentTransition=null)}),Z(o=>{if(this.destroyed)return t.resolve(!1),G;if(i=!0,oo(o))this.events.next(new z(t.id,this.urlSerializer.serialize(t.extractedUrl),o.message,o.cancellationCode)),$s(o)?this.events.next(new ke(o.url,o.navigationBehaviorOptions)):t.resolve(!1);else{let s=new xe(t.id,this.urlSerializer.serialize(t.extractedUrl),o,t.targetSnapshot??void 0);try{let a=j(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof $e){let{message:c,cancellationCode:u}=Xt(this.urlSerializer,a);this.events.next(new z(t.id,this.urlSerializer.serialize(t.extractedUrl),c,u)),this.events.next(new ke(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?t.resolve(!1):t.reject(a)}}return G}))}))}cancelNavigationTransition(e,t,i){let o=new z(e.id,this.urlSerializer.serialize(e.extractedUrl),t,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==t?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(t){return new(t||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Da(n){return n!==Pe}var vo=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=v({token:n,factory:()=>l(Oa),providedIn:"root"})}return n})(),en=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},Oa=(()=>{class n extends en{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Sn(n)))(i||n)}})();static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),So=(()=>{class n{urlSerializer=l(ve);options=l(ae,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=l(Me);urlHandlingStrategy=l(rn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new H;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:t,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,t):t,s=i??o;return s instanceof H?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:t,initialUrl:i}){t&&e?(this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(t,i),this.routerState=e):this.rawUrlTree=i}routerState=Ji(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=v({token:n,factory:()=>l(Na),providedIn:"root"})}return n})(),Na=(()=>{class n extends So{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{t.type==="popstate"&&setTimeout(()=>{e(t.url,t.state,"popstate")})})}handleRouterEvent(e,t){e instanceof se?this.updateStateMemento():e instanceof B?this.commitTransition(t):e instanceof nt?this.urlUpdateStrategy==="eager"&&(t.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof rt?(this.commitTransition(t),this.urlUpdateStrategy==="deferred"&&!t.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof z&&e.code!==T.SupersededByNewNavigation&&e.code!==T.Redirect?this.restoreHistory(t):e instanceof xe?this.restoreHistory(t,!0):e instanceof k&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:t,id:i}){let{replaceUrl:o,state:s}=t;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,c=d(d({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",c)}else{let a=d(d({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,t=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(t&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Sn(n)))(i||n)}})();static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function sn(n,r){n.events.pipe(Y(e=>e instanceof k||e instanceof z||e instanceof xe||e instanceof B),m(e=>e instanceof k||e instanceof B?0:(e instanceof z?e.code===T.Redirect||e.code===T.SupersededByNewNavigation:!1)?2:1),Y(e=>e!==2),ee(1)).subscribe(()=>{r()})}var Pa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ua={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},q=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=l(wn);stateManager=l(So);options=l(ae,{optional:!0})||{};pendingTasks=l(Ar);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=l(on);urlSerializer=l(ve);location=l(Me);urlHandlingStrategy=l(rn);injector=l(he);_events=new W;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=l(vo);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=l(ye,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!l(lt,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new gt;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(t=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(t,o),t instanceof z&&t.code!==T.Redirect&&t.code!==T.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof k)this.navigated=!0;else if(t instanceof ke){let s=t.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(t.url,i.currentRawUrl),c=d({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Da(i.source)},s);this.scheduleNavigation(a,Pe,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Ns(t)&&this._events.next(t)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Pe,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t,i)=>{this.navigateToSyncWithBrowser(e,i,t)})}navigateToSyncWithBrowser(e,t,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let c=d({},i);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(o.state=c)}let a=this.parseUrl(e);this.scheduleNavigation(a,t,s,o).catch(c=>{this.disposed||this.injector.get(St)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(ar),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,t={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=t,u=c?this.currentUrlTree.fragment:s,f=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":f=d(d({},this.currentUrlTree.queryParams),o);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=o||null}f!==null&&(f=this.removeEmptyProps(f));let R;try{let I=i?i.snapshot:this.routerState.snapshot.root;R=Zi(I)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),R=this.currentUrlTree.root}return Qi(R,e,f,u??null)}navigateByUrl(e,t={skipLocationChange:!1}){let i=oe(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Pe,null,t)}navigate(e,t={skipLocationChange:!1}){return La(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,t){let i;if(t===!0?i=d({},Pa):t===!1?i=d({},Ua):i=t,oe(e))return Di(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Di(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((t,[i,o])=>(o!=null&&(t[i]=o),t),{})}scheduleNavigation(e,t,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((R,I)=>{a=R,c=I});let f=this.pendingTasks.add();return sn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(R=>Promise.reject(R))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function La(n){for(let r=0;r<n.length;r++)if(n[r]==null)throw new y(4008,!1)}var yo=(()=>{class n{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=Mr(null);get href(){return ii(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new W;applicationErrorHandler=l(St);options=l(ae,{optional:!0});constructor(e,t,i,o,s,a){this.router=e,this.route=t,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.reactiveHref.set(l(new Tt("href"),{optional:!0}));let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let e=this.preserveFragment,t=i=>i==="merge"||i==="preserve";e||=t(this.queryParamsHandling),e||=!this.queryParamsHandling&&!t(this.options?.defaultQueryParamsHandling),e&&(this.subscription=this.router.events.subscribe(i=>{i instanceof k&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(oe(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||t||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.reactiveHref.set(e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,t){let i=this.renderer,o=this.el.nativeElement;t!==null?i.setAttribute(o,e,t):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:oe(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(t){return new(t||n)(Ie(q),Ie(V),Dr("tabindex"),Ie(Hr),Ie(Rt),Ie(Te))};static \u0275dir=It({type:n,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(t,i){t&1&&Xr("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),t&2&&bt("href",i.reactiveHref(),Fr)("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",_e],skipLocationChange:[2,"skipLocationChange","skipLocationChange",_e],replaceUrl:[2,"replaceUrl","replaceUrl",_e],routerLink:"routerLink"},features:[yt]})}return n})();var ht=class{};var Ro=(()=>{class n{router;injector;preloadingStrategy;loader;subscription;constructor(e,t,i,o){this.router=e,this.injector=t,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Y(e=>e instanceof k),le(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){let i=[];for(let o of t){o.providers&&!o._injector&&(o._injector=Ct(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return M(i).pipe(fn())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{let i;t.loadChildren&&t.canLoad===void 0?i=this.loader.loadChildren(e,t):i=h(null);let o=i.pipe(A(s=>s===null?h(void 0):(t._loadedRoutes=s.routes,t._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(t.loadComponent&&!t._loadedComponent){let s=this.loader.loadComponent(e,t);return M([o,s]).pipe(fn())}else return o})}static \u0275fac=function(t){return new(t||n)(g(q),g(he),g(ht),g(nn))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Co=new C(""),xa=(()=>{class n{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Pe;restoredId=0;store={};constructor(e,t,i,o,s={}){this.urlSerializer=e,this.transitions=t,this.viewportScroller=i,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof se?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof k?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof B&&e.code===Le.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof je&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.zone.runOutsideAngular(()=>pr(this,null,function*(){yield new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<"u"&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new je(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,t))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(t){Br()};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})();function ja(n,...r){return vn([{provide:ye,multi:!0,useValue:n},[],{provide:V,useFactory:wo,deps:[q]},{provide:_n,multi:!0,useFactory:Io},r.map(e=>e.\u0275providers)])}function wo(n){return n.routerState.root}function Be(n,r){return{\u0275kind:n,\u0275providers:r}}function Io(){let n=l(Ve);return r=>{let e=n.get(bn);if(r!==e.components[0])return;let t=n.get(q),i=n.get(Eo);n.get(fr)===1&&t.initialNavigation(),n.get(To,null,{optional:!0})?.setUpPreloading(),n.get(Co,null,{optional:!0})?.init(),t.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Eo=new C("",{factory:()=>new W}),fr=new C("",{providedIn:"root",factory:()=>1});function _o(){let n=[{provide:fr,useValue:0},En(()=>{let r=l(Ve);return r.get(di,Promise.resolve()).then(()=>new Promise(t=>{let i=r.get(q),o=r.get(Eo);sn(i,()=>{t(!0)}),r.get(on).afterPreactivation=()=>(t(!0),o.closed?h(void 0):o),i.initialNavigation()}))})];return Be(2,n)}function bo(){let n=[En(()=>{l(q).setUpLocationChangeListener()}),{provide:fr,useValue:2}];return Be(3,n)}var To=new C("");function Mo(n){return Be(0,[{provide:To,useExisting:Ro},{provide:ht,useExisting:n}])}function ka(){return Be(6,[{provide:Te,useClass:Mn}])}function Ao(){return Be(8,[or,{provide:lt,useExisting:or}])}function Do(n){qr("NgRouterViewTransitions");let r=[{provide:ur,useValue:mo},{provide:lr,useValue:d({skipNextTransition:!!n?.skipInitialTransition},n)}];return Be(9,r)}var Oo=[Me,{provide:ve,useClass:ie},q,Se,{provide:V,useFactory:wo,deps:[q]},nn,[]],$a=(()=>{class n{constructor(){}static forRoot(e,t){return{ngModule:n,providers:[Oo,[],{provide:ye,multi:!0,useValue:e},[],t?.errorHandler?{provide:dr,useValue:t.errorHandler}:[],{provide:ae,useValue:t||{}},t?.useHash?za():Ha(),Fa(),t?.preloadingStrategy?Mo(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?Ba(t):[],t?.bindToComponentInputs?Ao().\u0275providers:[],t?.enableViewTransitions?Do().\u0275providers:[],Va()]}}static forChild(e){return{ngModule:n,providers:[{provide:ye,multi:!0,useValue:e}]}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=fe({type:n});static \u0275inj=de({})}return n})();function Fa(){return{provide:Co,useFactory:()=>{let n=l(vi),r=l(K),e=l(ae),t=l(on),i=l(ve);return e.scrollOffset&&n.setOffset(e.scrollOffset),new xa(i,t,n,r,e)}}}function za(){return{provide:Te,useClass:Mn}}function Ha(){return{provide:Te,useClass:hi}}function Ba(n){return[n.initialNavigation==="disabled"?bo().\u0275providers:[],n.initialNavigation==="enabledBlocking"?_o().\u0275providers:[]]}var hr=new C("");function Va(){return[{provide:hr,useFactory:Io},{provide:_n,multi:!0,useExisting:hr}]}var an;function qa(){if(an===void 0&&(an=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(an=n.trustedTypes.createPolicy("angular#components",{createHTML:r=>r}))}return an}function ft(n){return qa()?.createHTML(n)||n}function No(n){return Error(`Unable to find icon with the name "${n}"`)}function Wa(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Po(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Uo(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var J=class{url;svgText;options;svgElement;constructor(r,e,t){this.url=r,this.svgText=e,this.options=t}},xo=(()=>{class n{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,t,i,o){this._httpClient=e,this._sanitizer=t,this._errorHandler=o,this._document=i}addSvgIcon(e,t,i){return this.addSvgIconInNamespace("",e,t,i)}addSvgIconLiteral(e,t,i){return this.addSvgIconLiteralInNamespace("",e,t,i)}addSvgIconInNamespace(e,t,i,o){return this._addSvgIconConfig(e,t,new J(i,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,i,o){let s=this._sanitizer.sanitize(P.HTML,i);if(!s)throw Uo(i);let a=ft(s);return this._addSvgIconConfig(e,t,new J("",a,o))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,i){return this._addSvgIconSetConfig(e,new J(t,null,i))}addSvgIconSetLiteralInNamespace(e,t,i){let o=this._sanitizer.sanitize(P.HTML,t);if(!o)throw Uo(t);let s=ft(o);return this._addSvgIconSetConfig(e,new J("",s,i))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(P.RESOURCE_URL,e);if(!t)throw Po(e);let i=this._cachedIconsByUrl.get(t);return i?h(cn(i)):this._loadSvgIconFromConfig(new J(e,null)).pipe(w(o=>this._cachedIconsByUrl.set(t,o)),m(o=>cn(o)))}getNamedSvgIcon(e,t=""){let i=Lo(t,e),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(t,e),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let s=this._iconSetConfigs.get(t);return s?this._getSvgFromIconSetConfigs(e,s):ue(No(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?h(cn(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(m(t=>cn(t)))}_getSvgFromIconSetConfigs(e,t){let i=this._extractIconWithNameFromAnySet(e,t);if(i)return h(i);let o=t.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Z(a=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(P.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(u)),h(null)})));return Rr(o).pipe(m(()=>{let s=this._extractIconWithNameFromAnySet(e,t);if(!s)throw No(e);return s}))}_extractIconWithNameFromAnySet(e,t){for(let i=t.length-1;i>=0;i--){let o=t[i];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(w(t=>e.svgText=t),m(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?h(null):this._fetchIcon(e).pipe(w(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,i){let o=e.querySelector(`[id="${t}"]`);if(!o)return null;let s=o.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,i);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),i);let a=this._svgElementFromString(ft("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,i)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let i=t.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(e){let t=this._svgElementFromString(ft("<svg></svg>")),i=e.attributes;for(let o=0;o<i.length;o++){let{name:s,value:a}=i[o];s!=="id"&&t.setAttribute(s,a)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[o].cloneNode(!0));return t}_setSvgAttributes(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e}_fetchIcon(e){let{url:t,options:i}=e,o=i?.withCredentials??!1;if(!this._httpClient)throw Wa();if(t==null)throw Error(`Cannot fetch icon from URL "${t}".`);let s=this._sanitizer.sanitize(P.RESOURCE_URL,t);if(!s)throw Po(t);let a=this._inProgressUrlFetches.get(s);if(a)return a;let c=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(m(u=>ft(u)),Re(()=>this._inProgressUrlFetches.delete(s)),Ir());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(e,t,i){return this._svgIconConfigs.set(Lo(e,t),i),this}_addSvgIconSetConfig(e,t){let i=this._iconSetConfigs.get(e);return i?i.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](t,e);if(o)return Ga(o)?new J(o.url,null,o.options):new J(o,null)}}static \u0275fac=function(t){return new(t||n)(g(Si,8),g(kn),g(_,8),g(ne))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function cn(n){return n.cloneNode(!0)}function Lo(n,r){return n+":"+r}function Ga(n){return!!(n.url&&n.options)}var Ya=["*"],Za=new C("MAT_ICON_DEFAULT_OPTIONS"),Qa=new C("mat-icon-location",{providedIn:"root",factory:Ka});function Ka(){let n=l(_),r=n?n.location:null;return{getPathname:()=>r?r.pathname+r.search:""}}var jo=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Xa=jo.map(n=>`[${n}]`).join(", "),Ja=/^url\(['"]?#(.*?)['"]?\)$/,Zu=(()=>{class n{_elementRef=l(Rt);_iconRegistry=l(xo);_location=l(Qa);_errorHandler=l(ne);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=gt.EMPTY;constructor(){let e=l(new Tt("aria-hidden"),{optional:!0}),t=l(Za,{optional:!0});t&&(t.color&&(this.color=this._defaultColor=t.color),t.fontSet&&(this.fontSet=t.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let i=e.childNodes[t];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>e.classList.remove(i)),t.forEach(i=>e.classList.add(i)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences;t&&t.forEach((i,o)=>{i.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(Xa),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<t.length;o++)jo.forEach(s=>{let a=t[o],c=a.getAttribute(s),u=c?c.match(Ja):null;if(u){let f=i.get(a);f||(f=[],i.set(a,f)),f.push({name:s,value:u[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,i]=this._splitIconName(e);t&&(this._svgNamespace=t),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,t).pipe(ee(1)).subscribe(o=>this._setSvgElement(o),o=>{let s=`Error retrieving icon ${t}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=wt({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,i){t&2&&(bt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),ni(i.color?"mat-"+i.color:""),ti("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",_e],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Ya,decls:1,vars:0,template:function(t,i){t&1&&(Jr(),ei(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.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}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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}
|
|
2
|
-
`],encapsulation:2,changeDetection:0})}return n})(),Qu=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=fe({type:n});static \u0275inj=de({imports:[An,An]})}return n})();export{jn as a,Ko as b,is as c,kn as d,V as e,ir as f,q as g,yo as h,ja as i,ka as j,$a as k,xo as l,Zu as m,Qu as n};
|
package/public/chunk-VHFBF47T.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as c,m as p,n as u}from"./chunk-TXPLRBW5.js";import{Ac as s,De as h,Ie as f,Zb as a,_b as n,ad as g,ic as d,lb as r,ta as l,wb as m,zc as i}from"./chunk-35L7BBBD.js";var w=(()=>{class e{pageTitle=g();_router=l(c);closePage(){this._router.navigate(["/dashboard"])}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=m({type:e,selectors:[["page-header"]],inputs:{pageTitle:[1,"pageTitle"]},decls:6,vars:1,consts:[[1,"fullpage-header"],[1,"fullpage-header-title"],["mat-icon-button","",1,"dialog-close-icon",3,"click"]],template:function(t,o){t&1&&(a(0,"div",0)(1,"h6",1),i(2),n(),a(3,"button",2),d("click",function(){return o.closePage()}),a(4,"mat-icon"),i(5,"close"),n()()()),t&2&&(r(2),s(o.pageTitle()))},dependencies:[f,h,u,p],styles:[".fullpage-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:baseline}.fullpage-header-title[_ngcontent-%COMP%]{margin-block-start:0px;margin-block-end:0px;padding:18px 24px 13px;color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, .87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, .03125em))}.dialog-close-icon[_ngcontent-%COMP%]{margin-right:15px}.mat-mdc-dialog-content[_ngcontent-%COMP%]{max-height:max-content}.dialog-content-padding[_ngcontent-%COMP%]{--mat-dialog-content-padding: 0px 24px 20px 24px}"]})}return e})();export{w as a};
|
package/public/chunk-VYUMZVH2.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i as ve,p as be}from"./chunk-TA4GACKT.js";import{d as tt,e as rt,oa as ye,ta as Z}from"./chunk-35L7BBBD.js";var we=tt(($,Q)=>{(function(f,R){typeof $=="object"&&typeof Q<"u"?Q.exports=R():typeof define=="function"&&define.amd?define(R):(f=typeof globalThis<"u"?globalThis:f||self,f.Qty=R())})($,function(){"use strict";function f(e){return typeof e=="string"||e instanceof String}var R=Number.isFinite||window.isFinite;function n(e){return R(e)}function l(e){return e}function p(e){var t={};return e.filter(function(r){return t.hasOwnProperty(r)?!1:t[r]=!0})}function c(e,t){if(t.length!==e.length)return!1;for(var r=0;r<e.length;r++)if(t[r].compareArray&&!t[r].compareArray(e[r])||t[r]!==e[r])return!1;return!0}function y(e,t){Object.keys(t).forEach(function(r){e[r]=t[r]})}function h(){for(var e=1,t=0,r=0;r<arguments.length;r++){var i=arguments[r];t=t+ee(i),e*=i}return t!==0?F(e,t):e}function x(e,t){if(t===0)throw new Error("Divide by zero");var r=Math.pow(10,ee(t)),i=r/(r*t);return h(e,i)}function F(e,t){return Math.round(e*Math.pow(10,t))/Math.pow(10,t)}function ee(e){if(!isFinite(e))return 0;for(var t=0;e%1!==0;)e*=10,t++;return t}function m(){var e;if(!this)return e=Object.create(m.prototype),m.apply(e,arguments),e;e=Error.apply(this,arguments),this.name="QtyError",this.message=e.message,this.stack=e.stack}m.prototype=Object.create(Error.prototype,{constructor:{value:m}});function z(e,t){throw new m("Incompatible units: "+e+" and "+t)}var S={"<googol>":[["googol"],1e100,"prefix"],"<kibi>":[["Ki","Kibi","kibi"],Math.pow(2,10),"prefix"],"<mebi>":[["Mi","Mebi","mebi"],Math.pow(2,20),"prefix"],"<gibi>":[["Gi","Gibi","gibi"],Math.pow(2,30),"prefix"],"<tebi>":[["Ti","Tebi","tebi"],Math.pow(2,40),"prefix"],"<pebi>":[["Pi","Pebi","pebi"],Math.pow(2,50),"prefix"],"<exi>":[["Ei","Exi","exi"],Math.pow(2,60),"prefix"],"<zebi>":[["Zi","Zebi","zebi"],Math.pow(2,70),"prefix"],"<yebi>":[["Yi","Yebi","yebi"],Math.pow(2,80),"prefix"],"<yotta>":[["Y","Yotta","yotta"],1e24,"prefix"],"<zetta>":[["Z","Zetta","zetta"],1e21,"prefix"],"<exa>":[["E","Exa","exa"],1e18,"prefix"],"<peta>":[["P","Peta","peta"],1e15,"prefix"],"<tera>":[["T","Tera","tera"],1e12,"prefix"],"<giga>":[["G","Giga","giga"],1e9,"prefix"],"<mega>":[["M","Mega","mega"],1e6,"prefix"],"<kilo>":[["k","kilo"],1e3,"prefix"],"<hecto>":[["h","Hecto","hecto"],100,"prefix"],"<deca>":[["da","Deca","deca","deka"],10,"prefix"],"<deci>":[["d","Deci","deci"],.1,"prefix"],"<centi>":[["c","Centi","centi"],.01,"prefix"],"<milli>":[["m","Milli","milli"],.001,"prefix"],"<micro>":[["u","\u03BC","\xB5","Micro","mc","micro"],1e-6,"prefix"],"<nano>":[["n","Nano","nano"],1e-9,"prefix"],"<pico>":[["p","Pico","pico"],1e-12,"prefix"],"<femto>":[["f","Femto","femto"],1e-15,"prefix"],"<atto>":[["a","Atto","atto"],1e-18,"prefix"],"<zepto>":[["z","Zepto","zepto"],1e-21,"prefix"],"<yocto>":[["y","Yocto","yocto"],1e-24,"prefix"],"<1>":[["1","<1>"],1,""],"<meter>":[["m","meter","meters","metre","metres"],1,"length",["<meter>"]],"<inch>":[["in","inch","inches",'"'],.0254,"length",["<meter>"]],"<foot>":[["ft","foot","feet","'"],.3048,"length",["<meter>"]],"<yard>":[["yd","yard","yards"],.9144,"length",["<meter>"]],"<mile>":[["mi","mile","miles"],1609.344,"length",["<meter>"]],"<naut-mile>":[["nmi","naut-mile"],1852,"length",["<meter>"]],"<league>":[["league","leagues"],4828,"length",["<meter>"]],"<furlong>":[["furlong","furlongs"],201.2,"length",["<meter>"]],"<rod>":[["rd","rod","rods"],5.029,"length",["<meter>"]],"<mil>":[["mil","mils"],254e-7,"length",["<meter>"]],"<angstrom>":[["ang","angstrom","angstroms"],1e-10,"length",["<meter>"]],"<fathom>":[["fathom","fathoms"],1.829,"length",["<meter>"]],"<pica>":[["pica","picas"],.00423333333,"length",["<meter>"]],"<point>":[["pt","point","points"],.000352777778,"length",["<meter>"]],"<redshift>":[["z","red-shift","redshift"],1302773e20,"length",["<meter>"]],"<AU>":[["AU","astronomical-unit"],1495979e5,"length",["<meter>"]],"<light-second>":[["ls","light-second"],299792500,"length",["<meter>"]],"<light-minute>":[["lmin","light-minute"],1798755e4,"length",["<meter>"]],"<light-year>":[["ly","light-year"],9460528e9,"length",["<meter>"]],"<parsec>":[["pc","parsec","parsecs"],3085678e10,"length",["<meter>"]],"<datamile>":[["DM","datamile"],1828.8,"length",["<meter>"]],"<kilogram>":[["kg","kilogram","kilograms"],1,"mass",["<kilogram>"]],"<AMU>":[["u","AMU","amu"],1660538921e-36,"mass",["<kilogram>"]],"<dalton>":[["Da","Dalton","Daltons","dalton","daltons"],1660538921e-36,"mass",["<kilogram>"]],"<slug>":[["slug","slugs"],14.5939029,"mass",["<kilogram>"]],"<short-ton>":[["tn","ton","short-ton"],907.18474,"mass",["<kilogram>"]],"<metric-ton>":[["t","tonne","metric-ton"],1e3,"mass",["<kilogram>"]],"<carat>":[["ct","carat","carats"],2e-4,"mass",["<kilogram>"]],"<pound>":[["lbs","lb","pound","pounds","#"],.45359237,"mass",["<kilogram>"]],"<ounce>":[["oz","ounce","ounces"],.0283495231,"mass",["<kilogram>"]],"<gram>":[["g","gram","grams","gramme","grammes"],.001,"mass",["<kilogram>"]],"<grain>":[["grain","grains","gr"],6479891e-11,"mass",["<kilogram>"]],"<dram>":[["dram","drams","dr"],.0017718452,"mass",["<kilogram>"]],"<stone>":[["stone","stones","st"],6.35029318,"mass",["<kilogram>"]],"<hectare>":[["hectare"],1e4,"area",["<meter>","<meter>"]],"<acre>":[["acre","acres"],4046.85642,"area",["<meter>","<meter>"]],"<sqft>":[["sqft"],1,"area",["<foot>","<foot>"]],"<liter>":[["l","L","liter","liters","litre","litres"],.001,"volume",["<meter>","<meter>","<meter>"]],"<gallon>":[["gal","gallon","gallons"],.0037854118,"volume",["<meter>","<meter>","<meter>"]],"<gallon-imp>":[["galimp","gallon-imp","gallons-imp"],.00454609,"volume",["<meter>","<meter>","<meter>"]],"<quart>":[["qt","quart","quarts"],.00094635295,"volume",["<meter>","<meter>","<meter>"]],"<pint>":[["pt","pint","pints"],.000473176475,"volume",["<meter>","<meter>","<meter>"]],"<pint-imp>":[["ptimp","pint-imp","pints-imp"],.00056826125,"volume",["<meter>","<meter>","<meter>"]],"<cup>":[["cu","cup","cups"],.000236588238,"volume",["<meter>","<meter>","<meter>"]],"<fluid-ounce>":[["floz","fluid-ounce","fluid-ounces"],295735297e-13,"volume",["<meter>","<meter>","<meter>"]],"<fluid-ounce-imp>":[["flozimp","floz-imp","fluid-ounce-imp","fluid-ounces-imp"],284130625e-13,"volume",["<meter>","<meter>","<meter>"]],"<tablespoon>":[["tb","tbsp","tbs","tablespoon","tablespoons"],147867648e-13,"volume",["<meter>","<meter>","<meter>"]],"<teaspoon>":[["tsp","teaspoon","teaspoons"],492892161e-14,"volume",["<meter>","<meter>","<meter>"]],"<bushel>":[["bu","bsh","bushel","bushels"],.035239072,"volume",["<meter>","<meter>","<meter>"]],"<oilbarrel>":[["bbl","oilbarrel","oilbarrels","oil-barrel","oil-barrels"],.158987294928,"volume",["<meter>","<meter>","<meter>"]],"<beerbarrel>":[["bl","bl-us","beerbarrel","beerbarrels","beer-barrel","beer-barrels"],.1173477658,"volume",["<meter>","<meter>","<meter>"]],"<beerbarrel-imp>":[["blimp","bl-imp","beerbarrel-imp","beerbarrels-imp","beer-barrel-imp","beer-barrels-imp"],.16365924,"volume",["<meter>","<meter>","<meter>"]],"<kph>":[["kph"],.277777778,"speed",["<meter>"],["<second>"]],"<mph>":[["mph"],.44704,"speed",["<meter>"],["<second>"]],"<knot>":[["kt","kn","kts","knot","knots"],.514444444,"speed",["<meter>"],["<second>"]],"<fps>":[["fps"],.3048,"speed",["<meter>"],["<second>"]],"<gee>":[["gee"],9.80665,"acceleration",["<meter>"],["<second>","<second>"]],"<Gal>":[["Gal"],.01,"acceleration",["<meter>"],["<second>","<second>"]],"<kelvin>":[["degK","kelvin"],1,"temperature",["<kelvin>"]],"<celsius>":[["degC","celsius","celsius","centigrade"],1,"temperature",["<kelvin>"]],"<fahrenheit>":[["degF","fahrenheit"],5/9,"temperature",["<kelvin>"]],"<rankine>":[["degR","rankine"],5/9,"temperature",["<kelvin>"]],"<temp-K>":[["tempK","temp-K"],1,"temperature",["<temp-K>"]],"<temp-C>":[["tempC","temp-C"],1,"temperature",["<temp-K>"]],"<temp-F>":[["tempF","temp-F"],5/9,"temperature",["<temp-K>"]],"<temp-R>":[["tempR","temp-R"],5/9,"temperature",["<temp-K>"]],"<second>":[["s","sec","secs","second","seconds"],1,"time",["<second>"]],"<minute>":[["min","mins","minute","minutes"],60,"time",["<second>"]],"<hour>":[["h","hr","hrs","hour","hours"],3600,"time",["<second>"]],"<day>":[["d","day","days"],3600*24,"time",["<second>"]],"<week>":[["wk","week","weeks"],7*3600*24,"time",["<second>"]],"<fortnight>":[["fortnight","fortnights"],1209600,"time",["<second>"]],"<year>":[["y","yr","year","years","annum"],31556926,"time",["<second>"]],"<decade>":[["decade","decades"],315569260,"time",["<second>"]],"<century>":[["century","centuries"],3155692600,"time",["<second>"]],"<pascal>":[["Pa","pascal","Pascal"],1,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<bar>":[["bar","bars"],1e5,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<mmHg>":[["mmHg"],133.322368,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<inHg>":[["inHg"],3386.3881472,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<torr>":[["torr"],133.322368,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<atm>":[["atm","ATM","atmosphere","atmospheres"],101325,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<psi>":[["psi"],6894.76,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<cmh2o>":[["cmH2O","cmh2o"],98.0638,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<inh2o>":[["inH2O","inh2o"],249.082052,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<poise>":[["P","poise"],.1,"viscosity",["<kilogram>"],["<meter>","<second>"]],"<stokes>":[["St","stokes"],1e-4,"viscosity",["<meter>","<meter>"],["<second>"]],"<mole>":[["mol","mole"],1,"substance",["<mole>"]],"<molar>":[["M","molar"],1e3,"molar_concentration",["<mole>"],["<meter>","<meter>","<meter>"]],"<wtpercent>":[["wt%","wtpercent"],10,"molar_concentration",["<kilogram>"],["<meter>","<meter>","<meter>"]],"<katal>":[["kat","katal","Katal"],1,"activity",["<mole>"],["<second>"]],"<unit>":[["U","enzUnit","unit"],16667e-19,"activity",["<mole>"],["<second>"]],"<farad>":[["F","farad","Farad"],1,"capacitance",["<second>","<second>","<second>","<second>","<ampere>","<ampere>"],["<meter>","<meter>","<kilogram>"]],"<coulomb>":[["C","coulomb","Coulomb"],1,"charge",["<ampere>","<second>"]],"<Ah>":[["Ah"],3600,"charge",["<ampere>","<second>"]],"<ampere>":[["A","Ampere","ampere","amp","amps"],1,"current",["<ampere>"]],"<siemens>":[["S","Siemens","siemens"],1,"conductance",["<second>","<second>","<second>","<ampere>","<ampere>"],["<kilogram>","<meter>","<meter>"]],"<henry>":[["H","Henry","henry"],1,"inductance",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<ampere>","<ampere>"]],"<volt>":[["V","Volt","volt","volts"],1,"potential",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<second>","<ampere>"]],"<ohm>":[["Ohm","ohm","\u03A9","\u2126"],1,"resistance",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<second>","<ampere>","<ampere>"]],"<weber>":[["Wb","weber","webers"],1,"magnetism",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<ampere>"]],"<tesla>":[["T","tesla","teslas"],1,"magnetism",["<kilogram>"],["<second>","<second>","<ampere>"]],"<gauss>":[["G","gauss"],1e-4,"magnetism",["<kilogram>"],["<second>","<second>","<ampere>"]],"<maxwell>":[["Mx","maxwell","maxwells"],1e-8,"magnetism",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<ampere>"]],"<oersted>":[["Oe","oersted","oersteds"],250/Math.PI,"magnetism",["<ampere>"],["<meter>"]],"<joule>":[["J","joule","Joule","joules","Joules"],1,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<erg>":[["erg","ergs"],1e-7,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<btu>":[["BTU","btu","BTUs"],1055.056,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<calorie>":[["cal","calorie","calories"],4.184,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<Calorie>":[["Cal","Calorie","Calories"],4184,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<therm-US>":[["th","therm","therms","Therm","therm-US"],105480400,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<Wh>":[["Wh"],3600,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<electronvolt>":[["eV","electronvolt","electronvolts"],1602176634e-28,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<newton>":[["N","Newton","newton"],1,"force",["<kilogram>","<meter>"],["<second>","<second>"]],"<dyne>":[["dyn","dyne"],1e-5,"force",["<kilogram>","<meter>"],["<second>","<second>"]],"<pound-force>":[["lbf","pound-force"],4.448222,"force",["<kilogram>","<meter>"],["<second>","<second>"]],"<hertz>":[["Hz","hertz","Hertz"],1,"frequency",["<1>"],["<second>"]],"<radian>":[["rad","radian","radians"],1,"angle",["<radian>"]],"<degree>":[["deg","degree","degrees"],Math.PI/180,"angle",["<radian>"]],"<arcminute>":[["arcmin","arcminute","arcminutes"],Math.PI/10800,"angle",["<radian>"]],"<arcsecond>":[["arcsec","arcsecond","arcseconds"],Math.PI/648e3,"angle",["<radian>"]],"<gradian>":[["gon","grad","gradian","grads"],Math.PI/200,"angle",["<radian>"]],"<steradian>":[["sr","steradian","steradians"],1,"solid_angle",["<steradian>"]],"<rotation>":[["rotation"],2*Math.PI,"angle",["<radian>"]],"<rpm>":[["rpm"],2*Math.PI/60,"angular_velocity",["<radian>"],["<second>"]],"<byte>":[["B","byte","bytes"],1,"information",["<byte>"]],"<bit>":[["b","bit","bits"],.125,"information",["<byte>"]],"<Bps>":[["Bps"],1,"information_rate",["<byte>"],["<second>"]],"<bps>":[["bps"],.125,"information_rate",["<byte>"],["<second>"]],"<dollar>":[["USD","dollar"],1,"currency",["<dollar>"]],"<cents>":[["cents"],.01,"currency",["<dollar>"]],"<candela>":[["cd","candela"],1,"luminosity",["<candela>"]],"<lumen>":[["lm","lumen"],1,"luminous_power",["<candela>","<steradian>"]],"<lux>":[["lux"],1,"illuminance",["<candela>","<steradian>"],["<meter>","<meter>"]],"<watt>":[["W","watt","watts"],1,"power",["<kilogram>","<meter>","<meter>"],["<second>","<second>","<second>"]],"<volt-ampere>":[["VA","volt-ampere"],1,"power",["<kilogram>","<meter>","<meter>"],["<second>","<second>","<second>"]],"<volt-ampere-reactive>":[["var","Var","VAr","VAR","volt-ampere-reactive"],1,"power",["<kilogram>","<meter>","<meter>"],["<second>","<second>","<second>"]],"<horsepower>":[["hp","horsepower"],745.699872,"power",["<kilogram>","<meter>","<meter>"],["<second>","<second>","<second>"]],"<gray>":[["Gy","gray","grays"],1,"radiation",["<meter>","<meter>"],["<second>","<second>"]],"<roentgen>":[["R","roentgen"],.00933,"radiation",["<meter>","<meter>"],["<second>","<second>"]],"<sievert>":[["Sv","sievert","sieverts"],1,"radiation",["<meter>","<meter>"],["<second>","<second>"]],"<becquerel>":[["Bq","becquerel","becquerels"],1,"radiation",["<1>"],["<second>"]],"<curie>":[["Ci","curie","curies"],37e9,"radiation",["<1>"],["<second>"]],"<cpm>":[["cpm"],1/60,"rate",["<count>"],["<second>"]],"<dpm>":[["dpm"],1/60,"rate",["<count>"],["<second>"]],"<bpm>":[["bpm"],1/60,"rate",["<count>"],["<second>"]],"<dot>":[["dot","dots"],1,"resolution",["<each>"]],"<pixel>":[["pixel","px"],1,"resolution",["<each>"]],"<ppi>":[["ppi"],1,"resolution",["<pixel>"],["<inch>"]],"<dpi>":[["dpi"],1,"typography",["<dot>"],["<inch>"]],"<cell>":[["cells","cell"],1,"counting",["<each>"]],"<each>":[["each"],1,"counting",["<each>"]],"<count>":[["count"],1,"counting",["<each>"]],"<base-pair>":[["bp","base-pair"],1,"counting",["<each>"]],"<nucleotide>":[["nt","nucleotide"],1,"counting",["<each>"]],"<molecule>":[["molecule","molecules"],1,"counting",["<1>"]],"<dozen>":[["doz","dz","dozen"],12,"prefix_only",["<each>"]],"<percent>":[["%","percent"],.01,"prefix_only",["<1>"]],"<ppm>":[["ppm"],1e-6,"prefix_only",["<1>"]],"<ppb>":[["ppb"],1e-9,"prefix_only",["<1>"]],"<ppt>":[["ppt"],1e-12,"prefix_only",["<1>"]],"<ppq>":[["ppq"],1e-15,"prefix_only",["<1>"]],"<gross>":[["gr","gross"],144,"prefix_only",["<dozen>","<dozen>"]],"<decibel>":[["dB","decibel","decibels"],1,"logarithmic",["<decibel>"]]},ke=["<meter>","<kilogram>","<second>","<mole>","<ampere>","<radian>","<kelvin>","<temp-K>","<byte>","<dollar>","<candela>","<each>","<steradian>","<decibel>"],K="<1>",b=[K];function Ce(e,t){var r=t[1],i=t[3]||[],s=t[4]||[];if(!n(r))throw new m(e+": Invalid unit definition. 'scalar' must be a number");i.forEach(function(a){if(S[a]===void 0)throw new m(e+": Invalid unit definition. Unit "+a+" in 'numerator' is not recognized")}),s.forEach(function(a){if(S[a]===void 0)throw new m(e+": Invalid unit definition. Unit "+a+" in 'denominator' is not recognized")})}var U={},N={},k={},P={},I={};for(var _ in S)if(S.hasOwnProperty(_)){var M=S[_];if(M[2]==="prefix"){U[_]=M[1];for(var G=0;G<M[0].length;G++)N[M[0][G]]=_}else{Ce(_,M),k[_]={scalar:M[1],numerator:M[3],denominator:M[4]};for(var O=0;O<M[0].length;O++)P[M[0][O]]=_}I[_]=M[0][0]}function Se(e){var t,r=[],i=Object.keys(S);if(typeof e>"u")for(t=0;t<i.length;t++)["","prefix"].indexOf(S[i[t]][2])===-1&&r.push(i[t].substr(1,i[t].length-2));else{if(this.getKinds().indexOf(e)===-1)throw new m("Kind not recognized");for(t=0;t<i.length;t++)S[i[t]][2]===e&&r.push(i[t].substr(1,i[t].length-2))}return r.sort(function(s,a){return s.toLowerCase()<a.toLowerCase()?-1:s.toLowerCase()>a.toLowerCase()?1:0})}function Me(e){if(!P[e])throw new m("Unit not recognized");return S[P[e]][0]}var L=["length","time","temperature","mass","current","substance","luminosity","currency","information","angle"];function Te(){if(this.signature)return this.signature;for(var e=te.call(this),t=0;t<e.length;t++)e[t]*=Math.pow(20,t);return e.reduce(function(r,i){return r+i},0)}function te(){if(!this.isBase())return te.call(this.toBase());for(var e=new Array(L.length),t=0;t<e.length;t++)e[t]=0;for(var r,i,s=0;s<this.numerator.length;s++)(r=S[this.numerator[s]])&&(i=L.indexOf(r[2]),i>=0&&(e[i]=e[i]+1));for(var a=0;a<this.denominator.length;a++)(r=S[this.denominator[a]])&&(i=L.indexOf(r[2]),i>=0&&(e[i]=e[i]-1));return e}var re="[+-]",W="\\d+",qe=re+"?"+W,ne="\\."+W,xe="(?:"+W+"(?:"+ne+")?)|(?:"+ne+")",Ue="[Ee]"+qe,_e="(?:"+xe+")(?:"+Ue+")?",Ae=re+"?\\s*"+_e,Ee="("+Ae+")?\\s*([^/]*)(?:/(.+))?",Pe=new RegExp("^"+Ee+"$"),ie="\\^|\\*{2}",se="[01234]",De=new RegExp("([^ \\*\\d]+?)(?:"+ie+")?(-?"+se+"(?![a-zA-Z]))"),Re=new RegExp("([^ \\*\\d]+?)(?:"+ie+")?("+se+"(?![a-zA-Z]))");function ae(e){f(e)||(e=e.toString()),e=e.trim();var t=Pe.exec(e);if(!t)throw new m(e+": Quantity not recognized");var r=t[1];r?(r=r.replace(/\s/g,""),this.scalar=parseFloat(r)):this.scalar=1;for(var i=t[2],s=t[3],a,g,d;t=De.exec(i);){if(a=parseFloat(t[2]),isNaN(a))throw new m("Unit exponent is not a number");if(a===0&&!J.test(t[1]))throw new m("Unit not recognized");g=t[1]+" ",d="";for(var v=0;v<Math.abs(a);v++)d+=g;a>=0?i=i.replace(t[0],d):(s=s?s+d:d,i=i.replace(t[0],""))}for(;t=Re.exec(s);){if(a=parseFloat(t[2]),isNaN(a))throw new m("Unit exponent is not a number");if(a===0&&!J.test(t[1]))throw new m("Unit not recognized");g=t[1]+" ",d="";for(var C=0;C<a;C++)d+=g;s=s.replace(t[0],d)}i&&(this.numerator=me(i.trim())),s&&(this.denominator=me(s.trim()))}var ze=Object.keys(N).sort(function(e,t){return t.length-e.length}).join("|"),Fe=Object.keys(P).sort(function(e,t){return t.length-e.length}).join("|"),Ke="\\b|$",oe="("+ze+")??("+Fe+")(?:"+Ke+")",J=new RegExp("^\\s*("+oe+"[\\s\\*]*)+$"),Ne=new RegExp(oe,"g"),ue={};function me(e){var t=ue[e];if(t)return t;var r,i=[];if(!J.test(e))throw new m("Unit not recognized");for(;r=Ne.exec(e);)i.push(r.slice(1));return i=i.map(function(s){return N[s[0]]?[N[s[0]],P[s[1]]]:[P[s[1]]]}),i=i.reduce(function(s,a){return s.concat(a)},[]),i=i.filter(function(s){return s}),ue[e]=i,i}function Ie(e){if(!f(e))throw new m("Argument should be a string");try{return this(e)}catch{return null}}function H(e){return e instanceof o}function o(e,t){if(He.apply(null,arguments),!H(this))return new o(e,t);if(this.scalar=null,this.baseScalar=null,this.signature=null,this._conversionCache={},this.numerator=b,this.denominator=b,ce(e)?(this.scalar=e.scalar,this.numerator=e.numerator&&e.numerator.length!==0?e.numerator:b,this.denominator=e.denominator&&e.denominator.length!==0?e.denominator:b):t?(ae.call(this,t),this.scalar=e):ae.call(this,e),this.denominator.join("*").indexOf("temp")>=0)throw new m("Cannot divide with temperatures");if(this.numerator.join("*").indexOf("temp")>=0){if(this.numerator.length>1)throw new m("Cannot multiply by temperatures");if(!c(this.denominator,b))throw new m("Cannot divide with temperatures")}if(this.initValue=e,Be.call(this),this.isTemperature()&&this.baseScalar<0)throw new m("Temperatures must not be less than absolute zero")}o.prototype={constructor:o};function He(e,t){if(t){if(!(n(e)&&f(t)))throw new m("Only number accepted as initialization value when units are explicitly provided")}else if(!(f(e)||n(e)||H(e)||ce(e)))throw new m("Only string, number or quantity accepted as single initialization value")}function ce(e){return e&&typeof e=="object"&&e.hasOwnProperty("scalar")}function Be(){if(this.baseScalar)return this.baseScalar;if(this.isBase())this.baseScalar=this.scalar,this.signature=Te.call(this);else{var e=this.toBase();this.baseScalar=e.scalar,this.signature=e.signature}}var V={"-312078":"elastance","-312058":"resistance","-312038":"inductance","-152058":"potential","-152040":"magnetism","-152038":"magnetism","-7997":"specific_volume","-79":"snap","-59":"jolt","-39":"acceleration","-38":"radiation","-20":"frequency","-19":"speed","-18":"viscosity","-17":"volumetric_flow","-1":"wavenumber",0:"unitless",1:"length",2:"area",3:"volume",20:"time",400:"temperature",7941:"yank",7942:"power",7959:"pressure",7961:"force",7962:"energy",7979:"viscosity",7981:"momentum",7982:"angular_momentum",7997:"density",7998:"area_density",8e3:"mass",152020:"radiation_exposure",159999:"magnetism",16e4:"current",160020:"charge",312058:"conductance",312078:"capacitance",3199980:"activity",3199997:"molar_concentration",32e5:"substance",63999998:"illuminance",64e6:"luminous_power",128e7:"currency","25599999980":"information_rate","25600000000":"information","511999999980":"angular_velocity","512000000000":"angle"};function Ge(){return p(Object.keys(V).map(function(e){return V[e]}))}o.prototype.kind=function(){return V[this.signature.toString()]},y(o.prototype,{isDegrees:function(){return(this.signature===null||this.signature===400)&&this.numerator.length===1&&c(this.denominator,b)&&(this.numerator[0].match(/<temp-[CFRK]>/)||this.numerator[0].match(/<(kelvin|celsius|rankine|fahrenheit)>/))},isTemperature:function(){return this.isDegrees()&&this.numerator[0].match(/<temp-[CFRK]>/)}});function Oe(e,t){var r=e.units(),i=t.to(r),s=o(j(r));return o({scalar:e.scalar-i.scalar,numerator:s.numerator,denominator:s.denominator})}function Le(e,t){var r=t.to(j(e.units()));return o({scalar:e.scalar-r.scalar,numerator:e.numerator,denominator:e.denominator})}function le(e,t){var r=t.to(j(e.units()));return o({scalar:e.scalar+r.scalar,numerator:e.numerator,denominator:e.denominator})}function j(e){if(e==="tempK")return"degK";if(e==="tempC")return"degC";if(e==="tempF")return"degF";if(e==="tempR")return"degR";throw new m("Unknown type for temp conversion from: "+e)}function We(e,t){var r=Je(e),i=t.units(),s;if(i==="degK")s=r.scalar;else if(i==="degC")s=r.scalar;else if(i==="degF")s=r.scalar*9/5;else if(i==="degR")s=r.scalar*9/5;else throw new m("Unknown type for degree conversion to: "+i);return o({scalar:s,numerator:t.numerator,denominator:t.denominator})}function Je(e){var t=e.units(),r;if(t.match(/(deg)[CFRK]/))r=e.baseScalar;else if(t==="tempK")r=e.scalar;else if(t==="tempC")r=e.scalar;else if(t==="tempF")r=e.scalar*5/9;else if(t==="tempR")r=e.scalar*5/9;else throw new m("Unknown type for temp conversion from: "+t);return o({scalar:r,numerator:["<kelvin>"],denominator:b})}function Ve(e,t){var r=t.units(),i;if(r==="tempK")i=e.baseScalar;else if(r==="tempC")i=e.baseScalar-273.15;else if(r==="tempF")i=e.baseScalar*9/5-459.67;else if(r==="tempR")i=e.baseScalar*9/5;else throw new m("Unknown type for temp conversion to: "+r);return o({scalar:i,numerator:t.numerator,denominator:t.denominator})}function je(e){var t=e.units(),r;if(t.match(/(deg)[CFRK]/))r=e.baseScalar;else if(t==="tempK")r=e.scalar;else if(t==="tempC")r=e.scalar+273.15;else if(t==="tempF")r=(e.scalar+459.67)*5/9;else if(t==="tempR")r=e.scalar*5/9;else throw new m("Unknown type for temp conversion from: "+t);return o({scalar:r,numerator:["<temp-K>"],denominator:b})}y(o.prototype,{to:function(e){var t,r;if(e==null)return this;if(!f(e))return this.to(e.units());if(t=this._conversionCache[e],t)return t;if(r=o(e),r.units()===this.units())return this;if(!this.isCompatible(r))this.isInverse(r)?r=this.inverse().to(e):z(this.units(),r.units());else if(r.isTemperature())r=Ve(this,r);else if(r.isDegrees())r=We(this,r);else{var i=x(this.baseScalar,r.baseScalar);r=o({scalar:i,numerator:r.numerator,denominator:r.denominator})}return this._conversionCache[e]=r,r},toBase:function(){if(this.isBase())return this;if(this.isTemperature())return je(this);var e=pe[this.units()];return e||(e=Ye(this.numerator,this.denominator),pe[this.units()]=e),e.mul(this.scalar)},toFloat:function(){if(this.isUnitless())return this.scalar;throw new m("Can't convert to Float unless unitless. Use Unit#scalar")},toPrec:function(e){if(f(e)&&(e=o(e)),n(e)&&(e=o(e+" "+this.units())),this.isUnitless()?e.isUnitless()||z(this.units(),e.units()):e=e.to(this.units()),e.scalar===0)throw new m("Divide by zero");var t=h(Math.round(this.scalar/e.scalar),e.scalar);return o(t+this.units())}});function Xe(e,t){var r=o(e),i=o(t);if(r.eq(i))return l;var s;return r.isTemperature()?s=function(a){return r.mul(a).to(i).scalar}:s=function(a){return a*r.baseScalar/i.baseScalar},function(g){var d,v,C;if(Array.isArray(g)){for(v=g.length,C=[],d=0;d<v;d++)C.push(s(g[d]));return C}else return s(g)}}var pe={};function Ye(e,t){for(var r=[],i=[],s=1,a,g=0;g<e.length;g++)a=e[g],U[a]?s=h(s,U[a]):k[a]&&(s*=k[a].scalar,k[a].numerator&&r.push(k[a].numerator),k[a].denominator&&i.push(k[a].denominator));for(var d=0;d<t.length;d++)a=t[d],U[a]?s/=U[a]:k[a]&&(s/=k[a].scalar,k[a].numerator&&i.push(k[a].numerator),k[a].denominator&&r.push(k[a].denominator));return r=r.reduce(function(v,C){return v.concat(C)},[]),i=i.reduce(function(v,C){return v.concat(C)},[]),o({scalar:s,numerator:r,denominator:i})}o.parse=Ie,o.getUnits=Se,o.getAliases=Me,o.mulSafe=h,o.divSafe=x,o.getKinds=Ge,o.swiftConverter=Xe,o.Error=m,y(o.prototype,{add:function(e){if(f(e)&&(e=o(e)),this.isCompatible(e)||z(this.units(),e.units()),this.isTemperature()&&e.isTemperature())throw new m("Cannot add two temperatures");return this.isTemperature()?le(this,e):e.isTemperature()?le(e,this):o({scalar:this.scalar+e.to(this).scalar,numerator:this.numerator,denominator:this.denominator})},sub:function(e){if(f(e)&&(e=o(e)),this.isCompatible(e)||z(this.units(),e.units()),this.isTemperature()&&e.isTemperature())return Oe(this,e);if(this.isTemperature())return Le(this,e);if(e.isTemperature())throw new m("Cannot subtract a temperature from a differential degree unit");return o({scalar:this.scalar-e.to(this).scalar,numerator:this.numerator,denominator:this.denominator})},mul:function(e){if(n(e))return o({scalar:h(this.scalar,e),numerator:this.numerator,denominator:this.denominator});if(f(e)&&(e=o(e)),(this.isTemperature()||e.isTemperature())&&!(this.isUnitless()||e.isUnitless()))throw new m("Cannot multiply by temperatures");var t=this,r=e;t.isCompatible(r)&&t.signature!==400&&(r=r.to(t));var i=de(t.numerator,t.denominator,r.numerator,r.denominator);return o({scalar:h(t.scalar,r.scalar,i[2]),numerator:i[0],denominator:i[1]})},div:function(e){if(n(e)){if(e===0)throw new m("Divide by zero");return o({scalar:this.scalar/e,numerator:this.numerator,denominator:this.denominator})}else f(e)&&(e=o(e));if(e.scalar===0)throw new m("Divide by zero");if(e.isTemperature())throw new m("Cannot divide with temperatures");if(this.isTemperature()&&!e.isUnitless())throw new m("Cannot divide with temperatures");var t=this,r=e;t.isCompatible(r)&&t.signature!==400&&(r=r.to(t));var i=de(t.numerator,t.denominator,r.denominator,r.numerator);return o({scalar:h(t.scalar,i[2])/r.scalar,numerator:i[0],denominator:i[1]})},inverse:function(){if(this.isTemperature())throw new m("Cannot divide with temperatures");if(this.scalar===0)throw new m("Divide by zero");return o({scalar:1/this.scalar,numerator:this.denominator,denominator:this.numerator})}});function de(e,t,r,i){function s(T){return T!==K}e=e.filter(s),r=r.filter(s),t=t.filter(s),i=i.filter(s);var a={};function g(T,A){for(var q,B,Y,E=0;E<T.length;E++)if(U[T[E]]?(q=T[E+1],B=T[E],Y=U[B],E++):(q=T[E],B=null,Y=1),q&&q!==K)if(a[q]){a[q][0]+=A;var et=a[q][2]?U[a[q][2]]:1;a[q][A===1?3:4]*=x(Y,et)}else a[q]=[A,q,B,1,1]}g(e,1),g(t,-1),g(r,1),g(i,-1);var d=[],v=[],C=1;for(var ge in a)if(a.hasOwnProperty(ge)){var w=a[ge],D;if(w[0]>0)for(D=0;D<w[0];D++)d.push(w[2]===null?w[1]:[w[2],w[1]]);else if(w[0]<0)for(D=0;D<-w[0];D++)v.push(w[2]===null?w[1]:[w[2],w[1]]);C*=x(w[3],w[4])}return d.length===0&&(d=b),v.length===0&&(v=b),d=d.reduce(function(T,A){return T.concat(A)},[]),v=v.reduce(function(T,A){return T.concat(A)},[]),[d,v,C]}y(o.prototype,{eq:function(e){return this.compareTo(e)===0},lt:function(e){return this.compareTo(e)===-1},lte:function(e){return this.eq(e)||this.lt(e)},gt:function(e){return this.compareTo(e)===1},gte:function(e){return this.eq(e)||this.gt(e)},compareTo:function(e){if(f(e))return this.compareTo(o(e));if(this.isCompatible(e)||z(this.units(),e.units()),this.baseScalar<e.baseScalar)return-1;if(this.baseScalar===e.baseScalar)return 0;if(this.baseScalar>e.baseScalar)return 1},same:function(e){return this.scalar===e.scalar&&this.units()===e.units()}}),y(o.prototype,{isUnitless:function(){return[this.numerator,this.denominator].every(function(e){return c(e,b)})},isCompatible:function(e){return f(e)?this.isCompatible(o(e)):H(e)&&e.signature!==void 0?this.signature===e.signature:!1},isInverse:function(e){return this.inverse().isCompatible(e)},isBase:function(){return this._isBase!==void 0?this._isBase:this.isDegrees()&&this.numerator[0].match(/<(kelvin|temp-K)>/)?(this._isBase=!0,this._isBase):(this.numerator.concat(this.denominator).forEach(function(e){e!==K&&ke.indexOf(e)===-1&&(this._isBase=!1)},this),this._isBase===!1?this._isBase:(this._isBase=!0,this._isBase))}});function X(){}X.prototype.get=function(e){return arguments.length>1&&(e=Array.apply(null,arguments)),e.reduce(function(t,r,i){if(t){var s=t[r];return i===e.length-1?s?s.data:void 0:s}},this)},X.prototype.set=function(e,t){return arguments.length>2&&(e=Array.prototype.slice.call(arguments,0,-1),t=arguments[arguments.length-1]),e.reduce(function(r,i,s){var a=r[i];return a===void 0&&(a=r[i]={}),s===e.length-1?(a.data=t,t):a},this)};function Ze(e,t){return(e+" "+t).trim()}o.formatter=Ze,y(o.prototype,{units:function(){if(this._units!==void 0)return this._units;var e=c(this.numerator,b),t=c(this.denominator,b);if(e&&t)return this._units="",this._units;var r=he(this.numerator),i=he(this.denominator);return this._units=r+(t?"":"/"+i),this._units},toString:function(e,t){var r;if(n(e))r=this.units(),t=e;else if(f(e))r=e;else if(H(e))return this.toPrec(e).toString(t);var i=this.to(r),s=t!==void 0?F(i.scalar,t):i.scalar;return i=(s+" "+i.units()).trim(),i},format:function(e,t){arguments.length===1&&typeof e=="function"&&(t=e,e=void 0),t=t||o.formatter;var r=this.to(e);return t.call(this,r.scalar,r.units())}});var fe=new X;function he(e){var t=fe.get(e);if(t)return t;var r=c(e,b);return r?t="1":t=Qe($e(e)).join("*"),fe.set(e,t),t}function $e(e){for(var t=[],r,i,s=0;s<e.length;s++)r=e[s],i=e[s+1],U[r]?(t.push(I[r]+I[i]),s++):t.push(I[r]);return t}function Qe(e){var t=e.reduce(function(r,i){var s=r[i];return s||r.push(s=r[i]=[i,0]),s[1]++,r},[]);return t.map(function(r){return r[0]+(r[1]>1?r[1]:"")})}return o.version="1.8.0",o})});var u=rt(we());var ut=(()=>{class f{AppSettingsService=Z(ve);data=Z(be);_defaultUnitsSub;_conversionList=[{group:"Unitless",units:[{measure:"unitless",description:"As-Is numeric value"},{measure:" ",description:"No unit label - As-Is numeric value"}]},{group:"Speed",units:[{measure:"knots",description:"Knots - Nautical miles per hour"},{measure:"kph",description:"kph - Kilometers per hour"},{measure:"mph",description:"mph - Miles per hour"},{measure:"m/s",description:"m/s - Meters per second (base)"}]},{group:"Flow",units:[{measure:"m3/s",description:"Cubic meters per second (base)"},{measure:"l/min",description:"Liters per minute"},{measure:"l/h",description:"Liters per hour"},{measure:"g/min",description:"Gallons per minute"},{measure:"g/h",description:"Gallons per hour"}]},{group:"Fuel Distance",units:[{measure:"m/m3",description:"Meters per cubic meter (base)"},{measure:"nm/l",description:"Nautical Miles per liter"},{measure:"nm/g",description:"Nautical Miles per gallon"},{measure:"km/l",description:"Kilometers per liter"},{measure:"mpg",description:"Miles per Gallon"}]},{group:"Energy Distance",units:[{measure:"m/J",description:"Meters per Joule (base)"},{measure:"nm/J",description:"Nautical Miles per Joule"},{measure:"km/J",description:"Kilometers per Joule"},{measure:"nm/kWh",description:"Nautical Miles per Kilowatt-hour"},{measure:"km/kWh",description:"Kilometers per Kilowatt-hour"}]},{group:"Temperature",units:[{measure:"K",description:"Kelvin (base)"},{measure:"celsius",description:"Celsius"},{measure:"fahrenheit",description:"Fahrenheit"}]},{group:"Length",units:[{measure:"m",description:"Meters (base)"},{measure:"mm",description:"Millimeters"},{measure:"fathom",description:"Fathoms"},{measure:"nm",description:"Nautical Miles"},{measure:"km",description:"Kilometers"},{measure:"mi",description:"Miles"},{measure:"feet",description:"Feet"},{measure:"inch",description:"Inches"}]},{group:"Volume",units:[{measure:"liter",description:"Liters (base)"},{measure:"m3",description:"Cubic Meters"},{measure:"gallon",description:"Gallons"}]},{group:"Current",units:[{measure:"A",description:"Amperes (base)"},{measure:"mA",description:"Milliamperes"}]},{group:"Potential",units:[{measure:"V",description:"Volts (base)"},{measure:"mV",description:"Millivolts"}]},{group:"Charge",units:[{measure:"C",description:"Coulomb (base)"},{measure:"Ah",description:"Ampere*Hours"}]},{group:"Power",units:[{measure:"W",description:"Watts (base)"},{measure:"mW",description:"Milliwatts"}]},{group:"Energy",units:[{measure:"J",description:"Joules (base)"},{measure:"kWh",description:"Kilowatt*Hours"}]},{group:"Resistance",units:[{measure:"ohm",description:"\u2126 (base)"},{measure:"kiloohm",description:"k\u2126"}]},{group:"Pressure",units:[{measure:"Pa",description:"Pa (base)"},{measure:"kPa",description:"kPa"},{measure:"hPa",description:"hPa"},{measure:"mbar",description:"mbar"},{measure:"bar",description:"Bars"},{measure:"psi",description:"psi"},{measure:"mmHg",description:"mmHg"},{measure:"inHg",description:"inHg"}]},{group:"Density",units:[{measure:"kg/m3",description:"Air density - kg/cubic meter (base)"}]},{group:"Time",units:[{measure:"s",description:"Seconds (base)"},{measure:"Minutes",description:"Minutes"},{measure:"Hours",description:"Hours"},{measure:"Days",description:"Days"},{measure:"D HH:MM:SS",description:"Day Hour:Minute:sec"}]},{group:"Angular Velocity",units:[{measure:"rad/s",description:"Radians per second (base)"},{measure:"deg/s",description:"Degrees per second"},{measure:"deg/min",description:"Degrees per minute"}]},{group:"Angle",units:[{measure:"rad",description:"Radians (base)"},{measure:"deg",description:"Degrees"},{measure:"grad",description:"Gradians"}]},{group:"Frequency",units:[{measure:"rpm",description:"RPM - Rotations per minute"},{measure:"Hz",description:"Hz - Hertz (base)"},{measure:"KHz",description:"KHz - Kilohertz"},{measure:"MHz",description:"MHz - Megahertz"},{measure:"GHz",description:"GHz - Gigahertz"}]},{group:"Ratio",units:[{measure:"percent",description:"As percentage value"},{measure:"percentraw",description:"As ratio 0-1 with % sign"},{measure:"ratio",description:"Ratio 0-1 (base)"}]},{group:"Position",units:[{measure:"pdeg",description:"Position Degrees"},{measure:"latitudeMin",description:"Latitude in minutes"},{measure:"latitudeSec",description:"Latitude in seconds"},{measure:"longitudeMin",description:"Longitude in minutes"},{measure:"longitudeSec",description:"Longitude in seconds"}]}];skBaseUnits=[{unit:"s",properties:{display:"s",quantity:"Time",quantityDisplay:"t",description:"Elapsed time (interval) in seconds"}},{unit:"Hz",properties:{display:"Hz",quantity:"Frequency",quantityDisplay:"f",description:"Frequency in Hertz"}},{unit:"m3",properties:{display:"m\xB3",quantity:"Volume",quantityDisplay:"V",description:"Volume in cubic meters"}},{unit:"m3/s",properties:{display:"m\xB3/s",quantity:"Flow",quantityDisplay:"Q",description:"Liquid or gas flow in cubic meters per second"}},{unit:"kg/s",properties:{display:"kg/s",quantity:"Mass flow rate",quantityDisplay:"\u1E41",description:"Liquid or gas flow in kilograms per second"}},{unit:"kg/m3",properties:{display:"kg/m\xB3",quantity:"Density",quantityDisplay:"\u03C1",description:"Density in kg per cubic meter"}},{unit:"deg",properties:{display:"Position",quantity:"Angle",quantityDisplay:"\u2220",description:"Latitude or longitude in decimal degrees"}},{unit:"rad",properties:{display:"\xB0",quantity:"Angle",quantityDisplay:"\u2220",description:"Angular arc in radians"}},{unit:"rad/s",properties:{display:"\u33AD/s",quantity:"Rotation",quantityDisplay:"\u03C9",description:"Angular rate in radians per second"}},{unit:"A",properties:{display:"A",quantity:"Current",quantityDisplay:"I",description:"Electrical current in ampere"}},{unit:"C",properties:{display:"C",quantity:"Charge",quantityDisplay:"Q",description:"Electrical charge in Coulomb"}},{unit:"V",properties:{display:"V",quantity:"Voltage",quantityDisplay:"V",description:"Electrical potential in volt"}},{unit:"W",properties:{display:"W",quantity:"Power",quantityDisplay:"P",description:"Power in watt"}},{unit:"Nm",properties:{display:"Nm",quantity:"Torque",quantityDisplay:"\u03C4",description:"Torque in Newton meter"}},{unit:"J",properties:{display:"J",quantity:"Energy",quantityDisplay:"E",description:"Electrical energy in joule"}},{unit:"ohm",properties:{display:"\u2126",quantity:"Resistance",quantityDisplay:"R",description:"Electrical resistance in ohm"}},{unit:"m",properties:{display:"m",quantity:"Distance",quantityDisplay:"d",description:"Distance in meters"}},{unit:"m/s",properties:{display:"m/s",quantity:"Speed",quantityDisplay:"v",description:"Speed in meters per second"}},{unit:"m2",properties:{display:"\u33A1",quantity:"Area",quantityDisplay:"A",description:"(Surface) area in square meters"}},{unit:"K",properties:{display:"K",quantity:"Temperature",quantityDisplay:"T",description:"Temperature in kelvin"}},{unit:"Pa",properties:{display:"Pa",quantity:"Pressure",quantityDisplay:"P",description:"Pressure in pascal"}},{unit:"kg",properties:{display:"kg",quantity:"Mass",quantityDisplay:"m",description:"Mass in kilogram"}},{unit:"ratio",properties:{display:"",quantity:"Ratio",quantityDisplay:"\u03C6",description:"Relative value compared to reference or normal value. 0 = 0%, 1 = 100%, 1e-3 = 1 ppt"}},{unit:"m/s2",properties:{display:"m/s\xB2",quantity:"Acceleration",quantityDisplay:"a",description:"Acceleration in meters per second squared"}},{unit:"rad/s2",properties:{display:"rad/s\xB2",quantity:"Angular acceleration",quantityDisplay:"a",description:"Angular acceleration in radians per second squared"}},{unit:"N",properties:{display:"N",quantity:"Force",quantityDisplay:"F",description:"Force in newton"}},{unit:"T",properties:{display:"T",quantity:"Magnetic field",quantityDisplay:"B",description:"Magnetic field strength in tesla"}},{unit:"Lux",properties:{display:"lx",quantity:"Light Intensity",quantityDisplay:"Ev",description:"Light Intensity in lux"}},{unit:"Pa/s",properties:{display:"Pa/s",quantity:"Pressure rate",quantityDisplay:"R",description:"Pressure change rate in pascal per second"}},{unit:"Pa.s",properties:{display:"Pa s",quantity:"Viscosity",quantityDisplay:"\u03BC",description:"Viscosity in pascal seconds"}}];_defaultUnits=null;constructor(){this._defaultUnitsSub=this.AppSettingsService.getDefaultUnitsAsO().subscribe(n=>{this._defaultUnits=n})}unitConversionFunctions={unitless:function(n){return n}," ":function(n){return n},knots:u.default.swiftConverter("m/s","kn"),kph:u.default.swiftConverter("m/s","kph"),"m/s":function(n){return n},mph:u.default.swiftConverter("m/s","mph"),liter:u.default.swiftConverter("m^3","liter"),gallon:u.default.swiftConverter("m^3","gallon"),m3:function(n){return n},"m3/s":function(n){return n},"l/min":u.default.swiftConverter("m^3/s","liter/minute"),"l/h":u.default.swiftConverter("m^3/s","liter/hour"),"g/min":u.default.swiftConverter("m^3/s","gallon/minute"),"g/h":u.default.swiftConverter("m^3/s","gallon/hour"),"m/m3":function(n){return n},"nm/l":u.default.swiftConverter("m/m^3","naut-mile/liter"),"nm/g":u.default.swiftConverter("m/m^3","naut-mile/gallon"),"km/l":u.default.swiftConverter("m/m^3","km/liter"),mpg:u.default.swiftConverter("m/m^3","mile/gallon"),"m/J":function(n){return n},"nm/J":u.default.swiftConverter("m/J","naut-mile/J"),"km/J":u.default.swiftConverter("km/J","km/J"),"nm/kWh":u.default.swiftConverter("m/J","naut-mile/kWh"),"km/kWh":u.default.swiftConverter("m/J","km/kWh"),K:function(n){return n},celsius:u.default.swiftConverter("tempK","tempC"),fahrenheit:u.default.swiftConverter("tempK","tempF"),m:function(n){return n},mm:function(n){return n*1e3},fathom:u.default.swiftConverter("m","fathom"),feet:u.default.swiftConverter("m","foot"),inch:u.default.swiftConverter("m","in"),km:u.default.swiftConverter("m","km"),nm:u.default.swiftConverter("m","nmi"),mi:u.default.swiftConverter("m","mi"),V:function(n){return n},mV:function(n){return n*1e3},A:function(n){return n},mA:function(n){return n*1e3},C:function(n){return n},Ah:u.default.swiftConverter("C","Ah"),W:function(n){return n},mW:function(n){return n*1e3},J:function(n){return n},kWh:u.default.swiftConverter("J","kWh"),ohm:function(n){return n},kiloohm:function(n){return n/1e3},Pa:function(n){return n},bar:u.default.swiftConverter("Pa","bar"),psi:u.default.swiftConverter("Pa","psi"),mmHg:u.default.swiftConverter("Pa","mmHg"),inHg:u.default.swiftConverter("Pa","inHg"),hPa:u.default.swiftConverter("Pa","hPa"),kPa:u.default.swiftConverter("Pa","kPa"),mbar:u.default.swiftConverter("Pa","millibar"),"kg/m3":function(n){return n},s:function(n){return n},Minutes:u.default.swiftConverter("s","minutes"),Hours:u.default.swiftConverter("s","hours"),Days:u.default.swiftConverter("s","days"),"D HH:MM:SS":function(n){n=parseInt(n,10);let l=n<0;n=Math.abs(n);let p=Math.floor(n/86400),c=Math.floor(n%86400/3600),y=Math.floor(n%3600/60),h=Math.floor(n%60),x=l?"-":"";return p>0?x+=p+"d "+c.toString()+":"+y.toString().padStart(2,"0")+":"+h.toString().padStart(2,"0"):x+=c.toString()+":"+y.toString().padStart(2,"0")+":"+h.toString().padStart(2,"0"),x},"rad/s":function(n){return n},"deg/s":u.default.swiftConverter("rad/s","deg/s"),"deg/min":u.default.swiftConverter("rad/s","deg/min"),rpm:function(n){return n*60},Hz:function(n){return n},KHz:function(n){return n/1e3},MHz:function(n){return n/1e6},GHz:function(n){return n/1e9},rad:function(n){return n},deg:u.default.swiftConverter("rad","deg"),grad:u.default.swiftConverter("rad","grad"),percent:function(n){return n*100},percentraw:function(n){return n},ratio:function(n){return n},pdeg:function(n){return n},latitudeMin:function(n){let l=Math.trunc(n),p="N";n<0&&(p="S",l=l*-1);let c=n%1*60;return p=="S"&&(c=c*-1),l+"\xB0 "+c.toFixed(2).padStart(5,"0")+"' "+p},latitudeSec:function(n){let l=Math.trunc(n),p="N";n<0&&(p="S",l=l*-1);let c=n%1*60;p=="S"&&(c=c*-1);let y=Math.trunc(c),h=c%1*60;return l+"\xB0 "+y+"' "+h.toFixed(2).padStart(5,"0")+'" '+p},longitudeMin:function(n){let l=Math.trunc(n),p="E";n<0&&(p="W",l=l*-1);let c=n%1*60;return p=="W"&&(c=c*-1),l+"\xB0 "+c.toFixed(2).padStart(5,"0")+"' "+p},longitudeSec:function(n){let l=Math.trunc(n),p="E";n<0&&(p="W",l=l*-1);let c=n%1*60;p=="W"&&(c=c*-1);let y=Math.trunc(c),h=c%1*60;return l+"\xB0 "+y+"' "+h.toFixed(2).padStart(5,"0")+'" '+p}};convertToUnit(n,l){if(!(n in this.unitConversionFunctions)||l===null)return null;let p=+l;return this.unitConversionFunctions[n](p)}getDefaults(){return this._defaultUnits}getConversions(){return this._conversionList}getConversionsForPath(n){let l=this.data.getPathUnitType(n),p="unitless",c="unitless";if(l===null||l==="RFC 3339 (UTC)")return{base:p,conversions:this._conversionList};{let y=this._conversionList.filter(h=>h.group=="Position"&&(n.includes("position.latitude")||n.includes("position.longitude"))?!0:h.units.find(F=>F.measure==l)?(c=this._defaultUnits[h.group],!0):!1);return y.length>0?{base:c,conversions:y}:(console.log("[Units Service] Unit type: "+l+", found for path: "+n+`
|
|
2
|
-
but Kip does not support it.`),{base:p,conversions:this._conversionList})}}ngOnDestroy(){this._defaultUnitsSub?.unsubscribe()}static \u0275fac=function(l){return new(l||f)};static \u0275prov=ye({token:f,factory:f.\u0275fac})}return f})();export{ut as a};
|
package/public/chunk-ZBCOJLI4.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{$ as ot,A as et,H as tt,X as it,Y as at,aa as nt,ba as rt,t as Ze,v as Je}from"./chunk-TA4GACKT.js";import{$b as V,A as se,Aa as A,Ac as ue,Ba as De,Bc as fe,Be as Ke,Cb as Ae,Ce as Qe,Da as me,Ee as qe,F as Se,Fb as F,Ia as Ee,Ja as U,K as q,L as le,Lc as Pe,Mc as Z,Na as Te,Qa as $,R as we,Rb as x,Sb as k,Se as z,Tb as C,We as Ue,Xe as $e,Yb as S,Zb as d,_b as h,_c as Ne,_e as be,ac as Re,bc as Fe,be as Be,ce as je,ed as J,fa as ce,ff as ye,ga as de,gc as pe,gf as ve,ha as E,hc as he,hf as Xe,ic as w,id as p,jd as ge,je as ze,kc as u,lb as c,lc as O,le as j,m as v,mc as f,me as N,nc as X,ne as Ge,oa as Oe,oc as L,pa as T,pb as Ie,pc as b,pe as He,qc as y,qe as _e,ra as M,se as Ye,ta as s,te as D,uc as Ve,vd as We,wb as _,wc as g,we as ee,xb as R,yc as Le,za as I,zc as P}from"./chunk-35L7BBBD.js";var st=(()=>{class a{_animationsDisabled=ee();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=_({type:a,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,i){t&2&&g("mat-pseudo-checkbox-indeterminate",i.state==="indeterminate")("mat-pseudo-checkbox-checked",i.state==="checked")("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal",i.appearance==="minimal")("mat-pseudo-checkbox-full",i.appearance==="full")("_mat-animation-noopable",i._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(t,i){},styles:[`.mat-pseudo-checkbox{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-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{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
|
|
2
|
-
`],encapsulation:2,changeDetection:0})}return a})();var gt=["*",[["mat-option"],["ng-container"]]],_t=["*","mat-option, ng-container"],bt=["text"],yt=[[["mat-icon"]],"*"],vt=["mat-icon","*"];function Mt(a,o){if(a&1&&V(0,"mat-pseudo-checkbox",1),a&2){let e=u();S("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function xt(a,o){if(a&1&&V(0,"mat-pseudo-checkbox",3),a&2){let e=u();S("disabled",e.disabled)}}function kt(a,o){if(a&1&&(d(0,"span",4),P(1),h()),a&2){let e=u();c(),fe("(",e.group.label,")")}}var G=new M("MAT_OPTION_PARENT_COMPONENT"),H=new M("MatOptgroup"),lt=(()=>{class a{label;disabled=!1;_labelId=s(j).getId("mat-optgroup-label-");_inert;constructor(){let e=s(G,{optional:!0});this._inert=e?.inertGroups??!1}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=_({type:a,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(t,i){t&2&&x("role",i._inert?null:"group")("aria-disabled",i._inert?null:i.disabled.toString())("aria-labelledby",i._inert?null:i._labelId)},inputs:{label:"label",disabled:[2,"disabled","disabled",p]},exportAs:["matOptgroup"],features:[Z([{provide:H,useExisting:a}])],ngContentSelectors:_t,decls:5,vars:4,consts:[["role","presentation",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(t,i){t&1&&(O(gt),Re(0,"span",0)(1,"span",1),P(2),f(3),Fe()(),f(4,1)),t&2&&(g("mdc-list-item--disabled",i.disabled),he("id",i._labelId),c(2),fe("",i.label," "))},styles:[`.mat-mdc-optgroup{color:var(--mat-optgroup-label-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mat-optgroup-label-text-font, var(--mat-sys-title-small-font));line-height:var(--mat-optgroup-label-text-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-optgroup-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-optgroup-label-text-tracking, var(--mat-sys-title-small-tracking));font-weight:var(--mat-optgroup-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;outline:none}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;white-space:normal;color:inherit}
|
|
3
|
-
`],encapsulation:2,changeDetection:0})}return a})(),te=class{source;isUserInput;constructor(o,e=!1){this.source=o,this.isUserInput=e}},B=(()=>{class a{_element=s($);_changeDetectorRef=s(J);_parent=s(G,{optional:!0});group=s(H,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=s(j).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=U(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new F;_text;_stateChanges=new v;constructor(){let e=s(Be);e.load(Qe),e.load(je),this._signalDisableRipple=!!this._parent&&Ee(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let i=this._getHostElement();typeof i.focus=="function"&&i.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!N(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new te(this,e))}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=_({type:a,selectors:[["mat-option"]],viewQuery:function(t,i){if(t&1&&L(bt,7),t&2){let n;b(n=y())&&(i._text=n.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,i){t&1&&w("click",function(){return i._selectViaInteraction()})("keydown",function(r){return i._handleKeydown(r)}),t&2&&(he("id",i.id),x("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),g("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",p]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:vt,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,i){t&1&&(O(yt),k(0,Mt,1,2,"mat-pseudo-checkbox",1),f(1),d(2,"span",2,0),f(4,1),h(),k(5,xt,1,1,"mat-pseudo-checkbox",3),k(6,kt,2,1,"span",4),V(7,"div",5)),t&2&&(C(i.multiple?0:-1),c(5),C(!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator?5:-1),c(),C(i.group&&i.group._inert?6:-1),c(),S("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[st,Ke],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
|
|
4
|
-
`],encapsulation:2,changeDetection:0})}return a})();function Me(a,o,e){if(e.length){let t=o.toArray(),i=e.toArray(),n=0;for(let r=0;r<a+1;r++)t[r].group&&t[r].group===i[n]&&n++;return n}return 0}function xe(a,o,e,t){return a<e?a:a+o>e+t?Math.max(0,a-t+o):e}var Ct=(()=>{class a{_listeners=[];notify(e,t){for(let i of this._listeners)i(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(t){return new(t||a)};static \u0275prov=Oe({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var ke=class{applyChanges(o,e,t,i,n){o.forEachOperation((r,m,l)=>{let K,Q;if(r.previousIndex==null){let re=t(r,m,l);K=e.createEmbeddedView(re.templateRef,re.context,re.index),Q=z.INSERTED}else l==null?(e.remove(m),Q=z.REMOVED):(K=e.get(m),e.move(K,l),Q=z.MOVED);n&&n({context:K?.context,operation:Q,record:r})})}detach(){}};var Y=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new v;constructor(o=!1,e,t=!0,i){this._multiple=o,this._emitChanges=t,this.compareWith=i,e&&e.length&&(o?e.forEach(n=>this._markSelected(n)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...o){this._verifyValueAssignment(o),o.forEach(t=>this._markSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...o){this._verifyValueAssignment(o),o.forEach(t=>this._unmarkSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...o){this._verifyValueAssignment(o);let e=this.selected,t=new Set(o.map(n=>this._getConcreteValue(n)));o.forEach(n=>this._markSelected(n)),e.filter(n=>!t.has(this._getConcreteValue(n,t))).forEach(n=>this._unmarkSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(o){return this.isSelected(o)?this.deselect(o):this.select(o)}clear(o=!0){this._unmarkAll();let e=this._hasQueuedChanges();return o&&this._emitChangeEvent(),e}isSelected(o){return this._selection.has(this._getConcreteValue(o))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(o){this._multiple&&this.selected&&this._selected.sort(o)}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(o){o=this._getConcreteValue(o),this.isSelected(o)||(this._multiple||this._unmarkAll(),this.isSelected(o)||this._selection.add(o),this._emitChanges&&this._selectedToEmit.push(o))}_unmarkSelected(o){o=this._getConcreteValue(o),this.isSelected(o)&&(this._selection.delete(o),this._emitChanges&&this._deselectedToEmit.push(o))}_unmarkAll(){this.isEmpty()||this._selection.forEach(o=>this._unmarkSelected(o))}_verifyValueAssignment(o){o.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(o,e){if(this.compareWith){e=e??this._selection;for(let t of e)if(this.compareWith(o,t))return t;return o}else return o}};var ct=(()=>{class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=R({type:a});static \u0275inj=T({imports:[D]})}return a})();var oe=(()=>{class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=R({type:a});static \u0275inj=T({imports:[qe,D,ct,B]})}return a})();var Et=["trigger"],Tt=["panel"],It=[[["mat-select-trigger"]],"*"],At=["mat-select-trigger","*"];function Rt(a,o){if(a&1&&(d(0,"span",4),P(1),h()),a&2){let e=u();c(),ue(e.placeholder)}}function Ft(a,o){a&1&&f(0)}function Vt(a,o){if(a&1&&(d(0,"span",11),P(1),h()),a&2){let e=u(2);c(),ue(e.triggerValue)}}function Lt(a,o){if(a&1&&(d(0,"span",5),k(1,Ft,1,0)(2,Vt,2,1,"span",11),h()),a&2){let e=u();c(),C(e.customTrigger?1:2)}}function Pt(a,o){if(a&1){let e=pe();d(0,"div",12,1),w("keydown",function(i){I(e);let n=u();return A(n._handleKeydown(i))}),f(2,1),h()}if(a&2){let e=u();Le(Pe("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme())),g("mat-select-panel-animations-enabled",!e._animationsDisabled),S("ngClass",e.panelClass),x("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var Ce=new M("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let a=s(me);return()=>be(a)}});function pt(a){let o=s(me);return()=>be(o)}var ht=new M("MAT_SELECT_CONFIG"),ut={provide:Ce,deps:[],useFactory:pt},ft=new M("MatSelectTrigger"),ne=class{source;value;constructor(o,e){this.source=o,this.value=e}},Nt=(()=>{class a{_viewportRuler=s(Ue);_changeDetectorRef=s(J);_elementRef=s($);_dir=s(Ye,{optional:!0});_idGenerator=s(j);_renderer=s(Ie);_parentFormField=s(at,{optional:!0});ngControl=s(Je,{self:!0,optional:!0});_liveAnnouncer=s(ze);_defaultOptions=s(ht,{optional:!0});_animationsDisabled=ee();_initialized=new v;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let i=this.panel.nativeElement,n=Me(e,this.options,this.optionGroups),r=t._getHostElement();e===0&&n===1?i.scrollTop=0:i.scrollTop=xe(r.offsetTop,r.offsetHeight,i.scrollTop,i.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new ne(this,e)}_scrollStrategyFactory=s(Ce);_panelOpen=!1;_compareWith=(e,t)=>e===t;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new v;_errorStateTracker;stateChanges=new v;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=U(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Ze.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=Se(()=>{let e=this.options;return e?e.changes.pipe(ce(e),de(()=>q(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(de(()=>this.optionSelectionChanges))});openedChange=new F;_openedStream=this.openedChange.pipe(le(e=>e),se(()=>{}));_closedStream=this.openedChange.pipe(le(e=>!e),se(()=>{}));selectionChange=new F;valueChange=new F;constructor(){let e=s(nt),t=s(et,{optional:!0}),i=s(tt,{optional:!0}),n=s(new Ne("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new rt(e,this.ngControl,i,t,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=n==null?0:parseInt(n)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Y(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(E(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(E(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(ce(null),E(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(we(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&_e(this._trackedModal,"aria-owns",t),He(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;_e(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{t(),clearTimeout(i),this._cleanupDetach=void 0};let e=this.panel.nativeElement,t=this._renderer.listen(e,"animationend",n=>{n.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),i=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,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){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,n=t===13||t===32,r=this._keyManager;if(!r.isTyping()&&n&&!N(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let m=this.selected;r.onKeydown(e);let l=this.selected;l&&m!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,n=i===40||i===38,r=t.isTyping();if(n&&e.altKey)e.preventDefault(),this.close();else if(!r&&(i===13||i===32)&&t.activeItem&&!N(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!r&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let m=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(m?l.select():l.deselect())})}else{let m=t.activeItemIndex;t.onKeydown(e),this._multiple&&n&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==m&&t.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!N(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_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(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return(i.value!=null||this.canSelectNullableOptions)&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof ye?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Ge(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=q(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(E(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),q(...this.options.map(t=>t._stateChanges)).pipe(E(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t<this.options.length;t++)if(!this.options.get(t).disabled){e=t;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=_({type:a,selectors:[["mat-select"]],contentQueries:function(t,i,n){if(t&1&&(X(n,ft,5),X(n,B,5),X(n,H,5)),t&2){let r;b(r=y())&&(i.customTrigger=r.first),b(r=y())&&(i.options=r),b(r=y())&&(i.optionGroups=r)}},viewQuery:function(t,i){if(t&1&&(L(Et,5),L(Tt,5),L(ve,5)),t&2){let n;b(n=y())&&(i.trigger=n.first),b(n=y())&&(i.panel=n.first),b(n=y())&&(i._overlayDir=n.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,i){t&1&&w("keydown",function(r){return i._handleKeydown(r)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(x("id",i.id)("tabindex",i.disabled?-1: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()),g("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",p],disableRipple:[2,"disableRipple","disableRipple",p],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:ge(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",p],placeholder:"placeholder",required:[2,"required","required",p],multiple:[2,"multiple","multiple",p],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",p],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",ge],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",p]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Z([{provide:it,useExisting:a},{provide:G,useExisting:a}]),Te],ngContentSelectors:At,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,i){if(t&1){let n=pe();O(It),d(0,"div",2,0),w("click",function(){return I(n),A(i.open())}),d(3,"div",3),k(4,Rt,2,1,"span",4)(5,Lt,3,1,"span",5),h(),d(6,"div",6)(7,"div",7),De(),d(8,"svg",8),V(9,"path",9),h()()()(),Ae(10,Pt,3,10,"ng-template",10),w("detach",function(){return I(n),A(i.close())})("backdropClick",function(){return I(n),A(i.close())})("overlayKeydown",function(m){return I(n),A(i._handleOverlayKeydown(m))})}if(t&2){let n=Ve(1);c(3),x("id",i._valueId),c(),C(i.empty?4:5),c(6),S("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||n)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[ye,ve,We],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
|
|
5
|
-
`],encapsulation:2,changeDetection:0})}return a})();var Wt=(()=>{class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=R({type:a});static \u0275inj=T({providers:[ut],imports:[Xe,oe,D,$e,ot,oe,D]})}return a})();var Bt=["mat-internal-form-field",""],jt=["*"],ma=(()=>{class a{labelPosition;static \u0275fac=function(t){return new(t||a)};static \u0275cmp=_({type:a,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(t,i){t&2&&g("mdc-form-field--align-end",i.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:Bt,ngContentSelectors:jt,decls:1,vars:0,template:function(t,i){t&1&&(O(),f(0))},styles:[`.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}
|
|
6
|
-
`],encapsulation:2,changeDetection:0})}return a})();export{st as a,G as b,H as c,lt as d,te as e,B as f,Me as g,xe as h,Ct as i,ke as j,Y as k,ct as l,oe as m,Nt as n,Wt as o,ma as p};
|