PageSourceSearch

https://nearb.pl/app/main.1ca7df03c4ce3f35e33e.js

js nearb.pl collected 2026-10-02 00:03:54 UTC 649,524 bytes, 1 lines download raw bytes

1(self.webpackChunkloocalio=self.webpackChunkloocalio||[]).push([[179],{98255:e=>{function t(e){return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}t.keys=()=>[],t.resolve=t,t.id=98255,e.exports=t},26457:(e,t,n)=>{"use strict";function r(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function s(e,t){return function(n,r){t(n,r,e)}}function i(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function o(e,t,n,r){return new(n||(n=Promise))(function(s,i){function o(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((r=r.apply(e,t||[])).next())})}n.d(t,{su:()=>Re,SA:()=>de,pt:()=>ge,W7:()=>B});var a=n(37716),l=n(83550),c=n(59796),u=n(69105),h=n(88002);function d(e,t,n){return n?d(e,t).pipe((0,h.U)(e=>(0,c.k)(e)?n(...e):n(e))):new l.y(n=>{const r=(...e)=>n.next(1===e.length?e[0]:e);let s;try{s=e(r)}catch(i){return void n.error(i)}if((0,u.m)(t))return()=>t(r,s)})}var p=n(79765),f=n(75319);class g extends p.xQ{constructor(){super(...arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}_subscribe(e){return this.hasError?(e.error(this.thrownError),f.w.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),f.w.EMPTY):super._subscribe(e)}next(e){this.hasCompleted||(this.value=e,this.hasNext=!0)}error(e){this.hasCompleted||super.error(e)}complete(){this.hasCompleted=!0,this.hasNext&&super.next(this.value),super.complete()}}var m=n(13179),y=n(54869);function v(e,t,n){if(t){if(!(0,y.K)(t))return(...r)=>v(e,n)(...r).pipe((0,h.U)(e=>(0,c.k)(e)?t(...e):t(e)));n=t}return function(...t){const r=this;let s;const i={context:r,subject:s,callbackFunc:e,scheduler:n};return new l.y(o=>{if(n)return n.schedule(b,0,{args:t,subscriber:o,params:i});if(!s){s=new g;const n=(...e)=>{s.next(e.length<=1?e[0]:e),s.complete()};try{e.apply(r,[...t,n])}catch(a){(0,m._)(s)?s.error(a):console.warn(a)}}return s.subscribe(o)})}}function b(e){const{args:t,subscriber:n,params:r}=e,{callbackFunc:s,context:i,scheduler:o}=r;let{subject:a}=r;if(!a){a=r.subject=new g;const e=(...e)=>{this.add(o.schedule(_,0,{value:e.length<=1?e[0]:e,subject:a}))};try{s.apply(i,[...t,e])}catch(l){a.error(l)}}this.add(a.subscribe(n))}function _(e){const{value:t,subject:n}=e;n.next(t),n.complete()}var w=n(26215),C=n(94402),S=n(38634),E=n(66682),k=n(82298),x=n(25917),T=n(40205),O=n(85345);class A{constructor(e){this.notifier=e}call(e,t){const n=new I(e),r=t.subscribe(n);return r.add((0,O.ft)(this.notifier,new O.IY(n))),r}}class I extends O.Ds{constructor(){super(...arguments),this.hasValue=!1}_next(e){this.value=e,this.hasValue=!0}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}var $=n(19773),P=n(43190),D=n(47349),L=(n(87519),n(46782),n(39761)),R=n(13653),N=n(94458),M=n(38583);const F=["*"];let B=(()=>{let e=class{};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e})(),j=(()=>{let e=class{constructor(e,t){this._loader=e,this._zone=t,this._map=new Promise(e=>{this._mapResolver=e})}createMap(e,t){return this._zone.runOutsideAngular(()=>this._loader.load().then(()=>{const n=new google.maps.Map(e,t);this._mapResolver(n)}))}setMapOptions(e){return this._zone.runOutsideAngular(()=>{this._map.then(t=>{t.setOptions(e)})})}createMarker(e={},t=!0){return this._zone.runOutsideAngular(()=>this._map.then(n=>(t&&(e.map=n),new google.maps.Marker(e))))}createInfoWindow(e){return this._zone.runOutsideAngular(()=>this._map.then(()=>new google.maps.InfoWindow(e)))}createCircle(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>("string"==typeof e.strokePosition&&(e.strokePosition=google.maps.StrokePosition[e.strokePosition]),e.map=t,new google.maps.Circle(e))))}createRectangle(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>(e.map=t,new google.maps.Rectangle(e))))}createPolyline(e){return this._zone.runOutsideAngular(()=>this.getNativeMap().then(t=>{let n=new google.maps.Polyline(e);return n.setMap(t),n}))}createPolygon(e){return this._zone.runOutsideAngular(()=>this.getNativeMap().then(t=>{let n=new google.maps.Polygon(e);return n.setMap(t),n}))}createDataLayer(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>{let n=new google.maps.Data(e);return n.setMap(t),n}))}createTransitLayer(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>{let n=new google.maps.TransitLayer;return n.setMap(e.visible?t:null),n}))}createBicyclingLayer(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>{let n=new google.maps.BicyclingLayer;return n.setMap(e.visible?t:null),n}))}containsLocation(e,t){return google.maps.geometry.poly.containsLocation(e,t)}subscribeToMapEvent(e){return new l.y(t=>{this._map.then(n=>
1{n.addListener(e,e=>{this._zone.run(()=>t.next(e))})})})}clearInstanceListeners(){return this._zone.runOutsideAngular(()=>{this._map.then(e=>{google.maps.event.clearInstanceListeners(e)})})}setCenter(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>t.setCenter(e)))}getZoom(){return this._zone.runOutsideAngular(()=>this._map.then(e=>e.getZoom()))}getBounds(){return this._zone.runOutsideAngular(()=>this._map.then(e=>e.getBounds()))}getMapTypeId(){return this._zone.runOutsideAngular(()=>this._map.then(e=>e.getMapTypeId()))}setZoom(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>t.setZoom(e)))}getCenter(){return this._zone.runOutsideAngular(()=>this._map.then(e=>e.getCenter()))}panTo(e){return this._zone.runOutsideAngular(()=>this._map.then(t=>t.panTo(e)))}panBy(e,t){return this._zone.runOutsideAngular(()=>this._map.then(n=>n.panBy(e,t)))}fitBounds(e,t){return this._zone.runOutsideAngular(()=>this._map.then(n=>n.fitBounds(e,t)))}panToBounds(e,t){return this._zone.runOutsideAngular(()=>this._map.then(n=>n.panToBounds(e,t)))}getNativeMap(){return this._map}triggerMapEvent(e){return this._map.then(t=>google.maps.event.trigger(t,e))}};return e.\u0275fac=function(t){return new(t||e)(a.LFG(B),a.LFG(a.R0b))},e.\u0275prov=a.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e=r([i("design:paramtypes",[B,a.R0b])],e),e})(),z=(()=>{let e=class{constructor(e){this._wrapper=e,this._layers=new Map}addTransitLayer(e,t){const n=this._wrapper.createTransitLayer(t);this._layers.set(e,n)}addBicyclingLayer(e,t){const n=this._wrapper.createBicyclingLayer(t);this._layers.set(e,n)}deleteLayer(e){return this._layers.get(e).then(t=>{t.setMap(null),this._layers.delete(e)})}toggleLayerVisibility(e,t){return this._layers.get(e).then(e=>t.visible?this._wrapper.getNativeMap().then(t=>{e.setMap(t)}):void e.setMap(null))}};return e.\u0275fac=function(t){return new(t||e)(a.LFG(j))},e.\u0275prov=a.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e=r([i("design:paramtypes",[j])],e),e})(),V=(()=>{let e=class{constructor(e,t){this._apiWrapper=e,this._zone=t,this._circles=new Map}addCircle(e){this._circles.set(e,this._apiWrapper.createCircle({center:{lat:e.latitude,lng:e.longitude},clickable:e.clickable,draggable:e.draggable,editable:e.editable,fillColor:e.fillColor,fillOpacity:e.fillOpacity,radius:e.radius,strokeColor:e.strokeColor,strokeOpacity:e.strokeOpacity,strokePosition:e.strokePosition,strokeWeight:e.strokeWeight,visible:e.visible,zIndex:e.zIndex}))}removeCircle(e){return this._circles.get(e).then(t=>{t.setMap(null),this._circles.delete(e)})}setOptions(e,t){return this._circles.get(e).then(e=>{"string"==typeof t.strokePosition&&(t.strokePosition=google.maps.StrokePosition[t.strokePosition]),e.setOptions(t)})}getBounds(e){return this._circles.get(e).then(e=>e.getBounds())}getCenter(e){return this._circles.get(e).then(e=>e.getCenter())}getRadius(e){return this._circles.get(e).then(e=>e.getRadius())}setCenter(e){return this._circles.get(e).then(t=>t.setCenter({lat:e.latitude,lng:e.longitude}))}setEditable(e){return this._circles.get(e).then(t=>t.setEditable(e.editable))}setDraggable(e){return this._circles.get(e).then(t=>t.setDraggable(e.draggable))}setVisible(e){return this._circles.get(e).then(t=>t.setVisible(e.visible))}setRadius(e){return this._circles.get(e).then(t=>t.setRadius(e.radius))}getNativeCircle(e){return this._circles.get(e)}createEventObservable(e,t){return new l.y(n=>{let r=null;return this._circles.get(t).then(t=>{r=t.addListener(e,e=>this._zone.run(()=>n.next(e)))}),()=>{null!==r&&r.remove()}})}};return e.\u0275fac=function(t){return new(t||e)(a.LFG(j),a.LFG(a.R0b))},e.\u0275prov=a.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e=r([i("design:paramtypes",[j,a.R0b])],e),e})();var U;let q=U=class{constructor(e){this._manager=e,this.clickable=!0,this.draggable=!1,this.editable=!1,this.radius=0,this.strokePosition="CENTER",this.strokeWeight=0,this.visible=!0,this.centerChange=new a.vpe,this.circleClick=new a.vpe,this.circleDblClick=new a.vpe,this.drag=new a.vpe,this.dragEnd=new a.vpe,this.dragStart=new a.vpe,this.mouseDown=new a.vpe,this.mouseMove=new a.vpe,this.mouseOut=new a.vpe,this.mouseOver=new a.vpe,this.mouseUp=new a.vpe,this.radiusChange=new a.vpe,this.rightClick=new a.vpe,this._circleAddedToManager=!1,this._eventSubscriptions=[]}ngOnInit(){this._manager.addCircle(this),this._circleAddedToManager=!0,this._registerEventListeners()}ngOnChanges(e){this._circleAddedToManager&&((e.latitude||e.longitude)&&this._manager.setCenter(this),e.editable&&this._manager.setEditable(this),e.draggable&&this._manager.setDraggable(this),e.visible&&this._manager.setVisible(this),e.radius&&this._manager.setRadius(this),this._updateCircleOptionsChanges(e))}_updateCircleOptionsChanges(e){let t={},n=Object.keys(e).filter(e=>-1!==U._mapOptions.indexOf(e));
1n.forEach(n=>{t[n]=e[n].currentValue}),n.length>0&&this._manager.setOptions(this,t)}_registerEventListeners(){let e=new Map;e.set("center_changed",this.centerChange),e.set("click",this.circleClick),e.set("dblclick",this.circleDblClick),e.set("drag",this.drag),e.set("dragend",this.dragEnd),e.set("dragstart",this.dragStart),e.set("mousedown",this.mouseDown),e.set("mousemove",this.mouseMove),e.set("mouseout",this.mouseOut),e.set("mouseover",this.mouseOver),e.set("mouseup",this.mouseUp),e.set("radius_changed",this.radiusChange),e.set("rightclick",this.rightClick),e.forEach((e,t)=>{this._eventSubscriptions.push(this._manager.createEventObservable(t,this).subscribe(n=>{switch(t){case"radius_changed":this._manager.getRadius(this).then(t=>e.emit(t));break;case"center_changed":this._manager.getCenter(this).then(t=>e.emit({lat:t.lat(),lng:t.lng()}));break;default:e.emit({coords:{lat:n.latLng.lat(),lng:n.latLng.lng()}})}}))})}ngOnDestroy(){this._eventSubscriptions.forEach(function(e){e.unsubscribe()}),this._eventSubscriptions=null,this._manager.removeCircle(this)}getBounds(){return this._manager.getBounds(this)}getCenter(){return this._manager.getCenter(this)}};q.\u0275fac=function(e){return new(e||q)(a.Y36(V))},q.\u0275dir=a.lG2({type:q,selectors:[["agm-circle"]],inputs:{clickable:"clickable",draggable:["circleDraggable","draggable"],editable:"editable",radius:"radius",strokePosition:"strokePosition",strokeWeight:"strokeWeight",visible:"visible",latitude:"latitude",longitude:"longitude",fillColor:"fillColor",fillOpacity:"fillOpacity",strokeColor:"strokeColor",strokeOpacity:"strokeOpacity",zIndex:"zIndex"},outputs:{centerChange:"centerChange",circleClick:"circleClick",circleDblClick:"circleDblClick",drag:"drag",dragEnd:"dragEnd",dragStart:"dragStart",mouseDown:"mouseDown",mouseMove:"mouseMove",mouseOut:"mouseOut",mouseOver:"mouseOver",mouseUp:"mouseUp",radiusChange:"radiusChange",rightClick:"rightClick"},features:[a.TTD]}),q._mapOptions=["fillColor","fillOpacity","strokeColor","strokeOpacity","strokePosition","strokeWeight","visible","zIndex","clickable"],q.ctorParameters=()=>[{type:V}],r([(0,a.IIB)(),i("design:type",Number)],q.prototype,"latitude",void 0),r([(0,a.IIB)(),i("design:type",Number)],q.prototype,"longitude",void 0),r([(0,a.IIB)(),i("design:type",Object)],q.prototype,"clickable",void 0),r([(0,a.IIB)("circleDraggable"),i("design:type",Object)],q.prototype,"draggable",void 0),r([(0,a.IIB)(),i("design:type",Object)],q.prototype,"editable",void 0),r([(0,a.IIB)(),i("design:type",String)],q.prototype,"fillColor",void 0),r([(0,a.IIB)(),i("design:type",Number)],q.prototype,"fillOpacity",void 0),r([(0,a.IIB)(),i("design:type",Object)],q.prototype,"radius",void 0),r([(0,a.IIB)(),i("design:type",String)],q.prototype,"strokeColor",void 0),r([(0,a.IIB)(),i("design:type",Number)],q.prototype,"strokeOpacity",void 0),r([(0,a.IIB)(),i("design:type",String)],q.prototype,"strokePosition",void 0),r([(0,a.IIB)(),i("design:type",Object)],q.prototype,"strokeWeight",void 0),r([(0,a.IIB)(),i("design:type",Object)],q.prototype,"visible",void 0),r([(0,a.IIB)(),i("design:type",Number)],q.prototype,"zIndex",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"centerChange",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"circleClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"circleDblClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"drag",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"dragEnd",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"dragStart",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"mouseDown",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"mouseMove",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"mouseOut",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"mouseOver",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"mouseUp",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"radiusChange",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],q.prototype,"rightClick",void 0),q=U=r([i("design:paramtypes",[V])],q);let H=(()=>{let e=class{constructor(e,t){this._wrapper=e,this._zone=t,this._layers=new Map}addDataLayer(e){const t=this._wrapper.createDataLayer({style:e.style}).then(t=>(e.geoJson&&this.getDataFeatures(t,e.geoJson).then(e=>t.features=e),t));this._layers.set(e,t)}deleteDataLayer(e){this._layers.get(e).then(t=>{t.setMap(null),this._layers.delete(e)})}updateGeoJson(e,t){this._layers.get(e).then(e=>{e.forEach(function(t){e.remove(t);var n=e.features.indexOf(t,0);n>-1&&e.features.splice(n,1)}),this.getDataFeatures(e,t).then(t=>e.features=t)})}setDataOptions(e,t){this._layers.get(e).then(e=>{e.setControlPosition(t.controlPosition),e.setControls(t.controls),e.setDrawingMode(t.drawingMode),e.setStyle(t.style)})}createEventObservable(e,t){return new l.y(n=>{this._layers.get(t).then(t=>{t.addListener(e,e=>this._zone.run(()=>n.next(e)))})})}getDataFeatures(e,t){return new Promise((n,r)=>{if("object"==typeof t)try{n(e.addGeoJson(t))}catch(s){r(s)}else"string"==typeof t?e.loadGeoJson(t,null,n):r("Impossible to extract features from geoJson: wrong argument type")})}};return e.\u0275fac=function(t){return new(t||e)(a.LFG(j),a.LFG(a.R0b))},e.\u0275prov=a.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e=r([i("design:paramtypes",[j,a.R0b])],e),e})();var Y;let G=0,W=Y=class{constructor(e){this._manager=e,this._addedToManager=!1,this._id=(G++).toString(),this._subscriptions=[],this.layerClick=new a.vpe,this.geoJson=null}ngOnInit(){this._addedToManager||(this._manager.addDataLayer(this),this._addedToManager=!0,this._addEventListeners())}_addEventListeners(){[{name:"click",handler:e=>this.layerClick.emit(e)}
1].forEach(e=>{const t=this._manager.createEventObservable(e.name,this).subscribe(e.handler);this._subscriptions.push(t)})}id(){return this._id}toString(){return`AgmDataLayer-${this._id.toString()}`}ngOnDestroy(){this._manager.deleteDataLayer(this),this._subscriptions.forEach(e=>e.unsubscribe())}ngOnChanges(e){if(!this._addedToManager)return;var t=e.geoJson;t&&this._manager.updateGeoJson(this,t.currentValue);let n={};Y._dataOptionsAttributes.forEach(t=>n[t]=e.hasOwnProperty(t)?e[t].currentValue:this[t]),this._manager.setDataOptions(this,n)}};W.\u0275fac=function(e){return new(e||W)(a.Y36(H))},W.\u0275dir=a.lG2({type:W,selectors:[["agm-data-layer"]],inputs:{geoJson:"geoJson",style:"style"},outputs:{layerClick:"layerClick"},features:[a.TTD]}),W._dataOptionsAttributes=["style"],W.ctorParameters=()=>[{type:H}],r([(0,a.r_U)(),i("design:type",a.vpe)],W.prototype,"layerClick",void 0),r([(0,a.IIB)(),i("design:type",Object)],W.prototype,"geoJson",void 0),r([(0,a.IIB)(),i("design:type",Function)],W.prototype,"style",void 0),W=Y=r([i("design:paramtypes",[H])],W);class X{}let K=(()=>{let e=class{constructor(e){var t;this._boundsChangeSampleTime$=new w.X(200),this._includeInBounds$=new w.X(new Map),this.bounds$=(0,C.D)(e.load()).pipe((0,$.VS)(()=>this._includeInBounds$),(t=this._boundsChangeSampleTime$.pipe((0,P.w)(e=>(0,S.H)(0,e))),e=>e.lift(new A(t))),(0,h.U)(e=>this._generateBounds(e)),(0,D.d)(1))}_generateBounds(e){const t=new google.maps.LatLngBounds;return e.forEach(e=>t.extend(e)),t}addToBounds(e){const t=this._createIdentifier(e);if(this._includeInBounds$.value.has(t))return;const n=this._includeInBounds$.value;n.set(t,e),this._includeInBounds$.next(n)}removeFromBounds(e){const t=this._includeInBounds$.value;t.delete(this._createIdentifier(e)),this._includeInBounds$.next(t)}changeFitBoundsChangeSampleTime(e){this._boundsChangeSampleTime$.next(e)}getBounds$(){return this.bounds$}_createIdentifier(e){return`${e.lat}+${e.lng}`}};return e.\u0275fac=function(t){return new(t||e)(a.LFG(B))},e.\u0275prov=a.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e=r([i("design:paramtypes",[B])],e),e})(),Z=(()=>{let e=class{constructor(e,t){this._mapsWrapper=e,this._zone=t,this._markers=new Map}convertAnimation(e){return o(this,void 0,void 0,function*(){return null===e?null:this._mapsWrapper.getNativeMap().then(()=>google.maps.Animation[e])})}deleteMarker(e){const t=this._markers.get(e);return null==t?Promise.resolve():t.then(t=>this._zone.run(()=>{t.setMap(null),this._markers.delete(e)}))}updateMarkerPosition(e){return this._markers.get(e).then(t=>t.setPosition({lat:e.latitude,lng:e.longitude}))}updateTitle(e){return this._markers.get(e).then(t=>t.setTitle(e.title))}updateLabel(e){return this._markers.get(e).then(t=>{t.setLabel(e.label)})}updateDraggable(e){return this._markers.get(e).then(t=>t.setDraggable(e.draggable))}updateIcon(e){return this._markers.get(e).then(t=>t.setIcon(e.iconUrl))}updateOpacity(e){return this._markers.get(e).then(t=>t.setOpacity(e.opacity))}updateVisible(e){return this._markers.get(e).then(t=>t.setVisible(e.visible))}updateZIndex(e){return this._markers.get(e).then(t=>t.setZIndex(e.zIndex))}updateClickable(e){return this._markers.get(e).then(t=>t.setClickable(e.clickable))}updateAnimation(e){return o(this,void 0,void 0,function*(){(yield this._markers.get(e)).setAnimation(yield this.convertAnimation(e.animation))})}addMarker(e){const t=new Promise(t=>o(this,void 0,void 0,function*(){return this._mapsWrapper.createMarker({position:{lat:e.latitude,lng:e.longitude},label:e.label,draggable:e.draggable,icon:e.iconUrl,opacity:e.opacity,visible:e.visible,zIndex:e.zIndex,title:e.title,clickable:e.clickable,animation:yield this.convertAnimation(e.animation)}).then(t)}));this._markers.set(e,t)}getNativeMarker(e){return this._markers.get(e)}createEventObservable(e,t){return new l.y(n=>{this._markers.get(t).then(t=>{t.addListener(e,e=>this._zone.run(()=>n.next(e)))})})}};return e.\u0275fac=function(t){return new(t||e)(a.LFG(j),a.LFG(a.R0b))},e.\u0275prov=a.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e=r([i("design:paramtypes",[j,a.R0b])],e),e})(),Q=(()=>{let e=class{constructor(e,t,n){this._mapsWrapper=e,this._zone=t,this._markerManager=n,this._infoWindows=new Map}deleteInfoWindow(e){const t=this._infoWindows.get(e);return null==t?Promise.resolve():t.then(t=>this._zone.run(()=>{t.close(),this._infoWindows.delete(e)}))}setPosition(e){return this._infoWindows.get(e).then(t=>t.setPosition({lat:e.latitude,lng:e.longitude}))}setZIndex(e){return this._infoWindows.get(e).then(t=>t.setZIndex(e.zIndex))}open(e){return this._infoWindows.get(e).then(t=>null!=e.hostMarker?this._markerManager.getNativeMarker(e.hostMarker).then(e=>this._mapsWrapper.getNativeMap().then(n=>t.open(n,e))):this._mapsWrapper.getNativeMap().then(e=>t.open(e)))}close(e){return this._infoWindows.get(e).then(e=>e.close())}setOptions(e,t){return this._infoWindows.get(e).then(e=>e.setOptions(t))}
1addInfoWindow(e){const t={content:e.content,maxWidth:e.maxWidth,zIndex:e.zIndex,disableAutoPan:e.disableAutoPan};"number"==typeof e.latitude&&"number"==typeof e.longitude&&(t.position={lat:e.latitude,lng:e.longitude});const n=this._mapsWrapper.createInfoWindow(t);this._infoWindows.set(e,n)}createEventObservable(e,t){return new l.y(n=>{this._infoWindows.get(t).then(t=>{t.addListener(e,e=>this._zone.run(()=>n.next(e)))})})}};return e.\u0275fac=function(t){return new(t||e)(a.LFG(j),a.LFG(a.R0b),a.LFG(Z))},e.\u0275prov=a.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e=r([i("design:paramtypes",[j,a.R0b,Z])],e),e})();var J;let ee=0,te=J=class{constructor(e,t){this._infoWindowManager=e,this._el=t,this.isOpen=!1,this.infoWindowClose=new a.vpe,this._infoWindowAddedToManager=!1,this._id=(ee++).toString()}ngOnInit(){this.content=this._el.nativeElement.querySelector(".agm-info-window-content"),this._infoWindowManager.addInfoWindow(this),this._infoWindowAddedToManager=!0,this._updateOpenState(),this._registerEventListeners()}ngOnChanges(e){this._infoWindowAddedToManager&&((e.latitude||e.longitude)&&"number"==typeof this.latitude&&"number"==typeof this.longitude&&this._infoWindowManager.setPosition(this),e.zIndex&&this._infoWindowManager.setZIndex(this),e.isOpen&&this._updateOpenState(),this._setInfoWindowOptions(e))}_registerEventListeners(){this._infoWindowManager.createEventObservable("closeclick",this).subscribe(()=>{this.isOpen=!1,this.infoWindowClose.emit()})}_updateOpenState(){this.isOpen?this.open():this.close()}_setInfoWindowOptions(e){let t={};Object.keys(e).filter(e=>-1!==J._infoWindowOptionsInputs.indexOf(e)).forEach(n=>{t[n]=e[n].currentValue}),this._infoWindowManager.setOptions(this,t)}open(){return this._infoWindowManager.open(this)}close(){return this._infoWindowManager.close(this).then(()=>{this.infoWindowClose.emit()})}id(){return this._id}toString(){return"AgmInfoWindow-"+this._id.toString()}ngOnDestroy(){this._infoWindowManager.deleteInfoWindow(this)}};te.\u0275fac=function(e){return new(e||te)(a.Y36(Q),a.Y36(a.SBq))},te.\u0275cmp=a.Xpm({type:te,selectors:[["agm-info-window"]],inputs:{isOpen:"isOpen",latitude:"latitude",longitude:"longitude",disableAutoPan:"disableAutoPan",zIndex:"zIndex",maxWidth:"maxWidth"},outputs:{infoWindowClose:"infoWindowClose"},features:[a.TTD],ngContentSelectors:F,decls:2,vars:0,consts:[[1,"agm-info-window-content"]],template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"div",0),a.Hsn(1),a.qZA())},encapsulation:2}),te._infoWindowOptionsInputs=["disableAutoPan","maxWidth"],te.ctorParameters=()=>[{type:Q},{type:a.SBq}],r([(0,a.IIB)(),i("design:type",Number)],te.prototype,"latitude",void 0),r([(0,a.IIB)(),i("design:type",Number)],te.prototype,"longitude",void 0),r([(0,a.IIB)(),i("design:type",Boolean)],te.prototype,"disableAutoPan",void 0),r([(0,a.IIB)(),i("design:type",Number)],te.prototype,"zIndex",void 0),r([(0,a.IIB)(),i("design:type",Number)],te.prototype,"maxWidth",void 0),r([(0,a.IIB)(),i("design:type",Object)],te.prototype,"isOpen",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],te.prototype,"infoWindowClose",void 0),te=J=r([i("design:paramtypes",[Q,a.SBq])],te);let ne=(()=>{let e=class{constructor(e,t){this._wrapper=e,this._zone=t,this._layers=new Map}addKmlLayer(e){const t=this._wrapper.getNativeMap().then(t=>new google.maps.KmlLayer({clickable:e.clickable,map:t,preserveViewport:e.preserveViewport,screenOverlays:e.screenOverlays,suppressInfoWindows:e.suppressInfoWindows,url:e.url,zIndex:e.zIndex}));this._layers.set(e,t)}setOptions(e,t){this._layers.get(e).then(e=>e.setOptions(t))}deleteKmlLayer(e){this._layers.get(e).then(t=>{t.setMap(null),this._layers.delete(e)})}createEventObservable(e,t){return new l.y(n=>{this._layers.get(t).then(t=>{t.addListener(e,e=>this._zone.run(()=>n.next(e)))})})}};return e.\u0275fac=function(t){return new(t||e)(a.LFG(j),a.LFG(a.R0b))},e.\u0275prov=a.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e=r([i("design:paramtypes",[j,a.R0b])],e),e})();var re;let se=0,ie=re=class{constructor(e){this._manager=e,this._addedToManager=!1,this._id=(se++).toString(),this._subscriptions=[],this.clickable=!0,this.preserveViewport=!1,this.screenOverlays=!0,this.suppressInfoWindows=!1,this.url=null,this.zIndex=null,this.layerClick=new a.vpe,this.defaultViewportChange=new a.vpe,this.statusChange=new a.vpe}ngOnInit(){this._addedToManager||(this._manager.addKmlLayer(this),this._addedToManager=!0,this._addEventListeners())}ngOnChanges(e){this._addedToManager&&this._updatePolygonOptions(e)}_updatePolygonOptions(e){const t=Object.keys(e).filter(e=>-1!==re._kmlLayerOptions.indexOf(e)).reduce((t,n)=>(t[n]=e[n].currentValue,t),{});Object.keys(t).length>0&&this._manager.setOptions(this,t)}_addEventListeners(){[{name:"click",handler:e=>this.layerClick.emit(e)},{name:"defaultviewport_changed",handler:()=>this.defaultViewportChange.emit()},{name:"status_changed",handler:()=>this.statusChange.emit()}
1].forEach(e=>{const t=this._manager.createEventObservable(e.name,this).subscribe(e.handler);this._subscriptions.push(t)})}id(){return this._id}toString(){return`AgmKmlLayer-${this._id.toString()}`}ngOnDestroy(){this._manager.deleteKmlLayer(this),this._subscriptions.forEach(e=>e.unsubscribe())}};function oe(e){const t=["insert_at","remove_at","set_at"];return d(n=>t.map(t=>e.addListener(t,(r,s)=>n.apply(e,[{newArr:e.getArray(),evName:t,index:r,previous:s}]))),(e,t)=>t.forEach(e=>e.remove()))}ie.\u0275fac=function(e){return new(e||ie)(a.Y36(ne))},ie.\u0275dir=a.lG2({type:ie,selectors:[["agm-kml-layer"]],inputs:{clickable:"clickable",preserveViewport:"preserveViewport",screenOverlays:"screenOverlays",suppressInfoWindows:"suppressInfoWindows",url:"url",zIndex:"zIndex"},outputs:{layerClick:"layerClick",defaultViewportChange:"defaultViewportChange",statusChange:"statusChange"},features:[a.TTD]}),ie._kmlLayerOptions=["clickable","preserveViewport","screenOverlays","suppressInfoWindows","url","zIndex"],ie.ctorParameters=()=>[{type:ne}],r([(0,a.IIB)(),i("design:type",Object)],ie.prototype,"clickable",void 0),r([(0,a.IIB)(),i("design:type",Object)],ie.prototype,"preserveViewport",void 0),r([(0,a.IIB)(),i("design:type",Object)],ie.prototype,"screenOverlays",void 0),r([(0,a.IIB)(),i("design:type",Object)],ie.prototype,"suppressInfoWindows",void 0),r([(0,a.IIB)(),i("design:type",String)],ie.prototype,"url",void 0),r([(0,a.IIB)(),i("design:type",Number)],ie.prototype,"zIndex",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ie.prototype,"layerClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ie.prototype,"defaultViewportChange",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ie.prototype,"statusChange",void 0),ie=re=r([i("design:paramtypes",[ne])],ie);let ae=(()=>{let e=class{constructor(e,t){this._mapsWrapper=e,this._zone=t,this._polygons=new Map}addPolygon(e){const t=this._mapsWrapper.createPolygon({clickable:e.clickable,draggable:e.draggable,editable:e.editable,fillColor:e.fillColor,fillOpacity:e.fillOpacity,geodesic:e.geodesic,paths:e.paths,strokeColor:e.strokeColor,strokeOpacity:e.strokeOpacity,strokeWeight:e.strokeWeight,visible:e.visible,zIndex:e.zIndex});this._polygons.set(e,t)}updatePolygon(e){const t=this._polygons.get(e);return null==t?Promise.resolve():t.then(t=>this._zone.run(()=>{t.setPaths(e.paths)}))}setPolygonOptions(e,t){return this._polygons.get(e).then(e=>{e.setOptions(t)})}deletePolygon(e){const t=this._polygons.get(e);return null==t?Promise.resolve():t.then(t=>this._zone.run(()=>{t.setMap(null),this._polygons.delete(e)}))}getPath(e){return this._polygons.get(e).then(e=>e.getPath().getArray())}getPaths(e){return this._polygons.get(e).then(e=>e.getPaths().getArray().map(e=>e.getArray()))}createEventObservable(e,t){return new l.y(n=>{this._polygons.get(t).then(t=>{t.addListener(e,e=>this._zone.run(()=>n.next(e)))})})}createPathEventObservable(e){return o(this,void 0,void 0,function*(){const t=(yield this._polygons.get(e)).getPaths();return oe(t).pipe((0,L.O)({newArr:t.getArray()}),(0,P.w)(e=>(0,E.T)(...e.newArr.map((t,n)=>oe(t).pipe((0,h.U)(t=>({parentMVEvent:e,chMVCEvent:t,pathIndex:n}))))).pipe((0,L.O)({parentMVEvent:e,chMVCEvent:null,pathIndex:null}))),(0,R.T)(1),(0,h.U)(({parentMVEvent:e,chMVCEvent:t,pathIndex:n})=>{let r;return t?(r={newArr:e.newArr.map(e=>e.getArray().map(e=>e.toJSON())),pathIndex:n,eventName:t.evName,index:t.index},t.previous&&(r.previous=t.previous)):(r={newArr:e.newArr.map(e=>e.getArray().map(e=>e.toJSON())),eventName:e.evName,index:e.index},e.previous&&(r.previous=e.previous.getArray())),r}))})}};return e.\u0275fac=function(t){return new(t||e)(a.LFG(j),a.LFG(a.R0b))},e.\u0275prov=a.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e=r([i("design:paramtypes",[j,a.R0b])],e),e})();var le;let ce=le=class{constructor(e,t){this._mapsWrapper=e,this._zone=t,this._polylines=new Map}static _convertPoints(e){return e._getPoints().map(e=>({lat:e.latitude,lng:e.longitude}))}static _convertPath(e){const t=google.maps.SymbolPath[e];return"number"==typeof t?t:e}static _convertIcons(e){const t=e._getIcons().map(e=>({fixedRotation:e.fixedRotation,offset:e.offset,repeat:e.repeat,icon:{anchor:new google.maps.Point(e.anchorX,e.anchorY),fillColor:e.fillColor,fillOpacity:e.fillOpacity,path:le._convertPath(e.path),rotation:e.rotation,scale:e.scale,strokeColor:e.strokeColor,strokeOpacity:e.strokeOpacity,strokeWeight:e.strokeWeight}}));
1return t.forEach(e=>{Object.entries(e).forEach(([t,n])=>{void 0===n&&delete e[t]}),void 0!==e.icon.anchor.x&&void 0!==e.icon.anchor.y||delete e.icon.anchor}),t}addPolyline(e){const t=this._mapsWrapper.getNativeMap().then(()=>[le._convertPoints(e),le._convertIcons(e)]).then(([t,n])=>this._mapsWrapper.createPolyline({clickable:e.clickable,draggable:e.draggable,editable:e.editable,geodesic:e.geodesic,strokeColor:e.strokeColor,strokeOpacity:e.strokeOpacity,strokeWeight:e.strokeWeight,visible:e.visible,zIndex:e.zIndex,path:t,icons:n}));this._polylines.set(e,t)}updatePolylinePoints(e){const t=le._convertPoints(e),n=this._polylines.get(e);return null==n?Promise.resolve():n.then(e=>this._zone.run(()=>{e.setPath(t)}))}updateIconSequences(e){return o(this,void 0,void 0,function*(){yield this._mapsWrapper.getNativeMap();const t=le._convertIcons(e),n=this._polylines.get(e);if(null!=n)return n.then(e=>this._zone.run(()=>e.setOptions({icons:t})))})}setPolylineOptions(e,t){return this._polylines.get(e).then(e=>{e.setOptions(t)})}deletePolyline(e){const t=this._polylines.get(e);return null==t?Promise.resolve():t.then(t=>this._zone.run(()=>{t.setMap(null),this._polylines.delete(e)}))}getMVCPath(e){return o(this,void 0,void 0,function*(){return(yield this._polylines.get(e)).getPath()})}getPath(e){return o(this,void 0,void 0,function*(){return(yield this.getMVCPath(e)).getArray()})}createEventObservable(e,t){return new l.y(n=>{this._polylines.get(t).then(t=>{t.addListener(e,e=>this._zone.run(()=>n.next(e)))})})}createPathEventObservable(e){return o(this,void 0,void 0,function*(){return oe(yield this.getMVCPath(e))})}};ce.\u0275fac=function(e){return new(e||ce)(a.LFG(j),a.LFG(a.R0b))},ce.\u0275prov=a.Yz7({token:ce,factory:function(e){return ce.\u0275fac(e)}}),ce.ctorParameters=()=>[{type:j},{type:a.R0b}],ce=le=r([i("design:paramtypes",[j,a.R0b])],ce);let ue=(()=>{let e=class{constructor(e,t){this._apiWrapper=e,this._zone=t,this._rectangles=new Map}addRectangle(e){this._rectangles.set(e,this._apiWrapper.createRectangle({bounds:{north:e.north,east:e.east,south:e.south,west:e.west},clickable:e.clickable,draggable:e.draggable,editable:e.editable,fillColor:e.fillColor,fillOpacity:e.fillOpacity,strokeColor:e.strokeColor,strokeOpacity:e.strokeOpacity,strokePosition:e.strokePosition,strokeWeight:e.strokeWeight,visible:e.visible,zIndex:e.zIndex}))}removeRectangle(e){return this._rectangles.get(e).then(t=>{t.setMap(null),this._rectangles.delete(e)})}setOptions(e,t){return this._rectangles.get(e).then(e=>e.setOptions(t))}getBounds(e){return this._rectangles.get(e).then(e=>e.getBounds())}setBounds(e){return this._rectangles.get(e).then(t=>t.setBounds({north:e.north,east:e.east,south:e.south,west:e.west}))}setEditable(e){return this._rectangles.get(e).then(t=>t.setEditable(e.editable))}setDraggable(e){return this._rectangles.get(e).then(t=>t.setDraggable(e.draggable))}setVisible(e){return this._rectangles.get(e).then(t=>t.setVisible(e.visible))}createEventObservable(e,t){return l.y.create(n=>{let r=null;return this._rectangles.get(t).then(t=>{r=t.addListener(e,e=>this._zone.run(()=>n.next(e)))}),()=>{null!==r&&r.remove()}})}};return e.\u0275fac=function(t){return new(t||e)(a.LFG(j),a.LFG(a.R0b))},e.\u0275prov=a.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e=r([i("design:paramtypes",[j,a.R0b])],e),e})();var he;let de=he=class{constructor(e,t,n,r,s){this._elem=e,this._mapsWrapper=t,this._platformId=n,this._fitBoundsService=r,this._zone=s,this.longitude=0,this.latitude=0,this.zoom=8,this.draggable=!0,this.disableDoubleClickZoom=!1,this.disableDefaultUI=!1,this.scrollwheel=!0,this.keyboardShortcuts=!0,this.styles=[],this.usePanning=!1,this.fitBounds=!1,this.scaleControl=!1,this.mapTypeControl=!1,this.panControl=!1,this.rotateControl=!1,this.fullscreenControl=!1,this.mapTypeId="roadmap",this.clickableIcons=!0,this.showDefaultInfoWindow=!0,this.gestureHandling="auto",this.tilt=0,this._observableSubscriptions=[],this.mapClick=new a.vpe,this.mapRightClick=new a.vpe,this.mapDblClick=new a.vpe,this.centerChange=new a.vpe,this.boundsChange=new a.vpe,this.mapTypeIdChange=new a.vpe,this.idle=new a.vpe,this.zoomChange=new a.vpe,this.mapReady=new a.vpe,this.tilesLoaded=new a.vpe}ngOnInit(){if((0,M.PM)(this._platformId))return;const e=this._elem.nativeElement.querySelector(".agm-map-container-inner");this._initMapInstance(e)}_initMapInstance(e){this._mapsWrapper.createMap(e,{center:{lat:this.latitude||0,lng:this.longitude||0},zoom:this.zoom,minZoom:this.minZoom,maxZoom:this.maxZoom,controlSize:this.controlSize,disableDefaultUI:this.disableDefaultUI,disableDoubleClickZoom:this.disableDoubleClickZoom,scrollwheel:this.scrollwheel,backgroundColor:this.backgroundColor,draggable:this.draggable,draggableCursor:this.draggableCursor,draggingCursor:this.draggingCursor,keyboardShortcuts:this.keyboardShortcuts,styles:this.styles,zoomControl:this.zoomControl,zoomControlOptions:this.zoomControlOptions,streetViewControl:this.streetViewControl,streetViewControlOptions:this.streetViewControlOptions,scaleControl:this.scaleControl,scaleControlOptions:this.scaleControlOptions,mapTypeControl:this.mapTypeControl,mapTypeControlOptions:this.mapTypeControlOptions,panControl:this.panControl,panControlOptions:this.panControlOptions,rotateControl:this.rotateControl,rotateControlOptions:this.rotateControlOptions,fullscreenControl:this.fullscreenControl,fullscreenControlOptions:this.fullscreenControlOptions,mapTypeId:this.mapTypeId,clickableIcons:this.clickableIcons,gestureHandling:this.gestureHandling,tilt:this.tilt,restriction:this.restriction}).then(()=>this._mapsWrapper.getNativeMap()).then(e=>
1this.mapReady.emit(e)),this._handleMapCenterChange(),this._handleMapZoomChange(),this._handleMapMouseEvents(),this._handleBoundsChange(),this._handleMapTypeIdChange(),this._handleTilesLoadedEvent(),this._handleIdleEvent()}ngOnDestroy(){this._observableSubscriptions.forEach(e=>e.unsubscribe()),this._mapsWrapper.clearInstanceListeners(),this._fitBoundsSubscription&&this._fitBoundsSubscription.unsubscribe()}ngOnChanges(e){this._updateMapOptionsChanges(e),this._updatePosition(e)}_updateMapOptionsChanges(e){let t={};Object.keys(e).filter(e=>-1!==he._mapOptionsAttributes.indexOf(e)).forEach(n=>{t[n]=e[n].currentValue}),this._mapsWrapper.setMapOptions(t)}triggerResize(e=!0){return new Promise(t=>{setTimeout(()=>this._mapsWrapper.triggerMapEvent("resize").then(()=>{e&&(null!=this.fitBounds?this._fitBounds():this._setCenter()),t()}))})}_updatePosition(e){(null!=e.latitude||null!=e.longitude||e.fitBounds)&&("fitBounds"in e?this._fitBounds():"number"==typeof this.latitude&&"number"==typeof this.longitude&&this._setCenter())}_setCenter(){let e={lat:this.latitude,lng:this.longitude};this.usePanning?this._mapsWrapper.panTo(e):this._mapsWrapper.setCenter(e)}_fitBounds(){switch(this.fitBounds){case!0:this._subscribeToFitBoundsUpdates();break;case!1:this._fitBoundsSubscription&&this._fitBoundsSubscription.unsubscribe();break;default:this._updateBounds(this.fitBounds,this.fitBoundsPadding)}}_subscribeToFitBoundsUpdates(){this._zone.runOutsideAngular(()=>{this._fitBoundsSubscription=this._fitBoundsService.getBounds$().subscribe(e=>{this._zone.run(()=>this._updateBounds(e,this.fitBoundsPadding))})})}_updateBounds(e,t){if(e){if(this._isLatLngBoundsLiteral(e)&&"undefined"!=typeof google&&google&&google.maps&&google.maps.LatLngBounds){const t=new google.maps.LatLngBounds;t.union(e),e=t}this.usePanning?this._mapsWrapper.panToBounds(e,t):this._mapsWrapper.fitBounds(e,t)}}_isLatLngBoundsLiteral(e){return null!=e&&void 0===e.extend}_handleMapCenterChange(){const e=this._mapsWrapper.subscribeToMapEvent("center_changed").subscribe(()=>{this._mapsWrapper.getCenter().then(e=>{this.latitude=e.lat(),this.longitude=e.lng(),this.centerChange.emit({lat:this.latitude,lng:this.longitude})})});this._observableSubscriptions.push(e)}_handleBoundsChange(){const e=this._mapsWrapper.subscribeToMapEvent("bounds_changed").subscribe(()=>{this._mapsWrapper.getBounds().then(e=>{this.boundsChange.emit(e)})});this._observableSubscriptions.push(e)}_handleMapTypeIdChange(){const e=this._mapsWrapper.subscribeToMapEvent("maptypeid_changed").subscribe(()=>{this._mapsWrapper.getMapTypeId().then(e=>{this.mapTypeIdChange.emit(e)})});this._observableSubscriptions.push(e)}_handleMapZoomChange(){const e=this._mapsWrapper.subscribeToMapEvent("zoom_changed").subscribe(()=>{this._mapsWrapper.getZoom().then(e=>{this.zoom=e,this.zoomChange.emit(e)})});this._observableSubscriptions.push(e)}_handleIdleEvent(){const e=this._mapsWrapper.subscribeToMapEvent("idle").subscribe(()=>{this.idle.emit(void 0)});this._observableSubscriptions.push(e)}_handleTilesLoadedEvent(){const e=this._mapsWrapper.subscribeToMapEvent("tilesloaded").subscribe(()=>this.tilesLoaded.emit(void 0));this._observableSubscriptions.push(e)}_handleMapMouseEvents(){[{name:"click",emitter:this.mapClick},{name:"rightclick",emitter:this.mapRightClick},{name:"dblclick",emitter:this.mapDblClick}].forEach(e=>{const t=this._mapsWrapper.subscribeToMapEvent(e.name).subscribe(t=>{let n={coords:{lat:t.latLng.lat(),lng:t.latLng.lng()},placeId:t.placeId};n.placeId&&!this.showDefaultInfoWindow&&t.stop(),e.emitter.emit(n)});this._observableSubscriptions.push(t)})}};var pe;de.\u0275fac=function(e){return new(e||de)(a.Y36(a.SBq),a.Y36(j),a.Y36(a.Lbi),a.Y36(K),a.Y36(a.R0b))},de.\u0275cmp=a.Xpm({type:de,selectors:[["agm-map"]],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("sebm-google-map-container",!0)},inputs:{longitude:"longitude",latitude:"latitude",zoom:"zoom",draggable:["mapDraggable","draggable"],disableDoubleClickZoom:"disableDoubleClickZoom",disableDefaultUI:"disableDefaultUI",scrollwheel:"scrollwheel",keyboardShortcuts:"keyboardShortcuts",styles:"styles",usePanning:"usePanning",fitBounds:"fitBounds",scaleControl:"scaleControl",mapTypeControl:"mapTypeControl",panControl:"panControl",rotateControl:"rotateControl",fullscreenControl:"fullscreenControl",mapTypeId:"mapTypeId",clickableIcons:"clickableIcons",showDefaultInfoWindow:"showDefaultInfoWindow",gestureHandling:"gestureHandling",tilt:"tilt",minZoom:"minZoom",maxZoom:"maxZoom",controlSize:"controlSize",backgroundColor:"backgroundColor",draggableCursor:"draggableCursor",draggingCursor:"draggingCursor",zoomControl:"zoomControl",zoomControlOptions:"zoomControlOptions",streetViewControl:"streetViewControl",streetViewControlOptions:"streetViewControlOptions",fitBoundsPadding:"fitBoundsPadding",scaleControlOptions:"scaleControlOptions",mapT
1ypeControlOptions:"mapTypeControlOptions",panControlOptions:"panControlOptions",rotateControlOptions:"rotateControlOptions",fullscreenControlOptions:"fullscreenControlOptions",restriction:"restriction"},outputs:{mapClick:"mapClick",mapRightClick:"mapRightClick",mapDblClick:"mapDblClick",centerChange:"centerChange",boundsChange:"boundsChange",mapTypeIdChange:"mapTypeIdChange",idle:"idle",zoomChange:"zoomChange",mapReady:"mapReady",tilesLoaded:"tilesLoaded"},features:[a._Bn([V,H,H,K,j,Q,ne,z,Z,ae,ce,ue]),a.TTD],ngContentSelectors:F,decls:3,vars:0,consts:[[1,"agm-map-container-inner","sebm-google-map-container-inner"],[1,"agm-map-content"]],template:function(e,t){1&e&&(a.F$t(),a._UZ(0,"div",0),a.TgZ(1,"div",1),a.Hsn(2),a.qZA())},styles:[".agm-map-container-inner[_ngcontent-%COMP%] {\n      width: inherit;\n      height: inherit;\n    }\n    .agm-map-content[_ngcontent-%COMP%] {\n      display:none;\n    }"]}),de._mapOptionsAttributes=["disableDoubleClickZoom","scrollwheel","draggable","draggableCursor","draggingCursor","keyboardShortcuts","zoomControl","zoomControlOptions","styles","streetViewControl","streetViewControlOptions","zoom","mapTypeControl","mapTypeControlOptions","minZoom","maxZoom","panControl","panControlOptions","rotateControl","rotateControlOptions","fullscreenControl","fullscreenControlOptions","scaleControl","scaleControlOptions","mapTypeId","clickableIcons","gestureHandling","tilt","restriction"],de.ctorParameters=()=>[{type:a.SBq},{type:j},{type:Object,decorators:[{type:a.tBr,args:[a.Lbi]}]},{type:K},{type:a.R0b}],r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"longitude",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"latitude",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"zoom",void 0),r([(0,a.IIB)(),i("design:type",Number)],de.prototype,"minZoom",void 0),r([(0,a.IIB)(),i("design:type",Number)],de.prototype,"maxZoom",void 0),r([(0,a.IIB)(),i("design:type",Number)],de.prototype,"controlSize",void 0),r([(0,a.IIB)("mapDraggable"),i("design:type",Object)],de.prototype,"draggable",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"disableDoubleClickZoom",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"disableDefaultUI",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"scrollwheel",void 0),r([(0,a.IIB)(),i("design:type",String)],de.prototype,"backgroundColor",void 0),r([(0,a.IIB)(),i("design:type",String)],de.prototype,"draggableCursor",void 0),r([(0,a.IIB)(),i("design:type",String)],de.prototype,"draggingCursor",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"keyboardShortcuts",void 0),r([(0,a.IIB)(),i("design:type",Boolean)],de.prototype,"zoomControl",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"zoomControlOptions",void 0),r([(0,a.IIB)(),i("design:type",Array)],de.prototype,"styles",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"usePanning",void 0),r([(0,a.IIB)(),i("design:type",Boolean)],de.prototype,"streetViewControl",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"streetViewControlOptions",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"fitBounds",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"fitBoundsPadding",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"scaleControl",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"scaleControlOptions",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"mapTypeControl",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"mapTypeControlOptions",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"panControl",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"panControlOptions",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"rotateControl",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"rotateControlOptions",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"fullscreenControl",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"fullscreenControlOptions",void 0),r([(0,a.IIB)(),i("design:type",String)],de.prototype,"mapTypeId",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"clickableIcons",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"showDefaultInfoWindow",void 0),r([(0,a.IIB)(),i("design:type",String)],de.prototype,"gestureHandling",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"tilt",void 0),r([(0,a.IIB)(),i("design:type",Object)],de.prototype,"restriction",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],de.prototype,"mapClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],de.prototype,"mapRightClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],de.prototype,"mapDblClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],de.prototype,"centerChange",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],de.prototype,"boundsChange",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],de.prototype,"mapTypeIdChange",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],de.prototype,"idle",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],de.prototype,"zoomChange",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],de.prototype,"mapReady",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],de.prototype,"tilesLoaded",void 0),de=he=r([s(2,(0,a.tBr)(a.Lbi)),i("design:paramtypes",[a.SBq,j,Object,K,a.R0b])],de);let fe=0,ge=pe=class{constructor(e){this._markerManager=e,this.draggable=!1,this.visible=!0,this.openInfoWindow=!0,this.opacity=1,this.zIndex=1,this.clickable=!0,this.animationChange=new a.vpe,this.markerClick=new a.vpe,this.markerDblClick=new a.vpe,this.markerRightClick=new a.vpe,this.dragStart=new a.vpe,this.drag=new a.vpe,this.dragEnd=new a.vpe,this.mouseOver=new a.vpe,this.mouseOut=new a.vpe,this.infoWindow=new a.n_E,this._markerAddedToManger=!1,this._observableSubscriptions=[],this._fitBoundsDetail
1s$=new k.t(1),this._id=(fe++).toString()}ngAfterContentInit(){this.handleInfoWindowUpdate(),this.infoWindow.changes.subscribe(()=>this.handleInfoWindowUpdate())}handleInfoWindowUpdate(){if(this.infoWindow.length>1)throw new Error("Expected no more than one info window.");this.infoWindow.forEach(e=>{e.hostMarker=this})}ngOnChanges(e){if("string"==typeof this.latitude&&(this.latitude=Number(this.latitude)),"string"==typeof this.longitude&&(this.longitude=Number(this.longitude)),"number"==typeof this.latitude&&"number"==typeof this.longitude){if(!this._markerAddedToManger)return this._markerManager.addMarker(this),this._updateFitBoundsDetails(),this._markerAddedToManger=!0,void this._addEventListeners();(e.latitude||e.longitude)&&(this._markerManager.updateMarkerPosition(this),this._updateFitBoundsDetails()),e.title&&this._markerManager.updateTitle(this),e.label&&this._markerManager.updateLabel(this),e.draggable&&this._markerManager.updateDraggable(this),e.iconUrl&&this._markerManager.updateIcon(this),e.opacity&&this._markerManager.updateOpacity(this),e.visible&&this._markerManager.updateVisible(this),e.zIndex&&this._markerManager.updateZIndex(this),e.clickable&&this._markerManager.updateClickable(this),e.animation&&this._markerManager.updateAnimation(this)}}getFitBoundsDetails$(){return this._fitBoundsDetails$.asObservable()}_updateFitBoundsDetails(){this._fitBoundsDetails$.next({latLng:{lat:this.latitude,lng:this.longitude}})}_addEventListeners(){const e=this._markerManager.createEventObservable("click",this).subscribe(()=>{this.openInfoWindow&&this.infoWindow.forEach(e=>e.open()),this.markerClick.emit(this)});this._observableSubscriptions.push(e);const t=this._markerManager.createEventObservable("dblclick",this).subscribe(()=>{this.markerDblClick.emit(null)});this._observableSubscriptions.push(t);const n=this._markerManager.createEventObservable("rightclick",this).subscribe(()=>{this.markerRightClick.emit(null)});this._observableSubscriptions.push(n);const r=this._markerManager.createEventObservable("dragstart",this).subscribe(e=>{this.dragStart.emit({coords:{lat:e.latLng.lat(),lng:e.latLng.lng()}})});this._observableSubscriptions.push(r);const s=this._markerManager.createEventObservable("drag",this).subscribe(e=>{this.drag.emit({coords:{lat:e.latLng.lat(),lng:e.latLng.lng()}})});this._observableSubscriptions.push(s);const i=this._markerManager.createEventObservable("dragend",this).subscribe(e=>{this.dragEnd.emit({coords:{lat:e.latLng.lat(),lng:e.latLng.lng()}})});this._observableSubscriptions.push(i);const o=this._markerManager.createEventObservable("mouseover",this).subscribe(e=>{this.mouseOver.emit({coords:{lat:e.latLng.lat(),lng:e.latLng.lng()}})});this._observableSubscriptions.push(o);const a=this._markerManager.createEventObservable("mouseout",this).subscribe(e=>{this.mouseOut.emit({coords:{lat:e.latLng.lat(),lng:e.latLng.lng()}})});this._observableSubscriptions.push(a);const l=this._markerManager.createEventObservable("animation_changed",this).subscribe(()=>{this.animationChange.emit(this.animation)});this._observableSubscriptions.push(l)}id(){return this._id}toString(){return"AgmMarker-"+this._id.toString()}ngOnDestroy(){this._markerManager.deleteMarker(this),this._observableSubscriptions.forEach(e=>e.unsubscribe())}};var me;ge.\u0275fac=function(e){return new(e||ge)(a.Y36(Z))},ge.\u0275dir=a.lG2({type:ge,selectors:[["agm-marker"]],contentQueries:function(e,t,n){if(1&e&&a.Suo(n,te,4),2&e){let e;a.iGM(e=a.CRH())&&(t.infoWindow=e)}},inputs:{latitude:"latitude",longitude:"longitude",title:"title",label:"label",draggable:["markerDraggable","draggable"],iconUrl:"iconUrl",openInfoWindow:"openInfoWindow",opacity:"opacity",visible:"visible",zIndex:"zIndex",animation:"animation",clickable:["markerClickable","clickable"]},outputs:{markerClick:"markerClick",dragStart:"dragStart",drag:"drag",dragEnd:"dragEnd",mouseOver:"mouseOver",mouseOut:"mouseOut",animationChange:"animationChange",markerDblClick:"markerDblClick",markerRightClick:"markerRightClick"},features:[a._Bn([{provide:X,useExisting:(0,a.Gpc)(()=>pe)}]),a.TTD]}),ge.ctorParameters=()=>[{type:Z}],r([(0,a.IIB)(),i("design:type",Number)],ge.prototype,"latitude",void 0),r([(0,a.IIB)(),i("design:type",Number)],ge.prototype,"longitude",void 0),r([(0,a.IIB)(),i("design:type",String)],ge.prototype,"title",void 0),r([(0,a.IIB)(),i("design:type",Object)],ge.prototype,"label",void 0),r([(0,a.IIB)("markerDraggable"),i("design:type",Object)],ge.prototype,"draggable",void 0),r([(0,a.IIB)(),i("design:type",String)],ge.prototype,"iconUrl",void 0),r([(0,a.IIB)(),i("design:type",Object)],ge.prototype,"visible",void 0),r([(0,a.IIB)(),i("design:type",Object)],ge.prototype,"openInfoWindow",void 0),r([(0,a.IIB)(),i("design:type",Object)],ge.prototype,"opacity",void 0),r([(0,a.IIB)(),i("design:type",Object)],ge.prototype,"zIndex",void 0),r([(0,a.IIB)("markerClickable"),i("design:type",Object)],ge.prototype,"clickable",void 0),r([(0,a.IIB)(),i("design:type",String)],ge.prototype,"animation",void 0),r([(0,a.r_U)(),i("design:type",Object)],ge.prototype,"animationChange",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ge.prototype,"markerClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ge.prototype,"markerDblClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ge.prototype,"markerRightClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ge.prototype,"dragStart",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ge.prototype,"drag",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ge.prototype,"dragEnd",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ge.prototype,"mouseOver",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ge.prototype,"mouseOut",void 0),r([(0,a.AcB)(te),i("design:type",a.n_E)],ge.prototype,"infoWindow",void 0),ge=pe=r([i("design:paramtypes",[Z])],ge);let ye=me=class{constructor(e){this._polygonManager=e,this.clickable=!0,this.draggable=!1,this.editable=!1,this.geodesic=!1,this.paths=[],this.polyClick=new a.vpe,this.polyDblClick=new a.vpe,this.polyDrag=new a.vpe,this.polyDragEnd=new a.vpe,this.polyDragStart=new a.vpe,this.polyMouseDown=new a.vpe,this.polyMouseMove=new a.vpe,this.polyMouseOut=new a.vpe,this.polyMouseOver=new a.vpe,this.polyMouseUp=new a.vpe,this.polyRightClick=new a.vpe,this.polyPathsChange=new a.vpe,this._polygonAddedToManager=!1,this._subscriptions=[]}ngAfterContentInit(){this._polygonAddedToManager||this._init()}ngOnChanges(e){this._polygonAddedToManager?this._polygonManager.setPolygonOptions(this,this._updatePolygonOptions(e)):this._init()}_init(){this._polygonManager.addPolygon(this),this._polygonAddedToManager=!0,this._addEventListeners()}_addEventListeners(){[{name:"click",handler:e=>this.polyClick.emit(e)},{name:"dblclick",handler:e=>this.polyDblClick.emit(e)},{name:"drag",handler:e=>this.polyDrag.emit(e)},{name:"dragend",handler:e=>this.polyDragEnd.emit(e)},{name:"dragstart",handler:e=>this.polyDragStart.emit(e)},{name:"mousedown",handler:e=>this.polyMouseDown.emit(e)},{name:"mousemove",handler:e=>this.polyMouseMove.emit(e)},{name:"mouseout",handler:e=>this.polyMouseOut.emit(e)},{name:"mouseover",handler:e=>this.polyMouseOver.emit(e)},{name:"mouseup",handler:e=>this.polyMouseUp.emit(e)},{name:"rightclick",handler:e=>this.polyRightClick.emit(e)}
1].forEach(e=>{const t=this._polygonManager.createEventObservable(e.name,this).subscribe(e.handler);this._subscriptions.push(t)}),this._polygonManager.createPathEventObservable(this).then(e=>{const t=e.subscribe(e=>this.polyPathsChange.emit(e));this._subscriptions.push(t)})}_updatePolygonOptions(e){return Object.keys(e).filter(e=>-1!==me._polygonOptionsAttributes.indexOf(e)).reduce((t,n)=>(t[n]=e[n].currentValue,t),{})}id(){return this._id}ngOnDestroy(){this._polygonManager.deletePolygon(this),this._subscriptions.forEach(e=>e.unsubscribe())}getPath(){return this._polygonManager.getPath(this)}getPaths(){return this._polygonManager.getPaths(this)}};ye.\u0275fac=function(e){return new(e||ye)(a.Y36(ae))},ye.\u0275dir=a.lG2({type:ye,selectors:[["agm-polygon"]],inputs:{clickable:"clickable",draggable:["polyDraggable","draggable"],editable:"editable",geodesic:"geodesic",paths:"paths",fillColor:"fillColor",fillOpacity:"fillOpacity",strokeColor:"strokeColor",strokeOpacity:"strokeOpacity",strokeWeight:"strokeWeight",visible:"visible",zIndex:"zIndex"},outputs:{polyClick:"polyClick",polyDblClick:"polyDblClick",polyDrag:"polyDrag",polyDragEnd:"polyDragEnd",polyDragStart:"polyDragStart",polyMouseDown:"polyMouseDown",polyMouseMove:"polyMouseMove",polyMouseOut:"polyMouseOut",polyMouseOver:"polyMouseOver",polyMouseUp:"polyMouseUp",polyRightClick:"polyRightClick",polyPathsChange:"polyPathsChange"},features:[a.TTD]}),ye._polygonOptionsAttributes=["clickable","draggable","editable","fillColor","fillOpacity","geodesic","icon","map","paths","strokeColor","strokeOpacity","strokeWeight","visible","zIndex","draggable","editable","visible"],ye.ctorParameters=()=>[{type:ae}],r([(0,a.IIB)(),i("design:type",Object)],ye.prototype,"clickable",void 0),r([(0,a.IIB)("polyDraggable"),i("design:type",Object)],ye.prototype,"draggable",void 0),r([(0,a.IIB)(),i("design:type",Object)],ye.prototype,"editable",void 0),r([(0,a.IIB)(),i("design:type",String)],ye.prototype,"fillColor",void 0),r([(0,a.IIB)(),i("design:type",Number)],ye.prototype,"fillOpacity",void 0),r([(0,a.IIB)(),i("design:type",Object)],ye.prototype,"geodesic",void 0),r([(0,a.IIB)(),i("design:type",Array)],ye.prototype,"paths",void 0),r([(0,a.IIB)(),i("design:type",String)],ye.prototype,"strokeColor",void 0),r([(0,a.IIB)(),i("design:type",Number)],ye.prototype,"strokeOpacity",void 0),r([(0,a.IIB)(),i("design:type",Number)],ye.prototype,"strokeWeight",void 0),r([(0,a.IIB)(),i("design:type",Boolean)],ye.prototype,"visible",void 0),r([(0,a.IIB)(),i("design:type",Number)],ye.prototype,"zIndex",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ye.prototype,"polyClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ye.prototype,"polyDblClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ye.prototype,"polyDrag",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ye.prototype,"polyDragEnd",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ye.prototype,"polyDragStart",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ye.prototype,"polyMouseDown",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ye.prototype,"polyMouseMove",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ye.prototype,"polyMouseOut",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ye.prototype,"polyMouseOver",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ye.prototype,"polyMouseUp",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ye.prototype,"polyRightClick",void 0),r([(0,a.r_U)(),i("design:type",Object)],ye.prototype,"polyPathsChange",void 0),ye=me=r([i("design:paramtypes",[ae])],ye);let ve=(()=>{let e=class{ngOnInit(){if(null==this.path)throw new Error("Icon Sequence path is required")}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["agm-icon-sequence"]],inputs:{fixedRotation:"fixedRotation",offset:"offset",repeat:"repeat",anchorX:"anchorX",anchorY:"anchorY",fillColor:"fillColor",fillOpacity:"fillOpacity",path:"path",rotation:"rotation",scale:"scale",strokeColor:"strokeColor",strokeOpacity:"strokeOpacity",strokeWeight:"strokeWeight"}}),r([(0,a.IIB)(),i("design:type",Boolean)],e.prototype,"fixedRotation",void 0),r([(0,a.IIB)(),i("design:type",String)],e.prototype,"offset",void 0),r([(0,a.IIB)(),i("design:type",String)],e.prototype,"repeat",void 0),r([(0,a.IIB)(),i("design:type",Number)],e.prototype,"anchorX",void 0),r([(0,a.IIB)(),i("design:type",Number)],e.prototype,"anchorY",void 0),r([(0,a.IIB)(),i("design:type",String)],e.prototype,"fillColor",void 0),r([(0,a.IIB)(),i("design:type",Number)],e.prototype,"fillOpacity",void 0),r([(0,a.IIB)(),i("design:type",String)],e.prototype,"path",void 0),r([(0,a.IIB)(),i("design:type",Number)],e.prototype,"rotation",void 0),r([(0,a.IIB)(),i("design:type",Number)],e.prototype,"scale",void 0),r([(0,a.IIB)(),i("design:type",String)],e.prototype,"strokeColor",void 0),r([(0,a.IIB)(),i("design:type",Number)],e.prototype,"strokeOpacity",void 0),r([(0,a.IIB)(),i("design:type",Number)],e.prototype,"strokeWeight",void 0),e})();var be;let _e=be=class{constructor(){this.positionChanged=new a.vpe}ngOnChanges(e){(e.latitude||e.longitude)&&this.positionChanged.emit({lat:e.latitude?e.latitude.currentValue:this.latitude,lng:e.longitude?e.longitude.currentValue:this.longitude})}
1getFitBoundsDetails$(){return this.positionChanged.pipe((0,L.O)({lat:this.latitude,lng:this.longitude}),(0,h.U)(e=>({latLng:e})))}};var we;_e.\u0275fac=function(e){return new(e||_e)},_e.\u0275dir=a.lG2({type:_e,selectors:[["agm-polyline-point"]],inputs:{latitude:"latitude",longitude:"longitude"},outputs:{positionChanged:"positionChanged"},features:[a._Bn([{provide:X,useExisting:(0,a.Gpc)(()=>be)}]),a.TTD]}),r([(0,a.IIB)(),i("design:type",Number)],_e.prototype,"latitude",void 0),r([(0,a.IIB)(),i("design:type",Number)],_e.prototype,"longitude",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],_e.prototype,"positionChanged",void 0),_e=be=r([i("design:paramtypes",[])],_e);let Ce=0,Se=we=class{constructor(e){this._polylineManager=e,this.clickable=!0,this.draggable=!1,this.editable=!1,this.geodesic=!1,this.visible=!0,this.lineClick=new a.vpe,this.lineDblClick=new a.vpe,this.lineDrag=new a.vpe,this.lineDragEnd=new a.vpe,this.lineDragStart=new a.vpe,this.lineMouseDown=new a.vpe,this.lineMouseMove=new a.vpe,this.lineMouseOut=new a.vpe,this.lineMouseOver=new a.vpe,this.lineMouseUp=new a.vpe,this.lineRightClick=new a.vpe,this.polyPathChange=new a.vpe,this._polylineAddedToManager=!1,this._subscriptions=[],this._id=(Ce++).toString()}ngAfterContentInit(){this.points.length&&this.points.forEach(e=>{const t=e.positionChanged.subscribe(()=>{this._polylineManager.updatePolylinePoints(this)});this._subscriptions.push(t)}),this._polylineAddedToManager||this._init();const e=this.points.changes.subscribe(()=>this._polylineManager.updatePolylinePoints(this));this._subscriptions.push(e),this._polylineManager.updatePolylinePoints(this);const t=this.iconSequences.changes.subscribe(()=>this._polylineManager.updateIconSequences(this));this._subscriptions.push(t)}ngOnChanges(e){if(!this._polylineAddedToManager)return void this._init();let t={};Object.keys(e).filter(e=>-1!==we._polylineOptionsAttributes.indexOf(e)).forEach(n=>t[n]=e[n].currentValue),this._polylineManager.setPolylineOptions(this,t)}getPath(){return this._polylineManager.getPath(this)}_init(){this._polylineManager.addPolyline(this),this._polylineAddedToManager=!0,this._addEventListeners()}_addEventListeners(){[{name:"click",handler:e=>this.lineClick.emit(e)},{name:"dblclick",handler:e=>this.lineDblClick.emit(e)},{name:"drag",handler:e=>this.lineDrag.emit(e)},{name:"dragend",handler:e=>this.lineDragEnd.emit(e)},{name:"dragstart",handler:e=>this.lineDragStart.emit(e)},{name:"mousedown",handler:e=>this.lineMouseDown.emit(e)},{name:"mousemove",handler:e=>this.lineMouseMove.emit(e)},{name:"mouseout",handler:e=>this.lineMouseOut.emit(e)},{name:"mouseover",handler:e=>this.lineMouseOver.emit(e)},{name:"mouseup",handler:e=>this.lineMouseUp.emit(e)},{name:"rightclick",handler:e=>this.lineRightClick.emit(e)}].forEach(e=>{const t=this._polylineManager.createEventObservable(e.name,this).subscribe(e.handler);this._subscriptions.push(t)}),this._polylineManager.createPathEventObservable(this).then(e=>{const t=e.subscribe(e=>this.polyPathChange.emit(e));this._subscriptions.push(t)})}_getPoints(){return this.points?this.points.toArray():[]}_getIcons(){return this.iconSequences?this.iconSequences.toArray():[]}id(){return this._id}ngOnDestroy(){this._polylineManager.deletePolyline(this),this._subscriptions.forEach(e=>e.unsubscribe())}};var Ee;Se.\u0275fac=function(e){return new(e||Se)(a.Y36(ce))},Se.\u0275dir=a.lG2({type:Se,selectors:[["agm-polyline"]],contentQueries:function(e,t,n){if(1&e&&(a.Suo(n,_e,4),a.Suo(n,ve,4)),2&e){let e;a.iGM(e=a.CRH())&&(t.points=e),a.iGM(e=a.CRH())&&(t.iconSequences=e)}},inputs:{clickable:"clickable",draggable:["polylineDraggable","draggable"],editable:"editable",geodesic:"geodesic",visible:"visible",strokeColor:"strokeColor",strokeOpacity:"strokeOpacity",strokeWeight:"strokeWeight",zIndex:"zIndex"},outputs:{lineClick:"lineClick",lineDblClick:"lineDblClick",lineDrag:"lineDrag",lineDragEnd:"lineDragEnd",lineDragStart:"lineDragStart",lineMouseDown:"lineMouseDown",lineMouseMove:"lineMouseMove",lineMouseOut:"lineMouseOut",lineMouseOver:"lineMouseOver",lineMouseUp:"lineMouseUp",lineRightClick:"lineRightClick",polyPathChange:"polyPathChange"},features:[a.TTD]}),Se._polylineOptionsAttributes=["draggable","editable","visible","geodesic","strokeColor","strokeOpacity","strokeWeight","zIndex"],Se.ctorParameters=()=>[{type:ce}],r([(0,a.IIB)(),i("design:type",Object)],Se.prototype,"clickable",void 0),r([(0,a.IIB)("pol
1ylineDraggable"),i("design:type",Object)],Se.prototype,"draggable",void 0),r([(0,a.IIB)(),i("design:type",Object)],Se.prototype,"editable",void 0),r([(0,a.IIB)(),i("design:type",Object)],Se.prototype,"geodesic",void 0),r([(0,a.IIB)(),i("design:type",String)],Se.prototype,"strokeColor",void 0),r([(0,a.IIB)(),i("design:type",Number)],Se.prototype,"strokeOpacity",void 0),r([(0,a.IIB)(),i("design:type",Number)],Se.prototype,"strokeWeight",void 0),r([(0,a.IIB)(),i("design:type",Object)],Se.prototype,"visible",void 0),r([(0,a.IIB)(),i("design:type",Number)],Se.prototype,"zIndex",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],Se.prototype,"lineClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],Se.prototype,"lineDblClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],Se.prototype,"lineDrag",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],Se.prototype,"lineDragEnd",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],Se.prototype,"lineDragStart",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],Se.prototype,"lineMouseDown",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],Se.prototype,"lineMouseMove",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],Se.prototype,"lineMouseOut",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],Se.prototype,"lineMouseOver",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],Se.prototype,"lineMouseUp",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],Se.prototype,"lineRightClick",void 0),r([(0,a.r_U)(),i("design:type",Object)],Se.prototype,"polyPathChange",void 0),r([(0,a.AcB)(_e),i("design:type",a.n_E)],Se.prototype,"points",void 0),r([(0,a.AcB)(ve),i("design:type",a.n_E)],Se.prototype,"iconSequences",void 0),Se=we=r([i("design:paramtypes",[ce])],Se);let ke=Ee=class{constructor(e){this._manager=e,this.clickable=!0,this.draggable=!1,this.editable=!1,this.strokePosition="CENTER",this.strokeWeight=0,this.visible=!0,this.boundsChange=new a.vpe,this.rectangleClick=new a.vpe,this.rectangleDblClick=new a.vpe,this.drag=new a.vpe,this.dragEnd=new a.vpe,this.dragStart=new a.vpe,this.mouseDown=new a.vpe,this.mouseMove=new a.vpe,this.mouseOut=new a.vpe,this.mouseOver=new a.vpe,this.mouseUp=new a.vpe,this.rightClick=new a.vpe,this._rectangleAddedToManager=!1,this._eventSubscriptions=[]}ngOnInit(){this._manager.addRectangle(this),this._rectangleAddedToManager=!0,this._registerEventListeners()}ngOnChanges(e){this._rectangleAddedToManager&&((e.north||e.east||e.south||e.west)&&this._manager.setBounds(this),e.editable&&this._manager.setEditable(this),e.draggable&&this._manager.setDraggable(this),e.visible&&this._manager.setVisible(this),this._updateRectangleOptionsChanges(e))}_updateRectangleOptionsChanges(e){let t={},n=Object.keys(e).filter(e=>-1!==Ee._mapOptions.indexOf(e));n.forEach(n=>{t[n]=e[n].currentValue}),n.length>0&&this._manager.setOptions(this,t)}_registerEventListeners(){let e=new Map;e.set("bounds_changed",this.boundsChange),e.set("click",this.rectangleClick),e.set("dblclick",this.rectangleDblClick),e.set("drag",this.drag),e.set("dragend",this.dragEnd),e.set("dragStart",this.dragStart),e.set("mousedown",this.mouseDown),e.set("mousemove",this.mouseMove),e.set("mouseout",this.mouseOut),e.set("mouseover",this.mouseOver),e.set("mouseup",this.mouseUp),e.set("rightclick",this.rightClick),e.forEach((e,t)=>{this._eventSubscriptions.push(this._manager.createEventObservable(t,this).subscribe(n=>{switch(t){case"bounds_changed":this._manager.getBounds(this).then(t=>e.emit({north:t.getNorthEast().lat(),east:t.getNorthEast().lng(),south:t.getSouthWest
1().lat(),west:t.getSouthWest().lng()}));break;default:e.emit({coords:{lat:n.latLng.lat(),lng:n.latLng.lng()}})}}))})}ngOnDestroy(){this._eventSubscriptions.forEach(function(e){e.unsubscribe()}),this._eventSubscriptions=null,this._manager.removeRectangle(this)}getBounds(){return this._manager.getBounds(this)}};ke.\u0275fac=function(e){return new(e||ke)(a.Y36(ue))},ke.\u0275dir=a.lG2({type:ke,selectors:[["agm-rectangle"]],inputs:{clickable:"clickable",draggable:["rectangleDraggable","draggable"],editable:"editable",strokePosition:"strokePosition",strokeWeight:"strokeWeight",visible:"visible",north:"north",east:"east",south:"south",west:"west",fillColor:"fillColor",fillOpacity:"fillOpacity",strokeColor:"strokeColor",strokeOpacity:"strokeOpacity",zIndex:"zIndex"},outputs:{boundsChange:"boundsChange",rectangleClick:"rectangleClick",rectangleDblClick:"rectangleDblClick",drag:"drag",dragEnd:"dragEnd",dragStart:"dragStart",mouseDown:"mouseDown",mouseMove:"mouseMove",mouseOut:"mouseOut",mouseOver:"mouseOver",mouseUp:"mouseUp",rightClick:"rightClick"},features:[a.TTD]}),ke._mapOptions=["fillColor","fillOpacity","strokeColor","strokeOpacity","strokePosition","strokeWeight","visible","zIndex","clickable"],ke.ctorParameters=()=>[{type:ue}],r([(0,a.IIB)(),i("design:type",Number)],ke.prototype,"north",void 0),r([(0,a.IIB)(),i("design:type",Number)],ke.prototype,"east",void 0),r([(0,a.IIB)(),i("design:type",Number)],ke.prototype,"south",void 0),r([(0,a.IIB)(),i("design:type",Number)],ke.prototype,"west",void 0),r([(0,a.IIB)(),i("design:type",Object)],ke.prototype,"clickable",void 0),r([(0,a.IIB)("rectangleDraggable"),i("design:type",Object)],ke.prototype,"draggable",void 0),r([(0,a.IIB)(),i("design:type",Object)],ke.prototype,"editable",void 0),r([(0,a.IIB)(),i("design:type",String)],ke.prototype,"fillColor",void 0),r([(0,a.IIB)(),i("design:type",Number)],ke.prototype,"fillOpacity",void 0),r([(0,a.IIB)(),i("design:type",String)],ke.prototype,"strokeColor",void 0),r([(0,a.IIB)(),i("design:type",Number)],ke.prototype,"strokeOpacity",void 0),r([(0,a.IIB)(),i("design:type",String)],ke.prototype,"strokePosition",void 0),r([(0,a.IIB)(),i("design:type",Object)],ke.prototype,"strokeWeight",void 0),r([(0,a.IIB)(),i("design:type",Object)],ke.prototype,"visible",void 0),r([(0,a.IIB)(),i("design:type",Number)],ke.prototype,"zIndex",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ke.prototype,"boundsChange",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ke.prototype,"rectangleClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ke.prototype,"rectangleDblClick",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ke.prototype,"drag",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ke.prototype,"dragEnd",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ke.prototype,"dragStart",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ke.prototype,"mouseDown",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ke.prototype,"mouseMove",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ke.prototype,"mouseOut",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ke.prototype,"mouseOver",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ke.prototype,"mouseUp",void 0),r([(0,a.r_U)(),i("design:type",a.vpe)],ke.prototype,"rightClick",void 0),ke=Ee=r([i("design:paramtypes",[ue])],ke);var xe=(()=>(function(e){e.ERROR="ERROR",e.INVALID_REQUEST="INVALID_REQUEST",e.OK="OK",e.OVER_QUERY_LIMIT="OVER_QUERY_LIMIT",e.REQUEST_DENIED="REQUEST_DENIED",e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.ZERO_RESULTS="ZERO_RESULTS"}(xe||(xe={})),xe))();let Te=class{constructor(e){const t=new l.y(t=>{e.load().then(()=>t.next())}).pipe((0,h.U)(()=>this._createGeocoder()),(0,N.O)(new k.t(1)));t.connect(),this.geocoder$=t}geocode(e){return this.geocoder$.pipe((0,P.w)(t=>this._getGoogleResults(t,e)))}_getGoogleResults(e,t){return v(e.geocode)(t).pipe((0,P.w)(([e,t])=>t===xe.OK?(0,x.of)(e):(0,T._)(t)))}_createGeocoder(){return new google.maps.Geocoder}};Te.\u0275fac=function(e){return new(e||Te)(a.LFG(B))},Te.\u0275prov=a.Yz7({token:Te,factory:function(e){return Te.\u0275fac(e)},providedIn:"root"}),Te.ngInjectableDef=(0,a.Yz7)({factory:function(){return new Te((0,a.LFG)(B))},token:Te,providedIn:"root"}),Te=r([i("design:paramtypes",[B])],Te);class Oe{getNativeWindow(){return window}
1}class Ae{getNativeDocument(){return document}}const Ie=[Oe,Ae];var $e=(()=>(function(e){e[e.HTTP=1]="HTTP",e[e.HTTPS=2]="HTTPS",e[e.AUTO=3]="AUTO"}($e||($e={})),$e))();const Pe=new a.OlP("angular-google-maps LAZY_MAPS_API_CONFIG");let De=(()=>{let e=class extends B{constructor(e=null,t,n,r){super(),this.localeId=r,this._SCRIPT_ID="agmGoogleMapsApiScript",this.callbackName="agmLazyMapsAPILoader",this._config=e||{},this._windowRef=t,this._documentRef=n}load(){const e=this._windowRef.getNativeWindow();if(e.google&&e.google.maps)return Promise.resolve();if(this._scriptLoadingPromise)return this._scriptLoadingPromise;const t=this._documentRef.getNativeDocument().getElementById(this._SCRIPT_ID);if(t)return this._assignScriptLoadingPromise(t),this._scriptLoadingPromise;const n=this._documentRef.getNativeDocument().createElement("script");return n.type="text/javascript",n.async=!0,n.defer=!0,n.id=this._SCRIPT_ID,n.src=this._getScriptSrc(this.callbackName),this._assignScriptLoadingPromise(n),this._documentRef.getNativeDocument().body.appendChild(n),this._scriptLoadingPromise}_assignScriptLoadingPromise(e){this._scriptLoadingPromise=new Promise((t,n)=>{this._windowRef.getNativeWindow()[this.callbackName]=()=>{t()},e.onerror=e=>{n(e)}})}_getScriptSrc(e){let t;switch(this._config&&this._config.protocol||$e.HTTPS){case $e.AUTO:t="";break;case $e.HTTP:t="http:";break;case $e.HTTPS:t="https:"}const n={v:this._config.apiVersion||"quarterly",callback:e,key:this._config.apiKey,client:this._config.clientId,channel:this._config.channel,libraries:this._config.libraries,region:this._config.region,language:this._config.language||"en-US"!==this.localeId?this.localeId:null};return`${t}//${this._config.hostAndPath||"maps.googleapis.com/maps/api/js"}?${Object.keys(n).filter(e=>null!=n[e]).filter(e=>!Array.isArray(n[e])||Array.isArray(n[e])&&n[e].length>0).map(e=>{let t=n[e];return Array.isArray(t)?{key:e,value:t.join(",")}:{key:e,value:n[e]}}).map(e=>`${e.key}=${e.value}`).join("&")}`}};return e.\u0275fac=function(t){return new(t||e)(a.LFG(Pe,8),a.LFG(Oe),a.LFG(Ae),a.LFG(a.soG))},e.\u0275prov=a.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e=r([s(0,(0,a.FiY)()),s(0,(0,a.tBr)(Pe)),s(3,(0,a.tBr)(a.soG)),i("design:paramtypes",[Object,Oe,Ae,String])],e),e})();var Le;let Re=Le=class{static forRoot(e){return{ngModule:Le,providers:[...Ie,{provide:B,useClass:De},{provide:Pe,useValue:e}]}}};Re.\u0275fac=function(e){return new(e||Re)},Re.\u0275mod=a.oAB({type:Re}),Re.\u0275inj=a.cJS({})},17238:(e,t,n)=>{"use strict";n.d(t,{l3:()=>i,_j:()=>r,LC:()=>s,ZN:()=>m,jt:()=>a,pV:()=>p,F4:()=>h,IO:()=>f,vP:()=>l,SB:()=>u,oB:()=>c,eR:()=>d,X$:()=>o,ZE:()=>y,k1:()=>v});class r{}class s{}const i="*";function o(e,t){return{type:7,name:e,definitions:t,options:{}}}function a(e,t=null){return{type:4,styles:t,timings:e}}function l(e,t=null){return{type:2,steps:e,options:t}}function c(e){return{type:6,styles:e,offset:null}}function u(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e){return{type:5,steps:e}}function d(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function p(e=null){return{type:9,options:e}}function f(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function g(e){Promise.resolve(null).then(e)}class m{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){g(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;
vendor: 1,881 bytes, line 1
1t.forEach(e=>e()),t.length=0}}class y{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0;const s=this.players.length;0==s?g(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==s&&this._onFinish()}),e.onDestroy(()=>{++n==s&&this._onDestroy()}),e.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const v="!"}
1,38583:(e,t,n)=>{"use strict";n.d(t,{mr:()=>_,Ov:()=>$e,ez:()=>Re,K0:()=>l,uU:()=>Pe,JJ:()=>De,Do:()=>C,V_:()=>h,Ye:()=>S,S$:()=>v,mk:()=>pe,sg:()=>ge,O5:()=>ye,PC:()=>Ee,RF:()=>we,n9:()=>Ce,ED:()=>Se,tP:()=>ke,b0:()=>w,lw:()=>c,OU:()=>Le,EM:()=>Be,JF:()=>Ve,NF:()=>Me,PM:()=>Fe,w_:()=>a,bD:()=>Ne,q:()=>i,Mx:()=>de,HT:()=>o});var r=n(37716);let s=null;function i(){return s}function o(e){s||(s=e)}class a{}const l=new r.OlP("DocumentToken");let c=(()=>{class e{historyGo(e){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,r.Yz7)({factory:u,token:e,providedIn:"platform"}),e})();function u(){return(0,r.LFG)(d)}const h=new r.OlP("Location Initialized");let d=(()=>{class e extends c{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(e){const t=i().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=i().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){p()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){p()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(l))},e.\u0275prov=(0,r.Yz7)({factory:f,token:e,providedIn:"platform"}),e})();function p(){return!!window.history.pushState}function f(){return new d((0,r.LFG)(l))}function g(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function m(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function y(e){return e&&"?"!==e[0]?"?"+e:e}let v=(()=>{class e{historyGo(e){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,r.Yz7)({factory:b,token:e,providedIn:"root"}),e})();function b(e){const t=(0,r.LFG)(l).location;return new w((0,r.LFG)(c),t&&t.origin||"")}const _=new r.OlP("appBaseHref");let w=(()=>{class e extends v{constructor(e,t){if(super(),this._platformLocation=e,this._removeListenerFns=[],null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return g(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+y(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const s=this.prepareExternalUrl(n+y(r));this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){const s=this.prepareExternalUrl(n+y(r));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformLocation).historyGo)||void 0===n||n.call(t,e)}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(c),r.LFG(_,8))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})(),C=(()=>{class e extends v{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=t&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.on
1HashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=g(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let s=this.prepareExternalUrl(n+y(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){let s=this.prepareExternalUrl(n+y(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformLocation).historyGo)||void 0===n||n.call(t,e)}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(c),r.LFG(_,8))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})(),S=(()=>{class e{constructor(e,t){this._subject=new r.vpe,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=m(k(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+y(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,k(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+y(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+y(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformStrategy).historyGo)||void 0===n||n.call(t,e)}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(v),r.LFG(c))},e.normalizeQueryParams=y,e.joinWithSlash=g,e.stripTrailingSlash=m,e.\u0275prov=(0,r.Yz7)({factory:E,token:e,providedIn:"root"}),e})();function E(){return new S((0,r.LFG)(v),(0,r.LFG)(c))}function k(e){return e.replace(/\/index.html$/,"")}var x=(()=>((x=x||{})[x.Decimal=0]="Decimal",x[x.Percent=1]="Percent",x[x.Currency=2]="Currency",x[x.Scientific=3]="Scientific",x))(),T=(()=>((T=T||{})[T.Zero=0]="Zero",T[T.One=1]="One",T[T.Two=2]="Two",T[T.Few=3]="Few",T[T.Many=4]="Many",T[T.Other=5]="Other",T))(),O=(()=>((O=O||{})[O.Format=0]="Format",O[O.Standalone=1]="Standalone",O))(),A=(()=>((A=A||{})[A.Narrow=0]="Narrow",A[A.Abbreviated=1]="Abbreviated",A[A.Wide=2]="Wide",A[A.Short=3]="Short",A))(),I=(()=>((I=I||{})[I.Short=0]="Short",I[I.Medium=1]="Medium",I[I.Long=2]="Long",I[I.Full=3]="Full",I))(),$=(()=>(($=$||{})[$.Decimal=0]="Decimal",$[$.Group=1]="Group",$[$.List=2]="List",$[$.PercentSign=3]="PercentSign",$[$.PlusSign=4]="PlusSign",$[$.MinusSign=5]="MinusSign",$[$.Exponential=6]="Exponential",$[$.SuperscriptingExponent=7]="SuperscriptingExponent",$[$.PerMille=8]="PerMille",$[$[1/0]=9]="Infinity",$[$.NaN=10]="NaN",$[$.TimeSeparator=11]="TimeSeparator",$[$.CurrencyDecimal=12]="CurrencyDecimal",$[$.CurrencyGroup=13]="CurrencyGroup",$))();function P(e,t){return F((0,r.cg1)(e)[r.wAp.DateFormat],t)}function D(e,t){return F((0,r.cg1)(e)[r.wAp.TimeFormat],t)}function L(e,t){return F((0,r.cg1)(e)[r.wAp.DateTimeFormat],t)}function R(e,t){const n=(0,r.cg1)(e),s=n[r.wAp.NumberSymbols][t];if(void 0===s){if(t===$.CurrencyDecimal)return n[r.wAp.NumberSymbols][$.Decimal];if(t===$.CurrencyGroup)return n[r.wAp.NumberSymbols][$.Group]}return s}const N=r.kL8;function M(e){if(!e[r.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[r.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function F(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function B(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const j=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,z={},V=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var U=(()=>((U=U||{})[U.Short=0]="Short",U[U.ShortGMT=1]="ShortGMT",U[U.Long=2]="Long",U[U.Extended=3]="Extended",U))(),q=(()=>((q=q||{})[q.FullYear=0]="FullYear",q[q.Month=1]="Month",q[q.Date=2]="Date",q[q.Hours=3]="Hours",q[q.Minutes=4]="Minutes",q[q.Seconds=5]="Seconds",q[q.FractionalSeconds=6]="FractionalSeconds",q[q.Day=7]="Day",q))(),H=(()=>((H=H||{})[H.DayPeriods=0]="DayPeriods",H[H.Days=1]="Days",H[H.Months=2]="Months",H[H.Eras=3]="Eras",H))();function Y(e,t,n,r){let s=function(e){if(ie(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,r=1]=e.split("-").map(e=>+e);return G(t,n-1,r)}const t=parseFloat(e);
vendor: 16,693 bytes, line 1
1if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(j))return function(e){const t=new Date(0);let n=0,r=0;const s=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),s.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,a=Number(e[5]||0)-r,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,o,a,l,c),t}(n)}const t=new Date(e);if(!ie(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=W(n,t)||t;let i,o=[];for(;t;){if(i=V.exec(t),!i){o.push(t);break}{o=o.concat(i.slice(1));const e=o.pop();if(!e)break;t=e}}let a=s.getTimezoneOffset();r&&(a=se(r,a),s=function(e,t,n){const r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(se(t,r)-r))}(s,r));let l="";return o.forEach(e=>{const t=function(e){if(re[e])return re[e];let t;switch(e){case"G":case"GG":case"GGG":t=Q(H.Eras,A.Abbreviated);break;case"GGGG":t=Q(H.Eras,A.Wide);break;case"GGGGG":t=Q(H.Eras,A.Narrow);break;case"y":t=Z(q.FullYear,1,0,!1,!0);break;case"yy":t=Z(q.FullYear,2,0,!0,!0);break;case"yyy":t=Z(q.FullYear,3,0,!1,!0);break;case"yyyy":t=Z(q.FullYear,4,0,!1,!0);break;case"Y":t=ne(1);break;case"YY":t=ne(2,!0);break;case"YYY":t=ne(3);break;case"YYYY":t=ne(4);break;case"M":case"L":t=Z(q.Month,1,1);break;case"MM":case"LL":t=Z(q.Month,2,1);break;case"MMM":t=Q(H.Months,A.Abbreviated);break;case"MMMM":t=Q(H.Months,A.Wide);break;case"MMMMM":t=Q(H.Months,A.Narrow);break;case"LLL":t=Q(H.Months,A.Abbreviated,O.Standalone);break;case"LLLL":t=Q(H.Months,A.Wide,O.Standalone);break;case"LLLLL":t=Q(H.Months,A.Narrow,O.Standalone);break;case"w":t=te(1);break;case"ww":t=te(2);break;case"W":t=te(1,!0);break;case"d":t=Z(q.Date,1);break;case"dd":t=Z(q.Date,2);break;case"c":case"cc":t=Z(q.Day,1);break;case"ccc":t=Q(H.Days,A.Abbreviated,O.Standalone);break;case"cccc":t=Q(H.Days,A.Wide,O.Standalone);break;case"ccccc":t=Q(H.Days,A.Narrow,O.Standalone);break;case"cccccc":t=Q(H.Days,A.Short,O.Standalone);break;case"E":case"EE":case"EEE":t=Q(H.Days,A.Abbreviated);break;case"EEEE":t=Q(H.Days,A.Wide);break;case"EEEEE":t=Q(H.Days,A.Narrow);break;case"EEEEEE":t=Q(H.Days,A.Short);break;case"a":case"aa":case"aaa":t=Q(H.DayPeriods,A.Abbreviated);break;case"aaaa":t=Q(H.DayPeriods,A.Wide);break;case"aaaaa":t=Q(H.DayPeriods,A.Narrow);break;case"b":case"bb":case"bbb":t=Q(H.DayPeriods,A.Abbreviated,O.Standalone,!0);break;case"bbbb":t=Q(H.DayPeriods,A.Wide,O.Standalone,!0);break;case"bbbbb":t=Q(H.DayPeriods,A.Narrow,O.Standalone,!0);break;case"B":case"BB":case"BBB":t=Q(H.DayPeriods,A.Abbreviated,O.Format,!0);break;case"BBBB":t=Q(H.DayPeriods,A.Wide,O.Format,!0);break;case"BBBBB":t=Q(H.DayPeriods,A.Narrow,O.Format,!0);break;case"h":t=Z(q.Hours,1,-12);break;case"hh":t=Z(q.Hours,2,-12);break;case"H":t=Z(q.Hours,1);break;case"HH":t=Z(q.Hours,2);break;case"m":t=Z(q.Minutes,1);break;case"mm":t=Z(q.Minutes,2);break;case"s":t=Z(q.Seconds,1);break;case"ss":t=Z(q.Seconds,2);break;case"S":t=Z(q.FractionalSeconds,1);break;case"SS":t=Z(q.FractionalSeconds,2);break;case"SSS":t=Z(q.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=J(U.Short);break;case"ZZZZZ":t=J(U.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=J(U.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=J(U.Long);break;default:return null}return re[e]=t,t}(e);l+=t?t(s,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function G(e,t,n){const r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function W(e,t){const n=function(e){return(0,r.cg1)(e)[r.wAp.LocaleId]}(e);if(z[n]=z[n]||{},z[n][t])return z[n][t];let s="";switch(t){case"shortDate":s=P(e,I.Short);break;case"mediumDate":s=P(e,I.Medium);break;case"longDate":s=P(e,I.Long);break;case"fullDate":s=P(e,I.Full);break;case"shortTime":s=D(e,I.Short);break;case"mediumTime":s=D(e,I.Medium);break;case"longTime":s=D(e,I.Long);break;case"fullTime":s=D(e,I.Full);break;case"short":const t=W(e,"shortTime"),n=W(e,"shortDate");s=X(L(e,I.Short),[t,n]);break;case"medium":const r=W(e,"mediumTime"),i=W(e,"mediumDate");s=X(L(e,I.Medium),[r,i]);break;case"long":const o=W(e,"longTime"),a=W(e,"longDate");s=X(L(e,I.Long),[o,a]);break;case"full":const l=W(e,"fullTime"),c=W(e,"fullDate");s=X(L(e,I.Full),[l,c])}return s&&(z[n][t]=s),s}function X(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function K(e,t,n="-",r,s){let i="";(e<0||s&&e<=0)&&(s?e=1-e:(e=-e,i=n));let o=String(e);for(;o.length<t;)o="0"+o;return r&&(o=o.substr(o.length-t)),i+o}function Z(e,t,n=0,r=!1,s=!1){return function(i,o){let a=function(e,t){switch(e){case q.FullYear:return t.getFullYear();case q.Month:return t.getMonth();case q.Date:return t.getDate();case q.Hours:return t.getHours();case q.Minutes:return t.getMinutes();case q.Seconds:return t.getSeconds();case q.FractionalSeconds:return t.getMilliseconds();case q.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,i);if((n>0||a>-n)&&(a+=n),e===q.Hours)0===a&&-12===n&&(a=12);else if(e===q.FractionalSeconds)return l=t,K(a,3).substr(0,l);var l;const c=R(o,$.MinusSign);return K(a,t,c,r,s)}}function Q(e,t,n=O.Format,s=!1){return function(i,o){return function(e,t,n,s,i,o){switch(n){case H.Months:return function(e,t,n){const s=(0,r.cg1)(e),i=F([s[r.wAp.MonthsFormat],s[r.wAp.MonthsStandalone]],t);return F(i,n)}(t,i,s)[e.getMonth()];case H.Days:return function(e,t,n){const s=(0,r.cg1)(e),i=F([s[r.wAp.DaysFormat],s[r.wAp.DaysStandalone]],t);return F(i,n)}(t,i,s)[e.getDay()];case H.DayPeriods:const a=e.getHours(),l=e.getMinutes();if(o){const e=function(e){const t=(0,r.cg1)(e);return M(t),(t[r.wAp.ExtraData][2]||[]).map(e=>"string"==typeof e?B(e):[B(e[0]),B(e[1])])}(t),n=function(e,t,n){const s=(0,r.cg1)(e);M(s);const i=F([s[r.wAp.ExtraData][0],s[r.wAp.ExtraData][1]],t)||[];return F(i,n)||[]}(t,i,s),o=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,r=a>=t.hours&&l>=t.minutes,s=a<n.hours||a===n.hours&&l<n.minutes;if(t.hours<n.hours){if(r&&s)return!0}else if(r||s)return!0}else if(e.hours===a&&e.minutes===l)return!0;return!1});if(-1!==o)return n[o]}return function(e,t,n){const s=(0,r.cg1)(e),i=F([s[r.wAp.DayPeriodsFormat],s[r.wAp.DayPeriodsStandalone]],t);return F(i,n)}(t,i,s)[a<12?0:1];case H.Eras:return function(e,t){return F((0,r.cg1)(e)[r.wAp.Eras],t)}(t,s)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(i,o,e,t,n,s)}}function J(e){return function(t,n,r){const s=-1*r,i=R(n,$.MinusSign),o=s>0?Math.floor(s/60):Math.ceil(s/60);switch(e){case U.Short:return(s>=0?"+":"")+K(o,2,i)+K(Math.abs(s%60),2,i);case U.ShortGMT:return"GMT"+(s>=0?"+":"")+K(o,1,i);case U.Long:return"GMT"+(s>=0?"+":"")+K(o,2,i)+":"+K(Math.abs(s%60),2,i);case U.Extended:return 0===r?"Z":(s>=0?"+":"")+K(o,2,i)+":"+K(Math.abs(s%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}function ee(e){return G(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function te(e,t=!1){return function(n,r){let s;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();s=1+Math.floor((t+e)/7)}else{const e=ee(n),t=function(e){const t=G(e,0,1).getDay();return G(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),r=e.getTime()-t.getTime();s=1+Math.round(r/6048e5)}return K(s,e,R(r,$.MinusSign))}}function ne(e,t=!1){return function(n,r){return K(ee(n).getFullYear(),e,R(r,$.MinusSign),t)}}const re={};function se(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ie(e){return e instanceof Date&&!isNaN(e.valueOf())}const oe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,ae=".",le="0";function ce(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class ue{}let he=(()=>{class e extends ue{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(N(t||this.locale)(e)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.soG))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();function de(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}let pe=(()=>{class e{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&((0,r.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,r.AaK)(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Qsj))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class fe{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ge=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new fe(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new me(e,n);t.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new me(e,s);t.push(i)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class me{constructor(e,t){this.record=e,this.view=t}}let ye=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new ve,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){be("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){be("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.s_b),r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class ve{constructor(){this.$implicit=null,this.ngIf=null}}function be(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${(0,r.AaK)(t)}'.`)}class _e{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let we=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e})(),Ce=(()=>{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new _e(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(we,9))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),Se=(()=>{class e{constructor(e,t,n){n._addDefault(new _e(e,t))}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(we,9))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),Ee=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,r]=e.split(".");null!=(t=null!=t&&r?`${t}${r}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(r.Qsj))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}
1),e})(),ke=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(e.ngTemplateOutlet){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.s_b))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r.TTD]}),e})();function xe(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${(0,r.AaK)(e)}'`)}class Te{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class Oe{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const Ae=new Oe,Ie=new Te;let $e=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if((0,r.QGY)(t))return Ae;if((0,r.F4k)(t))return Ie;throw xe(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.sBO,16))},e.\u0275pipe=r.Yjl({name:"async",type:e,pure:!1}),e})(),Pe=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",r,s){if(null==t||""===t||t!=t)return null;try{return Y(t,n,s||this.locale,r)}catch(i){throw xe(e,i.message)}}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.soG,16))},e.\u0275pipe=r.Yjl({name:"date",type:e,pure:!0}),e})(),De=(()=>{class e{constructor(e){this._locale=e}transform(t,n,s){if(!function(e){return!(null==e||""===e||e!=e)}(t))return null;s=s||this._locale;try{return function(e,t,n){return function(e,t,n,r,s,i,o=!1){let a="",l=!1;if(isFinite(e)){let c=function(e){let t,n,r,s,i,o=Math.abs(e)+"",a=0;for((n=o.indexOf(ae))>-1&&(o=o.replace(ae,"")),(r=o.search(/e/i))>0?(n<0&&(n=r),n+=+o.slice(r+1),o=o.substring(0,r)):n<0&&(n=o.length),r=0;o.charAt(r)===le;r++);if(r===(i=o.length))t=[0],n=1;else{for(i--;o.charAt(i)===le;)i--;for(n-=r,t=[],s=0;r<=i;r++,s++)t[s]=Number(o.charAt(r))}return n>22&&(t=t.splice(0,21),a=n-1,n=1),{digits:t,exponent:a,integerLen:n}}(e);o&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(c));let u=t.minInt,h=t.minFrac,d=t.maxFrac;if(i){const e=i.match(oe);if(null===e)throw new Error(`${i} is not a valid digit info`);const t=e[1],n=e[3],r=e[5];null!=t&&(u=ce(t)),null!=n&&(h=ce(n)),null!=r?d=ce(r):null!=n&&h>d&&(d=h)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,s=r.length-e.integerLen;const i=Math.min(Math.max(t,s),n);let o=i+e.integerLen,a=r[o];if(o>0){r.splice(Math.max(e.integerLen,o));for(let e=o;e<r.length;e++)r[e]=0}else{s=Math.max(0,s),e.integerLen=1,r.length=Math.max(1,o=i+1),r[0]=0;for(let e=1;e<o;e++)r[e]=0}if(a>=5)if(o-1<0){for(let t=0;t>o;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[o-1]++;for(;s<Math.max(0,i);s++)r.push(0);let l=0!==i;const c=t+e.integerLen,u=r.reduceRight(function(e,t,n,r){return r[n]=(t+=e)<10?t:t-10,l&&(0===r[n]&&n>=c?r.pop():l=!1),t>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const g=c.exponent;let m=[];for(l=p.every(e=>!e);f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?m=p.splice(f,p.length):(m=p,p=[0]);const y=[];for(p.length>=t.lgSize&&y.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)y.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&y.unshift(p.join("")),a=y.join(R(n,r)),m.length&&(a+=R(n,s)+m.join("")),g&&(a+=R(n,$.Exponential)+"+"+g)}else a=R(n,$.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}(e,function(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),s=r[0],i=r[1],o=-1!==s.indexOf(ae)?s.split(ae):[s.substring(0,s.lastIndexOf(le)+1),s.substring(s.lastIndexOf(le)+1)],a=o[0],l=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u<l.length;u++){const e=l.charAt(u);e===le?n.minFrac=n.maxFrac=u+1:"#"===e?n.maxFrac=u+1:n.posSuf+=e}const c=a.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,i){const e=s.length-n.posPre.length-n.posSuf.length,t=i.indexOf("#");n.negPre=i.substr(0,t).replace(/'/g,""),n.negSuf=i.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}(function(e,t){return(0,r.cg1)(e)[r.wAp.NumberFormats][t]}(t,x.Decimal),R(t,$.MinusSign)),t,$.Group,$.Decimal,n)}(function(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(t),s,n)}catch(i){throw xe(e,i.message)}}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.soG,16))},e.\u0275pipe=r.Yjl({name:"number",type:e,pure:!0}),e})(),Le=(()=>{class e{transform(t,n,r){if(null==t)return null;if(!this.supports(t))throw xe(e,t);return t.slice(n,r)}supports(e){return"string"==typeof e||Array.isArray(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Yjl({name:"slice",type:e,pure:!1}),e})(),Re=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[{provide:ue,useClass:he}]}),e})();const Ne="browser";function Me(e){return e===Ne}function Fe(e){return"server"===e}let Be=(()=>{class e{}return e.\u0275prov=(0,r.Yz7)({token:e,providedIn:"root",factory:()=>new je((0,r.LFG)(l),window)}),e})();
1class je{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const e=r.shadowRoot;if(e){const n=e.getElementById(t)||e.querySelector(`[name="${t}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(t))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=ze(this.window.history)||ze(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function ze(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Ve{}},91841:(e,t,n)=>{"use strict";n.d(t,{TP:()=>I,eN:()=>O,Ed:()=>G,JF:()=>Y,UA:()=>x,LE:()=>m,Zn:()=>k});var r=n(38583),s=n(37716),i=n(25917),o=n(83550),a=n(94612),l=n(45435),c=n(88002);class u{}class h{}class d{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),s=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const r=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new d;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":const s=e.value;if(s){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===s.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class p{encodeKey(e){return f(e)}encodeValue(e){return f(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function f(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function g(e){return`${e}`}class m{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new p,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>
10&&e.replace(/^\?/,"").split("&").forEach(e=>{const r=e.indexOf("="),[s,i]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],o=n.get(s)||[];o.push(i),n.set(s,o)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const r=e[n];Array.isArray(r)?r.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:r,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new m({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(g(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(g(e.value));-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class y{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}keys(){return this.map.keys()}}function v(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function b(e){return"undefined"!=typeof Blob&&e instanceof Blob}function _(e){return"undefined"!=typeof FormData&&e instanceof FormData}class w{constructor(e,t,n,r){let s;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,s=r):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.context||(this.context=new y),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new m,this.urlWithParams=t}serializeBody(){return null===this.body?null:v(this.body)||b(this.body)||_(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof m?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||_(this.body)?null:b(this.body)?this.body.type||null:v(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof m?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){var t;const n=e.method||this.method,r=e.url||this.url,s=e.responseType||this.responseType,i=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let l=e.headers||this.headers,c=e.params||this.params;const u=null!==(t=e.context)&&void 0!==t?t:this.context;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),c)),new w(n,r,i,{params:c,headers:l,context:u,reportProgress:a,responseType:s,withCredentials:o})}}var C=(()=>((C=C||{})[C.Sent=0]="Sent",C[C.UploadProgress=1]="UploadProgress",C[C.ResponseHeader=2]="ResponseHeader",C[C.DownloadProgress=3]="DownloadProgress",C[C.Response=4]="Response",C[C.User=5]="User",C)
1)();class S{constructor(e,t=200,n="OK"){this.headers=e.headers||new d,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class E extends S{constructor(e={}){super(e),this.type=C.ResponseHeader}clone(e={}){return new E({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class k extends S{constructor(e={}){super(e),this.type=C.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new k({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class x extends S{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function T(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let O=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof w)r=e;else{let s,i;s=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(i=n.params instanceof m?n.params:new m({fromObject:n.params})),r=new w(e,t,void 0!==n.body?n.body:null,{headers:s,context:n.context,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=(0,i.of)(r).pipe((0,a.b)(e=>this.handler.handle(e)));if(e instanceof w||"events"===n.observe)return s;const o=s.pipe((0,l.h)(e=>e instanceof k));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe((0,c.U)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return o.pipe((0,c.U)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return o.pipe((0,c.U)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return o.pipe((0,c.U)(e=>e.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new m).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,T(n,t))}post(e,t,n={}){return this.request("POST",e,T(n,t))}put(e,t,n={}){return this.request("PUT",e,T(n,t))}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(u))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();class A{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const I=new s.OlP("HTTP_INTERCEPTORS");let $=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})(),P=0;class D{}let L=(()=>{class e{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+P++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");return new o.y(t=>{const n=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${n}$1`),s=this.document.createElement("script");s.src=r;let i=null,o=!1,a=!1;this.callbackMap[n]=e=>{delete this.callbackMap[n],a||(i=e,o=!0)};const l=()=>{s.parentNode&&s.parentNode.removeChild(s),delete this.callbackMap[n]},c=e=>{a||this.resolvedPromise.then(()=>{l(),o?(t.next(new k({body:i,status:200,statusText:"OK",url:r})),t.complete()):t.error(new x({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},u=e=>{a||(l(),t.error(new x({error:e,status:0,statusText:"JSONP Error",url:r})))};return s.addEventListener("load",c),s.addEventListener("error",u),this.document.body.appendChild(s),t.next({type:C.Sent}),()=>{a=!0,s.removeEventListener("load",c),s.removeEventListener("error",u),l()}})}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(D),s.LFG(r.K0))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})(),R=(()=>{class e{constructor(e){this.jsonp=e}intercept(e,t){return"JSONP"===e.method?this.jsonp.handle(e):t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(L))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();const N=/^\)\]\}',?\n/;let M=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.y(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEac
vendor: 4,309 bytes, line 1
1h((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const r=e.serializeBody();let s=null;const i=()=>{if(null!==s)return s;const t=1223===n.status?204:n.status,r=n.statusText||"OK",i=new d(n.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return s=new E({headers:i,status:t,statusText:r,url:o}),s},o=()=>{let{headers:r,status:s,statusText:o,url:a}=i(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(N,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new k({body:l,headers:r,status:s,statusText:o,url:a||void 0})),t.complete()):t.error(new x({error:l,headers:r,status:s,statusText:o,url:a||void 0}))},a=e=>{const{url:r}=i(),s=new x({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(s)};let l=!1;const c=r=>{l||(t.next(i()),l=!0);let s={type:C.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===e.responseType&&n.responseText&&(s.partialText=n.responseText),t.next(s)},u=e=>{let n={type:C.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),e.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),t.next({type:C.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),e.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(r.JF))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();const F=new s.OlP("XSRF_COOKIE_NAME"),B=new s.OlP("XSRF_HEADER_NAME");class j{}let z=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(r.K0),s.LFG(s.Lbi),s.LFG(F))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})(),V=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(j),s.LFG(B))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})(),U=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(I,[]);this.chain=e.reduceRight((e,t)=>new A(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(h),s.LFG(s.zs3))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();function q(){return"object"==typeof window?window:{}}let H=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:V,useClass:$}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:F,useValue:t.cookieName}:[],t.headerName?{provide:B,useValue:t.headerName}:[]]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({providers:[V,{provide:I,useExisting:V,multi:!0},{provide:j,useClass:z},{provide:F,useValue:"XSRF-TOKEN"},{provide:B,useValue:"X-XSRF-TOKEN"}
1]}),e})(),Y=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({providers:[O,{provide:u,useClass:U},M,{provide:h,useExisting:M}],imports:[[H.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})(),G=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({providers:[L,{provide:D,useFactory:q},{provide:I,useClass:R,multi:!0}]}),e})()},37716:(e,t,n)=>{"use strict";n.d(t,{deG:()=>dn,tb:()=>Tc,AFp:()=>Cc,ip1:()=>_c,CZH:()=>wc,hGG:()=>_u,z2F:()=>uu,ahi:()=>un,sBO:()=>al,Sil:()=>Fc,_Vd:()=>$a,aQ5:()=>gn,AcB:()=>fn,EJc:()=>Ic,SBq:()=>Ra,qLn:()=>Br,vpe:()=>Zl,L6J:()=>bc,gxx:()=>Ai,tBr:()=>Mn,XFs:()=>A,OlP:()=>hn,zs3:()=>qi,IIB:()=>yc,ZZ4:()=>el,aQg:()=>nl,soG:()=>Ac,YKP:()=>yl,v3s:()=>du,h0i:()=>ml,PXZ:()=>iu,R0b:()=>zc,FiY:()=>Fn,r_U:()=>vc,Lbi:()=>xc,g9A:()=>kc,n_E:()=>Jl,Qsj:()=>Fa,FYo:()=>Ma,JOm:()=>qr,Tiy:()=>ja,q3G:()=>Ir,PiD:()=>Bn,tp0:()=>jn,EAV:()=>gu,Rgc:()=>dl,dDg:()=>Wc,DyG:()=>yn,GfV:()=>za,i9L:()=>mn,s_b:()=>bl,ifc:()=>R,eFA:()=>ou,G48:()=>ru,Gpc:()=>p,f3M:()=>Ln,X6Q:()=>nu,_c5:()=>vu,VLi:()=>Zc,c2e:()=>Oc,zSh:()=>$i,wAp:()=>ya,vHH:()=>m,EiD:()=>Or,mCW:()=>hr,qzn:()=>er,JVY:()=>nr,pB0:()=>or,eBb:()=>sr,L6k:()=>rr,LAX:()=>ir,cg1:()=>fa,Tjo:()=>yu,kL8:()=>ga,yhl:()=>tr,dqk:()=>j,sIi:()=>eo,CqO:()=>To,QGY:()=>ko,F4k:()=>xo,RDi:()=>ke,AaK:()=>u,z3N:()=>Jn,qOj:()=>Yi,TTD:()=>ve,_Bn:()=>Oa,xp6:()=>$s,uIk:()=>lo,Q2q:()=>uo,Tol:()=>Ho,Gre:()=>la,ekj:()=>qo,Suo:()=>hc,Xpm:()=>Z,lG2:()=>se,Yz7:()=>_,cJS:()=>w,oAB:()=>te,Yjl:()=>ie,Y36:()=>fo,_UZ:()=>_o,GkF:()=>So,BQk:()=>Co,ynx:()=>wo,qZA:()=>bo,TgZ:()=>vo,EpF:()=>Eo,n5z:()=>tn,Ikx:()=>ca,LFG:()=>Dn,$8M:()=>rn,$Z:()=>go,NdJ:()=>Oo,CRH:()=>dc,kcU:()=>bt,O4$:()=>vt,oxw:()=>Do,ALo:()=>Ul,lcZ:()=>ql,xi3:()=>Hl,Dn7:()=>Yl,gM2:()=>Gl,Hsn:()=>No,F$t:()=>Ro,Q6J:()=>mo,DdM:()=>Ll,VKq:()=>Rl,WLB:()=>Nl,kEZ:()=>Ml,HTZ:()=>Fl,iGM:()=>cc,MAs:()=>po,evT:()=>Vr,Jf7:()=>zr,CHM:()=>qe,oJD:()=>$r,uOi:()=>Dr,LSH:()=>Pr,kYT:()=>ne,Udp:()=>Uo,WFA:()=>Ao,d8E:()=>ua,YNc:()=>ho,W1O:()=>mc,_uU:()=>ra,Oqu:()=>sa,hij:()=>ia,AsE:()=>oa,lnq:()=>aa,Gf:()=>uc});var r=n(79765),s=n(75319),i=n(83550),o=n(66682),a=n(78345);function l(e){for(let t in e)if(e[t]===l)return t;throw Error("Could not find renamed property on target object.")}function c(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function u(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(u).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function h(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const d=l({__forward_ref__:l});function p(e){return e.__forward_ref__=p,e.toString=function(){return u(this())},e}function f(e){return g(e)?e():e}function g(e){return"function"==typeof e&&e.hasOwnProperty(d)&&e.__forward_ref__===p}class m extends Error{constructor(e,t){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(e,t)),this.code=e}}function y(e){return"string"==typeof e?e:null==e?"":String(e)}function v(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():y(e)}function b(e,t){const n=t?` in ${t}`:"";throw new m("201",`No provider for ${v(e)} found${n}`)}function _(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function w(e){return{providers:e.providers||[],imports:e.imports||[]}}function C(e){return S(e,k)||S(e,T)}function S(e,t){return e.hasOwnProperty(t)?e[t]:null}function E(e){return e&&(e.hasOwnProperty(x)||e.hasOwnProperty(O))?e[x]:null}const k=l({"\u0275prov":l}),x=l({"\u0275inj":l}),T=l({ngInjectableDef:l}),O=l({ngInjectorDef:l});var A=(()=>((A=A||{})[A.Default=0]="Default",A[A.Host=1]="Host",A[A.Self=2]="Self",A[A.SkipSelf=4]="SkipSelf",A[A.Optional=8]="Optional",A))();let I;function $(e){const t=I;return I=e,t}function P(e,t,n){const r=C(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&A.Optional?null:void 0!==t?t:void b(u(e),"Injector")}function D(e){return{toString:e}.toString()}var L=(()=>((L=L||{})[L.OnPush=0]="OnPush",L[L.Default=1]="Default",L))(),R=(()=>((R=R||{})[R.Emulated=0]="Emulated",R[R.None=2]="None",R[R.ShadowDom=3]="ShadowDom",R))();const N="undefined"!=typeof globalThis&&globalThis,M="undefined"!=typeof window&&window,F="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B="undefined"!=typeof global&&global,j=N||B||M||F,z={},V=[],U=l({"\u0275cmp":l}),q=l({"\u0275dir":l}),H=l({"\u0275pipe":l}),Y=l({"\u0275mod":l}),G=l({"\u0275loc":l}),W=l({"\u0275fac":l}),X=l({__NG_ELEMENT_ID__:l});let K=0;function Z(e){return D(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===L.OnPush,directiveDefs:null,pipeDefs:null,
vendor: 4,692 bytes, line 1
1selectors:e.selectors||V,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||R.Emulated,id:"c",styles:e.styles||V,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,s=e.features,i=e.pipes;return n.id+=K++,n.inputs=re(e.inputs,t),n.outputs=re(e.outputs),s&&s.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Q):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(J):null,n})}function Q(e){return oe(e)||function(e){return e[q]||null}(e)}function J(e){return function(e){return e[H]||null}(e)}const ee={};function te(e){return D(()=>{const t={type:e.type,bootstrap:e.bootstrap||V,declarations:e.declarations||V,imports:e.imports||V,exports:e.exports||V,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ee[e.id]=e.type),t})}function ne(e,t){return D(()=>{const n=ae(e,!0);n.declarations=t.declarations||V,n.imports=t.imports||V,n.exports=t.exports||V})}function re(e,t){if(null==e)return z;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}const se=Z;function ie(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function oe(e){return e[U]||null}function ae(e,t){const n=e[Y]||null;if(!n&&!0===t)throw new Error(`Type ${u(e)} does not have '\u0275mod' property.`);return n}const le=20,ce=10;function ue(e){return Array.isArray(e)&&"object"==typeof e[1]}function he(e){return Array.isArray(e)&&!0===e[1]}function de(e){return 0!=(8&e.flags)}function pe(e){return 2==(2&e.flags)}function fe(e){return 1==(1&e.flags)}function ge(e){return null!==e.template}function me(e,t){return e.hasOwnProperty(W)?e[W]:null}class ye{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function ve(){return be}function be(e){return e.type.prototype.ngOnChanges&&(e.setInput=we),_e}function _e(){const e=Ce(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===z)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function we(e,t,n,r){const s=Ce(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:z,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];i[a]=new ye(l&&l.currentValue,t,o===z),e[r]=t}function Ce(e){return e.__ngSimpleChanges__||null}ve.ngInherit=!0;const Se="http://www.w3.org/2000/svg";let Ee;function ke(e){Ee=e}function xe(){return void 0!==Ee?Ee:"undefined"!=typeof document?document:void 0}function Te(e){return!!e.listen}const Oe={createRenderer:(e,t)=>xe()};function Ae(e){for(;Array.isArray(e);)e=e[0];return e}function Ie(e,t){return Ae(t[e])}function $e(e,t){return Ae(t[e.index])}function Pe(e,t){return e.data[t]}function De(e,t){return e[t]}function Le(e,t){const n=t[e];return ue(n)?n:n[0]}function Re(e){return 4==(4&e[2])}function Ne(e){return 128==(128&e[2])}function Me(e,t){return null==t?null:e[t]}function Fe(e){e[18]=0}function Be(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const je={lFrame:ht(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ze(){return je.bindingsEnabled}function Ve(){return je.lFrame.lView}function Ue(){return je.lFrame.tView}function qe(e){return je.lFrame.contextLView=e,e[8]}function He(){let e=Ye();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ye(){return je.lFrame.currentTNode}function Ge(e,t){const n=je.lFrame;n.currentTNode=e,n.isParent=t}function We(){return je.lFrame.isParent}function Xe(){je.lFrame.isParent=!1}function Ke(){return je.isInCheckNoChangesMode}function Ze(e){je.isInCheckNoChangesMode=e}function Qe(){const e=je.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Je(){return je.lFrame.bindingIndex}function et(){return je.lFrame.bindingIndex++}function tt(e){const t=je.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function nt(e,t){const n=je.lFrame;n.bindingIndex=n.bindingRootIndex=e,rt(t)}function rt(e){je.lFrame.currentDirectiveIndex=e}function st(e){const t=je.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function it(){return je.lFrame.currentQueryIndex}function ot(e){je.lFrame.currentQueryIndex=e}function at(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function lt(e,t,n){if(n&A.SkipSelf){let r=t,s=e;for(;r=r.parent,!(null!==r||n&A.Host||(r=at(s),null===r)||(s=s[15],10&r.type)););if(null===r)return!1;t=r,e=s}const r=je.lFrame=ut();return r.currentTNode=t,r.lView=e,!0}function ct(e){const t=ut(),n=e[1];
vendor: 4,167 bytes, line 1
1je.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ut(){const e=je.lFrame,t=null===e?null:e.child;return null===t?ht(e):t}function ht(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function dt(){const e=je.lFrame;return je.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const pt=dt;function ft(){const e=dt();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function gt(){return je.lFrame.selectedIndex}function mt(e){je.lFrame.selectedIndex=e}function yt(){const e=je.lFrame;return Pe(e.tView,e.selectedIndex)}function vt(){je.lFrame.currentNamespace=Se}function bt(){je.lFrame.currentNamespace=null}function _t(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:s,ngAfterViewInit:i,ngAfterViewChecked:o,ngOnDestroy:a}=t;r&&(e.contentHooks||(e.contentHooks=[])).push(-n,r),s&&((e.contentHooks||(e.contentHooks=[])).push(n,s),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,s)),i&&(e.viewHooks||(e.viewHooks=[])).push(-n,i),o&&((e.viewHooks||(e.viewHooks=[])).push(n,o),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,o)),null!=a&&(e.destroyHooks||(e.destroyHooks=[])).push(n,a)}}function wt(e,t,n){Et(e,t,3,n)}function Ct(e,t,n,r){(3&e[2])===n&&Et(e,t,n,r)}function St(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Et(e,t,n,r){const s=null!=r?r:-1,i=t.length-1;let o=0;for(let a=void 0!==r?65535&e[18]:0;a<i;a++)if("number"==typeof t[a+1]){if(o=t[a],null!=r&&o>=r)break}else t[a]<0&&(e[18]+=65536),(o<s||-1==s)&&(kt(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function kt(e,t,n,r){const s=n[r]<0,i=n[r+1],o=e[s?-n[r]:n[r]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(o)}finally{}}}else try{i.call(o)}finally{}}const xt=-1;class Tt{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function Ot(e,t,n){const r=Te(e);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],a=n[s++],l=n[s++];r?e.setAttribute(t,a,l,o):t.setAttributeNS(o,a,l)}else{const o=i,a=n[++s];It(o)?r&&e.setProperty(t,o,a):r?e.setAttribute(t,o,a):t.setAttribute(o,a),s++}}return s}function At(e){return 3===e||4===e||6===e}function It(e){return 64===e.charCodeAt(0)}function $t(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||Pt(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Pt(e,t,n,r,s){let i=0,o=e.length;if(-1===t)o=-1;else for(;i<e.length;){const n=e[i++];if("number"==typeof n){if(n===t){o=-1;break}if(n>t){o=i-1;break}}}for(;i<e.length;){const t=e[i];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function Dt(e){return e!==xt}function Lt(e){return 32767&e}function Rt(e,t){let n=e>>16,r=t;for(;n>0;)r=r[15],n--;return r}let Nt=!0;function Mt(e){const t=Nt;return Nt=e,t}let Ft=0;function Bt(e,t){const n=zt(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,jt(r.data,e),jt(t,null),jt(r.blueprint,null));const s=Vt(e,t),i=e.injectorIndex;if(Dt(s)){const e=Lt(s),n=Rt(s,t),r=n[1].data;for(let s=0;s<8;s++)t[i+s]=n[e+s]|r[e+s]}return t[i+8]=s,i}function jt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function zt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Vt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;
1for(;null!==s;){const e=s[1],t=e.type;if(r=2===t?e.declTNode:1===t?s[6]:null,null===r)return xt;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return xt}function Ut(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(X)&&(r=n[X]),null==r&&(r=n[X]=Ft++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function qt(e,t,n){if(n&A.Optional)return e;b(t,"NodeInjector")}function Ht(e,t,n,r){if(n&A.Optional&&void 0===r&&(r=null),0==(n&(A.Self|A.Host))){const s=e[9],i=$(void 0);try{return s?s.get(t,r,n&A.Optional):P(t,r,n&A.Optional)}finally{$(i)}}return qt(r,t,n)}function Yt(e,t,n,r=A.Default,s){if(null!==e){const i=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(X)?e[X]:void 0;return"number"==typeof t?t>=0?255&t:Wt:t}(n);if("function"==typeof i){if(!lt(t,e,r))return r&A.Host?qt(s,n,r):Ht(t,n,r,s);try{const e=i(r);if(null!=e||r&A.Optional)return e;b(n)}finally{pt()}}else if("number"==typeof i){let s=null,o=zt(e,t),a=xt,l=r&A.Host?t[16][6]:null;for((-1===o||r&A.SkipSelf)&&(a=-1===o?Vt(e,t):t[o+8],a!==xt&&Jt(r,!1)?(s=t[1],o=Lt(a),t=Rt(a,t)):o=-1);-1!==o;){const e=t[1];if(Qt(i,o,e.data)){const e=Xt(o,t,n,s,r,l);if(e!==Gt)return e}a=t[o+8],a!==xt&&Jt(r,t[1].data[o+8]===l)&&Qt(i,o,t)?(s=e,o=Lt(a),t=Rt(a,t)):o=-1}}}return Ht(t,n,r,s)}const Gt={};function Wt(){return new en(He(),Ve())}function Xt(e,t,n,r,s,i){const o=t[1],a=o.data[e+8],l=Kt(a,o,n,null==r?pe(a)&&Nt:r!=o&&0!=(3&a.type),s&A.Host&&i===a);return null!==l?Zt(t,o,l,a):Gt}function Kt(e,t,n,r,s){const i=e.providerIndexes,o=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,u=s?a+c:e.directiveEnd;for(let h=r?a:a+c;h<u;h++){const e=o[h];if(h<l&&n===e||h>=l&&e.type===n)return h}if(s){const e=o[l];if(e&&ge(e)&&e.type===n)return l}return null}function Zt(e,t,n,r){let s=e[n];const i=t.data;if(s instanceof Tt){const o=s;o.resolving&&function(e,t){throw new m("200",`Circular dependency in DI detected for ${e}`)}(v(i[n]));const a=Mt(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?$(o.injectImpl):null;lt(e,r,A.Default);try{s=e[n]=o.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const r=be(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==l&&$(l),Mt(a),o.resolving=!1,pt()}}return s}function Qt(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Jt(e,t){return!(e&A.Self||e&A.Host&&t)}class en{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return Yt(this._tNode,this._lView,e,void 0,t)}}function tn(e){return D(()=>{const t=e.prototype.constructor,n=t[W]||nn(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const e=s[W]||nn(s);if(e&&e!==n)return e;s=Object.getPrototypeOf(s)}return e=>new e})}function nn(e){return g(e)?()=>{const t=nn(f(e));return t&&t()}:me(e)}function rn(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let r=0;for(;r<e;){const s=n[r];if(At(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<e&&"string"==typeof n[r];)r++;else{if(s===t)return n[r+1];r+=2}}}return null}(He(),e)}const sn="__parameters__",on="__prop__metadata__";function an(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}
1function ln(e,t,n){return D(()=>{const r=an(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty(sn)?e[sn]:Object.defineProperty(e,sn,{value:[]})[sn];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function cn(e,t,n,r){return D(()=>{const s=an(t);function i(...e){if(this instanceof i)return s.apply(this,e),this;const t=new i(...e);return function(n,s){const i=n.constructor,o=i.hasOwnProperty(on)?i[on]:Object.defineProperty(i,on,{value:{}})[on];o[s]=o.hasOwnProperty(s)&&o[s]||[],o[s].unshift(t),r&&r(n,s,...e)}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const un=function(){return ln("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>rn(e)}))}();class hn{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=_({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const dn=new hn("AnalyzeForEntryComponents");class pn{}const fn=cn("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),pn),gn=cn("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),pn),mn=cn("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),pn),yn=Function;function vn(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),vn(r,t)):t!==e&&t.push(r)}return t}function bn(e,t){e.forEach(e=>Array.isArray(e)?bn(e,t):t(e))}function _n(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function wn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Cn(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Sn(e,t,n){let r=kn(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function En(e,t){const n=kn(e,t);if(n>=0)return e[1|n]}function kn(e,t){return function(e,t,n){let r=0,s=e.length>>1;for(;s!==r;){const n=r+(s-r>>1),i=e[n<<1];if(t===i)return n<<1;i>t?s=n:r=n+1}return~(s<<1)}(e,t)}const xn={},Tn=/\n/gm,On="__source",An=l({provide:String,useValue:l});let In;function $n(e){const t=In;return In=e,t}function Pn(e,t=A.Default){if(void 0===In)throw new Error("inject() must be called from an injection context");return null===In?P(e,void 0,t):In.get(e,t&A.Optional?null:void 0,t)}function Dn(e,t=A.Default){return(I||Pn)(f(e),t)}const Ln=Dn;function Rn(e){const t=[];for(let n=0;n<e.length;n++){const r=f(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e,n=A.Default;for(let t=0;t<r.length;t++){const s=r[t],i=s.__NG_DI_FLAG__;"number"==typeof i?-1===i?e=s.token:n|=i:e=s}t.push(Dn(e,n))}else t.push(Dn(r))}return t}function Nn(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}const Mn=Nn(ln("Inject",e=>({token:e})),-1),Fn=Nn(ln("Optional"),8),Bn=Nn(ln("Self"),2),jn=Nn(ln("SkipSelf"),4);let zn,Vn;function Un(e){var t;return(null===(t=function(){if(void 0===zn&&(zn=null,j.trustedTypes))try{zn=j.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return zn}())||void 0===t?void 0:t.createHTML(e))||e}function qn(){if(void 0===Vn&&(Vn=null,j.trustedTypes))try{Vn=j.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Vn}function Hn(e){var t;return(null===(t=qn())||void 0===t?void 0:t.createHTML(e))||e}function Yn(e){var t;return(null===(t=qn())||void 0===t?void 0:t.createScriptURL(e))||e}class Gn{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}
vendor: 2,940 bytes, line 1
1class Wn extends Gn{getTypeName(){return"HTML"}}class Xn extends Gn{getTypeName(){return"Style"}}class Kn extends Gn{getTypeName(){return"Script"}}class Zn extends Gn{getTypeName(){return"URL"}}class Qn extends Gn{getTypeName(){return"ResourceURL"}}function Jn(e){return e instanceof Gn?e.changingThisBreaksApplicationSecurity:e}function er(e,t){const n=tr(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function tr(e){return e instanceof Gn&&e.getTypeName()||null}function nr(e){return new Wn(e)}function rr(e){return new Xn(e)}function sr(e){return new Kn(e)}function ir(e){return new Zn(e)}function or(e){return new Qn(e)}class ar{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(Un(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class lr{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Un(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=Un(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const cr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,ur=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function hr(e){return(e=String(e)).match(cr)||e.match(ur)?e:"unsafe:"+e}function dr(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function pr(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const fr=dr("area,br,col,hr,img,wbr"),gr=dr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mr=dr("rp,rt"),yr=pr(mr,gr),vr=pr(fr,pr(gr,dr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),pr(mr,dr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),yr),br=dr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),_r
1=dr("srcset"),wr=pr(br,_r,dr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),dr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Cr=dr("script,style,template");class Sr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!vr.hasOwnProperty(t))return this.sanitizedSomething=!0,!Cr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let s=0;s<n.length;s++){const e=n.item(s),t=e.name,i=t.toLowerCase();if(!wr.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let o=e.value;br[i]&&(o=hr(o)),_r[i]&&(r=o,o=(r=String(r)).split(",").map(e=>hr(e.trim())).join(", ")),this.buf.push(" ",t,'="',xr(o),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();vr.hasOwnProperty(t)&&!fr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(xr(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const Er=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kr=/([^\#-~ |!])/g;function xr(e){return e.replace(/&/g,"&amp;").replace(Er,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(kr,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Tr;function Or(e,t){let n=null;try{Tr=Tr||function(e){const t=new lr(e);return function(){try{return!!(new window.DOMParser).parseFromString(Un(""),"text/html")}catch(e){return!1}}()?new ar(t):t}(e);let r=t?String(t):"";n=Tr.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=Tr.getInertBodyElement(r)}while(r!==i);return Un((new Sr).sanitizeChildren(Ar(n)||n))}finally{if(n){const e=Ar(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function Ar(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ir=(()=>((Ir=Ir||{})[Ir.NONE=0]="NONE",Ir[Ir.HTML=1]="HTML",Ir[Ir.STYLE=2]="STYLE",Ir[Ir.SCRIPT=3]="SCRIPT",Ir[Ir.URL=4]="URL",Ir[Ir.RESOURCE_URL=5]="RESOURCE_URL",Ir))();function $r(e){const t=Lr();return t?Hn(t.sanitize(Ir.HTML,e)||""):er(e,"HTML")?Hn(Jn(e)):Or(xe(),y(e))}function Pr(e){const t=Lr();return t?t.sanitize(Ir.URL,e)||"":er(e,"URL")?Jn(e):hr(y(e))}function Dr(e){const t=Lr();if(t)return Yn(t.sanitize(Ir.RESOURCE_URL,e)||"");if(er(e,"ResourceURL"))return Yn(Jn(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Lr(){const e=Ve();return e&&e[12]}function Rr(e,t){e.__ngContext__=t}function Nr(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Mr(e){return e.ngOriginalError}function Fr(e,...t){e.error(...t)}class Br{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e&&e.ngErrorLogger||Fr}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?function(e){return e.ngDebugContext}(e)||this._findContext(Mr(e)):null}_findOriginalError(e){let t=e&&Mr(e);for(;t&&Mr(t);)t=Mr(t);return t||null}}const jr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(j))();function zr(e){return e.ownerDocument.defaultView}function Vr(e){return e.ownerDocument}function Ur(e){return e instanceof Function?e():e}var qr=(()=>((qr=qr||{})[qr.Important=1]="Important",qr[qr.DashCase=2]="DashCase",qr))();function Hr(e,t){return(void 0)(e,t)}function Yr(e){const t=e[3];return he(t)?t[3]:t}function Gr(e){return Xr(e[13])}function Wr(e){return Xr(e[4])}function Xr(e){for(;null!==e&&!he(e);)e=e[4];return e}
vendor: 13,617 bytes, line 1
1function Kr(e,t,n,r,s){if(null!=r){let i,o=!1;he(r)?i=r:ue(r)&&(o=!0,r=r[0]);const a=Ae(r);0===e&&null!==n?null==s?ss(t,n,a):rs(t,n,a,s||null,!0):1===e&&null!==n?rs(t,n,a,s||null,!0):2===e?function(e,t,n){const r=os(e,t);r&&function(e,t,n,r){Te(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,o):3===e&&t.destroyNode(a),null!=i&&function(e,t,n,r,s){const i=n[7];i!==Ae(n)&&Kr(t,e,r,i,s);for(let o=ce;o<n.length;o++){const s=n[o];fs(s[1],s,e,t,r,i)}}(t,e,i,n,s)}}function Zr(e,t,n){return Te(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Qr(e,t){const n=e[9],r=n.indexOf(t),s=t[3];1024&t[2]&&(t[2]&=-1025,Be(s,-1)),n.splice(r,1)}function Jr(e,t){if(e.length<=ce)return;const n=ce+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Qr(i,r),t>0&&(e[n-1][4]=r[4]);const o=wn(e,ce+t);fs(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function es(e,t){if(!(256&t[2])){const n=t[11];Te(n)&&n.destroyNode&&fs(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return ts(e[1],e);for(;t;){let n=null;if(ue(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)ue(t)&&ts(t[1],t),t=t[3];null===t&&(t=e),ue(t)&&ts(t[1],t),n=t&&t[4]}t=n}}(t)}}function ts(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof Tt)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2){const r=e[t[n]],s=t[n+1];try{s.call(r)}finally{}}else try{t.call(e)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let s=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const e=n[i+1],o="function"==typeof e?e(t):Ae(t[e]),a=r[s=n[i+2]],l=n[i+3];"boolean"==typeof l?o.removeEventListener(n[i],a,l):l>=0?r[s=l]():r[s=-l].unsubscribe(),i+=2}else{const e=r[s=n[i+1]];n[i].call(e)}if(null!==r){for(let e=s+1;e<r.length;e++)(0,r[e])();t[7]=null}}(e,t),1===t[1].type&&Te(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&he(t[3])){n!==t[3]&&Qr(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function ns(e,t,n){return function(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const t=e.data[r.directiveStart].encapsulation;if(t===R.None||t===R.Emulated)return null}return $e(r,n)}(e,t.parent,n)}function rs(e,t,n,r,s){Te(e)?e.insertBefore(t,n,r,s):t.insertBefore(n,r,s)}function ss(e,t,n){Te(e)?e.appendChild(t,n):t.appendChild(n)}function is(e,t,n,r,s){null!==r?rs(e,t,n,r,s):ss(e,t,n)}function os(e,t){return Te(e)?e.parentNode(t):t.parentNode}function as(e,t,n){return ls(e,t,n)}let ls=function(e,t,n){return 40&e.type?$e(e,n):null};function cs(e,t,n,r){const s=ns(e,r,t),i=t[11],o=as(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let a=0;a<n.length;a++)is(i,s,n[a],o,!1);else is(i,s,n,o,!1)}function us(e,t){if(null!==t){const n=t.type;if(3&n)return $e(t,e);if(4&n)return ds(-1,e[t.index]);if(8&n){const n=t.child;if(null!==n)return us(e,n);{const n=e[t.index];return he(n)?ds(-1,n):Ae(n)}}if(32&n)return Hr(t,e)()||Ae(e[t.index]);{const n=hs(e,t);return null!==n?Array.isArray(n)?n[0]:us(Yr(e[16]),n):us(e,t.next)}}return null}function hs(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ds(e,t){const n=ce+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return us(e,r)}return t[7]}function ps(e,t,n,r,s,i,o){for(;null!=n;){const a=r[n.index],l=n.type;if(o&&0===t&&(a&&Rr(Ae(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)ps(e,t,n.child,r,s,i,!1),Kr(t,e,s,a,i);else if(32&l){const o=Hr(n,r);let l;for(;l=o();)Kr(t,e,s,l,i);Kr(t,e,s,a,i)}else 16&l?gs(e,t,r,n,s,i):Kr(t,e,s,a,i);n=o?n.projectionNext:n.next}}function fs(e,t,n,r,s,i){ps(n,r,e.firstChild,t,s,i,!1)}function gs(e,t,n,r,s,i){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Kr(t,e,s,a[l],i);else ps(e,t,a,o[3],s,i,!0)}function ms(e,t,n){Te(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function ys(e,t,n){Te(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function vs(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const n=t.length;if(s+n===r||e.charCodeAt(s+n)<=32)return s}n=s+1}}const bs="ng-template";function _s(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==vs(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function ws(e){return 4===e.type&&e.value!==bs}function Cs(e,t,n){return t===(4!==e.type||n?e.value:bs)}function Ss(e,t,n){let r=4;const s=e.attrs||[],i=function(e){for(let t=0;t<e.length;t++)if(At(e[t]))return t;return e.length}(s);let o=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!Cs(e,l,n)||""===l&&1===t.length){if(Es(r))return!1;o=!0}}else{const c=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!_s(e.attrs,c,n)){if(Es(r))return!1;o=!0}continue}const u=ks(8&r?"class":l,s,ws(e),n);if(-1===u){if(Es(r))return!1;o=!0;continue}if(""!==c){let e;e=u>i?"":s[u+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==vs(t,c,0)||2&r&&c!==e){if(Es(r))return!1;o=!0}}}}else{if(!o&&!Es(r)&&!Es(l))return!1;if(o&&Es(l))continue;o=!1,r=l|1&r}}return Es(r)||o}function Es(e){return 0==(1&e)}function ks(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let n=!1;for(;s<t.length;){const r=t[s];if(r===e)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++s];for(;"string"==typeof e;)e=t[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function xs(e,t,n=!1){for(let r=0;r<t.length;r++)if(Ss(e,t[r],n))return!0;return!1}function Ts(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])continue e;return!0}}return!1}function Os(e,t){return e?":not("+t.trim()+")":t}function As(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const t=e[++n];s+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||Es(o)||(t+=Os(i,s),s=""),r=o,i=i||!Es(r);n++}return""!==s&&(t+=Os(i,s)),t}const Is={};function $s(e){Ps(Ue(),Ve(),gt()+e,Ke())}function Ps(e,t,n,r){if(!r)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&wt(t,r,n)}else{const r=e.preOrderHooks;null!==r&&Ct(t,r,0,n)}mt(n)}function Ds(e,t){return e<<17|t<<2}function Ls(e){return e>>17&32767}function Rs(e){return 2|e}function Ns(e){return(131068&e)>>2}function Ms(e,t){return-131069&e|t<<2}function Fs(e){return 1|e}function Bs(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const n=e.data[i];ot(s),n.contentQueries(2,t[i],i)}}}function js(e,t,n,r,s,i,o,a,l,c){const u=t.blueprint.slice();return u[0]=s,u[2]=140|r,Fe(u),u[3]=u[15]=e,u[8]=n,u[10]=o||e&&e[10],u[11]=a||e&&e[11],u[12]=l||e&&e[12]||null,u[9]=c||e&&e[9]||null,u[6]=i,u[16]=2==t.type?e[16]:u,u}function zs(e,t,n,r,s){let i=e.data[t];if(null===i)i=function(e,t,n,r,s){const i=Ye(),o=We(),a=e.data[t]=function(e,t,n,r,s,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=a),null!==i&&(o?null==i.child&&null!==a.parent&&(i.child=a):null===i.next&&(i.next=a)),a}(e,t,n,r,s),je.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const e=function(){const e=je.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===e?-1:e.injectorIndex}return Ge(i,!0),i}function Vs(e,t,n,r){if(0===n)return-1;const s=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function Us(e,t,n){ct(t);try{const r=e.viewQuery;null!==r&&_i(1,r,n);const s=e.template;null!==s&&Ys(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Bs(e,t),e.staticViewQueries&&_i(2,e.viewQuery,n);const i=e.components;null!==i&&function(e,t){for(let n=0;n<t.length;n++)gi(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,ft()}}function qs(e,t,n,r){const s=t[2];if(256==(256&s))return;ct(t);const i=Ke();try{Fe(t),je.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Ys(e,t,n,2,r);const o=3==(3&s);if(!i)if(o){const n=e.preOrderCheckHooks;null!==n&&wt(t,n,null)}else{const n=e.preOrderHooks;null!==n&&Ct(t,n,0,null),St(t,0)}if(function(e){for(let t=Gr(e);null!==t;t=Wr(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&Be(r,1),n[2]|=1024}}}(t),function(e){for(let t=Gr(e);null!==t;t=Wr(t))for(let e=ce;e<t.length;e++){const n=t[e],r=n[1];Ne(n)&&qs(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&Bs(e,t),!i)if(o){const n=e.contentCheckHooks;null!==n&&wt(t,n)}else{const n=e.contentHooks;null!==n&&Ct(t,n,1),St(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const r=n[e];if(r<0)mt(~r);else{const s=r,i=n[++e],o=n[++e];nt(i,s),o(2,t[s])}}}finally{mt(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)pi(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&_i(2,l,r),!i)if(o){const n=e.viewCheckHooks;null!==n&&wt(t,n)}else{const n=e.viewHooks;null!==n&&Ct(t,n,2),St(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Be(t[3],-1))}finally{ft()}}function Hs(e,t,n,r){const s=t[10],i=!Ke(),o=Re(t);try{i&&!o&&s.begin&&s.begin(),o&&Us(e,t,r),qs(e,t,n,r)}finally{i&&!o&&s.end&&s.end()}}function Ys(e,t,n,r,s){const i=gt(),o=2&r;try{mt(-1),o&&t.length>le&&Ps(e,t,le,Ke()),n(r,s)}finally{mt(i)}}function Gs(e,t,n){if(de(t)){const r=t.directiveEnd;for(let s=t.directiveStart;s<r;s++){const t=e.data[s];t.contentQueries&&t.contentQueries(1,n[s],s)}}}function Ws(e,t,n){ze()&&(function(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Bt(n,t),Rr(r,t);const o=n.initialInputs;for(let a=s;a<i;a++){const r=e.data[a],i=ge(r);i&&li(t,n,r);const l=Zt(t,e,a,n);Rr(l,t),null!==o&&ui(0,a-s,l,r,0,o),i&&(Le(n.index,t)[8]=l)}}(e,t,n,$e(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,s=n.directiveEnd,i=n.index,o=je.lFrame.currentDirectiveIndex;try{mt(i);for(let n=r;n<s;n++){const r=e.data[n],s=t[n];rt(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||ri(r,s)}}finally{mt(-1),rt(o)}}(e,t,n))}function Xs(e,t,n=$e){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],a=-1===o?n(t,e):e[o];e[s++]=a}}}function Ks(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Zs(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Zs(e,t,n,r,s,i,o,a,l,c){const u=le+r,h=u+s,d=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Is);return n}(u,h),p="function"==typeof c?c():c;return d[1]={type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function Qs(e,t,n,r){const s=Ci(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&Si(e).push(r,s.length-1))}function Js(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function ei(e,t,n,r,s,i,o,a){const l=$e(t,n);let c,u=t.inputs;var h;!a&&null!=u&&(c=u[r])?(xi(e,n,c,r,s),pe(t)&&function(e,t){const n=Le(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,s=null!=o?o(s,t.value||"",r):s,Te(i)?i.setProperty(l,r,s):It(r)||(l.setProperty?l.setProperty(r,s):l[r]=s))}function ti(e,t,n,r){let s=!1;if(ze()){const i=function(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];xs(n,o.selectors,!1)&&(s||(s=[]),Ut(Bt(n,t),e,o.type),ge(o)?(si(e,n),s.unshift(o)):s.push(o))}return s}(e,t,n),o=null===r?null:{"":-1};if(null!==i){s=!0,oi(n,e.data.length,i.length);for(let e=0;e<i.length;e++){const t=i[e];t.providersResolver&&t.providersResolver(t)}let r=!1,a=!1,l=Vs(e,t,i.length,null);for(let s=0;s<i.length;s++){const c=i[s];n.mergedAttrs=$t(n.mergedAttrs,c.hostAttrs),ai(e,n,t,l,c),ii(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!r&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),r=!0),a||!u.ngOnChanges&&!u.ngDoC
vendor: 4,913 bytes, line 1
1heck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(e,t){const n=t.directiveEnd,r=e.data,s=t.attrs,i=[];let o=null,a=null;for(let l=t.directiveStart;l<n;l++){const e=r[l],n=e.inputs,c=null===s||ws(t)?null:hi(n,s);i.push(c),o=Js(n,l,o),a=Js(e.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(t.flags|=16),o.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=i,t.inputs=o,t.outputs=a}(e,n)}o&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const s=n[t[e+1]];if(null==s)throw new m("301",`Export of name '${t[e+1]}' not found!`);r.push(t[e],s)}}}(n,r,o)}return n.mergedAttrs=$t(n.mergedAttrs,n.attrs),s}function ni(e,t,n,r,s,i){const o=i.hostBindings;if(o){let n=e.hostBindingOpCodes;null===n&&(n=e.hostBindingOpCodes=[]);const i=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(r,s,o)}}function ri(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function si(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function ii(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ge(t)&&(n[""]=e)}}function oi(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ai(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=me(s.type)),o=new Tt(i,ge(s),null);e.blueprint[r]=o,n[r]=o,ni(e,t,0,r,Vs(e,n,s.hostVars,Is),s)}function li(e,t,n){const r=$e(t,e),s=Ks(n),i=e[10],o=mi(e,js(e,s,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=o}function ci(e,t,n,r,s,i){const o=$e(e,t);!function(e,t,n,r,s,i,o){if(null==i)Te(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{const a=null==o?y(i):o(i,r||"",s);Te(e)?e.setAttribute(t,s,a,n):n?t.setAttributeNS(n,s,a):t.setAttribute(s,a)}}(t[11],o,i,e.value,n,r,s)}function ui(e,t,n,r,s,i){const o=i[t];if(null!==o){const e=r.setInput;for(let t=0;t<o.length;){const s=o[t++],i=o[t++],a=o[t++];null!==e?r.setInput(n,a,s,i):n[i]=a}}}function hi(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function di(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function pi(e,t){const n=Le(t,e);if(Ne(n)){const e=n[1];80&n[2]?qs(e,n,e.template,n[8]):n[5]>0&&fi(n)}}function fi(e){for(let n=Gr(e);null!==n;n=Wr(n))for(let e=ce;e<n.length;e++){const t=n[e];if(1024&t[2]){const e=t[1];qs(e,t,e.template,t[8])}else t[5]>0&&fi(t)}const t=e[1].components;if(null!==t)for(let n=0;n<t.length;n++){const r=Le(t[n],e);Ne(r)&&r[5]>0&&fi(r)}}function gi(e,t){const n=Le(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),Us(r,n,n[8])}function mi(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function yi(e){for(;e;){e[2]|=64;const t=Yr(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function vi(e,t,n){const r=t[10];r.begin&&r.begin();try{qs(e,t,e.template,n)}catch(s){throw ki(t,s),s}finally{r.end&&r.end()}}function bi(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Nr(n),s=r[1];Hs(s,r,s.template,n)}}(e[8])}function _i(e,t,n){ot(0),t(e,n)}const wi=(()=>Promise.resolve(null))();function Ci(e){return e[7]||(e[7]=[])}function Si(e){return e.cleanup||(e.cleanup=[])}function Ei(e,t,n){return(null===e||ge(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function ki(e,t){const n=e[9],r=n?n.get(Br,null):null;r&&r.handleError(t)}function xi(e,t,n,r,s){for(let i=0;i<n.length;){const o=n[i++],a=n[i++],l=t[o],c=e.data[o];null!==c.setInput?c.setInput(l,s,r,a):l[a]=s}}function Ti(e,t,n){const r=Ie(t,e);!function(e,t,n){Te(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function Oi(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let o=0;o<t.length;o++){const e=t[o];"number"==typeof e?i=e:1==i?s=h(s,e):2==i&&(r=h(r,e+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}const Ai=new hn("INJECTOR",-1);class Ii{get(e,t=xn){if(t===xn){const t=new Error(`NullInjectorError: No provider for ${u(e)}!`);throw t.name="NullInjectorError",t}return t}}const $i=new hn("Set Injector scope."),Pi={},Di={};let Li;function Ri(){return void 0===Li&&(Li=new Ii),Li}function Ni(e,t=null,n=null,r){return new Mi(e,n,t||Ri(),r)}class Mi{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&bn(t,n=>this.processProvider(n,e,t)),bn([e],e=>this.processInjectorType(e,[],s)),this.records.set(Ai,ji(void 0,this));const i=this.records.get($i);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof e?null:u(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;
vendor: 4,780 bytes, line 1
1try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=xn,n=A.Default){this.assertNotDestroyed();const r=$n(this),s=$(void 0);try{if(!(n&A.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof hn)&&C(e);t=n&&this.injectableDefInScope(n)?ji(Fi(e),Pi):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&A.Self?Ri():this.parent).get(e,t=n&A.Optional&&t===xn?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(u(e)),r)throw o;return function(e,t,n,r){const s=e.ngTempTokenPath;throw t[On]&&s.unshift(t[On]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=u(t);if(Array.isArray(t))s=t.map(u).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):u(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Tn,"\n  ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{$(s),$n(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(u(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=f(e)))return!1;let r=E(e);const s=null==r&&e.ngModule||void 0,i=void 0===s?e:s,o=-1!==n.indexOf(i);if(void 0!==s&&(r=E(s)),null==r)return!1;if(null!=r.imports&&!o){let e;n.push(i);try{bn(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];bn(r,e=>this.processProvider(e,n,r||V))}}this.injectorDefTypes.add(i);const a=me(i)||(()=>new i);this.records.set(i,ji(a,Pi));const l=r.providers;if(null!=l&&!o){const t=e;bn(l,e=>this.processProvider(e,t,l))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,n){let r=Vi(e=f(e))?e:f(e&&e.provide);const s=function(e,t,n){return zi(e)?ji(void 0,e.useValue):ji(Bi(e),Pi)}(e);if(Vi(e)||!0!==e.multi)this.records.get(r);else{let t=this.records.get(r);t||(t=ji(void 0,Pi,!0),t.factory=()=>Rn(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,s)}hydrate(e,t){var n;return t.value===Pi&&(t.value=Di,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=f(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}function Fi(e){const t=C(e),n=null!==t?t.factory:me(e);if(null!==n)return n;if(e instanceof hn)throw new Error(`Token ${u(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=Cn(t,"?");throw new Error(`Can't resolve all parameters for ${u(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[k]||e[T]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Bi(e,t,n){let r;if(Vi(e)){const t=f(e);return me(t)||Fi(t)}if(zi(e))r=()=>f(e.useValue);else if((s=e)&&s.useFactory)r=()=>e.useFactory(...Rn(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Dn(f(e.useExisting));else{const t=f(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return me(t)||Fi(t);r=()=>new t(...Rn(e.deps))}var s;return r}function ji(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function zi(e){return null!==e&&"object"==typeof e&&An in e}function Vi(e){return"function"==typeof e}const Ui=function(e,t,n){return function(e,t=null,n=null,r){const s=Ni(e,t,n,r);return s._resolveInjectorDefTypes(),s}({name:n},t,e,n)};class qi{static create(e,t){return Array.isArray(e)?Ui(e,t,""):Ui(e.providers,e.parent,e.name||"")}}function Hi(e,t){_t(Nr(e)[1],He())}function Yi(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const r=[e];for(;t;){let s;if(ge(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");s=t.\u0275dir}if(s){if(n){r.push(s);const t=e;
vendor: 4,153 bytes, line 1
1t.inputs=Gi(e.inputs),t.declaredInputs=Gi(e.declaredInputs),t.outputs=Gi(e.outputs);const n=s.hostBindings;n&&Ki(e,n);const i=s.viewQuery,o=s.contentQueries;if(i&&Wi(e,i),o&&Xi(e,o),c(e.inputs,s.inputs),c(e.declaredInputs,s.declaredInputs),c(e.outputs,s.outputs),ge(s)&&s.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(s.data.animation)}}const t=s.features;if(t)for(let r=0;r<t.length;r++){const s=t[r];s&&s.ngInherit&&s(e),s===Yi&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=$t(s.hostAttrs,n=$t(n,s.hostAttrs))}}(r)}function Gi(e){return e===z?{}:e===V?[]:e}function Wi(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function Xi(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,s)=>{t(e,r,s),n(e,r,s)}:t}function Ki(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}qi.THROW_IF_NOT_FOUND=xn,qi.NULL=new Ii,qi.\u0275prov=_({token:qi,providedIn:"any",factory:()=>Dn(Ai)}),qi.__NG_ELEMENT_ID__=-1;let Zi=null;function Qi(){if(!Zi){const e=j.Symbol;if(e&&e.iterator)Zi=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Zi=n)}}}return Zi}class Ji{constructor(e){this.wrapped=e}static wrap(e){return new Ji(e)}static unwrap(e){return Ji.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Ji}}function eo(e){return!!to(e)&&(Array.isArray(e)||!(e instanceof Map)&&Qi()in e)}function to(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function no(e,t,n){return e[t]=n}function ro(e,t){return e[t]}function so(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function io(e,t,n,r){const s=so(e,t,n);return so(e,t+1,r)||s}function oo(e,t,n,r,s){const i=io(e,t,n,r);return so(e,t+2,s)||i}function ao(e,t,n,r,s,i){const o=io(e,t,n,r);return io(e,t+2,s,i)||o}function lo(e,t,n,r){const s=Ve();return so(s,et(),t)&&(Ue(),ci(yt(),s,e,t,n,r)),lo}function co(e,t,n,r){return so(e,et(),n)?t+y(n)+r:Is}function uo(e,t,n,r,s,i){const o=Ve(),a=co(o,t,n,r);return a!==Is&&ci(yt(),o,e,a,s,i),uo}function ho(e,t,n,r,s,i,o,a){const l=Ve(),c=Ue(),u=e+le,h=c.firstCreatePass?function(e,t,n,r,s,i,o,a,l){const c=t.consts,u=zs(t,e,4,o||null,Me(c,a));ti(t,n,u,Me(c,l)),_t(t,u);const h=u.tViews=Zs(2,u,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,u),h.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,s,i,o):c.data[u];Ge(h,!1);const d=l[11].createComment("");cs(c,l,d,h),Rr(d,l),mi(l,l[u]=di(d,l,d,h)),fe(h)&&Ws(c,l,h),null!=o&&Xs(l,h,a)}function po(e){return De(je.lFrame.contextLView,le+e)}function fo(e,t=A.Default){const n=Ve();return null===n?Dn(e,t):Yt(He(),n,f(e),t)}function go(){throw new Error("invalid")}function mo(e,t,n){const r=Ve();return so(r,et(),t)&&ei(Ue(),yt(),r,e,t,r[11],n,!1),mo}function yo(e,t,n,r,s){const i=s?"class":"style";xi(e,n,t.inputs[i],i,r)}function vo(e,t,n,r){const s=Ve(),i=Ue(),o=le+e,a=s[11],l=s[o]=Zr(a,t,je.lFrame.currentNamespace),c=i.firstCreatePass?function(e,t,n,r,s,i,o){const a=t.consts,l=zs(t,e,2,s,Me(a,i));return ti(t,n,l,Me(a,o)),null!==l.attrs&&Oi(l,l.attrs,!1),null!==l.mergedAttrs&&Oi(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(o,i,s,0,t,n,r):i.data[o];Ge(c,!0);const u=c.mergedAttrs;null!==u&&Ot(a,l,u);const h=c.classes;null!==h&&ys(a,l,h);const d=c.styles;null!==d&&ms(a,l,d),64!=(64&c.flags)&&cs(i,s,l,c),0===je.lFrame.elementDepthCount&&Rr(l,s),je.lFrame.elementDepthCount++,fe(c)&&(Ws(i,s,c),Gs(i,c,s)),null!==r&&Xs(s,c)}function bo(){let e=He();We()?Xe():(e=e.parent,Ge(e,!1));const t=e;je.lFrame.elementDepthCount--;const n=Ue();n.firstCreatePass&&(_t(n,e),de(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&yo(n,t,Ve(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&yo(n,t,Ve(),t.stylesWithoutHost,!1)}function _o(e,t,n,r){vo(e,t,n,r),bo()}function wo(e,t,n){const r=Ve(),s=Ue(),i=e+le,o=s.firstCreatePass?function(e,t,n,r,s
1){const i=t.consts,o=Me(i,r),a=zs(t,e,8,"ng-container",o);return null!==o&&Oi(a,o,!0),ti(t,n,a,Me(i,s)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,s,r,t,n):s.data[i];Ge(o,!0);const a=r[i]=r[11].createComment("");cs(s,r,a,o),Rr(a,r),fe(o)&&(Ws(s,r,o),Gs(s,o,r)),null!=n&&Xs(r,o)}function Co(){let e=He();const t=Ue();We()?Xe():(e=e.parent,Ge(e,!1)),t.firstCreatePass&&(_t(t,e),de(e)&&t.queries.elementEnd(e))}function So(e,t,n){wo(e,t,n),Co()}function Eo(){return Ve()}function ko(e){return!!e&&"function"==typeof e.then}function xo(e){return!!e&&"function"==typeof e.subscribe}const To=xo;function Oo(e,t,n,r){const s=Ve(),i=Ue(),o=He();return Io(i,s,s[11],o,e,t,!!n,r),Oo}function Ao(e,t){const n=He(),r=Ve(),s=Ue();return Io(s,r,Ei(st(s.data),n,r),n,e,t,!1),Ao}function Io(e,t,n,r,s,i,o,a){const l=fe(r),c=e.firstCreatePass&&Si(e),u=Ci(t);let h=!0;if(3&r.type||a){const d=$e(r,t),p=a?a(d):d,f=u.length,g=a?e=>a(Ae(e[r.index])):r.index;if(Te(n)){let o=null;if(!a&&l&&(o=function(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const e=s[i];if(e===n&&s[i+1]===r){const e=t[7],n=s[i+2];return e.length>n?e[n]:null}"string"==typeof e&&(i+=2)}return null}(e,t,s,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=Po(r,t,0,i,!1);const e=n.listen(p,s,i);u.push(i,e),c&&c.push(s,g,f,f+1)}}else i=Po(r,t,0,i,!0),p.addEventListener(s,i,o),u.push(i),c&&c.push(s,g,f,o)}else i=Po(r,t,0,i,!1);const d=r.outputs;let p;if(h&&null!==d&&(p=d[s])){const e=p.length;if(e)for(let n=0;n<e;n+=2){const e=t[p[n]][p[n+1]].subscribe(i),o=u.length;u.push(i,e),c&&c.push(s,r.index,o,-(o+1))}}}function $o(e,t,n,r){try{return!1!==n(r)}catch(s){return ki(e,s),!1}}function Po(e,t,n,r,s){return function n(i){if(i===Function)return r;const o=2&e.flags?Le(e.index,t):t;0==(32&t[2])&&yi(o);let a=$o(t,0,r,i),l=n.__ngNextListenerFn__;for(;l;)a=$o(t,0,l,i)&&a,l=l.__ngNextListenerFn__;return s&&!1===a&&(i.preventDefault(),i.returnValue=!1),a}}function Do(e=1){return function(e){return(je.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,je.lFrame.contextLView))[8]}(e)}function Lo(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let s=0;s<t.length;s++){const i=t[s];if("*"!==i){if(null===r?xs(e,i,!0):Ts(r,i))return s}else n=s}return n}function Ro(e){const t=Ve()[16][6];if(!t.projection){const n=t.projection=Cn(e?e.length:1,null),r=n.slice();let s=t.child;for(;null!==s;){const t=e?Lo(s,e):0;null!==t&&(r[t]?r[t].projectionNext=s:n[t]=s,r[t]=s),s=s.next}}}function No(e,t=0,n){const r=Ve(),s=Ue(),i=zs(s,le+e,16,null,n||null);null===i.projection&&(i.projection=t),Xe(),64!=(64&i.flags)&&function(e,t,n){gs(t[11],0,t,n,ns(e,n,t),as(n.parent||t[6],n,t))}(s,r,i)}function Mo(e,t,n,r,s){const i=e[n+1],o=null===t;let a=r?Ls(i):Ns(i),l=!1;for(;0!==a&&(!1===l||o);){const n=e[a+1];Fo(e[a],t)&&(l=!0,e[a+1]=r?Fs(n):Rs(n)),a=r?Ls(n):Ns(n)}l&&(e[n+1]=r?Rs(i):Fs(i))}function Fo(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&kn(e,t)>=0}const Bo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jo(e){return e.substring(Bo.key,Bo.keyEnd)}function zo(e,t){const n=Bo.textEnd;return n===t?-1:(t=Bo.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Bo.key=t,n),Vo(e,t,n))}function Vo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Uo(e,t,n){return Go(e,t,n,!1),Uo}function qo(e,t){return Go(e,t,null,!0),qo}function Ho(e){Wo(Sn,Yo,e,!0)}function Yo(e,t){for(let n=function(e){return function(e){Bo.key=0,Bo.keyEnd=0,Bo.value=0,Bo.valueEnd=0,Bo.textEnd=e.length}(e),zo(e,Vo(e,0,Bo.textEnd))}(t);n>=0;n=zo(t,n))Sn(e,jo(t),!0)}function Go(e,t,n,r){const s=Ve(),i=Ue(),o=tt(2);i.firstUpdatePass&&Ko(i,e,o,r),t!==Is&&so(s,o,t)&&Jo(i,i.data[gt()],s,s[11],e,s[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=u(Jn(e)))),e}(t,n),r,o)}function Wo(e,t,n,r){const s=Ue(),i=tt(2);s.firstUpdatePass&&Ko(s,null,i,r);const o=Ve();
vendor: 4,171 bytes, line 1
1if(n!==Is&&so(o,i,n)){const a=s.data[gt()];if(na(a,r)&&!Xo(s,i)){let e=r?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=h(e,n||"")),yo(s,a,o,n,r)}else!function(e,t,n,r,s,i,o,a){s===Is&&(s=V);let l=0,c=0,u=0<s.length?s[0]:null,h=0<i.length?i[0]:null;for(;null!==u||null!==h;){const d=l<s.length?s[l+1]:void 0,p=c<i.length?i[c+1]:void 0;let f,g=null;u===h?(l+=2,c+=2,d!==p&&(g=h,f=p)):null===h||null!==u&&u<h?(l+=2,g=u):(c+=2,g=h,f=p),null!==g&&Jo(e,t,n,r,g,f,o,a),u=l<s.length?s[l]:null,h=c<i.length?i[c]:null}}(s,a,o,o[11],o[i+1],o[i+1]=function(e,t,n){if(null==n||""===n)return V;const r=[],s=Jn(n);if(Array.isArray(s))for(let i=0;i<s.length;i++)e(r,s[i],!0);else if("object"==typeof s)for(const i in s)s.hasOwnProperty(i)&&e(r,i,s[i]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,i)}}function Xo(e,t){return t>=e.expandoStartIndex}function Ko(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[gt()],o=Xo(e,n);na(i,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){const s=st(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=Qo(n=Zo(null,e,t,n,r),t.attrs,r),i=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==s)if(n=Zo(s,e,t,n,r),null===i){let n=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Ns(r))return e[Ls(r)]}(e,t,r);void 0!==n&&Array.isArray(n)&&(n=Zo(null,e,t,n[1],r),n=Qo(n,t.attrs,r),function(e,t,n,r){e[Ls(n?t.classBindings:t.styleBindings)]=r}(e,t,r,n))}else i=function(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=Qo(r,e[i].hostAttrs,n);return Qo(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function(e,t,n,r,s,i){let o=i?t.classBindings:t.styleBindings,a=Ls(o),l=Ns(o);e[r]=n;let c,u=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||kn(e,c)>0)&&(u=!0)}else c=n;if(s)if(0!==l){const t=Ls(e[a+1]);e[r+1]=Ds(t,a),0!==t&&(e[t+1]=Ms(e[t+1],r)),e[a+1]=131071&e[a+1]|r<<17}else e[r+1]=Ds(a,0),0!==a&&(e[a+1]=Ms(e[a+1],r)),a=r;else e[r+1]=Ds(l,0),0===a?a=r:e[l+1]=Ms(e[l+1],r),l=r;u&&(e[r+1]=Rs(e[r+1])),Mo(e,c,r,!0),Mo(e,c,r,!1),function(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&kn(i,t)>=0&&(n[r+1]=Fs(n[r+1]))}(t,c,e,r,i),o=Ds(a,l),i?t.classBindings=o:t.styleBindings=o}(s,i,t,n,o,r)}}function Zo(e,t,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(i=t[a],r=Qo(r,i.hostAttrs,s),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Qo(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?s=o:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Sn(e,o,!!n||t[++i]))}return void 0===e?null:e}function Jo(e,t,n,r,s,i,o,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];ta(1==(1&c)?ea(l,t,n,s,Ns(c),o):void 0)||(ta(i)||2==(2&c)&&(i=ea(l,null,n,s,a,o)),function(e,t,n,r,s){const i=Te(e);if(t)s?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let t=-1===r.indexOf("-")?void 0:qr.DashCase;if(null==s)i?e.removeStyle(n,r,t):n.style.removeProperty(r);else{const o="string"==typeof s&&s.endsWith("!important");o&&(s=s.slice(0,-10),t|=qr.Important),i?e.setStyle(n,r,s,t):n.style.setProperty(r,s,o?"important":"")}}}(r,o,Ie(gt(),n),s,i))}function ea(e,t,n,r,s,i){const o=null===t;let a;for(;s>0;){const t=e[s],i=Array.isArray(t),l=i?t[1]:t,c=null===l;let u=n[s+1];u===Is&&(u=c?V:void 0);let h=c?En(u,r):l===r?u:void 0;if(i&&!ta(h)&&(h=En(t,r)),ta(h)&&(a=h,o))return a;const d=e[s+1];s=o?Ls(d):Ns(d)}if(null!==t){let e=i?t.residualClasses:t.residualStyles;null!=e&&(a=En(e,r))}return a}function ta(e){return void 0!==e}function na(e,t){return 0!=(e.flags&(t?16:32))}function ra(e,t=""){const n=Ve(),r=Ue(),s=e+le,i=r.firstCreatePass?zs(r,s,1,t,null):r.data[s],o=n[s]=function(e,t){return Te(e)?e.createText(t):e.createTextNode(t)}(n[11],t);cs(r,n,o,i),Ge(i,!1)}function sa(e){return ia("",e,""),sa}function ia(e,t,n){const r=Ve(),s=co(r,e,t,n);return s!==Is&&Ti(r,gt(),s),ia}function oa(e,t,n,r,s){const i=Ve(),o=function(e,t,n,r,s,i){const o=io(e,Je(),n,s);return tt(2),o?t+y(n)+r+y(s)+i:Is}
1(i,e,t,n,r,s);return o!==Is&&Ti(i,gt(),o),oa}function aa(e,t,n,r,s,i,o){const a=Ve(),l=function(e,t,n,r,s,i,o,a){const l=oo(e,Je(),n,s,o);return tt(3),l?t+y(n)+r+y(s)+i+y(o)+a:Is}(a,e,t,n,r,s,i,o);return l!==Is&&Ti(a,gt(),l),aa}function la(e,t,n){Wo(Sn,Yo,co(Ve(),e,t,n),!0)}function ca(e,t,n){const r=Ve();return so(r,et(),t)&&ei(Ue(),yt(),r,e,t,r[11],n,!0),ca}function ua(e,t,n){const r=Ve();if(so(r,et(),t)){const s=Ue(),i=yt();ei(s,i,r,e,t,Ei(st(s.data),i,r),n,!0)}return ua}const ha=void 0;var da=["en",[["a","p"],["AM","PM"],ha],[["AM","PM"],ha,ha],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ha,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ha,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ha,"{1} 'at' {0}",ha],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let pa={};function fa(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ma(t);if(n)return n;const r=t.split("-")[0];if(n=ma(r),n)return n;if("en"===r)return da;throw new Error(`Missing locale data for the locale "${e}".`)}function ga(e){return fa(e)[ya.PluralCase]}function ma(e){return e in pa||(pa[e]=j.ng&&j.ng.common&&j.ng.common.locales&&j.ng.common.locales[e]),pa[e]}var ya=(()=>((ya=ya||{})[ya.LocaleId=0]="LocaleId",ya[ya.DayPeriodsFormat=1]="DayPeriodsFormat",ya[ya.DayPeriodsStandalone=2]="DayPeriodsStandalone",ya[ya.DaysFormat=3]="DaysFormat",ya[ya.DaysStandalone=4]="DaysStandalone",ya[ya.MonthsFormat=5]="MonthsFormat",ya[ya.MonthsStandalone=6]="MonthsStandalone",ya[ya.Eras=7]="Eras",ya[ya.FirstDayOfWeek=8]="FirstDayOfWeek",ya[ya.WeekendRange=9]="WeekendRange",ya[ya.DateFormat=10]="DateFormat",ya[ya.TimeFormat=11]="TimeFormat",ya[ya.DateTimeFormat=12]="DateTimeFormat",ya[ya.NumberSymbols=13]="NumberSymbols",ya[ya.NumberFormats=14]="NumberFormats",ya[ya.CurrencyCode=15]="CurrencyCode",ya[ya.CurrencySymbol=16]="CurrencySymbol",ya[ya.CurrencyName=17]="CurrencyName",ya[ya.Currencies=18]="Currencies",ya[ya.Directionality=19]="Directionality",ya[ya.PluralCase=20]="PluralCase",ya[ya.ExtraData=21]="ExtraData",ya))();const va="en-US";let ba=va;function _a(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e} [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(ba=e.toLowerCase().replace(/_/g,"-"))}function wa(e,t,n,r,s){if(e=f(e),Array.isArray(e))for(let i=0;i<e.length;i++)wa(e[i],t,n,r,s);else{const i=Ue(),o=Ve();let a=Vi(e)?e:f(e.provide),l=Bi(e);const c=He(),u=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(Vi(e)||!e.multi){const r=new Tt(l,s,fo),p=Ea(a,t,s?u:u+d,h);-1===p?(Ut(Bt(c,o),i,a),Ca(i,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{const p=Ea(a,t,u+d,h),f=Ea(a,t,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(s&&!m||!s&&!g){Ut(Bt(c,o),i,a);const u=function(e,t,n,r,s){const i=new Tt(e,n,fo);return i.multi=[],i.index=t,i.componentProviders=0,Sa(i,s,r&&!n),i}(s?xa:ka,n.length,s,r,l);!s&&m&&(n[f].providerFactory=u),Ca(i,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Ca(i,e,p>-1?p:f,Sa(n[s?f:p],l,!s&&r));!s&&r&&m&&n[f].componentProviders++}}}function Ca(e,t,n,r){const s=Vi(t);if(s||t.useClass){const i=(t.useClass||t).prototype.ngOnDestroy;if(i){const o=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const e=o.indexOf(n);-1===e?o.push(n,[r,i]):o[e+1].push(r,i)}else o.push(n,i)}}}function Sa(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ea(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function ka(e,t,n,r){return Ta(this.multi,[])}function xa(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=Zt(n,n[1],this.providerFactory.index,r);i=t.slice(0,e),Ta(s,i);for(let n=e;n<t.length;n++)i.push(t[n])}else i=[],Ta(s,i);return i}function Ta(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Oa(e,t=[]){return n=>{n.providersResolver=(n,r)=>function(e,t,n){const r=Ue();if(r.firstCreatePass){const s=ge(e);wa(n,r.data,r.blueprint,s,!0),wa(t,r.data,r.blueprint,s,!1)}}(n,r?r(e):e,t)}}class Aa{}
vendor: 18,657 bytes, line 1
1class Ia{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${u(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}class $a{}function Pa(...e){}function Da(e,t){return new Ra($e(e,t))}$a.NULL=new Ia;const La=function(){return Da(He(),Ve())};let Ra=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=La,e})();function Na(e){return e instanceof Ra?e.nativeElement:e}class Ma{}let Fa=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Ba(),e})();const Ba=function(){const e=Ve(),t=Le(He().index,e);return function(e){return e[11]}(ue(t)?t:e)};let ja=(()=>{class e{}return e.\u0275prov=_({token:e,providedIn:"root",factory:()=>null}),e})();class za{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Va=new za("12.1.5");class Ua{constructor(){}supports(e){return eo(e)}create(e){return new Ha(e)}}const qa=(e,t)=>t;class Ha{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||qa}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const i=!n||t&&t.currentIndex<Xa(n,r,s)?t:n,o=Xa(i,r,s),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{s||(s=[]);const e=o-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,i=r+n;t<=i&&i<e&&(s[n]=r+1)}s[i.previousIndex]=t-e}}o!==a&&e(i,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!eo(e))throw new Error(`Error trying to diff '${u(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,i=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,n,r,t)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),i=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Qi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,e,r,t)),Object.is(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),i=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):e=this._addAfter(new Ya(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Wa),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Wa),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Ya{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Ga{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Wa{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Ga,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Xa(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class Ka{constructor(){}supports(e){return e instanceof Map||to(e)}create(){return new Za}}class Za{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||to(e)))throw new Error(`Error trying to diff '${u(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new Qa(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class Qa{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Ja(){return new el([new Ua])}let el=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Ja()),deps:[[e,new jn,new Fn]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=_({token:e,providedIn:"root",factory:Ja}),e})();function tl(){return new nl([new Ka])}let nl=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||tl()),deps:[[e,new jn,new Fn]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=_({token:e,providedIn:"root",factory:tl}),e})();function rl(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(Ae(i)),he(i))for(let e=ce;e<i.length;e++){const t=i[e],n=t[1].firstChild;null!==n&&rl(t[1],t,n,r)}const o=n.type;if(8&o)rl(e,t,n.child,r);else if(32&o){const e=Hr(n,t);let s;for(;s=e();)r.push(s)}else if(16&o){const e=hs(t,n);if(Array.isArray(e))r.push(...e);else{const n=Yr(t[16]);rl(n[1],n,e,r,!0)}}n=s?n.projectionNext:n.next}return r}class sl{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];return rl(t,e,t.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(he(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(Jr(e,n),wn(t,n))}this._attachedToViewContainer=!1}es(this._lView[1],this._lView)}onDestroy(e){Qs(this._lView[1],this._lView,null,e)}markForCheck(){yi(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){vi(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Ze(!0);try{vi(e,t,n)}finally{Ze(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e;this._appRef=null,fs(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class il extends sl{constructor(e){super(e),this._view=e}detectChanges(){bi(this._view)}checkNoChanges(){!function(e){Ze(!0);try{bi(e)}finally{Ze(!1)}}(this._view)}get context(){return null}}const ol=function(e){return function(e,t,n){if(pe(e)&&!n){const n=Le(e.index,t);return new sl(n,n)}return 47&e.type?new sl(t[16],t):null}(He(),Ve(),16==(16&e))};let al=(()=>{class e{}return e.__NG_ELEMENT_ID__=ol,e})();const ll=[new Ka],cl=new el([new Ua]),ul=new nl(ll),hl=function(){return gl(He(),Ve())};let dl=(()=>{class e{}return e.__NG_ELEMENT_ID__=hl,e})();const pl=dl,fl=class extends pl{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=js(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),Us(t,n,e),new sl(n)}};function gl(e,t){return 4&e.type?new fl(t,e,Da(e,t)):null}class ml{}class yl{}const vl=function(){return El(He(),Ve())};let bl=(()=>{class e{}return e.__NG_ELEMENT_ID__=vl,e})();const _l=bl,wl=class extends _l{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Da(this._hostTNode,this._hostLView)}get injector(){return new en(this._hostTNode,this._hostLView)}get parentInjector(){const e=Vt(this._hostTNode,this._hostLView);if(Dt(e)){const t=Rt(e,this._hostLView),n=Lt(e);return new en(t[1].data[n+8],t)}return new en(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Cl(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-ce}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const i=n||this.parentInjector;if(!s&&null==e.ngModule&&i){const e=i.get(ml,null);e&&(s=e)}const o=e.create(i,r,void 0,s);return this.insert(o.hostView,t),o}insert(e,t){const n=e._lView,r=n[1];if(he(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new wl(t,t[6],t[3]);r.detach(r.indexOf(e))}}const s=this._adjustIndex(t),i=this._lContainer;!function(e,t,n,r){const s=ce+r,i=n.length;r>0&&(n[s-1][4]=t),r<i-ce?(t[4]=n[s],_n(n,ce+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(r,n,i,s);const o=ds(s,i),a=n[11],l=os(a,i[7]);return null!==l&&function(e,t,n,r,s,i){r[0]=s,r[6]=t,fs(e,r,n,1,s,i)}(r,i[6],a,n,l,o),e.attachToViewContainerRef(),_n(Sl(i),s,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=Cl(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=Jr(this._lContainer,t);n&&(wn(Sl(this._lContainer),t),es(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=Jr(this._lContainer,t);return n&&null!=wn(Sl(this._lContainer),t)?new sl(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function Cl(e){return e[8]}function Sl(e){return e[8]||(e[8]=[])}function El(e,t){let n;const r=t[e.index];if(he(r))n=r;else{let s;if(8&e.type)s=Ae(r);else{const n=t[11];s=n.createComment("");const r=$e(e,t);rs(n,os(n,r),s,function(e,t){return Te(e)?e.nextSibling(t):t.nextSibling}(n,r),!1)}t[e.index]=n=di(r,t,s,e),mi(t,n)}return new wl(n,e,t)}const kl={};class xl extends $a{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=oe(e);return new Al(t,this.ngModule)}}function Tl(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const Ol=new hn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>jr});class Al extends Aa{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(As).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Tl(this.componentDef.inputs)}get outputs(){return Tl(this.componentDef.outputs)}create(e,t,n,r){const s=(r=r||this.ngModule)?function(e,t){return{get:(n,r,s)=>{const i=e.get(n,kl,s);return i!==kl||r===kl?i:t.get(n,r,s)}}}(e,r.injector):e,i=s.get(Ma,Oe),o=s.get(ja,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(Te(e))return e.selectRootElement(t,n===R.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(a,n,this.componentDef.encapsulation):Zr(i.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?Se:"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:jr,clean:wi,playerHandler:null,flags:0}
vendor: 4,610 bytes, line 1
1,d=Zs(0,null,null,1,0,null,null,null,null,null),p=js(null,d,h,u,null,null,i,a,o,s);let f,g;ct(p);try{const e=function(e,t,n,r,s,i){const o=n[1];n[20]=e;const a=zs(o,20,2,"#host",null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(Oi(a,l,!0),null!==e&&(Ot(s,e,l),null!==a.classes&&ys(s,e,a.classes),null!==a.styles&&ms(s,e,a.styles)));const c=r.createRenderer(e,t),u=js(n,Ks(t),null,t.onPush?64:16,n[20],a,r,c,null,null);return o.firstCreatePass&&(Ut(Bt(a,n),o,t.type),si(o,a),oi(a,n.length,1)),mi(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)Ot(a,c,["ng-version",Va.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!Es(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&Ot(a,c,e),t&&t.length>0&&ys(a,c,t.join(" "))}if(g=Pe(d,le),void 0!==t){const e=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}f=function(e,t,n,r,s){const i=n[1],o=function(e,t,n){const r=He();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ai(e,r,t,Vs(e,t,1,null),n));const s=Zt(t,e,r.directiveStart,r);Rr(s,t);const i=$e(r,t);return i&&Rr(i,t),s}(i,n,t);if(r.components.push(o),e[8]=o,s&&s.forEach(e=>e(o,t)),t.contentQueries){const e=He();t.contentQueries(1,o,e.directiveStart)}const a=He();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(mt(a.index),ni(n[1],a,0,a.directiveStart,a.directiveEnd,t),ri(t,o)),o}(e,this.componentDef,p,h,[Hi]),Us(d,p,null)}finally{ft()}return new Il(this.componentType,f,Da(g,p),p,g)}}class Il extends class{}{constructor(e,t,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.instance=t,this.hostView=this.changeDetectorRef=new il(r),this.componentType=e}get injector(){return new en(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const $l=new Map;class Pl extends ml{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new xl(this);const n=ae(e),r=e[G]||null;r&&_a(r),this._bootstrapComponents=Ur(n.bootstrap),this._r3Injector=Ni(e,t,[{provide:ml,useValue:this},{provide:$a,useValue:this.componentFactoryResolver}],u(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=qi.THROW_IF_NOT_FOUND,n=A.Default){return e===qi||e===ml||e===Ai?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Dl extends yl{constructor(e){super(),this.moduleType=e,null!==ae(e)&&function(e){const t=new Set;!function e(n){const r=ae(n,!0),s=r.id;null!==s&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${u(t)} vs ${u(t.name)}`)}(s,$l.get(s),n),$l.set(s,n));const i=Ur(r.imports);for(const o of i)t.has(o)||(t.add(o),e(o))}(e)}(e)}create(e){return new Pl(this.moduleType,e)}}function Ll(e,t,n){const r=Qe()+e,s=Ve();return s[r]===Is?no(s,r,n?t.call(n):t()):ro(s,r)}function Rl(e,t,n,r){return jl(Ve(),Qe(),e,t,n,r)}function Nl(e,t,n,r,s){return zl(Ve(),Qe(),e,t,n,r,s)}function Ml(e,t,n,r,s,i){return Vl(Ve(),Qe(),e,t,n,r,s,i)}function Fl(e,t,n,r,s,i,o,a,l){const c=Qe()+e,u=Ve(),h=ao(u,c,n,r,s,i);return io(u,c+4,o,a)||h?no(u,c+6,l?t.call(l,n,r,s,i,o,a):t(n,r,s,i,o,a)):ro(u,c+6)}function Bl(e,t){const n=e[t];return n===Is?void 0:n}function jl(e,t,n,r,s,i){const o=t+n;return so(e,o,s)?no(e,o+1,i?r.call(i,s):r(s)):Bl(e,o+1)}function zl(e,t,n,r,s,i,o){const a=t+n;return io(e,a,s,i)?no(e,a+2,o?r.call(o,s,i):r(s,i)):Bl(e,a+2)}function Vl(e,t,n,r,s,i,o,a){const l=t+n;return oo(e,l,s,i,o)?no(e,l+3,a?r.call(a,s,i,o):r(s,i,o)):Bl(e,l+3)}function Ul(e,t){const n=Ue();let r;const s=e+le;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new m("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=me(r.type)),o=$(fo);try{const e=Mt(!1),t=i();return Mt(e),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ve(),s,t),t}finally{$(o)}}function ql(e,t,n){const r=e+le,s=Ve(),i=De(s,r);return Xl(s,Wl(s,r)?jl(s,Qe(),t,i.transform,n,i):i.transform(n))}function Hl(e,t,n,r){const s=e+le,i=Ve(),o=De(i,s);return Xl(i,Wl(i,s)?zl(i,Qe(),t,o.transform,n,r,o):o.transform(n,r))}
1function Yl(e,t,n,r,s){const i=e+le,o=Ve(),a=De(o,i);return Xl(o,Wl(o,i)?Vl(o,Qe(),t,a.transform,n,r,s,a):a.transform(n,r,s))}function Gl(e,t,n,r,s,i){const o=e+le,a=Ve(),l=De(a,o);return Xl(a,Wl(a,o)?function(e,t,n,r,s,i,o,a,l){const c=t+n;return ao(e,c,s,i,o,a)?no(e,c+4,l?r.call(l,s,i,o,a):r(s,i,o,a)):Bl(e,c+4)}(a,Qe(),t,l.transform,n,r,s,i,l):l.transform(n,r,s,i))}function Wl(e,t){return e[1].data[t].pure}function Xl(e,t){return Ji.isWrapped(t)&&(t=Ji.unwrap(t),e[Je()]=Is),t}function Kl(e){return t=>{setTimeout(e,void 0,t)}}const Zl=class extends r.xQ{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){var r,i,o;let a=e,l=t||(()=>null),c=n;if(e&&"object"==typeof e){const t=e;a=null===(r=t.next)||void 0===r?void 0:r.bind(t),l=null===(i=t.error)||void 0===i?void 0:i.bind(t),c=null===(o=t.complete)||void 0===o?void 0:o.bind(t)}this.__isAsync&&(l=Kl(l),a&&(a=Kl(a)),c&&(c=Kl(c)));const u=super.subscribe({next:a,error:l,complete:c});return e instanceof s.w&&e.add(u),u}};function Ql(){return this._results[Qi()]()}class Jl{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Qi(),n=Jl.prototype;n[t]||(n[t]=Ql)}get changes(){return this._changes||(this._changes=new Zl)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const n=this;n.dirty=!1;const r=vn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],i=t[r];if(n&&(s=n(s),i=n(i)),i!==s)return!1}return!0}(n._results,r,t))&&(n._results=r,n.length=r.length,n.last=r[this.length-1],n.first=r[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;class ec{constructor(e){this.queryList=e,this.matches=null}clone(){return new ec(this.queryList)}setDirty(){this.queryList.setDirty()}}class tc{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);r.push(this.queries[n.indexInDeclarationView].clone())}return new tc(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==gc(e,t).matches&&this.queries[t].setDirty()}}class nc{constructor(e,t,n=null){this.predicate=e,this.flags=t,this.read=n}}class rc{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,s=this.getByIndex(n).embeddedTView(e,r);s&&(s.indexInDeclarationView=n,null!==t?t.push(s):t=[s])}return null!==t?new rc(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class sc{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new sc(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}
1matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const s=n[r];this.matchTNodeWithReadOption(e,t,ic(t,s)),this.matchTNodeWithReadOption(e,t,Kt(t,e,s,!1,!1))}else n===dl?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Kt(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===Ra||r===bl||r===dl&&4&t.type)this.addMatch(t.index,-2);else{const n=Kt(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function ic(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function oc(e,t,n,r){return-1===n?function(e,t){return 11&e.type?Da(e,t):4&e.type?gl(e,t):null}(t,e):-2===n?function(e,t,n){return n===Ra?Da(t,e):n===dl?gl(t,e):n===bl?El(t,e):void 0}(e,t,r):Zt(e,e[1],n,t)}function ac(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const r=e.data,i=n.matches,o=[];for(let e=0;e<i.length;e+=2){const s=i[e];o.push(s<0?null:oc(t,r[s],i[e+1],n.metadata.read))}s.matches=o}return s.matches}function lc(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const o=ac(e,t,s,n);for(let e=0;e<i.length;e+=2){const n=i[e];if(n>0)r.push(o[e/2]);else{const s=i[e+1],o=t[-n];for(let e=ce;e<o.length;e++){const t=o[e];t[17]===t[3]&&lc(t[1],t,s,r)}if(null!==o[9]){const e=o[9];for(let t=0;t<e.length;t++){const n=e[t];lc(n[1],n,s,r)}}}}}return r}function cc(e){const t=Ve(),n=Ue(),r=it();ot(r+1);const s=gc(n,r);if(e.dirty&&Re(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?lc(n,t,r,[]):ac(n,t,s,r);e.reset(i,Na),e.notifyOnChanges()}return!0}return!1}function uc(e,t,n){const r=Ue();r.firstCreatePass&&(fc(r,new nc(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),pc(r,Ve(),t)}function hc(e,t,n,r){const s=Ue();if(s.firstCreatePass){const i=He();fc(s,new nc(t,n,r),i.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}pc(s,Ve(),n)}function dc(){return e=Ve(),t=it(),e[19].queries[t].queryList;var e,t}function pc(e,t,n){const r=new Jl(4==(4&n));Qs(e,t,r,r.destroy),null===t[19]&&(t[19]=new tc),t[19].queries.push(new ec(r))}function fc(e,t,n){null===e.queries&&(e.queries=new rc),e.queries.track(new sc(t,n))}function gc(e,t){return e.queries.getByIndex(t)}function mc(e,t){return gl(e,t)}const yc=cn("Input",e=>({bindingPropertyName:e})),vc=cn("Output",e=>({bindingPropertyName:e})),bc=cn("HostListener",(e,t)=>({eventName:e,args:t})),_c=new hn("Application Initializer");let wc=(()=>{class e{constructor(e){this.appInits=e,this.resolve=Pa,this.reject=Pa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();if(ko(t))e.push(t);else if(To(t)){const n=new Promise((e,n)=>{t.subscribe({complete:e,error:n})});e.push(n)}}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(Dn(_c,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();const Cc=new hn("AppId"),Sc={provide:Cc,useFactory:function(){return`${Ec()}${Ec()}${Ec()}`},deps:[]};function Ec(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const kc=new hn("Platform Initializer"),xc=new hn("Platform ID"),Tc=new hn("appBootstrapListener");let Oc=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();const Ac=new hn("LocaleId"),Ic=new hn("DefaultCurrencyCode");class $c{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Pc=function(e){return new Dl(e)},Dc=Pc,Lc=function(e){return Promise.resolve(Pc(e))}
1,Rc=function(e){const t=Pc(e),n=Ur(ae(e).declarations).reduce((e,t)=>{const n=oe(t);return n&&e.push(new Al(n)),e},[]);return new $c(t,n)},Nc=Rc,Mc=function(e){return Promise.resolve(Rc(e))};let Fc=(()=>{class e{constructor(){this.compileModuleSync=Dc,this.compileModuleAsync=Lc,this.compileModuleAndAllComponentsSync=Nc,this.compileModuleAndAllComponentsAsync=Mc}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();const Bc=(()=>Promise.resolve(0))();function jc(e){"undefined"==typeof Zone?Bc.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class zc{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Zl(!1),this.onMicrotaskEmpty=new Zl(!1),this.onStable=new Zl(!1),this.onError=new Zl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&t,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let e=j.requestAnimationFrame,t=j.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(j,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,qc(e),e.isCheckStableRunning=!0,Uc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),qc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return Hc(e),n.invokeTask(s,i,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Yc(e)}},onInvoke:(n,r,s,i,o,a,l)=>{try{return Hc(e),n.invoke(s,i,o,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Yc(e)}},onHasTask:(t,n,r,s)=>{t.hasTask(r,s),n===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,qc(e),Uc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,n,r,s)=>(t.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(zc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,e,Vc,Pa,Pa);try{return s.runTask(i,t,n)}finally{s.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const Vc={};function Uc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function qc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Hc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Yc(e){e._nesting--,Uc(e)}class Gc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Zl,this.onMicrotaskEmpty=new Zl,this.onStable=new Zl,this.onError=ne
vendor: 5,077 bytes, line 1
1w Zl}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let Wc=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{zc.assertNotInAngularZone(),jc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())jc(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(Dn(zc))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})(),Xc=(()=>{class e{constructor(){this._applications=new Map,Jc.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Jc.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();class Kc{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function Zc(e){Jc=e}let Qc,Jc=new Kc,eu=!0,tu=!1;function nu(){return tu=!0,eu}function ru(){if(tu)throw new Error("Cannot enable prod mode after platform setup.");eu=!1}const su=new hn("AllowMultipleToken");class iu{constructor(e,t){this.name=e,this.token=t}}function ou(e,t,n=[]){const r=`Platform: ${t}`,s=new hn(r);return(t=[])=>{let i=au();if(!i||i.injector.get(su,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0},{provide:$i,useValue:"platform"});!function(e){if(Qc&&!Qc.destroyed&&!Qc.injector.get(su,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Qc=e.get(lu);const t=e.get(kc,null);t&&t.forEach(e=>e())}(qi.create({providers:e,name:r}))}return function(e){const t=au();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function au(){return Qc&&!Qc.destroyed?Qc:null}let lu=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new Gc:("zone.js"===e?void 0:e)||new zc({enableLongStackTrace:nu(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),r=[{provide:zc,useValue:n}];return n.run(()=>{const t=qi.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),i=s.injector.get(Br,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{i.handleError(e)}});s.onDestroy(()=>{hu(this._modules,s),e.unsubscribe()})}),function(e,t,n){try{const r=n();return ko(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(i,n,()=>{const e=s.injector.get(wc);
1return e.runInitializers(),e.donePromise.then(()=>(_a(s.injector.get(Ac,va)||va),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=cu({},t);return function(e,t,n){const r=new Dl(n);return Promise.resolve(r)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(uu);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${u(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(Dn(qi))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();function cu(e,t){return Array.isArray(t)?t.reduce(cu,e):Object.assign(Object.assign({},e),t)}let uu=(()=>{class e{constructor(e,t,n,r,s){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new i.y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),c=new i.y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{zc.assertNotInAngularZone(),jc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{zc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=(0,o.T)(l,c.pipe((0,a.B)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Aa?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(ml),s=n.create(qi.NULL,[],t||n.selector,r),i=s.location.nativeElement,o=s.injector.get(Wc,null),a=o&&s.injector.get(Xc);return o&&a&&a.registerApplication(i,o),s.onDestroy(()=>{this.detachView(s.hostView),hu(this.components,s),a&&a.unregisterApplication(i)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;hu(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Tc,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(Dn(zc),Dn(qi),Dn(Br),Dn($a),Dn(wc))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();function hu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class du{}class pu{}const fu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let gu=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||fu}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n(98255)(t).then(e=>e[r]).then(e=>mu(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n(98255)(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+s]).then(e=>mu(e,t,r))}}return e.\u0275fac=function(t){return new(t||e)(Dn(Fc),Dn(pu,8))},e.\u0275prov=_({token:e,factory:e.\u0275fac}),e})();function mu(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const yu=function(e){return null},vu=ou(null,"core",[{provide:xc,useValue:"unknown"},{provide:lu,deps:[qi]},{provide:Xc,deps:[]},{provide:Oc,deps:[]}]),bu=[{provide:uu,useClass:uu,deps:[zc,qi,Br,$a,wc]},{provide:Ol,deps:[zc],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:wc,useClass:wc,deps:[[new Fn,_c]]},{provide:Fc,useClass:Fc,deps:[]},Sc,{provide:el,useFactory:function(){return cl},deps:[]},{provide:nl,useFactory:function(){return ul},deps:[]},{provide:Ac,useFactory:function(e){return _a(e=e||"undefined"!=typeof $localize&&$localize.locale||va),e},deps:[[new Mn(Ac),new Fn,new jn]]},{provide:Ic,useValue:"USD"}];let _u=(()=>{class e{constructor(e){}}return e.\u0275fac=function(t){return new(t||e)(Dn(uu))},e.\u0275mod=te({type:e}),e.\u0275inj=w({providers:bu}),e})()},3679:(e,t,n)=>{"use strict";n.d(t,{Zs:()=>Ye,gN:()=>B,Fj:()=>p,qu:()=>Qe,NI:()=>de,oH:()=>Oe,u:()=>Me,sg:()=>Ie,x0:()=>Pe,u5:()=>Ke,nD:()=>We,Fd:()=>je,qQ:()=>Ve,Cf:()=>m,JU:()=>u,a5:()=>j,JJ:()=>V,JL:()=>U,F:()=>ye,On:()=>we,wV:()=>Ee,UX:()=>Ze,kI:()=>b,_Y:()=>Ce});var r=n(37716),s=n(38583),i=n(94402),o=n(35758),a=n(88002);let l=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Qsj),r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e}),e})(),c=(()=>{class e extends l{}return e.\u0275fac=function(){let t;return function(n){return(t||(t=r.n5z(e)))(n||e)}}(),e.\u0275dir=r.lG2({type:e,features:[r.qOj]}),e})();const u=new r.OlP("NgValueAccessor"),h={provide:u,useExisting:(0,r.Gpc)(()=>p),multi:!0},d=new r.OlP("CompositionEventMode");let p=(()=>{class e extends l{constructor(e,t,n){super(e,t),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=(0,s.q)()?(0,s.q)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(d,8))},e.\u0275dir=r.lG2({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&r.NdJ("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[r._Bn([h]),r.qOj]}),e})();function f(e){return null==e||0===e.length}function g(e){return null!=e&&"number"==typeof e.length}const m=new r.OlP("NgValidators"),y=new r.OlP("NgAsyncValidators"),v=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class b{static min(e){return _(e)}static max(e){return w(e)}static required(e){return C(e)}static requiredTrue(e){return S(e)}static email(e){return function(e){return f(e.value)||v.test(e.value)?null:{email:!0}}(e)}static minLength(e){return function(e){return t=>f(t.value)||!g(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(e)}static maxLength(e){return E(e)}static pattern(e){return function(e){if(!e)return k;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(f(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}(e)}static nullValidator(e){return null}static compose(e){return $(e)}static composeAsync(e){return D(e)}}function _(e){return t=>{if(f(t.value)||f(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}function w(e){return t=>{if(f(t.value)||f(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function C(e){return f(e.value)?{required:!0}:null}function S(e){return!0===e.value?null:{required:!0}}function E(e){return t=>g(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function k(e){return null}function x(e){return null!=e}function T(e){const t=(0,r.QGY)(e)?(0,i.D)(e):e;return(0,r.CqO)(t),t}function O(e){let t={};
1return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function A(e,t){return t.map(t=>t(e))}function I(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function $(e){if(!e)return null;const t=e.filter(x);return 0==t.length?null:function(e){return O(A(e,t))}}function P(e){return null!=e?$(I(e)):null}function D(e){if(!e)return null;const t=e.filter(x);return 0==t.length?null:function(e){const n=A(e,t).map(T);return(0,o.D)(n).pipe((0,a.U)(O))}}function L(e){return null!=e?D(I(e)):null}function R(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function N(e){return e._rawValidators}function M(e){return e._rawAsyncValidators}let F=(()=>{class e{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=P(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=L(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e}),e})(),B=(()=>{class e extends F{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=r.n5z(e)))(n||e)}}(),e.\u0275dir=r.lG2({type:e,features:[r.qOj]}),e})();class j extends F{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class z{constructor(e){this._cd=e}is(e){var t,n,r;return"submitted"===e?!!(null===(t=this._cd)||void 0===t?void 0:t.submitted):!!(null===(r=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===r?void 0:r[e])}}let V=(()=>{class e extends z{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(j,2))},e.\u0275dir=r.lG2({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&r.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[r.qOj]}),e})(),U=(()=>{class e extends z{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(B,10))},e.\u0275dir=r.lG2({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&r.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[r.qOj]}),e})();function q(e,t){return[...t.path,e]}function H(e,t){W(e,t),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&K(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&K(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Y(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),X(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}
1function G(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function W(e,t){const n=N(e);null!==t.validator?e.setValidators(R(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=M(e);null!==t.asyncValidator?e.setAsyncValidators(R(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const s=()=>e.updateValueAndValidity();G(t._rawValidators,s),G(t._rawAsyncValidators,s)}function X(e,t){let n=!1;if(null!==e){if(null!==t.validator){const r=N(e);if(Array.isArray(r)&&r.length>0){const s=r.filter(e=>e!==t.validator);s.length!==r.length&&(n=!0,e.setValidators(s))}}if(null!==t.asyncValidator){const r=M(e);if(Array.isArray(r)&&r.length>0){const s=r.filter(e=>e!==t.asyncValidator);s.length!==r.length&&(n=!0,e.setAsyncValidators(s))}}}const r=()=>{};return G(t._rawValidators,r),G(t._rawAsyncValidators,r),n}function K(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Z(e,t){W(e,t)}function Q(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function J(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function ee(e,t){if(!t)return null;let n,r,s;return Array.isArray(t),t.forEach(e=>{e.constructor===p?n=e:Object.getPrototypeOf(e.constructor)===c?r=e:s=e}),s||r||n||null}function te(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const ne="VALID",re="INVALID",se="PENDING",ie="DISABLED";function oe(e){return(ue(e)?e.validators:e)||null}function ae(e){return Array.isArray(e)?P(e):e||null}function le(e,t){return(ue(t)?t.asyncValidators:e)||null}function ce(e){return Array.isArray(e)?L(e):e||null}function ue(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class he{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=ae(this._rawValidators),this._composedAsyncValidatorFn=ce(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===ne}get invalid(){return this.status===re}get pending(){return this.status==se}get disabled(){return this.status===ie}get enabled(){return this.status!==ie}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=ae(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=ce(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}
1markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=se,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=ie,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=ne,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==ne&&this.status!==se||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ie:ne}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=se,this._hasOwnPendingAsyncValidator=!0;const t=T(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let r=e;return t.forEach(e=>{r=r instanceof pe?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof fe&&r.at(e)||null}),r}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}_calculateStatus(){return this._allControlsDisabled()?ie:this.errors?re:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(se)?se:this._anyControlsHaveStatus(re)?re:ne}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ue(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class de extends he{constructor(e=null,t,n){super(oe(t),le(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initOb
vendor: 4,098 bytes, line 1
1servables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){te(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){te(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class pe extends he{constructor(e,t,n){super(oe(t),le(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,n={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof de?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,r)=>{n=t(n,e,r)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}
1_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class fe extends he{constructor(e,t,n){super(oe(t),le(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[e]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,n={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof de?e.value:e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const ge={provide:B,useExisting:(0,r.Gpc)(()=>ye)},me=(()=>Promise.resolve(null))();let ye=(()=>{class e extends B{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.vpe,this.form=new pe({},P(e),L(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){me.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),H(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}
1removeControl(e){me.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),te(this._directives,e)})}addFormGroup(e){me.then(()=>{const t=this._findContainer(e.path),n=new pe({});Z(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){me.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){me.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,J(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(m,10),r.Y36(y,10))},e.\u0275dir=r.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&r.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([ge]),r.qOj]}),e})(),ve=(()=>{class e extends B{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return q(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=r.n5z(e)))(n||e)}}(),e.\u0275dir=r.lG2({type:e,features:[r.qOj]}),e})();const be={provide:j,useExisting:(0,r.Gpc)(()=>we)},_e=(()=>Promise.resolve(null))();let we=(()=>{class e extends j{constructor(e,t,n,s){super(),this.control=new de,this._registered=!1,this.update=new r.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=ee(0,s)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Q(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?q(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){H(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){_e.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;_e.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(B,9),r.Y36(m,10),r.Y36(y,10),r.Y36(u,10))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([be]),r.qOj,r.TTD]}),e})(),Ce=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const Se={provide:u,useExisting:(0,r.Gpc)(()=>Ee),multi:!0};let Ee=(()=>{class e extends c{writeValue(e){this.setProperty("value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=r.n5z(e)))(n||e)}}(),e.\u0275dir=r.lG2({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&r.NdJ("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[r._Bn([Se]),r.qOj]}),e})(),ke=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e})();const xe=new r.OlP("NgModelWithFormControlWarning"),Te={provide:j,useExisting:(0,r.Gpc)(()=>Oe)};let Oe=(()=>{class e extends j{constructor(e,t,n,s){super(),this._ngModelWarningConfig=s,this.update=new r.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=ee(0,n)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Y(t,this,!1),H(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Q(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}
1ngOnDestroy(){this.form&&Y(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(m,10),r.Y36(y,10),r.Y36(u,10),r.Y36(xe,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r._Bn([Te]),r.qOj,r.TTD]}),e._ngModelWarningSentOnce=!1,e})();const Ae={provide:B,useExisting:(0,r.Gpc)(()=>Ie)};let Ie=(()=>{class e extends B{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.vpe,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(X(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return H(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}
1removeControl(e){Y(e.control||null,e,!1),te(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,J(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,n=this.form.get(e.path);t!==n&&(Y(t||null,e),n instanceof de&&(H(n,e),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Z(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function(e,t){return X(e,t)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){W(this.form,this),this._oldForm&&X(this._oldForm,this)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(m,10),r.Y36(y,10))},e.\u0275dir=r.lG2({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&r.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([Ae]),r.qOj,r.TTD]}),e})();const $e={provide:B,useExisting:(0,r.Gpc)(()=>Pe)};let Pe=(()=>{class e extends ve{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){Re(this._parent)}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(B,13),r.Y36(m,10),r.Y36(y,10))},e.\u0275dir=r.lG2({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r._Bn([$e]),r.qOj]}),e})();const De={provide:B,useExisting:(0,r.Gpc)(()=>Le)};let Le=(()=>{class e extends B{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return q(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Re(this._parent)}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(B,13),r.Y36(m,10),r.Y36(y,10))},e.\u0275dir=r.lG2({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r._Bn([De]),r.qOj]}),e})();function Re(e){return!(e instanceof Pe||e instanceof Ie||e instanceof Le)}const Ne={provide:j,useExisting:(0,r.Gpc)(()=>Me)};let Me=(()=>{class e extends j{constructor(e,t,n,s,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new r.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=ee(0,s)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),Q(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return q(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(B,13),r.Y36(m,10),r.Y36(y,10),r.Y36(u,10),r.Y36(xe,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r._Bn([Ne]),r.qOj,r.TTD]}),e._ngModelWarningSentOnce=!1,e})(),Fe=(()=>
1{class e{constructor(){this._validator=k}handleChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._validator=this.createValidator(t),this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e}),e})();const Be={provide:m,useExisting:(0,r.Gpc)(()=>je),multi:!0};let je=(()=>{class e extends Fe{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>parseFloat(e),this.createValidator=e=>w(e)}ngOnChanges(e){this.handleChanges(e)}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=r.n5z(e)))(n||e)}}(),e.\u0275dir=r.lG2({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(e,t){if(2&e){let e;r.uIk("max",null!==(e=t.max)&&void 0!==e?e:null)}},inputs:{max:"max"},features:[r._Bn([Be]),r.qOj,r.TTD]}),e})();const ze={provide:m,useExisting:(0,r.Gpc)(()=>Ve),multi:!0};let Ve=(()=>{class e extends Fe{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>parseFloat(e),this.createValidator=e=>_(e)}ngOnChanges(e){this.handleChanges(e)}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=r.n5z(e)))(n||e)}}(),e.\u0275dir=r.lG2({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(e,t){if(2&e){let e;r.uIk("min",null!==(e=t.min)&&void 0!==e?e:null)}},inputs:{min:"min"},features:[r._Bn([ze]),r.qOj,r.TTD]}),e})();const Ue={provide:m,useExisting:(0,r.Gpc)(()=>He),multi:!0},qe={provide:m,useExisting:(0,r.Gpc)(()=>Ye),multi:!0};let He=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?C(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&r.uIk("required",t.required?"":null)},inputs:{required:"required"},features:[r._Bn([Ue])]}),e})(),Ye=(()=>{class e extends He{validate(e){return this.required?S(e):null}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=r.n5z(e)))(n||e)}}(),e.\u0275dir=r.lG2({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.uIk("required",t.required?"":null)},features:[r._Bn([qe]),r.qOj]}),e})();const Ge={provide:m,useExisting:(0,r.Gpc)(()=>We),multi:!0};let We=(()=>{class e{constructor(){this._validator=k}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=E("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.uIk("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r._Bn([Ge]),r.TTD]}),e})(),Xe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[ke]]}),e})(),Ke=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[Xe]}),e})(),Ze=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:xe,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[Xe]}),e})(),Qe=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let r,s=null,i=null;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(s=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,r=null!=t.updateOn?t.updateOn:void 0):(s=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new pe(n,{asyncValidators:i,updateOn:r,validators:s})}control(e,t,n){return new de(e,t,n)}array(e,t,n){const r=e.map(e=>this._createControl(e));return new fe(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof de||e instanceof pe||e instanceof fe?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,r.Yz7)({factory:function(){return new e},token:e,providedIn:Ze}),e})()},46237:(e,t,n)=>{"use strict";n.d(t,{Qb:()=>Pt,PW:()=>Nt});var r=n(37716),s=n(39075),i=n(17238);function o(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function l(e){switch(e.length){case 0:return new i.ZN;case 1:return e[0];default:return new i.ZE(e)}}function c(e,t,n,r,s={},o={}){const a=[],l=[];let c=-1,u=null;
1if(r.forEach(e=>{const n=e.offset,r=n==c,h=r&&u||{};Object.keys(e).forEach(n=>{let r=n,l=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,a),l){case i.k1:l=s[n];break;case i.l3:l=o[n];break;default:l=t.normalizeStyleValue(n,r,l,a)}h[r]=l}),r||l.push(h),u=h,c=n}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return l}function u(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&h(n,"start",e)));break;case"done":e.onDone(()=>r(n&&h(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&h(n,"destroy",e)))}}function h(e,t,n){const r=n.totalTime,s=d(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),i=e._data;return null!=i&&(s._data=i),s}function d(e,t,n,r,s="",i=0,o){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:s,totalTime:i,disabled:!!o}}function p(e,t,n){let r;return e instanceof Map?(r=e.get(t),r||e.set(t,r=n)):(r=e[t],r||(r=e[t]=n)),r}function f(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let g=(e,t)=>!1,m=(e,t)=>!1,y=(e,t,n)=>[];const v=a();(v||"undefined"!=typeof Element)&&(g=o()?(e,t)=>{for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:(e,t)=>e.contains(t),m=(()=>{if(v||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):m}})(),y=(e,t,n)=>{let r=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e<n.length;e++)r.push(n[e])}else{const n=e.querySelector(t);n&&r.push(n)}return r});let b=null,_=!1;function w(e){b||(b=("undefined"!=typeof document?document.body:null)||{},_=!!b.style&&"WebkitAppearance"in b.style);let t=!0;return b.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in b.style,!t&&_)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in b.style),t}const C=m,S=g,E=y;function k(e){const t={};return Object.keys(e).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}let x=(()=>{class e{validateStyleProperty(e){return w(e)}matchesElement(e,t){return C(e,t)}containsElement(e,t){return S(e,t)}query(e,t,n){return E(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,r,s,o=[],a){return new i.ZN(n,r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();class T{}T.NOOP=new x;const O="ng-enter",A="ng-leave",I="ng-trigger",$=".ng-trigger",P="ng-animating",D=".ng-animating";function L(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:R(parseFloat(t[1]),t[2])}function R(e,t){switch(t){case"s":return 1e3*e;default:return e}}function N(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let r,s=0,i="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};r=R(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=R(parseFloat(o),n[4]));const a=n[5];a&&(i=a)}else r=e;if(!n){let n=!1,i=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(i,0,`The provided timing value "${e}" is invalid.`)}return{duration:r,delay:s,easing:i}}(e,t,n)}function M(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function F(e,t,n={}){if(t)for(let r in e)n[r]=e[r];else M(e,n);return n}function B(e,t,n){return n?t+":"+n+";":""}function j(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style.item(n);t+=B(0,r,e.style.getPropertyValue(r))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=B(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function z(e,t,n){e.style&&(Object.keys(t).forEach(r=>{const s=X(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[s]),e.style[s]=t[r]}),a()&&j(e))}function V(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=X(t);e.style[n]=""}),a()&&j(e))}function U(e){return Array.isArray(e)?1==e.length?e[0]:(0,i.vP)(e):e}const q=new RegExp("{{\\s*(.+?)\\s*}}","g");function H(e){let t=[];if("string"==typeof e){let n;for(;n=q.exec(e);)t.push(n[1]);q.lastIndex=0}return t}function Y(e,t,n){const r=e.toString(),s=r.replace(q,(e,r)=>{let s=t[r];return t.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),s=""),s.toString()});return s==r?e:s}function G(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const W=/-+([a-z0-9])/g;function X(e){return e.replace(W,(...e)=>e[1].toUpperCase())}function K(e,t){return 0===e||0===t}function Z(e,t,n){const r=Object.keys(n);if(r.length&&t.length){let i=t[0],o=[];
1if(r.forEach(e=>{i.hasOwnProperty(e)||o.push(e),i[e]=n[e]}),o.length)for(var s=1;s<t.length;s++){let n=t[s];o.forEach(function(t){n[t]=J(e,t)})}}return t}function Q(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error(`Unable to resolve animation metadata node #${t.type}`)}}function J(e,t){return window.getComputedStyle(e)[t]}const ee="*";function te(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const s=r[1],i=r[2],o=r[3];t.push(se(s,o)),"<"!=i[0]||s==ee&&o==ee||t.push(se(o,s))}(e,n,t)):n.push(e),n}const ne=new Set(["true","1"]),re=new Set(["false","0"]);function se(e,t){const n=ne.has(e)||re.has(e),r=ne.has(t)||re.has(t);return(s,i)=>{let o=e==ee||e==s,a=t==ee||t==i;return!o&&n&&"boolean"==typeof s&&(o=s?ne.has(e):re.has(e)),!a&&r&&"boolean"==typeof i&&(a=i?ne.has(t):re.has(t)),o&&a}}const ie=new RegExp("s*:selfs*,?","g");function oe(e,t,n){return new ae(e).build(t,n)}class ae{constructor(e){this._driver=e}build(e,t){const n=new le(t);return this._resetContextStyleTimingState(n),Q(this,U(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0;const s=[],i=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,s.push(this.visitState(n,t))}),n.name=r}else if(1==e.type){const s=this.visitTransition(e,t);n+=s.queryCount,r+=s.depCount,i.push(s)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:s,transitions:i,queryCount:n,depCount:r,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const s=new Set,i=r||{};if(n.styles.forEach(e=>{if(ce(e)){const t=e;Object.keys(t).forEach(e=>{H(t[e]).forEach(e=>{i.hasOwnProperty(e)||s.add(e)})})}}),s.size){const n=G(s.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=Q(this,U(e.animation),t);return{type:1,matchers:te(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ue(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>Q(this,e,t)),options:ue(e.options)}}visitGroup(e,t){const n=t.currentTime;let r=0;const s=e.steps.map(e=>{t.currentTime=n;const s=Q(this,e,t);return r=Math.max(r,t.currentTime),s});return t.currentTime=r,{type:3,steps:s,options:ue(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return he(N(e,t).duration,0,"");const r=e;if(r.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=he(0,0,"");return e.dynamic=!0,e.strValue=r,e}return n=n||N(r,t),he(n.duration,n.delay,n.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=n;let s=e.styles?e.styles:(0,i.oB)({});if(5==s.type)r=this.visitKeyframes(s,t);else{let s=e.styles,o=!1;if(!s){o=!0;const e={};n.easing&&(e.easing=n.easing),s=(0,i.oB)(e)}t.currentTime+=n.duration+n.delay;const a=this.visitStyle(s,t);a.isEmptyStep=o,r=a}return t.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);
1return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==i.l3?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let r=!1,s=null;return n.forEach(e=>{if(ce(e)){const t=e,n=t.easing;if(n&&(s=n,delete t.easing),!r)for(let e in t)if(t[e].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:s,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let r=t.currentTime,s=t.currentTime;n&&s>0&&(s-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=t.collectedStyles[t.currentQuerySelector],o=i[n];let a=!0;o&&(s!=r&&s>=o.startTime&&r<=o.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${r}ms"`),a=!1),s=o.startTime),a&&(i[n]={startTime:s,endTime:r}),t.options&&function(e,t,n){const r=t.params||{},s=H(e);s.length&&s.forEach(e=>{r.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const s=[];let i=!1,o=!1,a=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(ce(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(ce(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),o=o||c<0||c>1,i=i||c<a,a=c,s.push(c),n});o&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),i&&t.errors.push("Please ensure that all keyframe offsets are in order");const c=e.steps.length;let u=0;r>0&&r<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(u=1/(c-1));const h=c-1,d=t.currentTime,p=t.currentAnimateTimings,f=p.duration;return l.forEach((e,r)=>{const i=u>0?r==h?1:u*r:s[r],o=i*f;t.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(e,t),e.offset=i,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:Q(this,U(e.animation),t),options:ue(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ue(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ue(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[s,i]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(ie,"")),[e=e.replace(/@\*/g,$).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,D),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+s:s,p(t.collectedStyles,t.currentQuerySelector,{});const o=Q(this,U(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:ue(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:N(e.timings,t.errors,!0);return{type:12,animation:Q(this,U(e.animation),t),timings:n,options:null}}}class le{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ce(e){return!Array.isArray(e)&&"object"==typeof e}function ue(e){var t;return e?(e=M(e)).params&&(e.params=(t=e.params)?M(t):null):e={},e}function he(e,t,n){return{duration:e,delay:t,easing:n}}function de(e,t,n,r,s,i,o=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:s,delay:i,totalTime:s+i,easing:o,subTimeline:a}}class pe{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const fe=new RegExp(":enter","g"),ge=new RegExp(":leave","g");function me(e,t,n,r,s,i={},o={},a,l,c=[]){return(new ye).buildKeyframes(e,t,n,r,s,i,o,a,l,c)}class ye{buildKeyframes(e,t,n,r,s,i,o,a,l,c=[]){l=l||new pe;const u=new be(e,t,l,r,s,c,[]);u.options=a,u.currentTimeline.setStyles([i],null,u.errors,a),Q(this,n,u);const h=u.timelines.filter(e=>e.containsAnimation());if(h.length&&Object.keys(o).length){const e=h[h.length-1];e.allowOnlyTimelineStyles()||e.setStyles([o],null,u.errors,a)}return h.length?h.map(e=>e.buildKeyframes()):[de(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}
vendor: 4,117 bytes, line 1
1visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const r=t.createSubContext(e.options),s=t.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);s!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime;const s=null!=n.duration?L(n.duration):null,i=null!=n.delay?L(n.delay):null;return 0!==s&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,s,i);r=Math.max(r,n.duration+n.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),Q(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let r=t;const s=e.options;if(s&&(s.params||s.delay)&&(r=t.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ve);const e=L(s.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>Q(this,e,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let r=t.currentTimeline.currentTime;const s=e.options&&e.options.delay?L(e.options.delay):0;e.steps.forEach(i=>{const o=t.createSubContext(e.options);s&&o.delayNextStep(s),Q(this,i,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return N(t.params?Y(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());const s=e.style;5==s.type?this.visitKeyframes(s,t):(t.incrementTime(n.duration),this.visitStyle(s,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(s):n.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,r=t.currentTimeline.duration,s=n.duration,i=t.createSubContext().currentTimeline;i.easing=n.easing,e.styles.forEach(e=>{i.forwardTime((e.offset||0)*s),i.setStyles(e.styles,e.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(r+s),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,r=e.options||{},s=r.delay?L(r.delay):0;s&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ve);let i=n;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{t.currentQueryIndex=r;const o=t.createSubContext(e.options,n);s&&o.delayNextStep(s),n===t.element&&(a=o.currentTimeline),Q(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,o.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,r=t.currentTimeline,s=e.timings,i=Math.abs(s.duration),o=i*(t.currentQueryTotal-1);let a=i*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Q(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const ve={};class be{constructor(e,t,n,r,s,i,o,a){this._driver=e,this.element=t,this.subInstru
1ctions=n,this._enterClassName=r,this._leaveClassName=s,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ve,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new _e(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=L(n.duration)),null!=n.delay&&(r.delay=L(n.delay));const s=n.params;if(s){let e=r.params;e||(e=this.options.params={}),Object.keys(s).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=Y(s[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const r=t||this.element,s=new be(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=ve,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},s=new we(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,s,i){let o=[];if(r&&o.push(this.element),e.length>0){e=(e=e.replace(fe,"."+this._enterClassName)).replace(ge,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),o.push(...t)}return s||0!=o.length||i.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),o}}class _e{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new _e(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEac
1h(e=>{this._backFill[e]=this._globalTimelineStyles[e]||i.l3,this._currentKeyframe[e]=i.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&(this._previousKeyframe.easing=t);const s=r&&r.params||{},o=function(e,t){const n={};let r;return e.forEach(e=>{"*"===e?(r=r||Object.keys(t),r.forEach(e=>{n[e]=i.l3})):F(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(o).forEach(e=>{const t=Y(o[e],s,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:i.l3),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],r=e._styleSummary[t];(!n||r.time>n.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,o)=>{const a=F(s,!0);Object.keys(a).forEach(n=>{const r=a[n];r==i.k1?e.add(n):r==i.l3&&t.add(n)}),n||(a.offset=o/this.duration),r.push(a)});const s=e.size?G(e.values()):[],o=t.size?G(t.values()):[];if(n){const e=r[0],t=M(e);e.offset=0,t.offset=1,r=[e,t]}return de(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}}class we extends _e{constructor(e,t,n,r,s,i,o=!1){super(e,t,i.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const s=[],i=n+t,o=t/i,a=F(e[0],!1);a.offset=0,s.push(a);const l=F(e[0],!1);l.offset=Ce(o),s.push(l);const c=e.length-1;for(let r=1;r<=c;r++){let o=F(e[r],!1);o.offset=Ce((t+o.offset*n)/i),s.push(o)}n=i,t=0,r="",e=s}return de(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}}function Ce(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class Se{}class Ee extends Se{normalizePropertyName(e,t){return X(e)}normalizeStyleValue(e,t,n,r){let s="";const i=n.toString().trim();if(ke[t]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&r.push(`Please provide a CSS unit value for ${e}:${n}`)}return i+s}}const ke=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function xe(e,t,n,r,s,i,o,a,l,c,u,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:s,fromState:n,fromStyles:i,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const Te={};class Oe{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return function(e,t,n,r,s){return e.some(e=>e(t,n,r,s))}(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){const r=this._stateStyles["*"],s=this._stateStyles[e],i=r?r.buildStyles(t,n):{};return s?s.buildStyles(t,n):i}build(e,t,n,r,s,i,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||Te,d=this.buildStyles(n,o&&o.params||Te,u),f=a&&a.params||Te,g=this.buildStyles(r,f,u),m=new Set,y=new Map,v=new Map,b="void"===r,_={params:Object.assign(Object.assign({},h),f)},w=c?[]:me(e,t,this.ast.animation,s,i,d,g,_,l,u);let C=0;
1if(w.forEach(e=>{C=Math.max(e.duration+e.delay,C)}),u.length)return xe(t,this._triggerName,n,r,b,d,g,[],[],y,v,C,u);w.forEach(e=>{const n=e.element,r=p(y,n,{});e.preStyleProps.forEach(e=>r[e]=!0);const s=p(v,n,{});e.postStyleProps.forEach(e=>s[e]=!0),n!==t&&m.add(n)});const S=G(m.values());return xe(t,this._triggerName,n,r,b,d,g,w,S,y,v,C)}}class Ae{constructor(e,t,n){this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){const n={},r=M(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const s=e;Object.keys(s).forEach(e=>{let i=s[e];i.length>1&&(i=Y(i,r,t));const o=this.normalizer.normalizePropertyName(e,t);i=this.normalizer.normalizeStyleValue(e,o,i,t),n[o]=i})}}),n}}class Ie{constructor(e,t,n){this.name=e,this.ast=t,this._normalizer=n,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Ae(e.style,e.options&&e.options.params||{},n)}),$e(this.states,"true","1"),$e(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Oe(e,t,this.states))}),this.fallbackTransition=new Oe(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(s=>s.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function $e(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Pe=new pe;class De{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],r=oe(this._driver,t,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[e]=r}_buildPlayer(e,t,n){const r=e.element,s=c(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const r=[],s=this._animations[e];let o;const a=new Map;if(s?(o=me(this._driver,t,s,O,A,{},{},n,Pe,r),o.forEach(e=>{const t=p(a,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);a.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,i.l3)})});const c=l(o.map(e=>{const t=a.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,n,r){const s=d(t,"","","");return u(this._getPlayer(e),n,s,r),()=>{}}command(e,t,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n)return void this.create(e,t,r[0]||{});const s=this._getPlayer(e);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const Le="ng-animate-queued",Re="ng-animate-disabled",Ne=".ng-animate-disabled",Me=[],Fe={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Be={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class je{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(r=n?e.value:e)?r:null,n){const t=M(e);delete t.value,this.options=t}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>
1{null==e[n]&&(e[n]=t[n])})}}}const ze="void",Ve=new je(ze);class Ue{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ke(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var s;const i=p(this._elementListeners,e,[]),o={name:t,phase:n,callback:r};i.push(o);const a=p(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Ke(e,I),Ke(e,"ng-trigger-"+t),a[t]=Ve),()=>{this._engine.afterFlush(()=>{const e=i.indexOf(o);e>=0&&i.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,r=!0){const s=this._getTrigger(t),i=new He(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(Ke(e,I),Ke(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,o={}));let a=o[t];const l=new je(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[t]=l,a||(a=Ve),l.value!==ze&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let s=0;s<n.length;s++){const r=n[s];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}(a.params,l.params)){const t=[],n=s.matchStyles(a.value,a.params,t),r=s.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{V(e,n),z(e,r)})}return}const c=p(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=s.matchTransition(a.value,l.value,e,l.params),h=!1;if(!u){if(!r)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:l,player:i,isFallbackTransition:h}),h||(Ke(e,Le),i.onStart(()=>{Ze(e,Le)})),i.onDone(()=>{let t=this.players.indexOf(i);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(i);e>=0&&n.splice(e,1)}}),this.players.push(i),c.push(i),i}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,$,!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,r){const s=this._engine.statesByElement.get(e);if(s){const i=[];if(Object.keys(s).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,ze,r);n&&i.push(n)}}),i.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&l(i).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const r=new Set;t.forEach(t=>{const s=t.name;if(r.has(s))return;r.add(s);const i=this._triggers[s].fallbackTransition,o=n[s]||Ve,a=new je(ze),l=new He(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:i,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{const r=e.__ng_removed;r&&r!==Fe||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Ke(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const s=n.element,i=this._elementListeners.get(s);
1i&&i.forEach(t=>{if(t.name==n.triggerName){const r=d(s,n.triggerName,n.fromState.value,n.toState.value);r._data=e,u(n.player,t.phase,r,t.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class qe{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Ue(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,t)){this._namespaceList.splice(s+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let r=0;r<e.length;r++){const s=n[e[r]].namespaceId;if(s){const e=this._fetchNamespace(s);e&&t.add(e)}}}return t}trigger(e,t,n,r){if(Ye(t)){const s=this._fetchNamespace(e);if(s)return s.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!Ye(t))return;const s=t.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const r=this._fetchNamespace(e);r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ke(e,Re)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ze(e,Re))}removeNode(e,t,n,r){if(Ye(t)){const s=e?this._fetchNamespace(e):null;if(s?s.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,r,s){return Ye(t)?this._fetchNamespace(e).listen(t,n,r,s):()=>{}}_buildInstruction(e,t,n,r,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,$,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,D,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);
1t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return l(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Fe,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Ne)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Ne,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Ke(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?l(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const n=new pe,r=[],s=new Map,o=[],a=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(e=>{h.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)h.add(t[n])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),g=Xe(f,this.collectedEnterElements),m=new Map;let y=0;g.forEach((e,t)=>{const n=O+y++;m.set(t,n),e.forEach(e=>Ke(e,n))});const v=[],b=new Set,_=new Set;for(let i=0;i<this.collectedLeaveElements.length;i++){const e=this.collectedLeaveElements[i],t=e.__ng_removed;t&&t.setForRemoval&&(v.push(e),b.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>b.add(e)):_.add(e))}const w=new Map,C=Xe(f,Array.from(b));C.forEach((e,t)=>{const n=A+y++;w.set(t,n),e.forEach(e=>Ke(e,n))}),e.push(()=>{g.forEach((e,t)=>{const n=m.get(t);e.forEach(e=>Ze(e,n))}),C.forEach((e,t)=>{const n=w.get(t);e.forEach(e=>Ze(e,n))}),v.forEach(e=>{this.processLeaveNode(e)})});const S=[],E=[];for(let i=this._namespaceList.length-1;i>=0;i--)this._namespaceList[i].drainQueuedTransitions(t).forEach(e=>{const t=e.player,s=e.element;if(S.push(t),this.collectedEnterElements.length){const e=s.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const i=!d||!this.driver.containsElement(d,s),l=w.get(s),h=m.get(s),f=this._buildInstruction(e,n,h,l,i);if(f.errors&&f.errors.length)E.push(f);else{if(i)return t.onStart(()=>V(s,f.fromStyles)),t.onDestroy(()=>z(s,f.toStyles)),void r.push(t);if(e.isFallbackTransition)return t.onStart(()=>V(s,f.fromStyles)),t.onDestroy(()=>z(s,f.toStyles)),void r.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(s,f.timelines),o.push({instruction:f,player:t,element:s}),f.queriedElements.forEach(e=>p(a,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=c.get(t);e||c.set(t,e=new Set),n.forEach(t=>e.add(t))}}),f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let r=u.get(t);r||u.set(t,r=new Set),n.forEach(e=>r.add(e))})}});if(E.length){const e=[];E.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),S.forEach(e=>e.destroy()),this.reportError(e)}const k=new Map,x=new Map;o.forEach(e=>{const t=e.element;n.has(t)&&(x.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,k))}),r.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e
1=>{p(k,t,[]).push(e),e.destroy()})});const T=v.filter(e=>et(e,c,u)),I=new Map;We(I,this.driver,_,u,i.l3).forEach(e=>{et(e,c,u)&&T.push(e)});const $=new Map;g.forEach((e,t)=>{We($,this.driver,new Set(e),c,i.k1)}),T.forEach(e=>{const t=I.get(e),n=$.get(e);I.set(e,Object.assign(Object.assign({},t),n))});const P=[],L=[],R={};o.forEach(e=>{const{element:t,player:i,instruction:o}=e;if(n.has(t)){if(h.has(t))return i.onDestroy(()=>z(t,o.toStyles)),i.disabled=!0,i.overrideTotalTime(o.totalTime),void r.push(i);let e=R;if(x.size>1){let n=t;const r=[];for(;n=n.parentNode;){const t=x.get(n);if(t){e=t;break}r.push(n)}r.forEach(t=>x.set(t,e))}const n=this._buildAnimation(i.namespaceId,o,k,s,$,I);if(i.setRealPlayer(n),e===R)P.push(i);else{const t=this.playersByElement.get(e);t&&t.length&&(i.parentPlayer=l(t)),r.push(i)}}else V(t,o.fromStyles),i.onDestroy(()=>z(t,o.toStyles)),L.push(i),h.has(t)&&r.push(i)}),L.forEach(e=>{const t=s.get(e.element);if(t&&t.length){const n=l(t);e.setRealPlayer(n)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let i=0;i<v.length;i++){const e=v[i],t=e.__ng_removed;if(Ze(e,A),t&&t.hasAnimation)continue;let n=[];if(a.size){let t=a.get(e);t&&t.length&&n.push(...t);let r=this.driver.query(e,D,!0);for(let e=0;e<r.length;e++){let t=a.get(r[e]);t&&t.length&&n.push(...t)}}const r=n.filter(e=>!e.destroyed);r.length?Qe(this,e,r):this.processLeaveNode(e)}return v.length=0,P.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),P}elementContainsData(e,t){let n=!1;const r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,s){let i=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(i=t)}else{const t=this.playersByElement.get(e);if(t){const e=!s||s==ze;t.forEach(t=>{t.queued||(e||t.triggerName==r)&&i.push(t)})}}return(n||r)&&(i=i.filter(e=>!(n&&n!=e.namespaceId||r&&r!=e.triggerName))),i}_beforeAnimationBuild(e,t,n){const r=t.element,s=t.isRemovalTransition?void 0:e,i=t.isRemovalTransition?void 0:t.triggerName;for(const o of t.timelines){const e=o.element,a=e!==r,l=p(n,e,[]);this._getPreviousPlayers(e,a,s,i,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}V(r,t.fromStyles)}_buildAnimation(e,t,n,r,s,o){const a=t.triggerName,u=t.element,h=[],d=new Set,f=new Set,g=t.timelines.map(t=>{const l=t.element;d.add(l);const p=l.__ng_removed;if(p&&p.removedBeforeQueried)return new i.ZN(t.duration,t.delay);const g=l!==u,m=function(e){const t=[];return Je(e,t),t}((n.get(l)||Me).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===l),y=s.get(l),v=o.get(l),b=c(0,this._normalizer,0,t.keyframes,y,v),_=this._buildPlayer(t,b,m);if(t.subTimeline&&r&&f.add(l),g){const t=new He(e,a,l);t.setRealPlayer(_),h.push(t)}return _});h.forEach(e=>{p(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let r;if(e instanceof Map){if(r=e.get(t),r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&e.delete(t)}}else if(r=e[t],r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&delete e[t]}return r}(this.playersByQueriedElement,e.element,e))}),d.forEach(e=>Ke(e,P));const m=l(g);return m.onDestroy(()=>{d.forEach(e=>Ze(e,P)),z(u,t.toStyles)}),f.forEach(e=>{p(r,e,[]).push(m)}),m}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new i.ZN(e.duration,e.delay)}}class He{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new i.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEac
1h(t=>{this._queuedCallbacks[t].forEach(n=>u(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){p(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Ye(e){return e&&1===e.nodeType}function Ge(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function We(e,t,n,r,s){const i=[];n.forEach(e=>i.push(Ge(e)));const o=[];r.forEach((n,r)=>{const i={};n.forEach(e=>{const n=i[e]=t.computeStyle(r,e,s);n&&0!=n.length||(r.__ng_removed=Be,o.push(r))}),e.set(r,i)});let a=0;return n.forEach(e=>Ge(e,i[a++])),o}function Xe(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const r=new Set(t),s=new Map;function i(e){if(!e)return 1;let t=s.get(e);if(t)return t;const o=e.parentNode;return t=n.has(o)?o:r.has(o)?1:i(o),s.set(e,t),t}return t.forEach(e=>{const t=i(e);1!==t&&n.get(t).push(e)}),n}function Ke(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Ze(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Qe(e,t,n){l(n).onDone(()=>e.processLeaveNode(t))}function Je(e,t){for(let n=0;n<e.length;n++){const r=e[n];r instanceof i.ZE?Je(r.players,t):t.push(r)}}function et(e,t,n){const r=n.get(e);if(!r)return!1;let s=t.get(e);return s?r.forEach(e=>s.add(e)):t.set(e,r),n.delete(e),!0}class tt{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new qe(e,t,n),this._timelineEngine=new De(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,s){const i=e+"-"+r;let o=this._triggerCache[i];if(!o){const e=[],t=oe(this._driver,s,e);if(e.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);o=function(e,t,n){return new Ie(e,t,n)}(r,t,this._normalizer),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,r,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if("@"==n.charAt(0)){const[e,s]=f(n);this._timelineEngine.command(e,t,s,r)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,s){if("@"==n.charAt(0)){const[e,r]=f(n);return this._timelineEngine.listen(e,t,r,s)}return this._transitionEngine.listen(e,t,n,r,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function nt(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=st(t[0]),t.length>1&&(r=st(t[t.length-1]))):t&&(n=st(t)),n||r?new rt(e,n,r):null}class rt{constructor(e,t,n){this._element=e,this._startStyles=t,this._endStyles=n,this._state=0;let r=rt.initialStylesByElement.get(e);r||rt.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&z(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(z(this._element,this._initialStyles),this._endStyles&&(z(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(rt.initialStylesByElement.delete(this._element),this._startStyles&&(V(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(V(this._element,this._endStyles),this._endStyles=null),z(this._element,this._initialStyles),this._state=3)}}function st(e){let t=null;const n=Object.keys(e);for(let r=0;r<n.length;r++){const s=n[r];it(s)&&(t=t||{},t[s]=e[s])}return t}function it(e){return"display"===e||"position"===e}rt.initialStylesByElement=new WeakMap;const ot="animation",at="animationend";class lt{constructor(e,t,n,r,s,i,o){this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=s,this._fillMode=i,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e
1=>this._handleCallback(e)}apply(){!function(e,t){const n=ft(e,"").trim();n.length&&(function(e,t){let n=0;for(let r=0;r<e.length;r++)","===e.charAt(r)&&n++}(n),t=`${n}, ${t}`),pt(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),dt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){ct(this._element,this._name,"paused")}resume(){ct(this._element,this._name,"running")}setPosition(e){const t=ut(this._element,this._name);this._position=e*this._duration,pt(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),dt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=ft(e,"").split(","),r=ht(n,t);r>=0&&(n.splice(r,1),pt(e,"",n.join(",")))}(this._element,this._name))}}function ct(e,t,n){pt(e,"PlayState",n,ut(e,t))}function ut(e,t){const n=ft(e,"");return n.indexOf(",")>0?ht(n.split(","),t):ht([n],t)}function ht(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function dt(e,t,n){n?e.removeEventListener(at,t):e.addEventListener(at,t)}function pt(e,t,n,r){const s=ot+t;if(null!=r){const t=e.style[s];if(t.length){const e=t.split(",");e[r]=n,n=e.join(",")}}e.style[s]=n}function ft(e,t){return e.style[ot+t]||""}class gt{constructor(e,t,n,r,s,i,o,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=i||"linear",this.totalTime=r+s,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new lt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:J(this.element,n))})}this.currentSnapshot=e}}class mt extends i.ZN{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=k(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class yt{constructor(){this._count=0}validateStyleProperty(e){return w(e)}matchesElement(e,t){return C(e,t)}containsElement(e,t){return S(e,t)}query(e,t,n){return E(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>k(e));let r=`@keyframes ${t} {\n`,s="";
1n.forEach(e=>{s=" ";const t=parseFloat(e.offset);r+=`${s}${100*t}% {\n`,s+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=`${s}animation-timing-function: ${n};\n`));default:return void(r+=`${s}${t}: ${n};\n`)}}),r+=`${s}}\n`}),r+="}\n";const i=document.createElement("style");return i.textContent=r,i}animate(e,t,n,r,s,i=[],o){const a=i.filter(e=>e instanceof gt),l={};K(n,r)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=Z(e,t,l));if(0==n)return new mt(e,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,u,t);(function(e){var t;const n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(e).appendChild(h);const d=nt(e,t),p=new gt(e,t,u,n,r,s,c,d);return p.onDestroy(()=>{var e;(e=h).parentNode.removeChild(e)}),p}}class vt{constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:J(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class bt{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(_t().toString()),this._cssKeyframesDriver=new yt}validateStyleProperty(e){return w(e)}matchesElement(e,t){return C(e,t)}containsElement(e,t){return S(e,t)}query(e,t,n){return E(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,r,s,i=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,s,i);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};s&&(a.easing=s);const l={},c=i.filter(e=>e instanceof vt);K(n,r)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=nt(e,t=Z(e,t=t.map(e=>F(e,!1)),l));return new vt(e,t,a,u)}}function _t(){return o()&&Element.prototype.animate||{}}var wt=n(38583);let Ct=(()=>{class e extends i._j{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:r.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?(0,i.vP)(e):e;return kt(this._renderer,null,t,"register",[n]),new St(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.FYo),r.LFG(wt.K0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();class St extends i.LC{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Et(this._id,e,t||{},this._renderer)}}class Et{constructor(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return kt(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}
1function kt(e,t,n,r,s){return e.setProperty(t,`@@${n}:${r}`,s)}const xt="@",Tt="@.disabled";let Ot=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new At("",n,this.engine),this._rendererCache.set(n,e)),e}const r=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const i=t=>{Array.isArray(t)?t.forEach(i):this.engine.registerTrigger(r,s,e,t.name,t)};return t.data.animation.forEach(i),new It(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.FYo),r.LFG(tt),r.LFG(r.R0b))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();class At{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,r=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==xt&&t==Tt?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class It extends At{constructor(e,t,n,r){super(t,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==xt?"."==t.charAt(1)&&t==Tt?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==xt){const r=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let s=t.substr(1),i="";return s.charAt(0)!=xt&&([s,i]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(s)),this.engine.listen(this.namespaceId,r,s,i,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let $t=(()=>{class e extends tt{constructor(e,t,n){super(e.body,t,n)}ngOnDestroy(){this.flush()}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(wt.K0),r.LFG(T),r.LFG(Se))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();const Pt=new r.OlP("AnimationModuleType"),Dt=[{provide:i._j,useClass:Ct},{provide:Se,useFactory:function(){return new Ee}},{provide:tt,useClass:$t},{provide:r.FYo,useFactory:function(e,t,n){return new Ot(e,t,n)},deps:[s.se,tt,r.R0b]}],Lt=[{provide:T,useFactory:function(){return"function"==typeof _t()?new bt:new yt}},{provide:Pt,useValue:"BrowserAnimations"},...Dt],Rt=[{provide:T,useClass:x},{provide:Pt,useValue:"NoopAnimations"},...Dt];let Nt=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?Rt:Lt}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:Lt,imports:[s.b2]}),e})()},39075:(e,t,n)=>{"use strict";n.d(t,{b2:()=>F,H7:()=>D,h_:()=>j,Dx:()=>U,q6:()=>N,se:()=>S});var r=n(38583),s=n(37716);
1class i extends r.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends i{static makeCurrent(){(0,r.HT)(new o)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==t?null:function(e){a=a||document.createElement("a"),a.setAttribute("href",e);const t=a.pathname;return"/"===t.charAt(0)?t:`/${t}`}(t)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return(0,r.Mx)(document.cookie,e)}}let a,l=null;const c=new s.OlP("TRANSITION_ID"),u=[{provide:s.ip1,useFactory:function(e,t,n){return()=>{n.get(s.CZH).donePromise.then(()=>{const n=(0,r.q)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[c,r.K0,s.zs3],multi:!0}];class h{static init(){(0,s.VLi)(new h)}addToWindow(e){s.dqk.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},s.dqk.getAllAngularTestabilities=()=>e.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>e.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(e=>{const t=s.dqk.getAllAngularTestabilities();let n=t.length,r=!1;const i=function(t){r=r||t,n--,0==n&&e(r)};t.forEach(function(e){e.whenStable(i)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const s=e.getTestability(t);return null!=s?s:n?(0,r.q)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}let d=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();const p=new s.OlP("EventManagerPlugins");let f=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(p),s.LFG(s.R0b))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();class g{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const s=(0,r.q)().getGlobalEventTarget(this._doc,e);if(!s)throw new Error(`Unsupported event target ${s} for event ${t}`);return this.addEventListener(s,t,n)}}let m=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})(),y=(()=>{class e extends m{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,n){e.forEach(e=>{const r=this._doc.createElement("style");r.textContent=e,n.push(t.appendChild(r))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(v),this._hostNodes.delete(e)}
1onStylesAdded(e){this._hostNodes.forEach((t,n)=>{this._addStylesToHost(e,n,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(v))}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(r.K0))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();function v(e){(0,r.q)().remove(e)}const b={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/"},_=/%COMP%/g;function w(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?w(e,s,n):(s=s.replace(_,e),n.push(s))}return n}function C(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let S=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new E(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case s.ifc.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new k(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case s.ifc.ShadowDom:return new x(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=w(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(f),s.LFG(y),s.LFG(s.AFp))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();class E{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(b[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const s=b[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=b[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(s.JOm.DashCase|s.JOm.Important)?e.style.setProperty(t,n,r&s.JOm.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&s.JOm.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,C(n)):this.eventManager.addEventListener(e,t,C(n))}}class k extends E{constructor(e,t,n,r){super(e),this.component=n;const s=w(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(_,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(_,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class x extends E{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=w(r.id,r.styles,[]);for(let i=0;i<s.length;i++){const e=document.createElement("style");e.textContent=s[i],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let T=(()=>{class e extends g{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(r.K0))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();const O=["alt","control","meta","shift"],A={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},I={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},$={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let P=(()=>{class e extends g{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,s){const i=e.parseEventName(n),o=e.eventCallback(i.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,r.q)().onAndCancel(t,i.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=e._normalizeKey(n.pop());let i="";
1if(O.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&I.hasOwnProperty(t)&&(t=I[t]))}return A[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),O.forEach(r=>{r!=n&&(0,$[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return s=>{e.getEventFullKey(s)===t&&r.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(r.K0))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})(),D=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,s.Yz7)({factory:function(){return(0,s.LFG)(R)},token:e,providedIn:"root"}),e})();function L(e){return new R(e.get(r.K0))}let R=(()=>{class e extends D{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case s.q3G.NONE:return t;case s.q3G.HTML:return(0,s.qzn)(t,"HTML")?(0,s.z3N)(t):(0,s.EiD)(this._doc,String(t)).toString();case s.q3G.STYLE:return(0,s.qzn)(t,"Style")?(0,s.z3N)(t):t;case s.q3G.SCRIPT:if((0,s.qzn)(t,"Script"))return(0,s.z3N)(t);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.yhl)(t),(0,s.qzn)(t,"URL")?(0,s.z3N)(t):(0,s.mCW)(String(t));case s.q3G.RESOURCE_URL:if((0,s.qzn)(t,"ResourceURL"))return(0,s.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,s.JVY)(e)}bypassSecurityTrustStyle(e){return(0,s.L6k)(e)}bypassSecurityTrustScript(e){return(0,s.eBb)(e)}bypassSecurityTrustUrl(e){return(0,s.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,s.pB0)(e)}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(r.K0))},e.\u0275prov=(0,s.Yz7)({factory:function(){return L((0,s.LFG)(s.gxx))},token:e,providedIn:"root"}),e})();const N=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:r.bD},{provide:s.g9A,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:r.K0,useFactory:function(){return(0,s.RDi)(document),document},deps:[]}]),M=[[],{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function(){return new s.qLn},deps:[]},{provide:p,useClass:T,multi:!0,deps:[r.K0,s.R0b,s.Lbi]},{provide:p,useClass:P,multi:!0,deps:[r.K0]},[],{provide:S,useClass:S,deps:[f,y,s.AFp]},{provide:s.FYo,useExisting:S},{provide:m,useExisting:y},{provide:y,useClass:y,deps:[r.K0]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b]},{provide:f,useClass:f,deps:[p,s.R0b]},{provide:r.JF,useClass:d,deps:[]},[]];let F=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:s.AFp,useValue:t.appId},{provide:c,useExisting:s.AFp},u]}}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(e,12))},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({providers:M,imports:[r.ez,s.hGG]}),e})();function B(){return new j((0,s.LFG)(r.K0))}let j=(()=>{class e{constructor(e){this._doc=e,this._dom=(0,r.q)()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTags(t).filter(t=>this._containsAttributes(e,t))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(e,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>t.setAttribute(this._getMetaKeyMap(n),e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>t.getAttribute(this._getMetaKeyMap(n))===e[n])}_getMetaKeyMap(e){return z[e]||e}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(r.K0))},e.\u0275prov=(0,s.Yz7)({factory:B,token:e,providedIn:"root"}),e})();const z={httpEquiv:"http-equiv"};function V(){return new U((0,s.LFG)(r.K0))}let U=(()=>{class e{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(r.K0))},e.\u0275prov=(0,s.Yz7)({factory:V,token:e,providedIn:"root"}),e})();"undefined"!=typeof window&&window}
1,63423:(e,t,n)=>{"use strict";n.d(t,{gz:()=>Ge,y6:()=>un,m2:()=>V,OD:()=>z,eC:()=>re,wm:()=>kn,wN:()=>sn,F0:()=>yn,rH:()=>vn,Od:()=>wn,yS:()=>bn,Bz:()=>Dn,Hx:()=>Ee});var r=n(38583),s=n(37716),i=n(94402),o=n(25917),a=n(26215),l=n(90739),c=n(83550),u=n(13410),h=n(58071),d=n(41439),p=n(59193),f=n(52441),g=n(79765),m=n(77393);function y(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new v(e,t,n))}}class v{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new b(e,this.accumulator,this.seed,this.hasSeed))}}class b extends m.L{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}var _=n(45435),w=n(7108);function C(e){return function(t){return 0===e?(0,p.c)():t.lift(new S(e))}}class S{constructor(e){if(this.total=e,this.total<0)throw new w.W}call(e,t){return t.subscribe(new E(e,this.total))}}class E extends m.L{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s<n;s++){const s=t++%n;e.next(r[s])}}e.complete()}}var k=n(44635),x=n(95242),T=n(54487),O=n(88002),A=n(43190),I=n(15257),$=n(39761),P=n(5304),D=n(94612),L=n(28049),R=n(19773),N=n(93342),M=n(51307),F=n(68939),B=n(63282);class j{constructor(e,t){this.id=e,this.url=t}}class z extends j{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class V extends j{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class U extends j{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class q extends j{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class H extends j{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Y extends j{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class G extends j{constructor(e,t,n,r,s){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class W extends j{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class X extends j{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class K{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Z{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Q{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class J{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ee{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class te{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ne{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const re="primary";class se{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function ie(e){return new se(e)}function oe(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function ae(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const s={};for(let i=0;i<r.length;i++){const t=r[i],n=e[i];if(t.startsWith(":"))s[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,r.length),posParams:s}}function le(e,t){const n=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!n||!r||n.length!=r.length)return!1;let s;for(let i=0;i<n.length;i++)if(s=n[i],!ce(e[s],t[s]))return!1;return!0}function ce(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;const n=[...e].sort(),r=[...t].sort();return n.every((e,t)=>r[t]===e)}return e===t}function ue(e){return Array.prototype.concat.apply([],e)}function he(e){return e.length>0?e[e.length-1]:null}function de(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}
1function pe(e){return(0,s.CqO)(e)?e:(0,s.QGY)(e)?(0,i.D)(Promise.resolve(e)):(0,o.of)(e)}const fe={exact:function e(t,n,r){if(!Se(t.segments,n.segments))return!1;if(!be(t.segments,n.segments,r))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children){if(!t.children[s])return!1;if(!e(t.children[s],n.children[s],r))return!1}return!0},subset:ye},ge={exact:function(e,t){return le(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>ce(e[n],t[n]))},ignored:()=>!0};function me(e,t,n){return fe[n.paths](e.root,t.root,n.matrixParams)&&ge[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function ye(e,t,n){return ve(e,t,t.segments,n)}function ve(e,t,n,r){if(e.segments.length>n.length){const s=e.segments.slice(0,n.length);return!!Se(s,n)&&!t.hasChildren()&&!!be(s,n,r)}if(e.segments.length===n.length){if(!Se(e.segments,n))return!1;if(!be(e.segments,n,r))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!ye(e.children[n],t.children[n],r))return!1}return!0}{const s=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!Se(e.segments,s)&&!!be(e.segments,s,r)&&!!e.children[re]&&ve(e.children[re],t,i,r)}}function be(e,t,n){return t.every((t,r)=>ge[n](e[r].parameters,t.parameters))}class _e{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ie(this.queryParams)),this._queryParamMap}toString(){return xe.serialize(this)}}class we{constructor(e,t){this.segments=e,this.children=t,this.parent=null,de(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Te(this)}}class Ce{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ie(this.parameters)),this._parameterMap}toString(){return Le(this)}}function Se(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class Ee{}class ke{parse(e){const t=new Be(e);return new _e(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`/${Oe(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Ie(t)}=${Ie(e)}`).join("&"):`${Ie(t)}=${Ie(n)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const xe=new ke;function Te(e){return e.segments.map(e=>Le(e)).join("/")}function Oe(e,t){if(!e.hasChildren())return Te(e);if(t){const t=e.children[re]?Oe(e.children[re],!1):"",n=[];return de(e.children,(e,t)=>{t!==re&&n.push(`${t}:${Oe(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return de(e.children,(e,r)=>{r===re&&(n=n.concat(t(e,r)))}),de(e.children,(e,r)=>{r!==re&&(n=n.concat(t(e,r)))}),n}(e,(t,n)=>n===re?[Oe(e.children[re],!1)]:[`${n}:${Oe(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[re]?`${Te(e)}/${t[0]}`:`${Te(e)}/(${t.join("//")})`}}function Ae(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ie(e){return Ae(e).replace(/%3B/gi,";")}function $e(e){return Ae(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pe(e){return decodeURIComponent(e)}function De(e){return Pe(e.replace(/\+/g,"%20"))}function Le(e){return`${$e(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${$e(e)}=${$e(t[e])}`).join("")}`;var t}const Re=/^[^\/()?;=#]+/;function Ne(e){const t=e.match(Re);return t?t[0]:""}const Me=/^[^=?&#]+/,Fe=/^[^?&#]+/;class Be{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new we([],{}):new we([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}
vendor: 2,845 bytes, line 1
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[re]=new we(e,t)),n}parseSegment(){const e=Ne(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Ce(Pe(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Ne(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Ne(this.remaining);e&&(n=e,this.capture(n))}e[Pe(t)]=Pe(n)}parseQueryParam(e){const t=function(e){const t=e.match(Me);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Fe);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const r=De(t),s=De(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(t=[t],e[r]=t),t.push(s)}else e[r]=s}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ne(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=re);const i=this.parseChildren();t[s]=1===Object.keys(i).length?i[re]:new we([],i),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class je{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=ze(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=ze(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Ve(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Ve(e,this._root).map(e=>e.value)}}function ze(e,t){if(e===t.value)return t;for(const n of t.children){const t=ze(e,n);if(t)return t}return null}function Ve(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Ve(e,n);if(r.length)return r.unshift(t),r}return[]}
1class Ue{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function qe(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class He extends je{constructor(e,t){super(e),this.snapshot=t,Ze(this,e)}toString(){return this.snapshot.toString()}}function Ye(e,t){const n=function(e,t){const n=new Xe([],{},{},"",{},re,t,null,e.root,-1,{});return new Ke("",new Ue(n,[]))}(e,t),r=new a.X([new Ce("",{})]),s=new a.X({}),i=new a.X({}),o=new a.X({}),l=new a.X(""),c=new Ge(r,s,o,l,i,re,t,n.root);return c.snapshot=n.root,new He(new Ue(c,[]),n)}class Ge{constructor(e,t,n,r,s,i,o,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}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._paramMap=this.params.pipe((0,O.U)(e=>ie(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,O.U)(e=>ie(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function We(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Xe{constructor(e,t,n,r,s,i,o,a,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=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||(this._paramMap=ie(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ie(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ke extends je{constructor(e,t){super(t),this.url=e,Ze(this,t)}toString(){return Qe(this._root)}}function Ze(e,t){t.value._routerState=e,t.children.forEach(t=>Ze(e,t))}function Qe(e){const t=e.children.length>0?` { ${e.children.map(Qe).join(", ")} } `:"";return`${e.value}${t}`}function Je(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,le(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),le(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!le(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),le(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function et(e,t){var n,r;return le(e.params,t.params)&&Se(n=e.url,r=t.url)&&n.every((e,t)=>le(e.parameters,r[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||et(e.parent,t.parent))}function tt(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const s=function(e,t,n){return t.children.map(t=>{for(const r of n.children)if(e.shouldReuseRoute(t.value,r.value.snapshot))return tt(e,t,r);return tt(e,t)})}(e,t,n);return new Ue(r,s)}{if(e.shouldAttach(t.value)){const n=e.retrieve(t.value);if(null!==n){const e=n.route;return nt(t,e),e}}const n=new Ge(new a.X((r=t.value).url),new a.X(r.params),new a.X(r.queryParams),new a.X(r.fragment),new a.X(r.data),r.outlet,r.component,r),s=t.children.map(t=>tt(e,t));return new Ue(n,s)}var r}function nt(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");
1if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n<e.children.length;++n)nt(e.children[n],t.children[n])}function rt(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function st(e){return"object"==typeof e&&null!=e&&e.outlets}function it(e,t,n,r,s){let i={};return r&&de(r,(e,t)=>{i[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new _e(n.root===e?t:ot(n.root,e,t),i,s)}function ot(e,t,n){const r={};return de(e.children,(e,s)=>{r[s]=e===t?n:ot(e,t,n)}),new we(e.segments,r)}class at{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&rt(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(st);if(r&&r!==he(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class lt{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function ct(e,t,n){if(e||(e=new we([],{})),0===e.segments.length&&e.hasChildren())return ut(e,t,n);const r=function(e,t,n){let r=0,s=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;s<e.segments.length;){if(r>=n.length)return i;const t=e.segments[s],o=n[r];if(st(o))break;const a=`${o}`,l=r<n.length-1?n[r+1]:null;if(s>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!ft(a,l,t))return i;r+=2}else{if(!ft(a,{},t))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(e,t,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const t=new we(e.segments.slice(0,r.pathIndex),{});return t.children[re]=new we(e.segments.slice(r.pathIndex),e.children),ut(t,0,s)}return r.match&&0===s.length?new we(e.segments,{}):r.match&&!e.hasChildren()?ht(e,t,n):r.match?ut(e,0,s):ht(e,t,n)}function ut(e,t,n){if(0===n.length)return new we(e.segments,{});{const r=function(e){return st(e[0])?e[0].outlets:{[re]:e}}(n),s={};return de(r,(n,r)=>{"string"==typeof n&&(n=[n]),null!==n&&(s[r]=ct(e.children[r],t,n))}),de(e.children,(e,t)=>{void 0===r[t]&&(s[t]=e)}),new we(e.segments,s)}}function ht(e,t,n){const r=e.segments.slice(0,t);let s=0;for(;s<n.length;){const i=n[s];if(st(i)){const e=dt(i.outlets);return new we(r,e)}if(0===s&&rt(n[0])){r.push(new Ce(e.segments[t].path,pt(n[0]))),s++;continue}const o=st(i)?i.outlets[re]:`${i}`,a=s<n.length-1?n[s+1]:null;o&&a&&rt(a)?(r.push(new Ce(o,pt(a))),s+=2):(r.push(new Ce(o,{})),s++)}return new we(r,{})}function dt(e){const t={};return de(e,(e,n)=>{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=ht(new we([],{}),0,e))}),t}function pt(e){const t={};return de(e,(e,n)=>t[n]=`${e}`),t}function ft(e,t,n){return e==n.path&&le(t,n.parameters)}class gt{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Je(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=qe(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),de(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,n);else s&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),r=n&&e.value.component?n.children:t,s=qe(e);for(const i of Object.keys(s))this.deactivateRouteAndItsChildren(s[i],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}
1activateChildRoutes(e,t,n){const r=qe(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new te(e.value.snapshot))}),e.children.length&&this.forwardEvent(new J(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(Je(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),mt(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=s,t.outlet&&t.outlet.activateWith(r,s),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function mt(e){Je(e.value),e.children.forEach(mt)}class yt{constructor(e,t){this.routes=e,this.module=t}}function vt(e){return"function"==typeof e}function bt(e){return e instanceof _e}const _t=Symbol("INITIAL_VALUE");function wt(){return(0,A.w)(e=>(0,l.aj)(e.map(e=>e.pipe((0,I.q)(1),(0,$.O)(_t)))).pipe(y((e,t)=>{let n=!1;return t.reduce((e,r,s)=>{if(e!==_t)return e;if(r===_t&&(n=!0),!n){if(!1===r)return r;if(s===t.length-1||bt(r))return r}return e},e)},_t),(0,_.h)(e=>e!==_t),(0,O.U)(e=>bt(e)?e:!0===e),(0,I.q)(1)))}let Ct=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Xpm({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&s._UZ(0,"router-outlet")},directives:function(){return[Cn]},encapsulation:2}),e})();function St(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];Et(r,kt(t,r))}}function Et(e,t){e.children&&St(e.children,t)}function kt(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function xt(e){const t=e.children&&e.children.map(xt),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==re&&(n.component=Ct),n}function Tt(e){return e.outlet||re}function Ot(e,t){const n=e.filter(e=>Tt(e)===t);return n.push(...e.filter(e=>Tt(e)!==t)),n}const At={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function It(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},At):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(t.matcher||ae)(n,e,t);if(!s)return Object.assign({},At);const i={};de(s.posParams,(e,t)=>{i[t]=e.path});const o=s.consumed.length>0?Object.assign(Object.assign({},i),s.consumed[s.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(r=s.posParams)&&void 0!==r?r:{}}}function $t(e,t,n,r,s="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>Pt(e,t,n)&&Tt(n)!==re)}(e,n,r)){const s=new we(t,function(e,t,n,r){const s={};s[re]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&Tt(i)!==re){const n=new we([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,s[Tt(i)]=n}return s}(e,t,r,new we(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>Pt(e,t,n))}(e,n,r)){const i=new we(e.segments,function(e,t,n,r,s,i){const o={};for(const a of r)if(Pt(e,n,a)&&!s[Tt(a)]){const n=new we([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===i?e.segments.length:t.length,o[Tt(a)]=n}return Object.assign(Object.assign({},s),o)}(e,t,n,r,e.children,s));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const i=new we(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function Pt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Dt(e,t,n,r){return!!(Tt(e)===r||r!==re&&Pt(t,n,e))&&("**"===e.path||It(t,e,n).matched)}function Lt(e,t,n){return 0===t.length&&!e.children[n]}class Rt{constructor(e){this.segmentGroup=e||null}}class Nt{constructor(e){this.urlTree=e}}function Mt(e){return new c.y(t=>t.error(new Rt(e)))}function Ft(e){return new c.y(t=>t.error(new Nt(e)))}function Bt(e){return new c.y(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class jt{constructor(e,t,n,r,i){this.configLoader=t,this.urlSerializer
1=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(s.h0i)}apply(){const e=$t(this.urlTree.root,[],[],this.config).segmentGroup,t=new we(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,re).pipe((0,O.U)(e=>this.createUrlTree(zt(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,P.K)(e=>{if(e instanceof Nt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Rt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,re).pipe((0,O.U)(t=>this.createUrlTree(zt(t),e.queryParams,e.fragment))).pipe((0,P.K)(e=>{if(e instanceof Rt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new we([],{[re]:e}):e;return new _e(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe((0,O.U)(e=>new we([],e))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){const r=[];for(const s of Object.keys(n.children))"primary"===s?r.unshift(s):r.push(s);return(0,i.D)(r).pipe((0,D.b)(r=>{const s=n.children[r],i=Ot(t,r);return this.expandSegmentGroup(e,i,s,r).pipe((0,O.U)(e=>({segment:e,outlet:r})))}),y((e,t)=>(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return r=>r.pipe(e?(0,_.h)((t,n)=>e(t,n,r)):T.y,C(1),n?(0,x.d)(t):(0,k.T)(()=>new u.K))}())}expandSegment(e,t,n,r,s,a){return(0,i.D)(n).pipe((0,D.b)(i=>this.expandSegmentAgainstRoute(e,t,n,i,r,s,a).pipe((0,P.K)(e=>{if(e instanceof Rt)return(0,o.of)(null);throw e}))),(0,L.P)(e=>!!e),(0,P.K)((e,n)=>{if(e instanceof u.K||"EmptyError"===e.name){if(Lt(t,r,s))return(0,o.of)(new we([],{}));throw new Rt(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,r,s,i,o){return Dt(r,t,s,i)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,s,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i):Mt(t):Mt(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ft(s):this.lineralizeSegments(n,s).pipe((0,R.zg)(n=>{const s=new we(n,{});return this.expandSegment(e,s,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=It(t,r,s);if(!o)return Mt(t);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Ft(u):this.lineralizeSegments(r,u).pipe((0,R.zg)(r=>this.expandSegment(e,t,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(e,t,n,r,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,o.of)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe((0,O.U)(e=>(n._loadedConfig=e,new we(r,{})))):(0,o.of)(new we(r,{}));const{matched:i,consumedSegments:a,lastChild:l}=It(t,n,r);if(!i)return Mt(t);const c=r.slice(l);return this.getChildConfig(e,n,r).pipe((0,R.zg)(e=>{const r=e.module,i=e.routes,{segmentGroup:l,slicedSegments:u}=$t(t,a,c,i),h=new we(l.segments,l.children);if(0===u.length&&h.hasChildren())return this.expandChildren(r,i,h).pipe((0,O.U)(e=>new we(a,e)));if(0===i.length&&0===u.length)return(0,o.of)(new we(a,{}));const d=Tt(n)===s;return this.expandSegment(r,h,i,u,d?re:s,!0).pipe((0,O.U)(e=>new we(a.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?(0,o.of)(new yt(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?(0,o.of)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe((0,R.zg)(n=>n?this.configLoader.load(e.injector,t).pipe((0,O.U)(e=>(t._loadedConfig=e,e))):function(e){return new c.y(t=>t.error(oe(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):(0,o.of)(new yt([],e))}runCanLoadGuards(e,t,n){const r=t.canLoad;if(!r||0===r.length)return(0,o.of)(!0);const s=r.map(r=>{const s=e.get(r);let i;if(function(e){return e&&vt(e.canLoad)}(s))i=s.canLoad(t,n);else{if(!vt(s))throw new Error("Invalid CanLoad guard");i=s(t,n)}return pe(i)});return(0,o.of)(s).pipe(wt(),(0,N.b)(e=>{if(!bt(e))return;const t=oe(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),(0,O.U)(e=>!0===e))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return(0,o.of)(n);if(r.numberOfChildren>1||!r.children[re])return Bt(e.redirectTo);r=r.children[re]}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const s=this.createSegmentGroup(e,t.root,n,r);return new _e(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return de(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const s=e.substring(1);n[r]=t[s]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const s=this.createSegments(e,t.segments,n,r);let i={};return de(t.children,(t,s)=>{i[s]=this.createSegmentGroup(e,t,n,r)}),new we(s,i)}createSegments(e,t,n,r){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function zt(e){const t={};for(const n of Object.keys(e.children)){const r=zt(e.children[n]);(r.segments.length>0||r.hasChildren())&&(t[n]=r)}return function(e){if(1===e.numberOfChildren&&e.children[re]){const t=e.children[re];return new we(e.segments.concat(t.segments),t.children)}return e}(new we(e.segments,t))}class Vt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Ut{constructor(e,t){this.component=e,this.route=t}}function qt(e,t,n){const r=e._root;return Yt(r,t?t._root:null,n,[r.value])}function Ht(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Yt(e,t,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=qe(t);
1return e.children.forEach(e=>{!function(e,t,n,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,o=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Se(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Se(e.url,t.url)||!le(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!et(e,t)||!le(e.queryParams,t.queryParams);case"paramsChange":default:return!et(e,t)}}(o,i,i.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Vt(r)):(i.data=o.data,i._resolvedData=o._resolvedData),Yt(e,t,i.component?a?a.children:null:n,r,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Ut(a.outlet.component,o))}else o&&Gt(t,a,s),s.canActivateChecks.push(new Vt(r)),Yt(e,null,i.component?a?a.children:null:n,r,s)}(e,i[e.value.outlet],n,r.concat([e.value]),s),delete i[e.value.outlet]}),de(i,(e,t)=>Gt(e,n.getContext(t),s)),s}function Gt(e,t,n){const r=qe(e),s=e.value;de(r,(e,r)=>{Gt(e,s.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new Ut(s.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,s))}class Wt{}function Xt(e){return new c.y(t=>t.error(e))}class Kt{constructor(e,t,n,r,s,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){const e=$t(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,re);if(null===t)return null;const n=new Xe([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},re,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Ue(n,t),s=new Ke(this.url,r);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(e){const t=e.value,n=We(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const s of Object.keys(t.children)){const r=t.children[s],i=Ot(e,s),o=this.processSegmentGroup(i,r,s);if(null===o)return null;n.push(...o)}const r=Qt(n);return r.sort((e,t)=>e.value.outlet===re?-1:t.value.outlet===re?1:e.value.outlet.localeCompare(t.value.outlet)),r}processSegment(e,t,n,r){for(const s of e){const e=this.processSegmentAgainstRoute(s,t,n,r);if(null!==e)return e}return Lt(t,n,r)?[]:null}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo||!Dt(e,t,n,r))return null;let s,i=[],o=[];if("**"===e.path){const r=n.length>0?he(n).parameters:{};s=new Xe(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,tn(e),Tt(e),e.component,e,Jt(t),en(t)+n.length,nn(e))}else{const r=It(t,e,n);if(!r.matched)return null;i=r.consumedSegments,o=n.slice(r.lastChild),s=new Xe(i,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,tn(e),Tt(e),e.component,e,Jt(t),en(t)+i.length,nn(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=$t(t,i,o,a.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return null===e?null:[new Ue(s,e)]}if(0===a.length&&0===c.length)return[new Ue(s,[])];const u=Tt(e)===r,h=this.processSegment(a,l,c,u?re:r);return null===h?null:[new Ue(s,h)]}}function Zt(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function Qt(e){const t=[],n=new Set;for(const r of e){if(!Zt(r)){t.push(r);continue}const e=t.find(e=>r.value.routeConfig===e.value.routeConfig);void 0!==e?(e.children.push(...r.children),n.add(e)):t.push(r)}for(const r of n){const e=Qt(r.children);t.push(new Ue(r.value,e))}return t.filter(e=>!n.has(e))}function Jt(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function en(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function tn(e){return e.data||{}}function nn(e){return e.resolve||{}}
1function rn(e){return(0,A.w)(t=>{const n=e(t);return n?(0,i.D)(n).pipe((0,O.U)(()=>t)):(0,o.of)(t)})}class sn{}class on extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const an=new s.OlP("ROUTES");class ln{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);const n=this.loadModuleFactory(t.loadChildren).pipe((0,O.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new yt(ue(r.injector.get(an,void 0,s.XFs.Self|s.XFs.Optional)).map(xt),r)}),(0,P.K)(e=>{throw t._loader$=void 0,e}));return t._loader$=new f.c(n,()=>new g.xQ).pipe((0,M.x)()),t._loader$}loadModuleFactory(e){return"string"==typeof e?(0,i.D)(this.loader.load(e)):pe(e()).pipe((0,R.zg)(e=>e instanceof s.YKP?(0,o.of)(e):(0,i.D)(this.compiler.compileModuleAsync(e))))}}class cn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new un,this.attachRef=null}}class un{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const 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 cn,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class hn{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function dn(e){throw e}function pn(e,t,n){return t.parse("/")}function fn(e,t){return(0,o.of)(null)}const gn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let yn=(()=>{class e{constructor(e,t,n,r,i,o,l,c){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new g.xQ,this.errorHandler=dn,this.malformedUriErrorHandler=pn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:fn,afterPreactivation:fn},this.urlHandlingStrategy=new hn,this.routeReuseStrategy=new on,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=i.get(s.h0i),this.console=i.get(s.c2e);const u=i.get(s.R0b);this.isNgZoneEnabled=u instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new _e(new we([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ln(o,l,e=>this.triggerEvent(new K(e)),e=>this.triggerEvent(new Z(e))),this.routerState=Ye(this.currentUrlTree,this.rootComponentType),this.transitions=new a.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const t=this.events;return e.pipe((0,_.h)(e=>0!==e.id),(0,O.U)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),(0,A.w)(e=>{let n=!1,r=!1;return(0,o.of)(e).pipe((0,N.b)(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,A.w)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return(0,o.of)(e).pipe((0,A.w)(e=>{const n=this.transitions.getValue();return t.next(new z(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?p.E:Promise.resolve(e)}),(r=this.ngModule.injector,s=this.configLoader,i=this.urlSerializer,a=this.config,(0,A.w)(e=>
1function(e,t,n,r,s){return new jt(e,t,n,r,s).apply()}(r,s,i,e.extractedUrl,a).pipe((0,O.U)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t}))))),(0,N.b)(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,r,s){return(0,R.zg)(i=>function(e,t,n,r,s="emptyOnly",i="legacy"){try{const a=new Kt(e,t,n,r,s,i).recognize();return null===a?Xt(new Wt):(0,o.of)(a)}catch(a){return Xt(a)}}(e,t,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe((0,O.U)(e=>Object.assign(Object.assign({},i),{targetSnapshot:e}))))}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,N.b)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,e),this.browserUrlTree=e.urlAfterRedirects);const n=new H(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var r,s,i,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:a}=e,l=new z(n,this.serializeUrl(r),s,i);t.next(l);const c=Ye(r,this.rootComponentType).snapshot;return(0,o.of)(Object.assign(Object.assign({},e),{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),p.E}),rn(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),(0,N.b)(e=>{const t=new Y(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(0,O.U)(e=>Object.assign(Object.assign({},e),{guards:qt(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return(0,R.zg)(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?(0,o.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return(0,i.D)(e).pipe((0,R.zg)(e=>function(e,t,n,r,s){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||0===i.length)return(0,o.of)(!0);const a=i.map(i=>{const o=Ht(i,t,s);let a;if(function(e){return e&&vt(e.canDeactivate)}(o))a=pe(o.canDeactivate(e,t,n,r));else{if(!vt(o))throw new Error("Invalid CanDeactivate guard");a=pe(o(e,t,n,r))}return a.pipe((0,L.P)())});return(0,o.of)(a).pipe(wt())}(e.component,e.route,n,t,r)),(0,L.P)(e=>!0!==e,!0))}(l,r,s,e).pipe((0,R.zg)(n=>n&&"boolean"==typeof n?function(e,t,n,r){return(0,i.D)(t).pipe((0,D.b)(t=>(0,h.z)(function(e,t){return null!==e&&t&&t(new Q(e)),(0,o.of)(!0)}(t.route.parent,r),function(e,t){return null!==e&&t&&t(new ee(e)),(0,o.of)(!0)}(t.route,r),function(e,t,n){const r=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>(0,d.P)(()=>{const s=t.guards.map(s=>{const i=Ht(s,t.node,n);let o;if(function(e){return e&&vt(e.canActivateChild)}(i))o=pe(i.canActivateChild(r,e));else{if(!vt(i))throw new Error("Invalid CanActivateChild guard");o=pe(i(r,e))}return o.pipe((0,L.P)())});return(0,o.of)(s).pipe(wt())}));return(0,o.of)(s).pipe(wt())}(e,t.path,n),function(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return(0,o.of)(!0);const s=r.map(r=>(0,d.P)(()=>{const s=Ht(r,t,n);let i;if(function(e){return e&&vt(e.canActivate)}(s))i=pe(s.canActivate(t,e));else{if(!vt(s))throw new Error("Invalid CanActivate guard");i=pe(s(t,e))}return i.pipe((0,L.P)())}));return(0,o.of)(s).pipe(wt())}(e,t.route,n))),(0,L.P)(e=>!0!==e,!0))}(r,a,e,t):(0,o.of)(n)),(0,O.U)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}(this.ngModule.injector,e=>this.triggerEvent(e)),(0,N.b)(e=>{if(bt(e.guardsResult)){const t=oe(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new G(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),(0,_.h)(e=>!!e.guardsResult||(this.restoreHistory(e),this.cancelNavigationTransition(e,""),!1)),rn(e=>{if(e.guards.canActivateChecks.length)return(0,o.of)(e).pipe((0,N.b)(e=>{const t=new W(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(0,A.w)(e=>{let t=!1;return(0,o.of)(e).pipe((n=this.paramsInheritanceStrategy,r=this.ngModule.injector,(0,R.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:s}}=e;if(!s.length)return(0,o.of)(e);let a=0;return(0,i.D)(s).pipe((0,D.b)(e=>function(e,t,n,r){return function(e,t,n,r){const s=Object.keys(e);if(0===s.length)return(0,o.of)({});const a={};return(0,i.D)(s).pipe((0,R.zg)(s=>function(e,t,n,r){const s=Ht(e,t,r);return pe(s.resolve?s.resolve(t,n):s(t,n))}(e[s],t,n,r).pipe((0,N.b)(e=>{a[s]=e}))),C(1),(0,R.zg)(()=>Object.keys(a).length===s.length?(0,o.of)(a):p.E))}(e._resolve,e,t,r).pipe((0,O.U)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),We(e,n).resolve),null)))}(e.route,t,n,r)),(0,N.b)(()=>a++),C(1),(0,R.zg)(t=>a===s.length?(0,o.of)(e):p.E))})),(0,N.b)({next:()=>t=!0,complete:()=>{t||(this.restoreHistory(e),this.cancelNavigationTransition(e,"At least one route resolver didn't emit any value."))}}));var n,r}),(0,N.b)(e=>{const t=new X(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),rn(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),(0,O.U)(e=>{const t=function(e,t,n){const r=tt(e,t._root,n?n._root:void 0);return new He(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),(0,N.b)(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,e),this.browserUrlTree=e.urlAfterRedirects)}),(s=this.rootContexts,a=this.routeReuseStrategy,l=e=>this.triggerEvent(e),(0,O.U)(e=>(new gt(a,e.targetRouterState,e.currentRouterState,l).activate(s),e))),(0,N.b)({next(){
1n=!0},complete(){n=!0}}),(0,F.x)(()=>{if(!n&&!r){const t=`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(e),this.cancelNavigationTransition(e,t)):this.cancelNavigationTransition(e,t)}this.currentNavigation=null}),(0,P.K)(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=bt(n.url);r||(this.navigated=!0,this.restoreHistory(e,!0));const s=new U(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(s),r?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.restoreHistory(e,!0);const r=new q(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(i){e.reject(i)}}var s;return p.E}));var s,a,l}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:r}=t,s={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,delete e.\u0275routerPageId,0!==Object.keys(e).length&&(s.state=e)}this.scheduleNavigation(r,e,n,s)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){St(e),this.config=e.map(xt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:s,queryParamsHandling:i,preserveFragment:o}=t,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:s;let c=null;switch(i){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(e,t,n,r,s){if(0===n.length)return it(t.root,t.root,t,r,s);const i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new at(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return de(r.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new at(n,t,r)}(n);if(i.toRoot())return it(t.root,new we([],{}),t,r,s);const o=function(e,t,n){if(e.isAbsolute)return new lt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new lt(e,e===t.root,0)}const r=rt(e.commands[0])?0:1;return function(e,t,n){let r=e,s=t,i=n;for(;i>s;){if(i-=s,r=r.parent,!r)throw new Error("Invalid number of '../'");s=r.segments.length}return new lt(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(i,t,e),a=o.processChildren?ut(o.segmentGroup,o.index,i.commands):ct(o.segmentGroup,o.index,i.commands);return it(o.segmentGroup,a,t,r,s)}(a,this.currentUrlTree,e,c,null!=l?l:null)}navigateByUrl(e,t={skipLocationChange:!1}){const n=bt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){let n;
1if(n=!0===t?Object.assign({},gn):!1===t?Object.assign({},mn):t,bt(e))return me(this.currentUrlTree,e,n);const r=this.parseUrl(e);return me(this.currentUrlTree,r,n)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new V(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,r,s){var i,o;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),l="imperative"!==t&&"imperative"===(null==a?void 0:a.source),c=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===e.toString();if(l&&c)return Promise.resolve(!0);let u,h,d;s?(u=s.resolve,h=s.reject,d=s.promise):d=new Promise((e,t)=>{u=e,h=t});const p=++this.navigationId;let f;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),f=n&&n.\u0275routerPageId?n.\u0275routerPageId:r.replaceUrl||r.skipLocationChange?null!==(i=this.browserPageId)&&void 0!==i?i:0:(null!==(o=this.browserPageId)&&void 0!==o?o:0)+1):f=0,this.setTransition({id:p,targetPageId:f,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:u,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(e=>Promise.reject(e))}setBrowserUrl(e,t){const n=this.urlSerializer.serialize(e),r=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(n)||t.extras.replaceUrl?this.location.replaceState(n,"",r):this.location.go(n,"",r)}restoreHistory(e,t=!1){var n,r;if("computed"===this.canceledNavigationResolution){const t=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===t?this.currentUrlTree===(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)&&0===t&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(t)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){const n=new U(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(n),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,"\u0275routerPageId":t}:{navigationId:e}}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(s.DyG),s.LFG(Ee),s.LFG(un),s.LFG(r.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})(),vn=(()=>{class e{constructor(e,t,n,r,s){this.router=e,this.route=t,this.commands=[],this.onChanges=new g.xQ,null==n&&r.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:_n(this.skipLocationChange),replaceUrl:_n(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:_n(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(yn),s.Y36(Ge),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq))},e.\u0275dir=s.lG2({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&s.NdJ("
1click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),e})(),bn=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new g.xQ,this.subscription=e.events.subscribe(e=>{e instanceof V&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,r,s){if(0!==e||t||n||r||s)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const i={skipLocationChange:_n(this.skipLocationChange),replaceUrl:_n(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:_n(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(yn),s.Y36(Ge),s.Y36(r.S$))},e.\u0275dir=s.lG2({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&s.NdJ("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(s.Ikx("href",t.href,s.LSH),s.uIk("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),e})();function _n(e){return""===e||!!e}let wn=(()=>{class e{constructor(e,t,n,r,s,i){this.router=e,this.element=t,this.renderer=n,this.cdr=r,this.link=s,this.linkWithHref=i,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe(e=>{e instanceof V&&this.update()})}ngAfterContentInit(){(0,o.of)(this.links.changes,this.linksWithHrefs.changes,(0,o.of)(null)).pipe((0,B.J)()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const t=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=(0,i.D)(t).pipe((0,B.J)()).subscribe(e=>{this.isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){const t="paths"in this.routerLinkActiveOptions?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>e.isActive(n.urlTree,t)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(yn),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(vn,8),s.Y36(bn,8))},e.\u0275dir=s.lG2({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){if(1&e&&(s.Suo(n,vn,5),s.Suo(n,bn,5)),2&e){let e;s.iGM(e=s.CRH())&&(t.links=e),s.iGM(e=s.CRH())&&(t.linksWithHrefs=e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[s.TTD]}),e})(),Cn=(()=>{class e{constructor(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=r||re,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new Sn(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(un),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},e.\u0275dir=s.lG2({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class Sn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Ge?this.route:e===un?this.childContexts:this.parent.get(e,t)}}class En{}class kn{preload(e,t){return t().pipe((0,P.K)(()=>(0,o.of)(null)))}}class xn{preload(e,t){return(0,o.of)(null)}}let Tn=(()=>
1{class e{constructor(e,t,n,r,s){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=new ln(t,n,t=>e.triggerEvent(new K(t)),t=>e.triggerEvent(new Z(t)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,_.h)(e=>e instanceof V),(0,D.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(s.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return(0,i.D)(n).pipe((0,B.J)(),(0,O.U)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,o.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,R.zg)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(yn),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(En))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})(),On=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof V&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ne&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new ne(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(yn),s.LFG(r.EM),s.LFG(void 0))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();const An=new s.OlP("ROUTER_CONFIGURATION"),In=new s.OlP("ROUTER_FORROOT_GUARD"),$n=[r.Ye,{provide:Ee,useClass:ke},{provide:yn,useFactory:function(e,t,n,r,s,i,o,a={},l,c){const u=new yn(null,e,t,n,r,s,i,ue(o));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(e=>{var t,n;null===(t=console.group)||void 0===t||t.call(console,`Router Event: ${e.constructor.name}`),console.log(e.toString()),console.log(e),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[Ee,un,r.Ye,s.zs3,s.v3s,s.Sil,an,An,[class{},new s.FiY],[sn,new s.FiY]]},un,{provide:Ge,useFactory:function(e){return e.routerState.root},deps:[yn]},{provide:s.v3s,useClass:s.EAV},Tn,xn,kn,{provide:An,useValue:{enableTracing:!1}}];function Pn(){return new s.PXZ("Router",yn)}let Dn=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[$n,Mn(t),{provide:In,useFactory:Nn,deps:[[yn,new s.FiY,new s.tp0]]},{provide:An,useValue:n||{}},{provide:r.S$,useFactory:Rn,deps:[r.lw,[new s.tBr(r.mr),new s.FiY],An]},{provide:On,useFactory:Ln,deps:[yn,r.EM,An]},{provide:En,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:xn},{provide:s.PXZ,multi:!0,useFactory:Pn},[Fn,{provide:s.ip1,multi:!0,useFactory:Bn,deps:[Fn]},{provide:zn,useFactory:jn,deps:[Fn]},{provide:s.tb,multi:!0,useExisting:zn}]]}}static forChild(t){return{ngModule:e,providers:[Mn(t)]}}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(In,8),s.LFG(yn,8))},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({}),e})();function Ln(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new On(e,t,n)}function Rn(e,t,n={}){return n.useHash?new r.Do(e,t):new r.b0(e,t)}function Nn(e){return"guarded"}function Mn(e){return[{provide:s.deG,multi:!0,useValue:e},{provide:an,multi:!0,useValue:e}]}let Fn=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new g.xQ}appInitializer(){return this.injector.get(r.V_,Promise.resolve(null)).then(()=>
1{if(this.destroyed)return Promise.resolve(!0);let e=null;const t=new Promise(t=>e=t),n=this.injector.get(yn),r=this.injector.get(An);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,o.of)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t})}bootstrapListener(e){const t=this.injector.get(An),n=this.injector.get(Tn),r=this.injector.get(On),i=this.injector.get(yn),o=this.injector.get(s.z2F);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||i.initialNavigation(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(s.zs3))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})();function Bn(e){return e.appInitializer.bind(e)}function jn(e){return e.bootstrapListener.bind(e)}const zn=new s.OlP("Router Initializer")},68384:(e,t,n)=>{"use strict";n.d(t,{Uw:()=>a,fo:()=>o}),"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global&&global;var r=(()=>(function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"}(r||(r={})),r))();class s extends Error{constructor(e,t,n){super(e),this.message=e,this.code=t,this.data=n}}const i=(e=>e.Capacitor=(e=>{var t,n,i,o,a;const l=e.CapacitorCustomPlatform||null,c=e.Capacitor||{},u=c.Plugins=c.Plugins||{},h=e.CapacitorPlatforms,d=(null===(t=null==h?void 0:h.currentPlatform)||void 0===t?void 0:t.getPlatform)||(()=>null!==l?l.name:(e=>{var t,n;return(null==e?void 0:e.androidBridge)?"android":(null===(n=null===(t=null==e?void 0:e.webkit)||void 0===t?void 0:t.messageHandlers)||void 0===n?void 0:n.bridge)?"ios":"web"})(e)),p=(null===(n=null==h?void 0:h.currentPlatform)||void 0===n?void 0:n.isNativePlatform)||(()=>"web"!==d()),f=(null===(i=null==h?void 0:h.currentPlatform)||void 0===i?void 0:i.isPluginAvailable)||(e=>{const t=m.get(e);return!!(null==t?void 0:t.platforms.has(d()))||!!g(e)}),g=(null===(o=null==h?void 0:h.currentPlatform)||void 0===o?void 0:o.getPluginHeader)||(e=>{var t;return null===(t=c.PluginHeaders)||void 0===t?void 0:t.find(t=>t.name===e)}),m=new Map,y=(null===(a=null==h?void 0:h.currentPlatform)||void 0===a?void 0:a.registerPlugin)||((e,t={})=>{const n=m.get(e);if(n)return console.warn(`Capacitor plugin "${e}" already registered. Cannot register plugins twice.`),n.proxy;const i=d(),o=g(e);let a;const h=n=>{let u;const h=(...h)=>{const d=(async()=>(!a&&i in t?a=a="function"==typeof t[i]?await t[i]():t[i]:null!==l&&!a&&"web"in t&&(a=a="function"==typeof t.web?await t.web():t.web),a))().then(t=>{const a=((t,n)=>{var a,l;if(!o){if(t)return null===(l=t[n])||void 0===l?void 0:l.bind(t);throw new s(`"${e}" plugin is not implemented on ${i}`,r.Unimplemented)}{const r=null==o?void 0:o.methods.find(e=>n===e.name);if(r)return"promise"===r.rtype?t=>c.nativePromise(e,n.toString(),t):(t,r)=>c.nativeCallback(e,n.toString(),t,r);if(t)return null===(a=t[n])||void 0===a?void 0:a.bind(t)}})(t,n);if(a){const e=a(...h);return u=null==e?void 0:e.remove,e}throw new s(`"${e}.${n}()" is not implemented on ${i}`,r.Unimplemented)});return"addListener"===n&&(d.remove=async()=>u()),d};return h.toString=()=>`${n.toString()}() { [capacitor code] }`,Object.defineProperty(h,"name",{value:n,writable:!1,configurable:!1}),h},p=h("addListener"),f=h("removeListener"),y=(e,t)=>{const n=p({eventName:e},t),r=async()=>{const r=await n;f({eventName:e,callbackId:r},t)},s=new Promise(e=>n.then(()=>e({remove:r})));return s.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await r()},s},v=new Proxy({},{get(e,t){switch(t){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return o?y:p;case"removeListener":return f;default:return h(t)}}});return u[e]=v,m.set(e,{name:e,proxy:v,platforms:new Set([...Object.keys(t),...o?[i]:[]])}),v});return c.convertFileSrc||(c.convertFileSrc=e=>e),c.getPlatform=d,c.handleError=t=>e.console.error(t),c.isNativePlatform=p,c.isPluginAvailable=f,c.pluginMethodNoop=(e,t,n)=>Promise.reject(`${n} does not have an implementation of "${t}".`),c.registerPlugin=y,c.Exception=s,c.DEBUG=!!c.DEBUG,c.isLoggingEnabled=!!c.isLoggingEnabled,c.platform=c.getPlatform(),c.isNative=c.isNativePlatform(),c})(e))("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),o=i.registerPlugin;class a{constructor(e){this.listeners={},this.retainedEventArguments={},this.windowListeners={},e&&(console.warn(`Capacitor WebPlugin "${e.name}
1" config object was deprecated in v3 and will be removed in v4.`),this.config=e)}addListener(e,t){let n=!1;this.listeners[e]||(this.listeners[e]=[],n=!0),this.listeners[e].push(t);const r=this.windowListeners[e];return r&&!r.registered&&this.addWindowListener(r),n&&this.sendRetainedArgumentsForEvent(e),Promise.resolve({remove:async()=>this.removeListener(e,t)})}async removeAllListeners(){this.listeners={};for(const e in this.windowListeners)this.removeWindowListener(this.windowListeners[e]);this.windowListeners={}}notifyListeners(e,t,n){const r=this.listeners[e];if(r)r.forEach(e=>e(t));else if(n){let n=this.retainedEventArguments[e];n||(n=[]),n.push(t),this.retainedEventArguments[e]=n}}hasListeners(e){return!!this.listeners[e].length}registerWindowListener(e,t){this.windowListeners[t]={registered:!1,windowEventName:e,pluginEventName:t,handler:e=>{this.notifyListeners(t,e)}}}unimplemented(e="not implemented"){return new i.Exception(e,r.Unimplemented)}unavailable(e="not available"){return new i.Exception(e,r.Unavailable)}async removeListener(e,t){const n=this.listeners[e];if(!n)return;const r=n.indexOf(t);this.listeners[e].splice(r,1),this.listeners[e].length||this.removeWindowListener(this.windowListeners[e])}addWindowListener(e){window.addEventListener(e.windowEventName,e.handler),e.registered=!0}removeWindowListener(e){e&&(window.removeEventListener(e.windowEventName,e.handler),e.registered=!1)}sendRetainedArgumentsForEvent(e){const t=this.retainedEventArguments[e];t&&(delete this.retainedEventArguments[e],t.forEach(t=>{this.notifyListeners(e,t)}))}}const l=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),c=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class u extends a{async getCookies(){const e=document.cookie,t={};return e.split(";").forEach(e=>{if(e.length<=0)return;let[n,r]=e.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");n=c(n).trim(),r=c(r).trim(),t[n]=r}),t}async setCookie(e){try{const t=l(e.key),n=l(e.value),r=`; expires=${(e.expires||"").replace("expires=","")}`,s=(e.path||"/").replace("path=",""),i=null!=e.url&&e.url.length>0?`domain=${e.url}`:"";document.cookie=`${t}=${n||""}${r}; path=${s}; ${i};`}catch(t){return Promise.reject(t)}}async deleteCookie(e){try{document.cookie=`${e.key}=; Max-Age=0`}catch(t){return Promise.reject(t)}}async clearCookies(){try{const e=document.cookie.split(";")||[];for(const t of e)document.cookie=t.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(e){return Promise.reject(e)}}async clearAllCookies(){try{await this.clearCookies()}catch(e){return Promise.reject(e)}}}o("CapacitorCookies",{web:()=>new u});class h extends a{async request(e){const t=((e,t={})=>{const n=Object.assign({method:e.method||"GET",headers:e.headers},t),r=((e={})=>{const t=Object.keys(e);return Object.keys(e).map(e=>e.toLocaleLowerCase()).reduce((n,r,s)=>(n[r]=e[t[s]],n),{})})(e.headers)["content-type"]||"";if("string"==typeof e.data)n.body=e.data;else if(r.includes("application/x-www-form-urlencoded")){const t=new URLSearchParams;for(const[n,r]of Object.entries(e.data||{}))t.set(n,r);n.body=t.toString()}else if(r.includes("multipart/form-data")||e.data instanceof FormData){const t=new FormData;if(e.data instanceof FormData)e.data.forEach((e,n)=>{t.append(n,e)});else for(const n of Object.keys(e.data))t.append(n,e.data[n]);n.body=t;const r=new Headers(n.headers);r.delete("content-type"),n.headers=r}else(r.includes("application/json")||"object"==typeof e.data)&&(n.body=JSON.stringify(e.data));return n})(e,e.webFetchExtra),n=((e,t=!0)=>e?Object.entries(e).reduce((e,n)=>{const[r,s]=n;let i,o;return Array.isArray(s)?(o="",s.forEach(e=>{i=t?encodeURIComponent(e):e,o+=`${r}=${i}&`}),o.slice(0,-1)):(i=t?encodeURIComponent(s):s,o=`${r}=${i}`),`${e}&${o}`},"").substr(1):null)(e.params,e.shouldEncodeUrlParams),r=n?`${e.url}?${n}`:e.url,s=await fetch(r,t),i=s.headers.get("content-type")||"";let o,a,{responseType:l="text"}=s.ok?e:{};switch(i.includes("application/json")&&(l="json"),l){case"arraybuffer":case"blob":a=await s.blob(),o=await(async e=>new Promise((t,n)=>{const r=new FileReader;r.onload=()=>{const e=r.result;t(e.indexOf(",")>=0?e.split(",")[1]:e)},r.onerror=e=>
1n(e),r.readAsDataURL(e)}))(a);break;case"json":o=await s.json();break;case"document":case"text":default:o=await s.text()}const c={};return s.headers.forEach((e,t)=>{c[t]=e}),{data:o,headers:c,status:s.status,url:s.url}}async get(e){return this.request(Object.assign(Object.assign({},e),{method:"GET"}))}async post(e){return this.request(Object.assign(Object.assign({},e),{method:"POST"}))}async put(e){return this.request(Object.assign(Object.assign({},e),{method:"PUT"}))}async patch(e){return this.request(Object.assign(Object.assign({},e),{method:"PATCH"}))}async delete(e){return this.request(Object.assign(Object.assign({},e),{method:"DELETE"}))}}o("CapacitorHttp",{web:()=>new h})},81796:(e,t,n)=>{"use strict";n.d(t,{u:()=>r});const r=(0,n(68384).fo)("Preferences",{web:()=>n.e(5034).then(n.bind(n,25034)).then(e=>new e.PreferencesWeb)})},94490:(e,t,n)=>{"use strict";function r(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function s(e,t){return function(n,r){t(n,r,e)}}function i(e,t,n,r){return new(n||(n=Promise))(function(s,i){function o(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((r=r.apply(e,t||[])).next())})}n.d(t,{BX:()=>dt,Br:()=>pt,w:()=>T,dr:()=>G,BJ:()=>W,oU:()=>X,cs:()=>st,yp:()=>K,YG:()=>Z,Sm:()=>Q,PM:()=>J,FN:()=>ee,Zi:()=>te,tO:()=>ne,gZ:()=>re,nz:()=>se,wI:()=>ie,W2:()=>oe,W4:()=>ae,jY:()=>le,Gu:()=>ce,gu:()=>ue,pK:()=>he,Ie:()=>de,rH:()=>pe,Q$:()=>fe,q_:()=>ge,z0:()=>me,fG:()=>ye,zc:()=>ve,se:()=>be,Nh:()=>_e,oz:()=>we,jP:()=>nt,Nd:()=>Ce,VI:()=>Se,cJ:()=>Ee,GO:()=>ke,t9:()=>xe,n0:()=>Te,A$:()=>Oe,Hr:()=>Ae,PQ:()=>Ie,jI:()=>$e,g2:()=>Pe,Bs:()=>De,wd:()=>Le,sr:()=>Re,aJ:()=>ct,Pc:()=>Tt,r4:()=>Et,HT:()=>ft,_q:()=>gt,IN:()=>yt,SH:()=>B,as:()=>A,t4:()=>N,Dh:()=>vt,YI:()=>it,QI:()=>D,j9:()=>R,yF:()=>bt,Rw:()=>lt});var o=n(37716),a=n(3679),l=n(38583),c=n(63423),u=n(76461),h=n(79765),d=n(22759),p=n(26215),f=n(45435),g=n(43190),m=n(87519),y=n(23150);const v=n(97585).i,b=["*"],_=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e);let w=(()=>{class e{constructor(e,t){this.injector=e,this.el=t,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(e){this.el.nativeElement.value=this.lastValue=null==e?"":e,C(this.el)}handleChangeEvent(e,t){e===this.el.nativeElement&&(t!==this.lastValue&&(this.lastValue=t,this.onChange(t)),C(this.el))}_handleBlurEvent(e){e===this.el.nativeElement&&(this.onTouched(),C(this.el))}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.el.nativeElement.disabled=e}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let e;try{e=this.injector.get(a.a5)}catch(n){}if(!e)return;e.statusChanges&&(this.statusChanges=e.statusChanges.subscribe(()=>C(this.el)));const t=e.control;t&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(e=>{if(t[e]){const n=t[e].bind(t);t[e]=(...e)=>{n(...e),C(this.el)}}})}}return e.\u0275fac=function(e){o.$Z()},e.\u0275dir=o.lG2({type:e,hostBindings:function(e,t){1&e&&o.NdJ("ionBlur",function(e){return t._handleBlurEvent(e.target)})}}),r([(0,o.L6J)("ionBlur",["$event.target"])],e.prototype,"_handleBlurEvent",null),e})();const C=e=>{_(()=>{const t=e.nativeElement,n=S(t);E(t,n);const r=t.closest("ion-item");r&&E(r,n)})},S=e=>{const t=e.classList,n=[];for(let r=0;r<t.length;r++){const e=t.item(r);null!==e&&k(e,"ng-")&&n.push(`ion-${e.substr(3)}`)}return n},E=(e,t)=>{const n=e.classList;["ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"].forEach(e=>n.remove(e)),t.forEach(e=>n.add(e))},k=(e,t)=>e.substr(0,t.length)===t;var x;
1let T=x=class extends w{constructor(e,t){super(e,t)}writeValue(e){this.el.nativeElement.checked=this.lastValue=null!=e&&e,C(this.el)}_handleIonChange(e){this.handleChangeEvent(e,e.checked)}};var O;T.\u0275fac=function(e){return new(e||T)(o.Y36(o.zs3),o.Y36(o.SBq))},T.\u0275dir=o.lG2({type:T,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(e,t){1&e&&o.NdJ("ionChange",function(e){return t._handleIonChange(e.target)})},features:[o._Bn([{provide:a.JU,useExisting:x,multi:!0}]),o.qOj]}),T.ctorParameters=()=>[{type:o.zs3},{type:o.SBq}],r([(0,o.L6J)("ionChange",["$event.target"])],T.prototype,"_handleIonChange",null);let A=O=class extends w{constructor(e,t){super(e,t)}_handleIonChange(e){this.handleChangeEvent(e,e.value)}registerOnChange(e){super.registerOnChange(t=>{e(""===t?null:parseFloat(t))})}};var I;A.\u0275fac=function(e){return new(e||A)(o.Y36(o.zs3),o.Y36(o.SBq))},A.\u0275dir=o.lG2({type:A,selectors:[["ion-input","type","number"]],hostBindings:function(e,t){1&e&&o.NdJ("ionChange",function(e){return t._handleIonChange(e.target)})},features:[o._Bn([{provide:a.JU,useExisting:O,multi:!0}]),o.qOj]}),A.ctorParameters=()=>[{type:o.zs3},{type:o.SBq}],r([(0,o.L6J)("ionChange",["$event.target"])],A.prototype,"_handleIonChange",null);let $=I=class extends w{constructor(e,t){super(e,t)}_handleIonSelect(e){this.handleChangeEvent(e,e.checked)}};var P;$.\u0275fac=function(e){return new(e||$)(o.Y36(o.zs3),o.Y36(o.SBq))},$.\u0275dir=o.lG2({type:$,selectors:[["ion-radio"]],hostBindings:function(e,t){1&e&&o.NdJ("ionSelect",function(e){return t._handleIonSelect(e.target)})},features:[o._Bn([{provide:a.JU,useExisting:I,multi:!0}]),o.qOj]}),$.ctorParameters=()=>[{type:o.zs3},{type:o.SBq}],r([(0,o.L6J)("ionSelect",["$event.target"])],$.prototype,"_handleIonSelect",null);let D=P=class extends w{constructor(e,t){super(e,t)}_handleChangeEvent(e){this.handleChangeEvent(e,e.value)}};var L;D.\u0275fac=function(e){return new(e||D)(o.Y36(o.zs3),o.Y36(o.SBq))},D.\u0275dir=o.lG2({type:D,selectors:[["ion-range"],["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(e,t){1&e&&o.NdJ("ionChange",function(e){return t._handleChangeEvent(e.target)})},features:[o._Bn([{provide:a.JU,useExisting:P,multi:!0}]),o.qOj]}),D.ctorParameters=()=>[{type:o.zs3},{type:o.SBq}],r([(0,o.L6J)("ionChange",["$event.target"])],D.prototype,"_handleChangeEvent",null);let R=L=class extends w{constructor(e,t){super(e,t)}_handleInputEvent(e){this.handleChangeEvent(e,e.value)}};R.\u0275fac=function(e){return new(e||R)(o.Y36(o.zs3),o.Y36(o.SBq))},R.\u0275dir=o.lG2({type:R,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(e,t){1&e&&o.NdJ("ionChange",function(e){return t._handleInputEvent(e.target)})},features:[o._Bn([{provide:a.JU,useExisting:L,multi:!0}]),o.qOj]}),R.ctorParameters=()=>[{type:o.zs3},{type:o.SBq}],r([(0,o.L6J)("ionChange",["$event.target"])],R.prototype,"_handleInputEvent",null);let N=class{constructor(e,t){this.doc=e,this.backButton=new h.xQ,this.keyboardDidShow=new h.xQ,this.keyboardDidHide=new h.xQ,this.pause=new h.xQ,this.resume=new h.xQ,this.resize=new h.xQ,t.run(()=>{let n;this.win=e.defaultView,this.backButton.subscribeWithPriority=function(e,n){return this.subscribe(r=>r.register(e,e=>t.run(()=>n(e))))},F(this.pause,e,"pause"),F(this.resume,e,"resume"),F(this.backButton,e,"ionBackButton"),F(this.resize,this.win,"resize"),F(this.keyboardDidShow,this.win,"ionKeyboardDidShow"),F(this.keyboardDidHide,this.win,"ionKeyboardDidHide"),this._readyPromise=new Promise(e=>{n=e}),this.win&&this.win.cordova?e.addEventListener("deviceready",()=>{n("cordova")},{once:!0}):n("dom")})}is(e){return(0,u.n$)(this.win,e)}platforms(){return(0,u.AK)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(e){return M(this.win.location.href,e)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia&&this.win.matchMedia("(orientation: portrait)").matches}testUserAgent(e){const t=this.win.navigator;return!!(t&&t.userAgent&&t.userAgent.indexOf(e)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}};N.\u0275fac=function(e){return new(e||N)(o.LFG(l.K0),o.LFG(o.R0b))},N.\u0275prov=o.Yz7({token:N,factory:function(e){return N.\u0275fac(e)},providedIn:"root"}),N.ngInjectableDef=(0,o.Yz7)({factory:function(){return new N((0,o.LFG)(l.K0),(0,o.LFG)(o.R0b))},token:N,providedIn:"root"}),N=r([s(0,(0,o.tBr)(l.K0))],N);const M=(e,t)=>{t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},F=(e,t,n)=>{t&&t.addEventListener(n,t=>{e.next(null!=t?t.detail:void 0)})};let B=class{constructor(e,t,n,r){this.location=t,this.serializer
1=n,this.router=r,this.direction=z,this.animated=V,this.guessDirection="forward",this.lastNavId=-1,r&&r.events.subscribe(e=>{if(e instanceof c.OD){const t=e.restoredState?e.restoredState.navigationId:e.id;this.guessDirection=t<this.lastNavId?"back":"forward",this.guessAnimation=e.restoredState?void 0:this.guessDirection,this.lastNavId="forward"===this.guessDirection?e.id:t}}),e.backButton.subscribeWithPriority(0,e=>{this.pop(),e()})}navigateForward(e,t={}){return this.setDirection("forward",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}navigateBack(e,t={}){return this.setDirection("back",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}navigateRoot(e,t={}){return this.setDirection("root",t.animated,t.animationDirection,t.animation),this.navigate(e,t)}back(e={animated:!0,animationDirection:"back"}){return this.setDirection("back",e.animated,e.animationDirection,e.animation),this.location.back()}pop(){return i(this,void 0,void 0,function*(){let e=this.topOutlet;for(;e&&!(yield e.pop());)e=e.parentOutlet})}setDirection(e,t,n,r){this.direction=e,this.animated=j(e,t,n),this.animationBuilder=r}setTopOutlet(e){this.topOutlet=e}consumeTransition(){let e,t="root";const n=this.animationBuilder;return"auto"===this.direction?(t=this.guessDirection,e=this.guessAnimation):(e=this.animated,t=this.direction),this.direction=z,this.animated=V,this.animationBuilder=void 0,{direction:t,animation:e,animationBuilder:n}}navigate(e,t){if(Array.isArray(e))return this.router.navigate(e,t);{const n=this.serializer.parse(e.toString());return void 0!==t.queryParams&&(n.queryParams=Object.assign({},t.queryParams)),void 0!==t.fragment&&(n.fragment=t.fragment),this.router.navigateByUrl(n,t)}}};B.\u0275fac=function(e){return new(e||B)(o.LFG(N),o.LFG(l.Ye),o.LFG(c.Hx),o.LFG(c.F0,8))},B.\u0275prov=o.Yz7({token:B,factory:function(e){return B.\u0275fac(e)},providedIn:"root"}),B.ngInjectableDef=(0,o.Yz7)({factory:function(){return new B((0,o.LFG)(N),(0,o.LFG)(l.Ye),(0,o.LFG)(c.Hx),(0,o.LFG)(c.F0,8))},token:B,providedIn:"root"}),B=r([s(3,(0,o.FiY)())],B);const j=(e,t,n)=>{if(!1!==t)return void 0!==n?n:"forward"===e||"back"===e?e:"root"===e&&!0===t?"forward":void 0},z="auto",V=void 0,U=(e,t)=>{const n=e.prototype;t.forEach(e=>{Object.defineProperty(n,e,{get(){return this.el[e]},set(t){this.z.runOutsideAngular(()=>this.el[e]=t)}})})},q=(e,t)=>{const n=e.prototype;t.forEach(e=>{n[e]=function(){const t=arguments;return this.z.runOutsideAngular(()=>this.el[e].apply(this.el,t))}})},H=(e,t,n)=>{n.forEach(n=>e[n]=(0,d.R)(t,n))};function Y(e){return function(t){return e.inputs&&U(t,e.inputs),e.methods&&q(t,e.methods),t}}let G=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-app"]],ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e})(),W=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-avatar"]],ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e})(),X=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-back-button"]],inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"]})],e),e})(),K=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["color","mode"]})],e),e})(),Z=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],e),e})(),Q=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["collapse"]})],e),e})(),J=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],e),e})(),ee=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["mode"]})],e),e})(),te=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["color","mode","translucent"]})],e),e})(),ne=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["color","mode"]})],e),e})(),re=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["color","mode"]})],e),e})(),se=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionChange","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-checkbox"]],inputs:{checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",mode:"mode",name:"name",value:"value"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["checked","color","disabled","indeterminate","mode","name","value"]})],e),e})(),ie=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pu
1shXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],e),e})(),oe=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],e),e})(),ae=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],e),e})(),le=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["fixed"]})],e),e})(),ce=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["collapse","mode","translucent"]})],e),e})(),ue=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-icon"]],inputs:{ariaHidden:"ariaHidden",ariaLabel:"ariaLabel",color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["ariaHidden","ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],e),e})(),he=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","enterkeyhint","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"],methods:["setFocus","getIn
1putElement"]})],e),e})(),de=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-item"]],inputs:{button:"button",color:"color",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],e),e})(),pe=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["color","mode","sticky"]})],e),e})(),fe=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["color","mode","position"]})],e),e})(),ge=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],e),e})(),me=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],e),e})(),ye=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["autoHide","color","disabled","menu","mode","type"]})],e),e})(),ve=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["autoHide","menu"]})],e),e})(),be=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionChange"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",name:"name",value:"value"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["allowEmptySelection","name","value"]})],e),e})(),_e=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-reorder"]],ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e})(),we=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionItemReorder"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["disabled"],methods:["complete"]})],e),e})(),Ce=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-row"]],ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e})(),Se=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionInput","ionChange","ionCancel","ionClear","
1ionBlur","ionFocus"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],e),e})(),Ee=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionChange"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["color","disabled","mode","scrollable","swipeGesture","value"]})],e),e})(),ke=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["disabled","layout","mode","type","value"]})],e),e})(),xe=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionChange","ionCancel","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",compareWith:"compareWith",disabled:"disabled",interface:"interface",interfaceOptions:"interfaceOptions",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",value:"value"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"],methods:["open"]})],e),e})(),Te=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["disabled","value"]})],e),e})(),Oe=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-slide"]],ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e})(),Ae=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionSlidesDidLoad","ionSlideTap","ionSlideDoubleTap","ionSlideWillChange","ionSlideDidChange","ionSlideNextStart","ionSlidePrevStart","ionSlideNextEnd","ionSlidePrevEnd","ionSlideTransitionStart","ionSlideTransitionEnd","ionSlideDrag","ionSlideReachStart","ionSlideReachEnd","ionSlideTouchStart","ionSlideTouchEnd"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-slides"]],inputs:{mode:"mode",options:"options",pager:"pager",scrollbar:"scrollbar"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["mode","options","pager","scrollbar"],methods:["update","updateAutoHeight","slideTo","slideNext","slidePrev","getActiveIndex","getPreviousIndex","length","isEnd","isBeginning","startAutoplay","stopAutoplay","lockSwipeToNext","lockSwipeToPrev","lockSwipes","getSwiper"]})],e),e})(),Ie=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["color","duration","name","paused"]})],e),e})(),$e=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionSplitPaneVisible"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["contentId","disabled","when"]})],e),e})(),Pe=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,H(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-textarea"]],inputs:{autoGrow:"autoGrow",autocapitalize:"autocapitalize",autofocus:"autofocus",clearOnEdit:"clearOnEdit",color:"color",cols:"cols",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",rows:"rows",spellcheck:"spellcheck",value:"value",wrap:"wrap"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","debounce","disabled","enterkeyhint","inputmode","maxlength","minlength","mode","name","placeholder","readonly","required","rows","spellcheck","value","wrap"],methods:["setFocus","getIn
1putElement"]})],e),e})(),De=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-thumbnail"]],ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e})(),Le=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["color","size"]})],e),e})(),Re=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),e=r([Y({inputs:["color","mode"]})],e),e})(),Ne=class{get(e,t){const n=Fe();return n?n.get(e,t):null}getBoolean(e,t){const n=Fe();return!!n&&n.getBoolean(e,t)}getNumber(e,t){const n=Fe();return n?n.getNumber(e,t):0}set(e,t){console.warn("[DEPRECATION][Config]: The Config.set() method is deprecated and will be removed in Ionic Framework 6.0. Please see https://ionicframework.com/docs/angular/config for alternatives.");const n=Fe();n&&n.set(e,t)}};Ne.\u0275fac=function(e){return new(e||Ne)},Ne.\u0275prov=o.Yz7({token:Ne,factory:function(e){return Ne.\u0275fac(e)},providedIn:"root"}),Ne.ngInjectableDef=(0,o.Yz7)({factory:function(){return new Ne},token:Ne,providedIn:"root"});const Me=new o.OlP("USERCONFIG"),Fe=()=>{if("undefined"!=typeof window){const e=window.Ionic;if(e&&e.config)return e.config}return null};class Be{constructor(e={}){this.data=e}get(e){return this.data[e]}}let je=(()=>{let e=class{constructor(e,t){this.zone=e,this.appRef=t}create(e,t,n){return new ze(e,t,n,this.appRef,this.zone)}};return e.\u0275fac=function(t){return new(t||e)(o.LFG(o.R0b),o.LFG(o.z2F))},e.\u0275prov=o.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e})();class ze{constructor(e,t,n,r,s){this.resolver=e,this.injector=t,this.location=n,this.appRef=r,this.zone=s,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(e,t,n,r){return this.zone.run(()=>new Promise(s=>{s(Ve(this.zone,this.resolver,this.injector,this.location,this.appRef,this.elRefMap,this.elEventsMap,e,t,n,r))}))}removeViewFromDom(e,t){return this.zone.run(()=>new Promise(e=>{const n=this.elRefMap.get(t);if(n){n.destroy(),this.elRefMap.delete(t);const e=this.elEventsMap.get(t);e&&(e(),this.elEventsMap.delete(t))}e()}))}}const Ve=(e,t,n,r,s,i,a,l,c,u,h)=>{const d=t.resolveComponentFactory(c),p=o.zs3.create({providers:Ye(u),parent:n}),f=r?r.createComponent(d,r.length,p):d.create(p),g=f.instance,m=f.location.nativeElement;if(u&&Object.assign(g,u),h)for(const o of h)m.classList.add(o);const y=qe(e,g,m);return l.appendChild(m),r||s.attachView(f.hostView),f.changeDetectorRef.reattach(),i.set(m,f),a.set(m,y),m},Ue=[u.kx,u.re,u.EQ,u.Jd,u.F8],qe=(e,t,n)=>e.run(()=>{const e=Ue.filter(e=>"function"==typeof t[e]).map(e=>{const r=n=>t[e](n.detail);return n.addEventListener(e,r),()=>n.removeEventListener(e,r)});return()=>e.forEach(e=>e())}),He=new o.OlP("NavParamsToken"),Ye=e=>[{provide:He,useValue:e},{provide:Be,useFactory:Ge,deps:[He]}],Ge=e=>new Be(e),We=(e,t)=>((e=e.filter(e=>e.stackId!==t.stackId)).push(t),e),Xe=(e,t)=>{const n=e.createUrlTree(["."],{relativeTo:t});return e.serializeUrl(n)},Ke=(e,t)=>{if(!e)return;const n=Ze(t);for(let r=0;r<n.length;r++){if(r>=e.length)return n[r];if(n[r]!==e[r])return}},Ze=e=>e.split("/").map(e=>e.trim()).filter(e=>""!==e),Qe=e=>{e&&(e.ref.destroy(),e.unlistenEvents())};class Je{constructor(e,t,n,r,s,i){this.containerEl=t,this.router=n,this.navCtrl=r,this.zone=s,this.location=i,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==e?Ze(e):void 0}createView(e,t){const n=Xe(this.router,t),r=e&&e.location&&e.location.nativeElement,s=qe(this.zone,e.instance,r);return{id:this.nextId++,stackId:Ke(this.tabsPrefix,n),unlistenEvents:s,element:r,ref:e,url:n}}getExistingView(e){const t=Xe(this.router,e),n=this.views.find(e=>e.url===t);return n&&n.ref.changeDetectorRef.reattach(),n}setActive(e){const t=this.navCtrl.consumeTransition();let{direction:n,animation:r,animationBuilder:s}=t;const i=this.activeView,o=((e,t)=>!t||e.stackId!==t.stackId)(e,i);o&&(n="back",r=void 0);const a=this.views.slice();let l;const c=this.router;c.getCurrentNavigation?l=c.getCurrentNavigation():c.navigations&&c.navigations.value&&(l=c.navigations.value),l&&l.extras&&l.extras.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const u=this.views.includes(e),h=this.insertView(e,n);u||e.ref.changeDetectorRef.detectChanges();const d=e.animationBuilder;return void 0!==s||"back"!==n||o||void 0===d||(s=d),i&&(i.animationBuilder=s),this.zone.runOutsideAngular(()=>this.wait(()=>(i&&i.ref.changeDetectorRef.detach(),e.ref.changeDetectorRef.reattach(),this.transition(e,i,r,this.canGoBack(1),!1,s).then(()=>et(e,h,a,this.location)).then(()=>({enteringView:e,direction:n,animation:r,tabSwitch:o})))))}
1canGoBack(e,t=this.getActiveStackId()){return this.getStack(t).length>e}pop(e,t=this.getActiveStackId()){return this.zone.run(()=>{const n=this.getStack(t);if(n.length<=e)return Promise.resolve(!1);const r=n[n.length-e-1];let s=r.url;const i=r.savedData;if(i){const e=i.get("primary");e&&e.route&&e.route._routerState&&e.route._routerState.snapshot&&e.route._routerState.snapshot.url&&(s=e.route._routerState.snapshot.url)}const{animationBuilder:o}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(s,Object.assign({},r.savedExtras,{animation:o})).then(()=>!0)})}startBackTransition(){const e=this.activeView;if(e){const t=this.getStack(e.stackId),n=t[t.length-2],r=n.animationBuilder;return this.wait(()=>this.transition(n,e,"back",this.canGoBack(2),!0,r))}return Promise.resolve()}endBackTransition(e){e?(this.skipTransition=!0,this.pop(1)):this.activeView&&tt(this.activeView,this.views,this.views,this.location)}getLastUrl(e){const t=this.getStack(e);return t.length>0?t[t.length-1]:void 0}getRootUrl(e){const t=this.getStack(e);return t.length>0?t[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Qe),this.activeView=void 0,this.views=[]}getStack(e){return this.views.filter(t=>t.stackId===e)}insertView(e,t){return this.activeView=e,this.views=((e,t,n)=>"root"===n?We(e,t):"forward"===n?((e,t)=>(e.indexOf(t)>=0?e=e.filter(e=>e.stackId!==t.stackId||e.id<=t.id):e.push(t),e))(e,t):((e,t)=>e.indexOf(t)>=0?e.filter(e=>e.stackId!==t.stackId||e.id<=t.id):We(e,t))(e,t))(this.views,e,t),this.views.slice()}transition(e,t,n,r,s,i){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(t===e)return Promise.resolve(!1);const o=e?e.element:void 0,a=t?t.element:void 0,l=this.containerEl;return o&&o!==a&&(o.classList.add("ion-page"),o.classList.add("ion-page-invisible"),o.parentElement!==l&&l.appendChild(o),l.commit)?l.commit(o,a,{deepWait:!0,duration:void 0===n?0:void 0,direction:n,showGoBack:r,progressAnimation:s,animationBuilder:i}):Promise.resolve(!1)}wait(e){return i(this,void 0,void 0,function*(){void 0!==this.runningTask&&(yield this.runningTask,this.runningTask=void 0);const t=this.runningTask=e();return t.finally(()=>this.runningTask=void 0),t})}}const et=(e,t,n,r)=>"function"==typeof requestAnimationFrame?new Promise(s=>{requestAnimationFrame(()=>{tt(e,t,n,r),s()})}):Promise.resolve(),tt=(e,t,n,r)=>{n.filter(e=>!t.includes(e)).forEach(Qe),t.forEach(t=>{const n=r.path().split("?")[0].split("#")[0];if(t!==e&&t.url!==n){const e=t.element;e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden"),t.ref.changeDetectorRef.detach()}})};let nt=(()=>{let e=class{constructor(e,t,n,r,s,i,a,l,u,h,d,f,g){this.parentContexts=e,this.location=t,this.resolver=n,this.config=i,this.navCtrl=a,this.parentOutlet=g,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new p.X(null),this.stackEvents=new o.vpe,this.activateEvents=new o.vpe,this.deactivateEvents=new o.vpe,this.nativeEl=u.nativeElement,this.name=r||c.eC,this.tabsPrefix="true"===s?Xe(h,f):void 0,this.stackCtrl=new Je(this.tabsPrefix,this.nativeEl,h,a,d,l),e.onChildOutletCreated(this.name,this)}set animation(e){this.nativeEl.animation=e}set animated(e){this.nativeEl.animated=e}set swipeGesture(e){this._swipeGesture=e,this.nativeEl.swipeHandler=e?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:e=>this.stackCtrl.endBackTransition(e)}:void 0}ngOnDestroy(){this.stackCtrl.destroy()}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){if(!this.activated){const e=this.getContext();e&&e.route&&this.activateWith(e.route,e.resolver||null)}new Promise(e=>(0,u.hh)(this.nativeEl,e)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(e,t){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const e=this.getContext();this.activatedView.savedData=new Map(e.children.contexts);const t=this.activatedView.savedData.get("primary");if(t&&e.route&&(t.route=Object.assign({},e.route)),this.activatedView.savedExtras={},e.route){const t=e.route.snapshot;this.activatedView.savedExtras.queryParams=t.queryParams,this.activatedView.savedExtras.fragment=t.fragment}}const e=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");let n;this._activatedRoute=e;let r=this.stackCtrl.getExistingView(e);if(r){n=this.activated=r.ref;const t=r.savedData;t&&(this.getContext().children.contexts=t),this.updateActivatedRouteProxy(n.instance,e)}else{const s=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,o=new p.X(null),a=this.createActivatedRouteProxy(o,e),l=new rt(a,i,this.location.injector);n=this.activated=this.location.createComponent(s,this.location.length,l),o.next(n.instance),r=this.stackCtrl.createView(this.activated,e),this.proxyMap.set(n.instance,a),this.currentActivatedRoute$.next({component:n.instance,activatedRoute:e})}this.activatedView=r,this.stackCtrl.setActive(r).then(e=>{this.navCtrl.setTopOutlet(this),this.activateEvents.emit(n.instance),this.stackEvents.emit(e)})}canGoBack(e=1,t){return this.stackCtrl.canGoBack(e,t)}pop(e=1,t){return this.stackCtrl.pop(e,t)}getLastUrl(e){const t=this.stackCtrl.getLastUrl(e);return t?t.url:void 0}getLastRouteView(e){return this.stackCtrl.getLastUrl(e)}getRootView(e){return this.stackCtrl.getRootUrl(e)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(e,t){const n=new c.gz;return n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,n._paramMap=this.proxyObservable(e,"paramMap"),n._queryParamMap=this.proxyObservable(e,"queryParamMap"),n.url=this.proxyObservable(e,"url"),n.params=this.proxyObservable(e,"params"),n.queryParams=this.proxyObservable(e,"queryParams"),n.fragment=this.proxyObservable(e,"fragment"),n.data=this.proxyObservable(e,"data"),n}proxyObservable(e,t){return e.pipe((0,f.h)(e=>!!e),(0,g.w)(e=>this.currentActivatedRoute$.pipe((0,f.h)(t=>null!==t&&t.component===e),(0,g.w)(e=>e&&e.activatedRoute[t]),(0,m.x)())))}updateActivatedRouteProxy(e,t){const n=this.proxyMap.get(e);if(!n)throw new Error("Could not find activated route proxy for view");n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,this.currentActivatedRoute$.next({component:e,activatedRoute:t})}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(c.y6),o.Y36(o.s_b),o.Y36(o._Vd),o.$8M("name"),o.$8M("tabs"),o.Y36(Ne),o.Y36(B),o.Y36(l.Ye),o.Y36(o.SBq),o.Y36(c.F0),o.Y36(o.R0b),o.Y36(c.gz),o.Y36(e,12))},e.\u0275dir=o.lG2({type:e,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",swipeGesture:"swipeGesture"},outputs:{stackEvents:"stackEvents",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),r([(0,o.r_U)()],e.prototype,"stackEvents",void 0),r([(0,o.r_U)("activate")],e.prototype,"activateEvents",void 0),r([(0,o.r_U)("deactivate")],e.prototype,"deactivateEvents",void 0),e=r([s(3,(0,o.ahi)("name")),s(4,(0,o.FiY)()),s(4,(0,o.ahi)("tabs")),s(12,(0,o.tp0)()),s(12,(0,o.FiY)())],e),e})();class rt{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===c.gz?this.route:e===c.y6?this.childContexts:this.parent.get(e,t)}}let st=(()=>{let e=class{constructor(e,t,n){this.routerOutlet=e,this.navCtrl=t,this.config=n}onClick(e){const t=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet&&this.routerOutlet.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),e.preventDefault()):null!=t&&(this.navCtrl.navigateBack(t,{animation:this.routerAnimation}),e.preventDefault())}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(nt,8),o.Y36(B),o.Y36(Ne))},e.\u0275dir=o.lG2({type:e,selectors:[["ion-back-button"]],hostBindings:function(e,t){1&e&&o.NdJ("click",function(e){return t.onClick(e)})},inputs:{defaultHref:"defaultHref",routerAnimation:"routerAnimation"}}),r([(0,o.L6J)("click",["$event"])],e.prototype,"onClick",null),e=r([s(0,(0,o.FiY)())],e),e})(),it=(()=>
1{let e=class{constructor(e,t,n,r,s){this.locationStrategy=e,this.navCtrl=t,this.elementRef=n,this.router=r,this.routerLink=s,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}updateTargetUrlAndHref(){if(this.routerLink){const e=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=e}}onClick(e){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),e.preventDefault()}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(l.S$),o.Y36(B),o.Y36(o.SBq),o.Y36(c.F0),o.Y36(c.rH,8))},e.\u0275dir=o.lG2({type:e,selectors:[["","routerLink",""]],hostBindings:function(e,t){1&e&&o.NdJ("click",function(e){return t.onClick(e)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[o.TTD]}),r([(0,o.L6J)("click",["$event"])],e.prototype,"onClick",null),e=r([s(4,(0,o.FiY)())],e),e})(),ot=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.Rgc))},e.\u0275dir=o.lG2({type:e,selectors:[["","virtualFooter",""]]}),e})(),at=(()=>{let e=class{constructor(e){this.templateRef=e}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.Rgc))},e.\u0275dir=o.lG2({type:e,selectors:[["","virtualHeader",""]]}),e})(),lt=(()=>{let e=class{constructor(e,t){this.templateRef=e,this.viewContainer=t}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.Rgc),o.Y36(o.s_b))},e.\u0275dir=o.lG2({type:e,selectors:[["","virtualItem",""]]}),e})(),ct=(()=>{let e=class{constructor(e,t,n){this.z=e,this.iterableDiffers=t,this.refMap=new WeakMap,this.el=n.nativeElement,this.el.nodeRender=this.nodeRender.bind(this)}ngOnChanges(e){if(this.trackBy&&"items"in e){const n=e.items.currentValue;if(void 0===this.differ&&null!=n)try{this.differ=this.iterableDiffers.find(n).create(this.trackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}'. VirtualScroll only supports binding to Iterables such as Arrays.`)}}}ngDoCheck(){null!==(void 0!==this.differ&&this.items?this.differ.diff(this.items):null)&&this.checkRange(0)}nodeRender(e,t,n){return this.z.run(()=>{let r;if(e){r=this.refMap.get(e);const n=r.context;n.$implicit=t.value,n.index=t.index}else r=this.itmTmp.viewContainer.createEmbeddedView(this.getComponent(t.type),{$implicit:t.value,index:n},n),e=ut(r),this.refMap.set(e,r);return r.detectChanges(),e})}getComponent(e){switch(e){case"item":return this.itmTmp.templateRef;case"header":return this.hdrTmp.templateRef;case"footer":return this.ftrTmp.templateRef}throw new Error("template for virtual item was not provided")}};return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.R0b),o.Y36(o.ZZ4),o.Y36(o.SBq))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ion-virtual-scroll"]],contentQueries:function(e,t,n){if(1&e&&(o.Suo(n,lt,5),o.Suo(n,at,5),o.Suo(n,ot,5)),2&e){let e;o.iGM(e=o.CRH())&&(t.itmTmp=e.first),o.iGM(e=o.CRH())&&(t.hdrTmp=e.first),o.iGM(e=o.CRH())&&(t.ftrTmp=e.first)}},inputs:{approxItemHeight:"approxItemHeight",approxHeaderHeight:"approxHeaderHeight",approxFooterHeight:"approxFooterHeight",headerFn:"headerFn",footerFn:"footerFn",items:"items",itemHeight:"itemHeight",headerHeight:"headerHeight",footerHeight:"footerHeight",trackBy:"trackBy"},features:[o.TTD],ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),r([(0,o.aQ5)(lt,{static:!1})],e.prototype,"itmTmp",void 0),r([(0,o.aQ5)(at,{static:!1})],e.prototype,"hdrTmp",void 0),r([(0,o.aQ5)(ot,{static:!1})],e.prototype,"ftrTmp",void 0),e=r([Y({inputs:["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight"],methods:["checkEnd","checkRange","positionForItem"]})],e),e})();const ut=e=>{const t=e.rootNodes;for(let n=0;n<t.length;n++)if(1===t[n].nodeType)return t[n];throw new Error("virtual element was not created")};class ht{constructor(e){this.ctrl=e}create(e){return this.ctrl.create(e||{})}dismiss(e,t,n){return this.ctrl.dismiss(e,t,n)}getTop(){return this.ctrl.getTop()}}let dt=class extends ht{constructor(){super(u.BO)}};dt.\u0275fac=function(e){return new(e||dt)},dt.\u0275prov=o.Yz7({token:dt,factory:function(e){return dt.\u0275fac(e)},providedIn:"root"}),dt.ngInjectableDef=(0,o.Yz7)({factory:function(){return new dt},token:dt,providedIn:"root"});let pt=class extends ht{constructor(){super(u.Cl)}};pt.\u0275fac=function(e){return new(e||pt)},pt.\u0275prov=o.Yz7({token:pt,factory:function(e){return pt.\u0275fac(e)},providedIn:"root"}),pt.ngInjectableDef=(0,o.Yz7)({factory:function(){return new pt},token:pt,providedIn:"root"});let ft=class extends ht{constructor(){super(u.G0)}};ft.\u0275fac=function(e){return new(e||ft)},ft.\u0275prov=o.Yz7({token:ft,factory:function(e){return ft.\u0275fac(e)},providedIn:"root"}),ft.ngInjectableDef=(0,o.Yz7)({factory:function(){return new ft},token:ft,providedIn:"root"});let gt=class{open(e){return u.Bk.open(e)}close(e){return u.Bk.close(e)}toggle(e){return u.Bk.toggle(e)}enable(e,t){return u.Bk.enable(e,t)}swipeGesture(e,t){return u.Bk.swipeGesture(e,t)}isOpen(e){return u.Bk.isOpen(e)}isEnabled(e){return u.Bk.isEnabled(e)}get(e){return u.Bk.get(e)}getOpen(){return u.Bk.getOpen()}getMenus(){return u.Bk.getMenus()}};gt.\u0275fac=function(e){return new(e||gt)},gt.\u0275prov=o.Yz7({token:gt,factory:function(e){return gt.\u0275fac(e)},providedIn:"root"}),gt.ngInjectableDef=(0,o.Yz7)({factory:function(){return new gt},token:gt,providedIn:"root"});let mt=class extends ht{constructor(){super(u._E)}};mt.\u0275fac=function(e){return new(e||mt)},mt.\u0275prov=o.Yz7({token:mt,factory:function(e){return mt.\u0275fac(e)},providedIn:"root"}),mt.ngInjectableDef=(0,o.Yz7)({factory:function(){return new mt},token:mt,providedIn:"root"});let yt=(()=>{let e=class extends ht{constructor(e,t,n){super(u.Fy),this.angularDelegate=e,this.resolver=t,this.injector=n}create(e){return super.create(Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}};return e.\u0275fac=function(t){return new(t||e)(o.LFG(je),o.LFG(o._Vd),o.LFG(o.zs3))},e.\u0275prov=o.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e})(),vt=(()=>{let e=class extends ht{constructor(e,t,n){super(u.oq),this.angularDelegate=e,this.resolver=t,this.injector=n}create(e){return super.create(Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}};return e.\u0275fac=function(t){return new(t||e)(o.LFG(je),o.LFG(o._Vd),o.LFG(o.zs3))},e.\u0275prov=o.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e}
1)(),bt=class extends ht{constructor(){super(u.Mn)}};bt.\u0275fac=function(e){return new(e||bt)},bt.\u0275prov=o.Yz7({token:bt,factory:function(e){return bt.\u0275fac(e)},providedIn:"root"}),bt.ngInjectableDef=(0,o.Yz7)({factory:function(){return new bt},token:bt,providedIn:"root"});let _t=class{read(e){wt().read(e)}write(e){wt().write(e)}};_t.\u0275fac=function(e){return new(e||_t)},_t.\u0275prov=o.Yz7({token:_t,factory:function(e){return _t.\u0275fac(e)},providedIn:"root"}),_t.ngInjectableDef=(0,o.Yz7)({factory:function(){return new _t},token:_t,providedIn:"root"});const wt=()=>{const e="undefined"!=typeof window?window:null;if(null!=e){const t=e.Ionic;return t&&t.queue?t.queue:{read:t=>e.requestAnimationFrame(t),write:t=>e.requestAnimationFrame(t)}}return{read:e=>e(),write:e=>e()}};let Ct=class{create(e){return(0,u.ih)(e)}easingTime(e,t,n,r,s){return(0,u.AO)(e,t,n,r,s)}};Ct.\u0275fac=function(e){return new(e||Ct)},Ct.\u0275prov=o.Yz7({token:Ct,factory:function(e){return Ct.\u0275fac(e)},providedIn:"root"}),Ct.ngInjectableDef=(0,o.Yz7)({factory:function(){return new Ct},token:Ct,providedIn:"root"});let St=class{constructor(e){this.zone=e}create(e,t=!1){return t&&Object.getOwnPropertyNames(e).forEach(t=>{if("function"==typeof e[t]){const n=e[t];e[t]=(...e)=>this.zone.run(()=>n(...e))}}),(0,u.AA)(e)}};St.\u0275fac=function(e){return new(e||St)(o.LFG(o.R0b))},St.\u0275prov=o.Yz7({token:St,factory:function(e){return St.\u0275fac(e)},providedIn:"root"}),St.ngInjectableDef=(0,o.Yz7)({factory:function(){return new St((0,o.LFG)(o.R0b))},token:St,providedIn:"root"});class Et{shouldDetach(e){return!1}shouldAttach(e){return!1}store(e,t){}retrieve(e){return null}shouldReuseRoute(e,t){if(e.routeConfig!==t.routeConfig)return!1;const n=e.params,r=t.params,s=Object.keys(n),i=Object.keys(r);if(s.length!==i.length)return!1;for(const o of s)if(r[o]!==n[o])return!1;return!0}}const kt=(e,t,r)=>()=>{if(t.defaultView&&"undefined"!=typeof window){(0,u.qc)(Object.assign({},e,{_zoneGate:e=>r.run(e)}));const s="__zone_symbol__addEventListener"in t.body?"__zone_symbol__addEventListener":"addEventListener";return function(){var e=[];if("undefined"!=typeof window){var t=window;t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove&&t.Element.prototype.getRootNode)||e.push(n.e(6748).then(n.t.bind(n,15141,23))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.fetch&&function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(t){return!1}}()&&"undefined"!=typeof WeakMap||e.push(n.e(2214).then(n.t.bind(n,47656,23)))}return Promise.all(e)}().then(()=>{return e={exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:_,jmp:e=>r.runOutsideAngular(e),ael(e,t,n,r){e[s](t,n,r)},rel(e,t,n,r){e.removeEventListener(t,n,r)}},"undefined"==typeof window?Promise.resolve():(y.C&&y.C.supports&&y.C.supports("color","var(--c)")?(0,y.a)():n.e(1843).then(n.t.bind(n,95902,23)).then(()=>(y.p.$cssShim$=y.w.__cssshim)?y.p.$cssShim$.i():0)).then(()=>(v(),(0,y.b)(JSON.parse('[["ion-select_3",[[2,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"options":[16]},[[0,"ionChange","onSelect"]]],[33,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}]]],["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]]],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]]]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"buttons":[16],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[4],"layout":[1],"type":[1],"value":[1],"checked":[32]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1025],"activated":[32]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-modal",[[34,"ion-modal",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"swipeToClose":[4,"swipe-to-close"],"presentingElement":[16],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-popover",[[34,"ion-popover",{"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocomplete":[
11],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-app_8",[[0,"ion-app"],[34,"ion-buttons",{"collapse":[4]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[8,"appload","onAppLoad"],[2,"click","onClick"]]],[36,"ion-footer",{"translucent":[4]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[33,"ion-title",{"color":[513],"size":[1]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-slide_2",[[0,"ion-slide"],[36,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[1]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["ion-input",[[34,"ion-input",{"fireFocusEvents":[4,"fire-focus-events"],"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[
11],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"snaps":[4],"step":[2],"ticks":[4],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-textarea",[[34,"ion-textarea",{"fireFocusEvents":[4,"fire-focus-events"],"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"setBlur":[64],"getInputElement":[64]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"activated":[32]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],["ion-datetime_3",[[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[33,"ion-datetime",{"name":[1],"disabled":[4],"readonly":[4],"min":[1025],"max":[1025],"displayFormat":[1,"display-format"],"displayTimezone":[1,"display-timezone"],"pickerFormat":[1,"picker-format"],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"monthNames":[1,"month-names"],"monthShortNames":[1,"month-short-names"],"dayNames":[1,"day-names"],"dayShortNames":[1,"day-short-names"],"pickerOptions":[16],"placeholder":[1],"value":[1025],"isExpanded":[32],"open":[64]}],[32,"ion-picker-column",{"col":[16]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]]]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ariaLabel":[1537,"aria-label"],"ariaHidden":[513,"aria-hidden"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[33,"ion-note",{"color":[513]}],[1,"ion-skeleton-text",{"animated":[4]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32]}
1,[[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}]]]]'),e)));var e})}};var xt;let Tt=xt=class{static forRoot(e){return{ngModule:xt,providers:[{provide:Me,useValue:e},{provide:o.ip1,useFactory:kt,multi:!0,deps:[Me,l.K0,o.R0b]}]}}};Tt.\u0275fac=function(e){return new(e||Tt)},Tt.\u0275mod=o.oAB({type:Tt}),Tt.\u0275inj=o.cJS({providers:[je,yt,vt],imports:[[l.ez]]})},94086:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(52377);let s;const i=e=>{if(void 0===s){const t=void 0!==e.style.webkitAnimationName;s=void 0===e.style.animationName&&t?"-webkit-":""}return s},o=(e,t,n)=>{const r=t.startsWith("animation")?i(e):"";e.style.setProperty(r+t,n)},a=(e,t)=>{const n=t.startsWith("animation")?i(e):"";e.style.removeProperty(n+t)},l=[],c=(e=[],t)=>{if(void 0!==t){const n=Array.isArray(t)?t:[t];return[...e,...n]}return e},u=e=>{let t,n,s,u,h,d,p,f,g,m,y,v,b,_=[],w=[],C=[],S=!1,E={},k=[],x=[],T={},O=0,A=!1,I=!1,$=!0,P=!1,D=!0;const L=e,R=[],N=[],M=[],F=[],B=[],j=[],z=[],V=[],U=[],q=[],H="function"==typeof AnimationEffect||"function"==typeof window.AnimationEffect,Y="function"==typeof Element&&"function"==typeof Element.prototype.animate&&H,G=(e,t)=>((t&&t.oneTimeCallback?N:R).push({c:e,o:t}),b),W=()=>{if(Y)q.forEach(e=>{e.cancel()}),q.length=0;else{const e=M.slice();(0,r.r)(()=>{e.forEach(e=>{a(e,"animation-name"),a(e,"animation-duration"),a(e,"animation-timing-function"),a(e,"animation-iteration-count"),a(e,"animation-delay"),a(e,"animation-play-state"),a(e,"animation-fill-mode"),a(e,"animation-direction")})})}},X=()=>{B.forEach(e=>{e&&e.parentNode&&e.parentNode.removeChild(e)}),B.length=0},K=()=>void 0!==h?h:p?p.getFill():"both",Z=()=>void 0!==g?g:void 0!==d?d:p?p.getDirection():"normal",Q=()=>A?"linear":void 0!==s?s:p?p.getEasing():"linear",J=()=>I?0:void 0!==m?m:void 0!==n?n:p?p.getDuration():0,ee=()=>void 0!==u?u:p?p.getIterations():1,te=()=>void 0!==y?y:void 0!==t?t:p?p.getDelay():0,ne=()=>{0!==O&&(O--,0===O&&((()=>{ue(),V.forEach(e=>e()),U.forEach(e=>e());const e=$?1:0,t=k,n=x,r=T;M.forEach(e=>{const s=e.classList;t.forEach(e=>
1s.add(e)),n.forEach(e=>s.remove(e));for(const t in r)r.hasOwnProperty(t)&&o(e,t,r[t])}),R.forEach(t=>t.c(e,b)),N.forEach(t=>t.c(e,b)),N.length=0,D=!0,$&&(P=!0),$=!0})(),p&&p.animationFinish()))},re=(t=!0)=>{(()=>{j.forEach(e=>e()),z.forEach(e=>e());const e=w,t=C,n=E;M.forEach(r=>{const s=r.classList;e.forEach(e=>s.add(e)),t.forEach(e=>s.remove(e));for(const e in n)n.hasOwnProperty(e)&&o(r,e,n[e])})})(),_.length>0&&(Y?(M.forEach(e=>{const t=e.animate(_,{id:L,delay:te(),duration:J(),easing:Q(),iterations:ee(),fill:K(),direction:Z()});t.pause(),q.push(t)}),q.length>0&&(q[0].onfinish=()=>{ne()})):((t=!0)=>{X();const n=((s=_).forEach(e=>{for(const t in e)if(e.hasOwnProperty(t)){const n=e[t];if("easing"===t)e["animation-timing-function"]=n,delete e[t];else{const r=t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();r!==t&&(e[r]=n,delete e[t])}}}),s);var s;M.forEach(s=>{if(n.length>0){const a=((e=[])=>e.map(e=>{const t=e.offset,n=[];for(const r in e)e.hasOwnProperty(r)&&"offset"!==r&&n.push(`${r}: ${e[r]};`);return`${100*t}% { ${n.join(" ")} }`}).join(" "))(n);v=void 0!==e?e:(e=>{let t=l.indexOf(e);return t<0&&(t=l.push(e)-1),`ion-animation-${t}`})(a);const c=((e,t,n)=>{const r=(e=>{const t=e.getRootNode();return t.head||t})(n),s=i(n),o=r.querySelector("#"+e);if(o)return o;const a=(n.ownerDocument||document).createElement("style");return a.id=e,a.textContent=`@${s}keyframes ${e} { ${t} } @${s}keyframes ${e}-alt { ${t} }`,r.appendChild(a),a})(v,a,s);B.push(c),o(s,"animation-duration",`${J()}ms`),o(s,"animation-timing-function",Q()),o(s,"animation-delay",`${te()}ms`),o(s,"animation-fill-mode",K()),o(s,"animation-direction",Z());const u=ee()===1/0?"infinite":ee().toString();o(s,"animation-iteration-count",u),o(s,"animation-play-state","paused"),t&&o(s,"animation-name",`${c.id}-alt`),(0,r.r)(()=>{o(s,"animation-name",c.id||null)})}})})(t)),S=!0},se=e=>{if(e=Math.min(Math.max(e,0),.9999),Y)q.forEach(t=>{t.currentTime=t.effect.getComputedTiming().delay+J()*e,t.pause()});else{const t=`-${J()*e}ms`;M.forEach(e=>{_.length>0&&(o(e,"animation-delay",t),o(e,"animation-play-state","paused"))})}},ie=e=>{q.forEach(e=>{e.effect.updateTiming({delay:te(),duration:J(),easing:Q(),iterations:ee(),fill:K(),direction:Z()})}),void 0!==e&&se(e)},oe=(e=!0,t)=>{(0,r.r)(()=>{M.forEach(n=>{o(n,"animation-name",v||null),o(n,"animation-duration",`${J()}ms`),o(n,"animation-timing-function",Q()),o(n,"animation-delay",void 0!==t?`-${t*J()}ms`:`${te()}ms`),o(n,"animation-fill-mode",K()||null),o(n,"animation-direction",Z()||null);const s=ee()===1/0?"infinite":ee().toString();o(n,"animation-iteration-count",s),e&&o(n,"animation-name",`${v}-alt`),(0,r.r)(()=>{o(n,"animation-name",v||null)})})})},ae=(e=!1,t=!0,n)=>(e&&F.forEach(r=>{r.update(e,t,n)}),Y?ie(n):oe(t,n),b),le=()=>{S&&(Y?q.forEach(e=>{e.pause()}):M.forEach(e=>{o(e,"animation-play-state","paused")}))},ce=()=>{f=void 0,ne()},ue=()=>{f&&clearTimeout(f)},he=e=>new Promise(t=>{e&&e.sync&&(I=!0,G(()=>I=!1,{oneTimeCallback:!0})),S||re(),P&&(Y?(se(0),ie()):oe(),P=!1),D&&(O=F.length+1,D=!1),G(()=>t(),{oneTimeCallback:!0}),F.forEach(e=>{e.play()}),Y?(q.forEach(e=>{e.play()}),0!==_.length&&0!==M.length||ne()):(()=>{if(ue(),(0,r.r)(()=>{M.forEach(e=>{_.length>0&&o(e,"animation-play-state","running")})}),0===_.length||0===M.length)ne();else{const e=te()||0,t=J()||0,n=ee()||1;isFinite(n)&&(f=setTimeout(ce,e+t*n+100)),((e,t)=>{let n;const s={passive:!0},i=t=>{e===t.target&&(n&&n(),ue(),(0,r.r)(()=>{M.forEach(e=>{a(e,"animation-duration"),a(e,"animation-delay"),a(e,"animation-play-state")}),(0,r.r)(ne)}))};e&&(e.addEventListener("webkitAnimationEnd",i,s),e.addEventListener("animationend",i,s),n=()=>{e.removeEventListener("webkitAnimationEnd",i,s),e.removeEventListener("animationend",i,s)})})(M[0])}})()}),de=(e,t)=>{const n=_[0];return void 0===n||void 0!==n.offset&&0!==n.offset?_=[{offset:0,[e]:t},..._]:n[e]=t,b};return b={parentAnimation:p,elements:M,childAnimations:F,id:L,animationFinish:ne,from:de,to:(e,t)=>{const n=_[_.length-1];return void 0===n||void 0!==n.offset&&1!==n.offset?_=[..._,{offset:1,[e]:t}]:n[e]=t,b},fromTo:(e,t,n)=>de(e,t).to(e,n),parent:e=>(p=e,b),play:he,pause:()=>
1(F.forEach(e=>{e.pause()}),le(),b),stop:()=>{F.forEach(e=>{e.stop()}),S&&(W(),S=!1),A=!1,I=!1,D=!0,g=void 0,m=void 0,y=void 0,O=0,P=!1,$=!0},destroy:e=>(F.forEach(t=>{t.destroy(e)}),(e=>{W(),e&&X()})(e),M.length=0,F.length=0,_.length=0,R.length=0,N.length=0,S=!1,D=!0,b),keyframes:e=>(_=e,b),addAnimation:e=>{if(null!=e)if(Array.isArray(e))for(const t of e)t.parent(b),F.push(t);else e.parent(b),F.push(e);return b},addElement:e=>{if(null!=e)if(1===e.nodeType)M.push(e);else if(e.length>=0)for(let t=0;t<e.length;t++)M.push(e[t]);else console.error("Invalid addElement value");return b},update:ae,fill:e=>(h=e,ae(!0),b),direction:e=>(d=e,ae(!0),b),iterations:e=>(u=e,ae(!0),b),duration:e=>(Y||0!==e||(e=1),n=e,ae(!0),b),easing:e=>(s=e,ae(!0),b),delay:e=>(t=e,ae(!0),b),getWebAnimations:()=>q,getKeyframes:()=>_,getFill:K,getDirection:Z,getDelay:te,getIterations:ee,getEasing:Q,getDuration:J,afterAddRead:e=>(V.push(e),b),afterAddWrite:e=>(U.push(e),b),afterClearStyles:(e=[])=>{for(const t of e)T[t]="";return b},afterStyles:(e={})=>(T=e,b),afterRemoveClass:e=>(x=c(x,e),b),afterAddClass:e=>(k=c(k,e),b),beforeAddRead:e=>(j.push(e),b),beforeAddWrite:e=>(z.push(e),b),beforeClearStyles:(e=[])=>{for(const t of e)E[t]="";return b},beforeStyles:(e={})=>(E=e,b),beforeRemoveClass:e=>(C=c(C,e),b),beforeAddClass:e=>(w=c(w,e),b),onFinish:G,progressStart:(e=!1,t)=>(F.forEach(n=>{n.progressStart(e,t)}),le(),A=e,S?ae(!1,!0,t):re(),b),progressStep:e=>(F.forEach(t=>{t.progressStep(e)}),se(e),b),progressEnd:(e,t,n)=>(A=!1,F.forEach(r=>{r.progressEnd(e,t,n)}),void 0!==n&&(m=n),P=!1,$=!0,0===e?(g="reverse"===Z()?"normal":"reverse","reverse"===g&&($=!1),Y?(ae(),se(1-t)):(y=(1-t)*J()*-1,ae(!1,!1))):1===e&&(Y?(ae(),se(t)):(y=t*J()*-1,ae(!1,!1))),void 0!==e&&(G(()=>{m=void 0,g=void 0,y=void 0},{oneTimeCallback:!0}),p||he()),b)}}},57807:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});const r=(e,t,n,r,o)=>i(e[1],t[1],n[1],r[1],o).map(i=>s(e[0],t[0],n[0],r[0],i)),s=(e,t,n,r,s)=>s*(3*t*Math.pow(s-1,2)+s*(-3*n*s+3*n+r*s))-e*Math.pow(s-1,3),i=(e,t,n,r,s)=>o((r-=s)-3*(n-=s)+3*(t-=s)-(e-=s),3*n-6*t+3*e,3*t-3*e,e).filter(e=>e>=0&&e<=1),o=(e,t,n,r)=>{if(0===e)return((e,t,n)=>{const r=t*t-4*e*n;
1return r<0?[]:[(-t+Math.sqrt(r))/(2*e),(-t-Math.sqrt(r))/(2*e)]})(t,n,r);const s=(3*(n/=e)-(t/=e)*t)/3,i=(2*t*t*t-9*t*n+27*(r/=e))/27;if(0===s)return[Math.pow(-i,1/3)];if(0===i)return[Math.sqrt(-s),-Math.sqrt(-s)];const o=Math.pow(i/2,2)+Math.pow(s/3,3);if(0===o)return[Math.pow(i/2,.5)-t/3];if(o>0)return[Math.pow(-i/2+Math.sqrt(o),1/3)-Math.pow(i/2+Math.sqrt(o),1/3)-t/3];const a=Math.sqrt(Math.pow(-s/3,3)),l=Math.acos(-i/(2*Math.sqrt(Math.pow(-s/3,3)))),c=2*Math.pow(a,1/3);return[c*Math.cos(l/3)-t/3,c*Math.cos((l+2*Math.PI)/3)-t/3,c*Math.cos((l+4*Math.PI)/3)-t/3]}},40960:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});class r{constructor(e,t,n,r,s){this.id=t,this.name=n,this.disableScroll=s,this.priority=1e6*r+t,this.ctrl=e}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const e=this.ctrl.capture(this.name,this.id,this.priority);return e&&this.disableScroll&&this.ctrl.disableScroll(this.id),e}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class s{constructor(e,t,n,r){this.id=t,this.disable=n,this.disableScroll=r,this.ctrl=e}block(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.disableGesture(e,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.enableGesture(e,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const i="backdrop-no-scroll",o=new class{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(e){return new r(this,this.newID(),e.name,e.priority||0,!!e.disableScroll)}createBlocker(e={}){return new s(this,this.newID(),e.disable,!!e.disableScroll)}start(e,t,n){return this.canStart(e)?(this.requestedStart.set(t,n),!0):(this.requestedStart.delete(t),!1)}capture(e,t,n){if(!this.start(e,t,n))return!1;const r=this.requestedStart;let s=-1e4;if(r.forEach(e=>{s=Math.max(s,e)}),s===n){this.capturedId=t,r.clear();const n=new CustomEvent("ionGestureCaptured",{detail:{gestureName:e}});return document.dispatchEvent(n),!0}return r.delete(t),!1}release(e){this.requestedStart.delete(e),this.capturedId===e&&(this.capturedId=void 0)}disableGesture(e,t){let n=this.disabledGestures.get(e);void 0===n&&(n=new Set,this.disabledGestures.set(e,n)),n.add(t)}enableGesture(e,t){const n=this.disabledGestures.get(e);void 0!==n&&n.delete(t)}disableScroll(e){this.disabledScroll.add(e),1===this.disabledScroll.size&&document.body.classList.add(i)}enableScroll(e){this.disabledScroll.delete(e),0===this.disabledScroll.size&&document.body.classList.remove(i)}canStart(e){return void 0===this.capturedId&&!this.isDisabled(e)}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(e){const t=this.disabledGestures.get(e);return!!(t&&t.size>0)}newID(){return this.gestureId++,this.gestureId}}},23087:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MENU_BACK_BUTTON_PRIORITY:()=>o,OVERLAY_BACK_BUTTON_PRIORITY:()=>i,blockHardwareBackButton:()=>r,startHardwareBackButton:()=>s});const r=()=>{document.addEventListener("backbutton",()=>{})},s=()=>{const e=document;let t=!1;e.addEventListener("backbutton",()=>{if(t)return;let n=0,r=[];const s=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(e,t){r.push({priority:e,handler:t,id:n++})}}});e.dispatchEvent(s);const i=()=>{if(r.length>0){let e={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};r.forEach(t=>{t.priority>=e.priority&&(e=t)}),t=!0,r=r.filter(t=>t.id!==e.id),(async e=>{try{if(e&&e.handler){const t=e.handler(i);null!=t&&await t}}catch(t){console.error(t)}})(e).then(()=>t=!1)}};i()})},i=100,o=99},52377:(e,t,n)=>{"use strict";n.d(t,{a:()=>i,b:()=>o,c:()=>r,d:()=>h,e:()=>d,f:()=>v,g:()=>a,h:()=>u,i:()=>s,j:()=>p,k:()=>c,l:()=>f,m:()=>y,n:()=>b,o:()=>g,p:()=>m,r:()=>l});const r=(e,t)=>{e.componentOnReady?e.componentOnReady().then(e=>t(e)):l(()=>t(e))},s=(e,t=[])=>{const n={};return t.forEach(t=>{e.hasAttribute(t)&&(null!==e.getAttribute(t)&&(n[t]=e.getAttribute(t)),e.removeAttribute(t))}),n},i=(e,t,n,r)=>{if("undefined"!=typeof window){const s=window,i=s&&s.Ionic&&s.Ionic.config;if(i){const s=i.get("_ael");
1if(s)return s(e,t,n,r);if(i._ael)return i._ael(e,t,n,r)}}return e.addEventListener(t,n,r)},o=(e,t,n,r)=>{if("undefined"!=typeof window){const s=window,i=s&&s.Ionic&&s.Ionic.config;if(i){const s=i.get("_rel");if(s)return s(e,t,n,r);if(i._rel)return i._rel(e,t,n,r)}}return e.removeEventListener(t,n,r)},a=(e,t=e)=>e.shadowRoot||t,l=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),c=e=>!!e.shadowRoot&&!!e.attachShadow,u=e=>{const t=e.closest("ion-item");return t?t.querySelector("ion-label"):null},h=(e,t)=>{let n;const r=e.getAttribute("aria-labelledby"),s=e.id;let i=null!==r&&""!==r.trim()?r:t+"-lbl",o=null!==r&&""!==r.trim()?document.getElementById(r):u(e);return o?(null===r&&(o.id=i),n=o.textContent,o.setAttribute("aria-hidden","true")):""!==s.trim()&&(o=document.querySelector(`label[for="${s}"]`),o&&(""!==o.id?i=o.id:o.id=i=`${s}-lbl`,n=o.textContent)),{label:o,labelId:i,labelText:n}},d=(e,t,n,r,s)=>{if(e||c(t)){let e=t.querySelector("input.aux-input");e||(e=t.ownerDocument.createElement("input"),e.type="hidden",e.classList.add("aux-input"),t.appendChild(e)),e.disabled=s,e.name=n,e.value=r||""}},p=(e,t,n)=>Math.max(e,Math.min(t,n)),f=(e,t)=>{if(!e){const e="ASSERT: "+t;throw console.error(e),new Error(e)}},g=e=>e.timeStamp||Date.now(),m=e=>{if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];return{x:e.clientX,y:e.clientY}}if(void 0!==e.pageX)return{x:e.pageX,y:e.pageY}}return{x:0,y:0}},y=e=>{const t="rtl"===document.dir;switch(e){case"start":return t;case"end":return!t;default:throw new Error(`"${e}" is not a valid value for [side]. Use "start" or "end" instead.`)}},v=(e,t)=>{const n=e._original||e;return{_original:e,emit:b(n.emit.bind(n),t)}},b=(e,t=0)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(e,t,...r)}}},65554:(e,t,n)=>{"use strict";n.d(t,{m:()=>h});var r=n(23087),s=n(52377),i=n(97585),o=n(94086);const a=e=>(0,o.c)().duration(e?400:300),l=e=>{let t,n;const r=e.width+8,s=(0,o.c)(),l=(0,o.c)();e.isEndSide?(t=r+"px",n="0px"):(t=-r+"px",n="0px"),s.addElement(e.menuInnerEl).fromTo("transform",`translateX(${t})`,`translateX(${n})`);const c="ios"===(0,i.b)(e),u=c?.2:.25;return l.addElement(e.backdropEl).fromTo("opacity",.01,u),a(c).addAnimation([s,l])},c=e=>{let t,n;const r=(0,i.b)(e),s=e.width;e.isEndSide?(t=-s+"px",n=s+"px"):(t=s+"px",n=-s+"px");const l=(0,o.c)().addElement(e.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),c=(0,o.c)().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${t})`),u=(0,o.c)().addElement(e.backdropEl).fromTo("opacity",.01,.32);return a("ios"===r).addAnimation([l,c,u])},u=e=>{const t=(0,i.b)(e),n=e.width*(e.isEndSide?-1:1)+"px",r=(0,o.c)().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);return a("ios"===t).addAnimation(r)},h=(()=>{const e=new Map,t=[],n=async e=>(await f(),"start"===e||"end"===e?p(t=>t.side===e&&!t.disabled)||p(t=>t.side===e):null!=e?p(t=>t.menuId===e):p(e=>!e.disabled)||(t.length>0?t[0].el:void 0)),i=async()=>(await f(),h()),o=(t,n)=>{e.set(t,n)},a=e=>{const n=e.side;t.filter(t=>t.side===n&&t!==e).forEach(e=>e.disabled=!0)},h=()=>p(e=>e._isOpen),d=()=>t.some(e=>e.isAnimating),p=e=>{const n=t.find(e);if(void 0!==n)return n.el},f=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(e=>new Promise(t=>(0,s.c)(e,t))));return o("reveal",u),o("push",c),o("overlay",l),"undefined"!=typeof document&&document.addEventListener("ionBackButton",e=>{const t=h();t&&e.detail.register(r.MENU_BACK_BUTTON_PRIORITY,()=>t.close())}),{registerAnimation:o,get:n,getMenus:async()=>(await f(),t.map(e=>e.el)),getOpen:i,isEnabled:async e=>{const t=await n(e);return!!t&&!t.disabled},swipeGesture:async(e,t)=>{const r=await n(t);return r&&(r.swipeGesture=e),r},isAnimating:async()=>(await f(),d()),isOpen:async e=>{if(null!=e){const t=await n(e);return void 0!==t&&t.isOpen()}return void 0!==await i()},enable:async(e,t)=>{const r=await n(t);return r&&(r.disabled=!e),r},toggle:async e=>{const t=await n(e);
1return!!t&&t.toggle()},close:async e=>{const t=await(void 0!==e?n(e):i());return void 0!==t&&t.close()},open:async e=>{const t=await n(e);return!!t&&t.open()},_getOpenSync:h,_createAnimation:(t,n)=>{const r=e.get(t);if(!r)throw new Error("animation not registered");return r(n)},_register:e=>{t.indexOf(e)<0&&(e.disabled||a(e),t.push(e))},_unregister:e=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},_setOpen:async(e,t,n)=>{if(d())return!1;if(t){const t=await i();t&&e.el!==t&&await t.setOpen(!1,!1)}return e._setOpen(t,n)},_setActiveMenu:a}})()},39461:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GESTURE_CONTROLLER:()=>r.G,createGesture:()=>l});var r=n(40960);const s=(e,t,n,r)=>{const s=i(e)?{capture:!!r.capture,passive:!!r.passive}:!!r.capture;let o,a;return e.__zone_symbol__addEventListener?(o="__zone_symbol__addEventListener",a="__zone_symbol__removeEventListener"):(o="addEventListener",a="removeEventListener"),e[o](t,n,s),()=>{e[a](t,n,s)}},i=e=>{if(void 0===o)try{const t=Object.defineProperty({},"passive",{get:()=>{o=!0}});e.addEventListener("optsTest",()=>{},t)}catch(t){o=!1}return!!o};let o;const a=e=>e instanceof Document?e:e.ownerDocument,l=e=>{let t=!1,n=!1,i=!0,o=!1;const l=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},e),d=l.canStart,p=l.onWillStart,f=l.onStart,g=l.onEnd,m=l.notCaptured,y=l.onMove,v=l.threshold,b=l.passive,_=l.blurOnStart,w={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},C=((e,t,n)=>{const r=n*(Math.PI/180),s="x"===e,i=Math.cos(r),o=t*t;let a=0,l=0,c=!1,u=0;return{start(e,t){a=e,l=t,u=0,c=!0},detect(e,t){if(!c)return!1;const n=e-a,r=t-l,h=n*n+r*r;if(h<o)return!1;const d=Math.sqrt(h),p=(s?n:r)/d;return u=p>i?1:p<-i?-1:0,c=!1,!0},isGesture:()=>0!==u,getDirection:()=>u}})(l.direction,l.threshold,l.maxAngle),S=r.G.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),E=()=>{t&&(o=!1,y&&y(w))},k=()=>!(S&&!S.capture()||(t=!0,i=!1,w.startX=w.currentX,w.startY=w.currentY,w.startTime=w.currentTime,p?p(w).then(x):x(),0)),x=()=>{_&&(()=>{if("undefined"!=typeof document){const e=document.activeElement;null!==e&&e.blur&&e.blur()}})(),f&&f(w),i=!0},T=()=>{t=!1,n=!1,o=!1,i=!0,S.release()},O=e=>{const n=t,r=i;T(),r&&(c(w,e),n?g&&g(w):m&&m(w))},A=((e,t,n,r,i)=>{let o,l,c,u,h,d,p,f=0;const g=r=>{f=Date.now()+2e3,t(r)&&(!l&&n&&(l=s(e,"touchmove",n,i)),c||(c=s(r.target,"touchend",y,i)),u||(u=s(r.target,"touchcancel",y,i)))},m=r=>{f>Date.now()||t(r)&&(!d&&n&&(d=s(a(e),"mousemove",n,i)),p||(p=s(a(e),"mouseup",v,i)))},y=e=>{b(),r&&r(e)},v=e=>{_(),r&&r(e)},b=()=>{l&&l(),c&&c(),u&&u(),l=c=u=void 0},_=()=>{d&&d(),p&&p(),d=p=void 0},w=()=>{b(),_()},C=(t=!0)=>{t?(o||(o=s(e,"touchstart",g,i)),h||(h=s(e,"mousedown",m,i))):(o&&o(),h&&h(),o=h=void 0,w())};return{enable:C,stop:w,destroy:()=>{C(!1),r=n=t=void 0}}})(l.el,e=>{const t=h(e);return!(n||!i)&&(u(e,w),w.startX=w.currentX,w.startY=w.currentY,w.startTime=w.currentTime=t,w.velocityX=w.velocityY=w.deltaX=w.deltaY=0,w.event=e,(!d||!1!==d(w))&&(S.release(),!!S.start()&&(n=!0,0===v?k():(C.start(w.startX,w.startY),!0))))},e=>{t?!o&&i&&(o=!0,c(w,e),requestAnimationFrame(E)):(c(w,e),C.detect(w.currentX,w.currentY)&&(C.isGesture()&&k()||I()))},O,{capture:!1,passive:b}),I=()=>{T(),A.stop(),m&&m(w)};return{enable(e=!0){e||(t&&O(void 0),T()),A.enable(e)},destroy(){S.destroy(),A.destroy()}}},c=(e,t)=>{if(!t)return;const n=e.currentX,r=e.currentY,s=e.currentTime;u(t,e);const i=e.currentX,o=e.currentY,a=(e.currentTime=h(t))-s;if(a>0&&a<100){const t=(o-r)/a;e.velocityX=(i-n)/a*.7+.3*e.velocityX,e.velocityY=.7*t+.3*e.velocityY}e.deltaX=i-e.startX,e.deltaY=o-e.startY,e.event=t},u=(e,t)=>
1{let n=0,r=0;if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];n=e.clientX,r=e.clientY}else void 0!==e.pageX&&(n=e.pageX,r=e.pageY)}t.currentX=n,t.currentY=r},h=e=>e.timeStamp||Date.now()},23150:(e,t,n)=>{"use strict";n.d(t,{B:()=>Ve,C:()=>d,H:()=>R,a:()=>m,b:()=>Ce,c:()=>ze,e:()=>re,f:()=>je,g:()=>I,h:()=>D,i:()=>ne,j:()=>he,k:()=>Se,p:()=>f,r:()=>xe,s:()=>A,w:()=>h});let r,s,i,o=!1,a=!1,l=!1,c=!1,u=!1;const h="undefined"!=typeof window?window:{},d=h.CSS,p=h.document||{head:{}},f={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},g=(()=>(p.head.attachShadow+"").indexOf("[native")>-1)(),m=e=>Promise.resolve(e),y=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),v=(e,t,n,r)=>{n&&n.map(([n,r,s])=>{const i=_(e,n),o=b(t,s),a=w(n);f.ael(i,r,o,a),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>f.rel(i,r,o,a))})},b=(e,t)=>n=>{try{256&e.$flags$?e.$lazyInstance$[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(r){Ae(r)}},_=(e,t)=>4&t?p:8&t?h:16&t?p.body:e,w=e=>0!=(2&e),C="s-id",S="c-id",E="http://www.w3.org/1999/xlink",k=new WeakMap,x=(e,t,n)=>{let r=Pe.get(e);y&&n?(r=r||new CSSStyleSheet,r.replace(t)):r=t,Pe.set(e,r)},T=(e,t,n,r)=>{let s=O(t,n),i=Pe.get(s);if(e=11===e.nodeType?e:p,i)if("string"==typeof i){let n,o=k.get(e=e.head||e);if(o||k.set(e,o=new Set),!o.has(s)){if(e.host&&(n=e.querySelector(`[sty-id="${s}"]`)))n.innerHTML=i;else{if(f.$cssShim$){n=f.$cssShim$.createHostStyle(r,s,i,!!(10&t.$flags$));const e=n["s-sc"];e&&(s=e,o=null)}else n=p.createElement("style"),n.innerHTML=i;e.insertBefore(n,e.querySelector("link"))}o&&o.add(s)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return s},O=(e,t)=>"sc-"+(t&&32&e.$flags$?e.$tagName$+"-"+t:e.$tagName$),A=e=>De.push(e),I=e=>ke(e).$modeName$,$={},P=e=>"object"==(e=typeof e)||"function"===e,D=(e,t,...n)=>{let r=null,s=null,i=null,o=!1,a=!1,l=[];const c=t=>{for(let n=0;n<t.length;n++)r=t[n],Array.isArray(r)?c(r):null!=r&&"boolean"!=typeof r&&((o="function"!=typeof e&&!P(r))&&(r=String(r)),o&&a?l[l.length-1].$text$+=r:l.push(o?L(null,r):r),a=o)};if(c(n),t){t.key&&(s=t.key),t.name&&(i=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,l,N);const u=L(e,null);return u.$attrs$=t,l.length>0&&(u.$children$=l),u.$key$=s,u.$name$=i,u},L=(e,t)=>({$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),R={},N={forEach:(e,t)=>e.map(M).forEach(t),map:(e,t)=>e.map(M).map(t).map(F)},M=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),F=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),D(e.vtag,t,...e.vchildren||[])}const t=L(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},B=(e,t,n,r,s,i)=>{if(n!==r){let a=Oe(e,t),l=t.toLowerCase();if("class"===t){const t=e.classList,s=z(n),i=z(r);t.remove(...s.filter(e=>e&&!i.includes(e))),t.add(...i.filter(e=>e&&!s.includes(e)))}else if("style"===t){for(const t in n)r&&null!=r[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in r)n&&r[t]===n[t]||(t.includes("-")?e.style.setProperty(t,r[t]):e.style[t]=r[t])}else if("key"===t);else if("ref"===t)r&&r(e);else if(a||"o"!==t[0]||"n"!==t[1]){const c=P(r);if((a||c&&null!==r)&&!s)try{if(e.tagName.includes("-"))e[t]=r;else{let s=null==r?"":r;"list"===t?a=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(o){}let u=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,u=!0),null==r||!1===r?!1===r&&""!==e.getAttribute(t)||(u?e.removeAttributeNS(E,t):e.removeAttribute(t)):(!a||4&i||s)&&!c&&(r=!0===r?"":r,u?e.setAttributeNS(E,t,r):e.setAttribute(t,r))}else t="-"===t[2]?t.slice(3):Oe(h,l)?l.slice(2):l[2]+t.slice(3),n&&f.rel(e,t,n,!1),r&&f.ael(e,t,r,!1)}},j=/\s/,z=e=>e?e.split(j):[],V=(e,t,n,r)=>{const s=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,i=e&&e.$attrs$||$,o=t.$attrs$||$;for(r in i)r in o||B(s,r,i[r],void 0,n,t.$flags$);for(r in o)B(s,r,i[r],o[r],n,t.$flags$)},U=(e,t,n,a)=>{let u,h,d,f=t.$children$[n],g=0;if(o||(l=!0,"slot"===f.$tag$&&(r&&a.classList.add(r+"-s"),f.$flags$|=f.$children$?2:1)),null!==f.$text$)u=f.$elm$=p.createTextNode(f.$text$);else if(1&f.$flags$)u=f.$elm$=p.createTextNode("");else{if(c||(c="svg"===f.$tag$),u=f.$elm$=p.createElementNS(c?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&f.$flags$?"slot-fb":f.$tag$),c&&"foreignObject"===f.$tag$&&(c=!1),V(null,f,c),null!=r&&u["s-si"]!==r&&u.classList.add(u["s-si"]=r),f.$children$)for(g=0;g<f.$children$.length;++g)h=U(e,f,g,u),h&&u.appendChild(h);"svg"===f.$tag$?c=!1:"foreignObject"===u.tagName&&(c=!0)}return u["s-hn"]=i,3&f.$flags$&&(u["s-sr"]=!0,u["s-cr"]=s,u["s-sn"]=f.$name$||"",d=e&&e.$children$&&e.$children$[n],d&&d.$tag$===f.$tag$&&e.$elm$&&q(e.$elm$,!1)),u},q=(e,t)=>
vendor: 3,111 bytes, line 1
1{f.$flags$|=1;const n=e.childNodes;for(let r=n.length-1;r>=0;r--){const e=n[r];e["s-hn"]!==i&&e["s-ol"]&&(X(e).insertBefore(e,W(e)),e["s-ol"].remove(),e["s-ol"]=void 0,l=!0),t&&q(e,t)}f.$flags$&=-2},H=(e,t,n,r,s,o)=>{let a,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===i&&(l=l.shadowRoot);s<=o;++s)r[s]&&(a=U(null,n,s,e),a&&(r[s].$elm$=a,l.insertBefore(a,W(t))))},Y=(e,t,n,r,s)=>{for(;t<=n;++t)(r=e[t])&&(s=r.$elm$,te(r),a=!0,s["s-ol"]?s["s-ol"].remove():q(s,!0),s.remove())},G=(e,t)=>e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:e.$key$===t.$key$),W=e=>e&&e["s-ol"]||e,X=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,K=(e,t)=>{const n=t.$elm$=e.$elm$,r=e.$children$,s=t.$children$,i=t.$tag$,o=t.$text$;let a;null===o?(c="svg"===i||"foreignObject"!==i&&c,"slot"===i||V(e,t,c),null!==r&&null!==s?((e,t,n,r)=>{let s,i,o=0,a=0,l=0,c=0,u=t.length-1,h=t[0],d=t[u],p=r.length-1,f=r[0],g=r[p];for(;o<=u&&a<=p;)if(null==h)h=t[++o];else if(null==d)d=t[--u];else if(null==f)f=r[++a];else if(null==g)g=r[--p];else if(G(h,f))K(h,f),h=t[++o],f=r[++a];else if(G(d,g))K(d,g),d=t[--u],g=r[--p];else if(G(h,g))"slot"!==h.$tag$&&"slot"!==g.$tag$||q(h.$elm$.parentNode,!1),K(h,g),e.insertBefore(h.$elm$,d.$elm$.nextSibling),h=t[++o],g=r[--p];else if(G(d,f))"slot"!==h.$tag$&&"slot"!==g.$tag$||q(d.$elm$.parentNode,!1),K(d,f),e.insertBefore(d.$elm$,h.$elm$),d=t[--u],f=r[++a];else{for(l=-1,c=o;c<=u;++c)if(t[c]&&null!==t[c].$key$&&t[c].$key$===f.$key$){l=c;break}l>=0?(i=t[l],i.$tag$!==f.$tag$?s=U(t&&t[a],n,l,e):(K(i,f),t[l]=void 0,s=i.$elm$),f=r[++a]):(s=U(t&&t[a],n,a,e),f=r[++a]),s&&X(h.$elm$).insertBefore(s,W(h.$elm$))}o>u?H(e,null==r[p+1]?null:r[p+1].$elm$,n,r,a,p):a>p&&Y(t,o,u)})(n,r,t,s):null!==s?(null!==e.$text$&&(n.textContent=""),H(n,null,t,s,0,s.length-1)):null!==r&&Y(r,0,r.length-1),c&&"svg"===i&&(c=!1)):(a=n["s-cr"])?a.parentNode.textContent=o:e.$text$!==o&&(n.data=o)},Z=e=>{let t,n,r,s,i,o,a=e.childNodes;for(n=0,r=a.length;n<r;n++)if(t=a[n],1===t.nodeType){if(t["s-sr"])for(i=t["s-sn"],t.hidden=!1,s=0;s<r;s++)if(o=a[s].nodeType,a[s]["s-hn"]!==t["s-hn"]||""!==i){if(1===o&&i===a[s].getAttribute("slot")){t.hidden=!0;break}}else if(1===o||3===o&&""!==a[s].textContent.trim()){t.hidden=!0;break}Z(t)}},Q=[],J=e=>{let t,n,r,s,i,o,l=0,c=e.childNodes,u=c.length;for(;l<u;l++){if(t=c[l],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(r=n.parentNode.childNodes,s=t["s-sn"],o=r.length-1;o>=0;o--)n=r[o],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(ee(n,s)?(i=Q.find(e=>e.$nodeToRelocate$===n),a=!0,n["s-sn"]=n["s-sn"]||s,i?i.$slotRefNode$=t:Q.push({$slotRefNode$:t,$nodeToRelocate$:n}),n["s-sr"]&&Q.map(e=>{ee(e.$nodeToRelocate$,n["s-sn"])&&(i=Q.find(e=>e.$nodeToRelocate$===n),i&&!e.$slotRefNode$&&(e.$slotRefNode$=i.$slotRefNode$))})):Q.some(e=>e.$nodeToRelocate$===n)||Q.push({$nodeToRelocate$:n}));1===t.nodeType&&J(t)}},ee=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,te=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(te)},ne=e=>ke(e).$hostElement$,re=(e,t,n)=>{const r=ne(e);return{emit:e=>
1se(r,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},se=(e,t,n)=>{const r=f.ce(t,n);return e.dispatchEvent(r),r},ie=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(t=>e.$onRenderResolve$=t))},oe=(e,t)=>{if(e.$flags$|=16,!(4&e.$flags$))return ie(e,e.$ancestorComponent$),ze(()=>ae(e,t));e.$flags$|=512},ae=(e,t)=>{const n=e.$lazyInstance$;let r;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([e,t])=>pe(n,e,t)),e.$queuedListeners$=null),r=pe(n,"componentWillLoad")),r=fe(r,()=>pe(n,"componentWillRender")),fe(r,()=>le(e,n,t))},le=async(e,t,n)=>{const r=e.$hostElement$,s=r["s-rc"];n&&(e=>{const t=e.$cmpMeta$,n=e.$hostElement$,r=t.$flags$,s=T(g&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);10&r&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&r&&n.classList.add(s+"-s"))})(e),ce(e,t),f.$cssShim$&&f.$cssShim$.updateHost(r),s&&(s.map(e=>e()),r["s-rc"]=void 0);{const t=r["s-p"],n=()=>ue(e);0===t.length?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},ce=(e,t,n)=>{try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,((e,t)=>{const n=e.$hostElement$,c=e.$cmpMeta$,u=e.$vnode$||L(null,null),h=(d=t)&&d.$tag$===R?t:D(null,null,t);var d;if(i=n.tagName,c.$attrsToReflect$&&(h.$attrs$=h.$attrs$||{},c.$attrsToReflect$.map(([e,t])=>h.$attrs$[t]=n[e])),h.$tag$=null,h.$flags$|=4,e.$vnode$=h,h.$elm$=u.$elm$=n.shadowRoot||n,r=n["s-sc"],s=n["s-cr"],o=g&&0!=(1&c.$flags$),a=!1,K(u,h),f.$flags$|=1,l){let e,t,n,r,s,i;J(h.$elm$);let o=0;for(;o<Q.length;o++)e=Q[o],t=e.$nodeToRelocate$,t["s-ol"]||(n=p.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(o=0;o<Q.length;o++)if(e=Q[o],t=e.$nodeToRelocate$,e.$slotRefNode$){for(r=e.$slotRefNode$.parentNode,s=e.$slotRefNode$.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(i=n["s-nr"],i&&i["s-sn"]===t["s-sn"]&&r===i.parentNode&&(i=i.nextSibling,!i||!i["s-nr"])){s=i;break}(!s&&r!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),r.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}a&&Z(h.$elm$),f.$flags$&=-2,Q.length=0})(e,t)}catch(c){Ae(c,e.$hostElement$)}return null},ue=e=>{const t=e.$hostElement$,n=e.$lazyInstance$,r=e.$ancestorComponent$;64&e.$flags$?pe(n,"componentDidUpdate"):(e.$flags$|=64,ge(t),pe(n,"componentDidLoad"),e.$onReadyResolve$(t),r||de()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&Be(()=>oe(e,!1)),e.$flags$&=-517},he=e=>{{const t=ke(e),n=t.$hostElement$.isConnected;return n&&2==(18&t.$flags$)&&oe(t,!1),n}},de=e=>{ge(p.documentElement),Be(()=>se(h,"appload",{detail:{namespace:"ionic"}}))},pe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(r){Ae(r)}},fe=(e,t)=>e&&e.then?e.then(t):t(),ge=e=>e.classList.add("hydrated"),me=(e,t,n,r,s,i,o)=>{let a,l,c,u;if(1===i.nodeType){for(a=i.getAttribute(S),a&&(l=a.split("."),l[0]!==o&&"0"!==l[0]||(c={$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(c),i.removeAttribute(S),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c,e=c,r&&"0"===c.$depth$&&(r[c.$index$]=c.$elm$))),u=i.childNodes.length-1;u>=0;u--)me(e,t,n,r,s,i.childNodes[u],o);if(i.shadowRoot)for(u=i.shadowRoot.childNodes.length-1;u>=0;u--)me(e,t,n,r,s,i.shadowRoot.childNodes[u],o)}else if(8===i.nodeType)l=i.nodeValue.split("."),l[1]!==o&&"0"!==l[1]||(a=l[0],c={$flags$:0,$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===a?(c.$elm$=i.nextSibling,c.$elm$&&3===c.$elm$.nodeType&&(c.$text$=c.$elm$.textContent,t.push(c),i.remove(),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c,r&&"0"===c.$depth$&&(r[c.$index$]=c.$elm$))):c.$hostId$===o&&("s"===a?(c.$tag$="slot",i["s-sn"]=l[5]?c.$name$=l[5]:"",i["s-sr"]=!0,r&&(c.$elm$=p.createElement(c.$tag$),c.$name$&&c.$elm$.setAttribute("name",c.$name$),i.parentNode.insertBefore(c.$elm$,i),i.remove(),"0"===c.$depth$&&(r[c.$index$]=c.$elm$)),n.push(c),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c):"r"===a&&(r?i.remove():(s["s-cr"]=i,i["s-cn"]=!0))));else if(e&&"style"===e.$tag$){const t=L(null,i.textContent);t.$elm$=i,t.$index$="0",e.$children$=[t]}},ye=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)ye(e.childNodes[n],t);
1if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)ye(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},ve=(e,t,n)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const r=Object.entries(t.$members$),s=e.prototype;if(r.map(([e,[r]])=>{31&r||2&n&&32&r?Object.defineProperty(s,e,{get(){return t=e,ke(this).$instanceValues$.get(t);var t},set(n){((e,t,n,r)=>{const s=ke(this),i=s.$hostElement$,o=s.$instanceValues$.get(t),a=s.$flags$,l=s.$lazyInstance$;var c,u;if(u=r.$members$[t][0],n=null==(c=n)||P(c)?c:4&u?"false"!==c&&(""===c||!!c):2&u?parseFloat(c):1&u?String(c):c,!(8&a&&void 0!==o||n===o)&&(s.$instanceValues$.set(t,n),l)){if(r.$watchers$&&128&a){const e=r.$watchers$[t];e&&e.map(e=>{try{l[e](n,o,t)}catch(r){Ae(r,i)}})}2==(18&a)&&oe(s,!1)}})(0,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&r&&Object.defineProperty(s,e,{value(...t){const n=ke(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[e](...t))}})}),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,r){f.jmp(()=>{const t=n.get(e);this[t]=(null!==r||"boolean"!=typeof this[t])&&r})},e.observedAttributes=r.filter(([e,t])=>15&t[0]).map(([e,r])=>{const s=r[1]||e;return n.set(s,e),512&r[0]&&t.$attrsToReflect$.push([e,s]),s})}}return e},be=e=>{pe(e,"connectedCallback")},_e=e=>{if(0==(1&f.$flags$)){const t=ke(e),r=t.$cmpMeta$,s=()=>{};if(1&t.$flags$)v(e,t,r.$listeners$),be(t.$lazyInstance$);else{let s;if(t.$flags$|=1,s=e.getAttribute(C),s){if(g&&1&r.$flags$){const t=T(e.shadowRoot,r,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}((e,t,n,r)=>{const s=e.shadowRoot,i=[],o=s?[]:null,a=r.$vnode$=L(t,null);f.$orgLocNodes$||ye(p.body,f.$orgLocNodes$=new Map),e["s-id"]=n,e.removeAttribute(C),me(a,i,[],o,e,e,n),i.map(e=>{const n=e.$hostId$+"."+e.$nodeId$,r=f.$orgLocNodes$.get(n),i=e.$elm$;r&&g&&""===r["s-en"]&&r.parentNode.insertBefore(i,r.nextSibling),s||(i["s-hn"]=t,r&&(i["s-ol"]=r,i["s-ol"]["s-nr"]=i)),f.$orgLocNodes$.delete(n)}),s&&o.map(e=>{e&&s.appendChild(e)})})(e,r.$tagName$,s,t)}s||12&r.$flags$&&we(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ie(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),Be(()=>(async(e,t,r,s,i)=>{if(0==(32&t.$flags$)){{if(t.$flags$|=32,(i=$e(r)).then){const e=()=>{};i=await i,e()}i.isProxied||(r.$watchers$=i.watchers,ve(i,r,2),i.isProxied=!0);const e=()=>{};t.$flags$|=8;try{new i(t)}catch(l){Ae(l)}t.$flags$&=-9,t.$flags$|=128,e(),be(t.$lazyInstance$)}if(i.style){let s=i.style;"string"!=typeof s&&(s=s[t.$modeName$=(e=>De.map(t=>t(e)).find(e=>!!e))(e)]);const o=O(r,t.$modeName$);if(!Pe.has(o)){const e=()=>{};8&r.$flags$&&(s=await n.e(8810).then(n.bind(n,8810)).then(e=>e.scopeCss(s,o,!1))),x(o,s,!!(1&r.$flags$)),e()}}}const o=t.$ancestorComponent$,a=()=>oe(t,!0);o&&o["s-rc"]?o["s-rc"].push(a):a()})(e,t,r))}s()}},we=e=>{const t=e["s-cr"]=p.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},Ce=(e,t={})=>{const n=[],r=t.exclude||[],s=h.customElements,i=p.head,o=i.querySelector("meta[charset]"),a=p.createElement("style"),l=[],c=p.querySelectorAll("[sty-id]");let u,d=!0,m=0;for(Object.assign(f,t),f.$resourcesUrl$=new URL(t.resourcesUrl||"./",p.baseURI).href,f.$flags$|=2;m<c.length;m++)x(c[m].getAttribute("sty-id"),c[m].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0);e.map(e=>e[1].map(t=>{const i={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};i.$members$=t[2],i.$listeners$=t[3],i.$attrsToReflect$=[],i.$watchers$={},!g&&1&i.$flags$&&(i.$flags$|=8);const o=i.$tagName$,a=class extends HTMLElement{constructor(e){super(e),Te(e=this,i),1&i.$flags$&&(g?e.attachShadow({mode:"open",delegatesFocus:!!(16&i.$flags$)}):"shadowRoot"in e||(e.shadowRoot=e))}connectedCallback(){u&&(clearTimeout(u),u=null),d?l.push(this):f.jmp(()=>_e(this))}disconnectedCallback(){f.jmp(()=>(e=>{if(0==(1&f.$flags$)){const t=ke(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map(e=>e()),t.$rmListeners$=void 0),f.$cssShim$&&f.$cssShim$.removeHost(e),pe(n,"disconnectedCallback")}})(this))}componentOnReady(){return ke(this).$onReadyPromise$}};i.$lazyBundleId$=e[0],r.includes(o)||s.get(o)||(n.push(o),s.define(o,ve(a,i,1)))}
1)),a.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",a.setAttribute("data-styles",""),i.insertBefore(a,o?o.nextSibling:i.firstChild),d=!1,l.length?l.map(e=>e.connectedCallback()):f.jmp(()=>u=setTimeout(de,30))},Se=e=>{const t=new URL(e,f.$resourcesUrl$);return t.origin!==h.location.origin?t.href:t.pathname},Ee=new WeakMap,ke=e=>Ee.get(e),xe=(e,t)=>Ee.set(t.$lazyInstance$=e,t),Te=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e),n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e["s-p"]=[],e["s-rc"]=[],v(e,n,t.$listeners$),Ee.set(e,n)},Oe=(e,t)=>t in e,Ae=(e,t)=>(0,console.error)(e,t),Ie=new Map,$e=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),i=e.$lazyBundleId$,o=Ie.get(i);return o?o[s]:n(50863)(`./${i}.entry.js`).then(e=>(Ie.set(i,e),e[s]),Ae)},Pe=new Map,De=[],Le=[],Re=[],Ne=(e,t)=>n=>{e.push(n),u||(u=!0,t&&4&f.$flags$?Be(Fe):f.raf(Fe))},Me=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){Ae(t)}e.length=0},Fe=()=>{Me(Le),Me(Re),(u=Le.length>0)&&f.raf(Fe)},Be=e=>m().then(e),je=Ne(Le,!1),ze=Ne(Re,!0),Ve={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1}},54001:(e,t,n)=>{"use strict";n.d(t,{L:()=>i,a:()=>o,b:()=>a,c:()=>l,d:()=>c,e:()=>E,g:()=>T,l:()=>C,s:()=>k,t:()=>u});var r=n(23150),s=n(52377);const i="ionViewWillEnter",o="ionViewDidEnter",a="ionViewWillLeave",l="ionViewDidLeave",c="ionViewWillUnload",u=e=>new Promise((t,n)=>{(0,r.c)(()=>{h(e),d(e).then(n=>{n.animation&&n.animation.destroy(),p(e),t(n)},t=>{p(e),n(t)})})}),h=e=>{const t=e.enteringEl,n=e.leavingEl;x(t,n,e.direction),e.showGoBack?t.classList.add("can-go-back"):t.classList.remove("can-go-back"),k(t,!1),t.style.setProperty("pointer-events","none"),n&&(k(n,!1),n.style.setProperty("pointer-events","none"))},d=async e=>{const t=await f(e);return t&&r.B.isBrowser?g(t,e):m(e)},p=e=>{const t=e.enteringEl,n=e.leavingEl;t.classList.remove("ion-page-invisible"),t.style.removeProperty("pointer-events"),void 0!==n&&(n.classList.remove("ion-page-invisible"),n.style.removeProperty("pointer-events"))},f=async e=>{if(e.leavingEl&&e.animated&&0!==e.duration)return e.animationBuilder?e.animationBuilder:"ios"===e.mode?(await Promise.resolve().then(n.bind(n,79554))).iosTransitionAnimation:(await Promise.resolve().then(n.bind(n,7405))).mdTransitionAnimation},g=async(e,t)=>{await y(t,!0);const n=e(t.baseEl,t);_(t.enteringEl,t.leavingEl);const r=await b(n,t);return t.progressCallback&&t.progressCallback(void 0),r&&w(t.enteringEl,t.leavingEl),{hasCompleted:r,animation:n}},m=async e=>{const t=e.enteringEl,n=e.leavingEl;return await y(e,!1),_(t,n),w(t,n),{hasCompleted:!0}},y=async(e,t)=>{const n=(void 0!==e.deepWait?e.deepWait:t)?[E(e.enteringEl),E(e.leavingEl)]:[S(e.enteringEl),S(e.leavingEl)];await Promise.all(n),await v(e.viewIsReady,e.enteringEl)},v=async(e,t)=>{e&&await e(t)},b=(e,t)=>{const n=t.progressCallback,r=new Promise(t=>{e.onFinish(e=>t(1===e))});return n?(e.progressStart(!0),n(e)):e.play(),r},_=(e,t)=>{C(t,a),C(e,i)},w=(e,t)=>{C(e,o),C(t,l)},C=(e,t)=>{if(e){const n=new CustomEvent(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(n)}},S=e=>e?new Promise(t=>(0,s.c)(e,t)):Promise.resolve(),E=async e=>{const t=e;if(t){if(null!=t.componentOnReady&&null!=await t.componentOnReady())return;await Promise.all(Array.from(t.children).map(E))}},k=(e,t)=>{t?(e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden")):(e.hidden=!1,e.removeAttribute("aria-hidden"),e.classList.remove("ion-page-hidden"))},x=(e,t,n)=>{void 0!==e&&(e.style.zIndex="back"===n?"99":"101"),void 0!==t&&(t.style.zIndex="100")},T=e=>e.classList.contains("ion-page")?e:e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||e},66575:(e,t,n)=>{"use strict";n.d(t,{I:()=>c,s:()=>r});const r=e=>{try{if(e instanceof c)return e.value;if(!o()||"string"!=typeof e||""===e)return e;const t=document.createDocumentFragment(),n=document.createElement("div");t.appendChild(n),n.innerHTML=e,l.forEach(e=>{const n=t.querySelectorAll(e);for(let r=n.length-1;r>=0;r--){const e=n[r];e.parentNode?e.parentNode.removeChild(e):t.removeChild(e);const o=i(e);for(let t=0;t<o.length;t++)s(o[t])}});const r=i(t);for(let e=0;e<r.length;e++)s(r[e]);const a=document.createElement("div");a.appendChild(t);const u=a.querySelector("div");
1return null!==u?u.innerHTML:a.innerHTML}catch(t){return console.error(t),""}},s=e=>{if(e.nodeType&&1!==e.nodeType)return;for(let n=e.attributes.length-1;n>=0;n--){const t=e.attributes.item(n),r=t.name;if(!a.includes(r.toLowerCase())){e.removeAttribute(r);continue}const s=t.value;null!=s&&s.toLowerCase().includes("javascript:")&&e.removeAttribute(r)}const t=i(e);for(let n=0;n<t.length;n++)s(t[n])},i=e=>null!=e.children?e.children:e.childNodes,o=()=>{const e=window,t=e&&e.Ionic&&e.Ionic.config;return!t||(t.get?t.get("sanitizerEnabled",!0):!0===t.sanitizerEnabled||void 0===t.sanitizerEnabled)},a=["class","id","href","src","name","slot"],l=["script","style","iframe","meta","link","object","embed"];class c{constructor(e){this.value=e}}},76461:(e,t,n)=>{"use strict";n.d(t,{ih:()=>r.c,AO:()=>s.g,AA:()=>i.createGesture,AK:()=>o.g,n$:()=>o.a,hh:()=>a.c,Wy:()=>l.I,re:()=>c.a,Jd:()=>c.c,kx:()=>c.L,EQ:()=>c.b,F8:()=>c.d,Bk:()=>u.m,BO:()=>h.b,Cl:()=>h.a,G0:()=>h.l,Fy:()=>h.m,_E:()=>h.p,oq:()=>h.c,Mn:()=>h.t,qc:()=>d});var r=n(94086),s=(n(79554),n(7405),n(57807)),i=n(39461),o=n(97585),a=n(52377),l=n(66575),c=n(54001),u=n(65554),h=n(67053);n(40960),n(23150);const d=e=>{const t=window,n=t.Ionic;if(!n||!n.config||"Object"===n.config.constructor.name)return t.Ionic=t.Ionic||{},t.Ionic.config=Object.assign(Object.assign({},t.Ionic.config),e),t.Ionic.config}},97585:(e,t,n)=>{"use strict";n.d(t,{a:()=>i,b:()=>C,c:()=>v,g:()=>s,i:()=>S});var r=n(23150);const s=e=>o(e),i=(e,t)=>("string"==typeof e&&(t=e,e=void 0),s(e).includes(t)),o=(e=window)=>{if(void 0===e)return[];e.Ionic=e.Ionic||{};let t=e.Ionic.platforms;return null==t&&(t=e.Ionic.platforms=a(e),t.forEach(t=>e.document.documentElement.classList.add(`plt-${t}`))),t},a=e=>Object.keys(m).filter(t=>m[t](e)),l=e=>!!f(e,/iPad/i)||!(!f(e,/Macintosh/i)||!u(e)),c=e=>f(e,/android|sink/i),u=e=>g(e,"(any-pointer:coarse)"),h=e=>d(e)||p(e),d=e=>!!(e.cordova||e.phonegap||e.PhoneGap),p=e=>{const t=e.Capacitor;return!(!t||!t.isNative)},f=(e,t)=>t.test(e.navigator.userAgent),g=(e,t)=>e.matchMedia(t).matches,m={ipad:l,iphone:e=>f(e,/iPhone/i),ios:e=>f(e,/iPhone|iPod/i)||l(e),android:c,phablet:e=>{const t=e.innerWidth,n=e.innerHeight,r=Math.min(t,n),s=Math.max(t,n);return r>390&&r<520&&s>620&&s<800},tablet:e=>{const t=e.innerWidth,n=e.innerHeight,r=Math.min(t,n),s=Math.max(t,n);return l(e)||(e=>c(e)&&!f(e,/mobile/i))(e)||r>460&&r<820&&s>780&&s<1400},cordova:d,capacitor:p,electron:e=>f(e,/electron/i),pwa:e=>!(!e.matchMedia("(display-mode: standalone)").matches&&!e.navigator.standalone),mobile:u,mobileweb:e=>u(e)&&!h(e),desktop:e=>!u(e),hybrid:h};class y{constructor(){this.m=new Map}reset(e){this.m=new Map(Object.entries(e))}get(e,t){const n=this.m.get(e);return void 0!==n?n:t}getBoolean(e,t=!1){const n=this.m.get(e);return void 0===n?t:"string"==typeof n?"true"===n:!!n}getNumber(e,t){const n=parseFloat(this.m.get(e));return isNaN(n)?void 0!==t?t:NaN:n}set(e,t){this.m.set(e,t)}}const v=new y,b="ionic:",_="ionic-persist-config";let w;const C=e=>e&&(0,r.g)(e)||w,S=(e={})=>{if("undefined"==typeof window)return;const t=window.document,n=window,s=n.Ionic=n.Ionic||{};o(n);const a=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(e=>{try{const t=e.sessionStorage.getItem(_);return null!==t?JSON.parse(t):{}}catch(t){return{}}})(n)),{persistConfig:!1}),s.config),(e=>{const t={};return e.location.search.slice(1).split("&").map(e=>e.split("=")).map(([e,t])=>[decodeURIComponent(e),decodeURIComponent(t)]).filter(([e])=>"ionic:"===e.substr(0,b.length)).map(([e,t])=>[e.slice(b.length),t]).forEach(([e,n])=>{t[e]=n}),t})(n)),e);v.reset(a),v.getBoolean("persistConfig")&&((e,t)=>{try{e.sessionStorage.setItem(_,JSON.stringify(t))}catch(n){return}})(n,a),s.config=v,s.mode=w=v.get("mode",t.documentElement.getAttribute("mode")||(i(n,"ios")?"ios":"md")),v.set("mode",w),t.documentElement.setAttribute("mode",w),t.documentElement.classList.add(w),v.getBoolean("_testing")&&v.set("animated",!1);const l=e=>e.tagName&&e.tagName.startsWith("ION-"),c=e=>["ios","md"].includes(e);(0,r.s)(e=>{for(;e;){const t=e.mode||e.getAttribute("mode");if(t){if(c(t))return t;l(e)&&console.warn('Invalid ionic mode: "'+t+'", expected: "ios" or "md"')}e=e.parentElement}return w})}}
1,79554:(e,t,n)=>{"use strict";n.r(t),n.d(t,{iosTransitionAnimation:()=>h,shadow:()=>o});var r=n(94086),s=n(54001);n(23150);const i=e=>document.querySelector(`${e}.ion-cloned-element`),o=e=>e.shadowRoot||e,a=e=>{const t="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs"),n="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=t){const e=t.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=e?e.querySelector(n):null}return e.querySelector(n)},l=(e,t)=>{const n="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs");let r=[];if(null!=n){const e=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=e&&(r=e.querySelectorAll("ion-buttons"))}else r=e.querySelectorAll("ion-buttons");for(const s of r){const e=s.closest("ion-header"),n=e&&!e.classList.contains("header-collapse-condense-inactive"),r=s.querySelector("ion-back-button"),i=s.classList.contains("buttons-collapse"),o="start"===s.slot||""===s.slot;if(null!==r&&o&&(i&&n&&t||!i))return r}return null},c=(e,t,n,s,a,l)=>{const c=t?`calc(100% - ${l.right+4}px)`:l.left-4+"px",u=t?"7px":"-7px",h=t?"-4px":"4px",d=t?"-4px":"4px",p=t?"right":"left",f=t?"left":"right",g=n?[{offset:0,opacity:1,transform:`translate3d(${h}, ${l.top-46}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${u}, ${a.top-40}px, 0) scale(2.1)`}]:[{offset:0,opacity:0,transform:`translate3d(${u}, ${a.top-40}px, 0) scale(2.1)`},{offset:1,opacity:1,transform:`translate3d(${h}, ${l.top-46}px, 0) scale(1)`}],m=n?[{offset:0,opacity:1,transform:`translate3d(${d}, ${l.top-46}px, 0) scale(1)`},{offset:.2,opacity:0,transform:`translate3d(${d}, ${l.top-41}px, 0) scale(0.6)`},{offset:1,opacity:0,transform:`translate3d(${d}, ${l.top-41}px, 0) scale(0.6)`}]:[{offset:0,opacity:0,transform:`translate3d(${d}, ${l.top-41}px, 0) scale(0.6)`},{offset:1,opacity:1,transform:`translate3d(${d}, ${l.top-46}px, 0) scale(1)`}],y=(0,r.c)(),v=(0,r.c)(),b=i("ion-back-button"),_=o(b).querySelector(".button-text"),w=o(b).querySelector("ion-icon");b.text=s.text,b.mode=s.mode,b.icon=s.icon,b.color=s.color,b.disabled=s.disabled,b.style.setProperty("display","block"),b.style.setProperty("position","fixed"),v.addElement(w),y.addElement(_),y.beforeStyles({"transform-origin":`${p} center`}).beforeAddWrite(()=>{s.style.setProperty("display","none"),b.style.setProperty(p,c)}).afterAddWrite(()=>{s.style.setProperty("display",""),b.style.setProperty("display","none"),b.style.removeProperty(p)}).keyframes(g),v.beforeStyles({"transform-origin":`${f} center`}).keyframes(m),e.addAnimation([y,v])},u=(e,t,n,s,o,a)=>{const l=t?`calc(100% - ${o.right}px)`:`${o.left}px`,c=t?"-18px":"18px",u=t?"right":"left",h=n?[{offset:0,opacity:0,transform:`translate3d(${c}, ${a.top-4}px, 0) scale(0.49)`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0, ${o.top-2}px, 0) scale(1)`}]:[{offset:0,opacity:.99,transform:`translate3d(0, ${o.top-2}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${c}, ${a.top-4}px, 0) scale(0.5)`}],d=i("ion-title"),p=(0,r.c)();d.innerText=s.innerText,d.size=s.size,d.color=s.color,p.addElement(d),p.beforeStyles({"transform-origin":`${u} center`,height:"46px",display:"",position:"relative",[u]:l}).beforeAddWrite(()=>{s.style.setProperty("display","none")}).afterAddWrite(()=>{s.style.setProperty("display",""),d.style.setProperty("display","none")}).keyframes(h),e.addAnimation(p)},h=(e,t)=>{try{const n="cubic-bezier(0.32,0.72,0,1)",i="opacity",h="transform",d="0%",p=.8,f="rtl"===e.ownerDocument.dir,g=f?"-99.5%":"99.5%",m=f?"33%":"-33%",y=t.enteringEl,v=t.leavingEl,b="back"===t.direction,_=y.querySelector(":scope > ion-content"),w=y.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),C=y.querySelectorAll(":scope > ion-header > ion-toolbar"),S=(0,r.c)(),E=(0,r.c)();if(S.addElement(y).duration(t.duration||540).easing(t.easing||n).fill("both").beforeRemoveClass("ion-page-invisible"),v&&e){const t=(0,r.c)();t.addElement(e),S.addAnimation(t)}if(_||0!==C.length||0!==w.length?(E.addElement(_),E.addElement(w)):E.addElement(y.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),S.addAnimation(E),b?E.beforeClearStyles([i]).fromTo("transform",`translateX(${m})`,`translateX(${d})`).fromTo(i,p,1):E.beforeClearStyles([i]).fromTo("transform",`translateX(${g})`,`translateX(${d})`),_){const e=o(_).querySelector(".transition-effect");if(e){const t=e.querySelector(".transition-cover"),n=e.querySelector(".transition-shadow"),s=(0,r.c)(),o=(0,r.c)(),a=(0,r.c)();s.addElement(e).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),o.addElement(t).beforeClearStyles([i]).fromTo(i,0,.1),a.addElement(n).beforeClearStyles([i]).fromTo(i,.03,.7),s.addAnimation([o,a]),E.addAnimation([s])}}const k=y.querySelector("ion-header.header-collapse-condense"),{forward:x,backward:T}
1=((e,t,n,r,s)=>{const i=l(r,n),o=a(s),h=a(r),d=l(s,n),p=null!==i&&null!==o&&!n,f=null!==h&&null!==d&&n;if(p){const r=o.getBoundingClientRect(),s=i.getBoundingClientRect();u(e,t,n,o,r,s),c(e,t,n,i,r,s)}else if(f){const r=h.getBoundingClientRect(),s=d.getBoundingClientRect();u(e,t,n,h,r,s),c(e,t,n,d,r,s)}return{forward:p,backward:f}})(S,f,b,y,v);if(C.forEach(e=>{const t=(0,r.c)();t.addElement(e),S.addAnimation(t);const n=(0,r.c)();n.addElement(e.querySelector("ion-title"));const s=(0,r.c)(),a=Array.from(e.querySelectorAll("ion-buttons,[menuToggle]")),l=e.closest("ion-header"),c=l&&l.classList.contains("header-collapse-condense-inactive");let u;u=a.filter(b?e=>{const t=e.classList.contains("buttons-collapse");return t&&!c||!t}:e=>!e.classList.contains("buttons-collapse")),s.addElement(u);const h=(0,r.c)();h.addElement(e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const p=(0,r.c)();p.addElement(o(e).querySelector(".toolbar-background"));const y=(0,r.c)(),v=e.querySelector("ion-back-button");if(v&&y.addElement(v),t.addAnimation([n,s,h,p,y]),s.fromTo(i,.01,1),h.fromTo(i,.01,1),b)c||n.fromTo("transform",`translateX(${m})`,`translateX(${d})`).fromTo(i,.01,1),h.fromTo("transform",`translateX(${m})`,`translateX(${d})`),y.fromTo(i,.01,1);else if(k||n.fromTo("transform",`translateX(${g})`,`translateX(${d})`).fromTo(i,.01,1),h.fromTo("transform",`translateX(${g})`,`translateX(${d})`),p.beforeClearStyles([i,"transform"]),(null==l?void 0:l.translucent)?p.fromTo("transform",f?"translateX(-100%)":"translateX(100%)","translateX(0px)"):p.fromTo(i,.01,"var(--opacity)"),x||y.fromTo(i,.01,1),v&&!x){const e=(0,r.c)();e.addElement(o(v).querySelector(".button-text")).fromTo("transform",f?"translateX(-100px)":"translateX(100px)","translateX(0px)"),t.addAnimation(e)}}),v){const e=(0,r.c)(),t=v.querySelector(":scope > ion-content"),n=v.querySelectorAll(":scope > ion-header > ion-toolbar"),a=v.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(t||0!==n.length||0!==a.length?(e.addElement(t),e.addElement(a)):e.addElement(v.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),S.addAnimation(e),b){e.beforeClearStyles([i]).fromTo("transform",`translateX(${d})`,f?"translateX(-100%)":"translateX(100%)");const t=(0,s.g)(v);S.afterAddWrite(()=>{"normal"===S.getDirection()&&t.style.setProperty("display","none")})}else e.fromTo("transform",`translateX(${d})`,`translateX(${m})`).fromTo(i,1,p);if(t){const n=o(t).querySelector(".transition-effect");if(n){const t=n.querySelector(".transition-cover"),s=n.querySelector(".transition-shadow"),o=(0,r.c)(),a=(0,r.c)(),l=(0,r.c)();o.addElement(n).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),a.addElement(t).beforeClearStyles([i]).fromTo(i,.1,0),l.addElement(s).beforeClearStyles([i]).fromTo(i,.7,.03),o.addAnimation([a,l]),e.addAnimation([o])}}n.forEach(e=>{const t=(0,r.c)();t.addElement(e);const n=(0,r.c)();n.addElement(e.querySelector("ion-title"));const s=(0,r.c)(),a=e.querySelectorAll("ion-buttons,[menuToggle]"),l=e.closest("ion-header"),c=l&&l.classList.contains("header-collapse-condense-inactive"),u=Array.from(a).filter(e=>{const t=e.classList.contains("buttons-collapse");return t&&!c||!t});s.addElement(u);const p=(0,r.c)(),g=e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");g.length>0&&p.addElement(g);const y=(0,r.c)();y.addElement(o(e).querySelector(".toolbar-background"));const v=(0,r.c)(),_=e.querySelector("ion-back-button");if(_&&v.addElement(_),t.addAnimation([n,s,p,v,y]),S.addAnimation(t),v.fromTo(i,.99,0),s.fromTo(i,.99,0),p.fromTo(i,.99,0),b){if(c||n.fromTo("transform",`translateX(${d})`,f?"translateX(-100%)":"translateX(100%)").fromTo(i,.99,0),p.fromTo("transform",`translateX(${d})`,f?"translateX(-100%)":"translateX(100%)"),y.beforeClearStyles([i,"transform"]),(null==l?void 0:l.translucent)?y.fromTo("transform","translateX(0px)",f?"translateX(-100%)":"translateX(100%)"):y.fromTo(i,"var(--opacity)",0),_&&!T){const e=(0,r.c)();e.addElement(o(_).querySelector(".button-text")).fromTo("transform",`translateX(${d})`,`translateX(${(f?-124:124)+"px"})`),t.addAnimation(e)}}else c||n.fromTo("transform",`translateX(${d})`,`translateX(${m})`).fromTo(i,.99,0).afterClearStyles([h,i]),p.fromTo("transform",`translateX(${d})`,`translateX(${m})`).afterClearStyles([h,i]),v.afterClearStyles([i]),n.afterClearStyles([i]),s.afterClearStyles([i])})}return S}catch(n){throw n}}},7405:(e,t,n)=>{"use strict";n.r(t),n.d(t,{mdTransitionAnimation:()=>i});var r=n(94086),s=n(54001);n(23150);const i=(e,t)=>{const n="back"===t.direction,i=t.leavingEl,o=(0,s.g)(t.enteringEl),a=o.querySelector("ion-toolbar"),l=(0,r.c)();if(l.addElement(o).fill("both").beforeRemoveClass("ion-page-invisible"),n?l.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):l.duration(t.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(40px)","translateY(0px)").fromTo("opacity",.01,1),a){const e=(0,r.c)();e.addElement(a),l.addAnimation(e)}if(i&&n){l.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const e=(0,r.c)();e.addElement((0,s.g)(i)).onFinish(t=>{1===t&&e.elements.length>0&&e.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)","translateY(40px)").fromTo("opacity",1,0),l.addAnimation(e)}return l}},67053:(e,t,n)=>{"use strict";n.d(t,{B:()=>L,a:()=>c,b:()=>u,c:()=>f,d:()=>E,e:()=>m,f:()=>x,g:()=>A,h:()=>a,i:()=>$,l:()=>h,m:()=>d,p:()=>p,s:()=>D,t:()=>g});var r=n(97585),s=n(23087),i=n(52377);let o=0;const a=new WeakMap,l=e=>({create:t=>y(e,t),dismiss:(t,n,r)=>w(document,t,n,e,r),getTop:async()=>C(document,e)}),c=l("ion-alert"),u=l("ion-action-sheet"),h=l("ion-loading"),d=l("ion-modal"),p=l("ion-
1picker"),f=l("ion-popover"),g=l("ion-toast"),m=e=>{"undefined"!=typeof document&&_(document);const t=o++;e.overlayIndex=t,e.hasAttribute("id")||(e.id=`ion-overlay-${t}`)},y=(e,t)=>"undefined"!=typeof customElements?customElements.whenDefined(e).then(()=>{const n=document.createElement(e);return n.classList.add("overlay-hidden"),Object.assign(n,t),T(document).appendChild(n),new Promise(e=>(0,i.c)(n,e))}):Promise.resolve(),v='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',b="input:not([type=hidden]), textarea, button, select",_=e=>{0===o&&(o=1,e.addEventListener("focus",t=>((e,t)=>{const n=C(t),r=e.target;if(n&&r)if(n===r)n.lastFocus=void 0;else{const e=(0,i.g)(n);if(!e.contains(r))return;const s=e.querySelector(".ion-overlay-wrapper");if(!s)return;if(s.contains(r))n.lastFocus=r;else{const e=n.lastFocus;((e,t)=>{let n=e.querySelector(v);const r=n&&n.shadowRoot;r&&(n=r.querySelector(b)||n),n?n.focus():t.focus()})(s,n),e===t.activeElement&&((e,t)=>{const n=Array.from(e.querySelectorAll(v));let r=n.length>0?n[n.length-1]:null;const s=r&&r.shadowRoot;s&&(r=s.querySelector(b)||r),r?r.focus():t.focus()})(s,n),n.lastFocus=t.activeElement}}})(t,e),!0),e.addEventListener("ionBackButton",t=>{const n=C(e);n&&n.backdropDismiss&&t.detail.register(s.OVERLAY_BACK_BUTTON_PRIORITY,()=>n.dismiss(void 0,L))}),e.addEventListener("keyup",t=>{if("Escape"===t.key){const t=C(e);t&&t.backdropDismiss&&t.dismiss(void 0,L)}}))},w=(e,t,n,r,s)=>{const i=C(e,r,s);return i?i.dismiss(t,n):Promise.reject("overlay does not exist")},C=(e,t,n)=>{const r=((e,t)=>(void 0===t&&(t="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(e.querySelectorAll(t)).filter(e=>e.overlayIndex>0)))(e,t);return void 0===n?r[r.length-1]:r.find(e=>e.id===n)},S=(e=!1)=>{const t=T(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))},E=async(e,t,n,s,i)=>{if(e.presented)return;S(!0),e.presented=!0,e.willPresent.emit();const o=(0,r.b)(e),a=e.enterAnimation?e.enterAnimation:r.c.get(t,"ios"===o?n:s);await O(e,a,e.el,i)&&e.didPresent.emit(),"ION-TOAST"!==e.el.tagName&&k(e.el),e.keyboardClose&&e.el.focus()},k=async e=>{let t=document.activeElement;if(!t)return;const n=t&&t.shadowRoot;n&&(t=n.querySelector(b)||t),await e.onDidDismiss(),t.focus()},x=async(e,t,n,s,i,o,l)=>{if(!e.presented)return!1;S(!1),e.presented=!1;try{e.el.style.setProperty("pointer-events","none"),e.willDismiss.emit({data:t,role:n});const c=(0,r.b)(e),u=e.leaveAnimation?e.leaveAnimation:r.c.get(s,"ios"===c?i:o);"gesture"!==n&&await O(e,u,e.el,l),e.didDismiss.emit({data:t,role:n}),a.delete(e)}catch(c){console.error(c)}return e.el.remove(),!0},T=e=>e.querySelector("ion-app")||e.body,O=async(e,t,n,s)=>{n.classList.remove("overlay-hidden");const i=t(n.shadowRoot||e.el,s);e.animated&&r.c.getBoolean("animated",!0)||i.duration(0),e.keyboardClose&&i.beforeAddWrite(()=>{const e=n.ownerDocument.activeElement;e&&e.matches("input, ion-input, ion-textarea")&&e.blur()});const o=a.get(e)||[];return a.set(e,[...o,i]),await i.play(),!0},A=(e,t)=>{let n;const r=new Promise(e=>n=e);return I(e,t,e=>{n(e.detail)}),r},I=(e,t,n)=>{const r=s=>{(0,i.b)(e,t,r),n(s)};(0,i.a)(e,t,r)},$=e=>"cancel"===e||e===L,P=e=>e(),D=(e,t)=>{if("function"==typeof e)return r.c.get("_zoneGate",P)(()=>{try{return e(t)}catch(n){console.error(n)}})},L="backdrop"},29790:(e,t,n)=>{"use strict";n.d(t,{aw:()=>D,X$:()=>P});var r=n(37716),s=n(25917),i=n(95639),o=n(35758),a=n(58071),l=n(41439),c=n(15257),u=n(47349),h=n(88002),d=n(94612),p=n(43190);class f{}let g=(()=>{class e extends f{getTranslation(e){return(0,s.of)({})}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=r.n5z(e)))(n||e)}}(),e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();class m{}let y=(()=>{class e{handle(e){return e.key}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();function v(e,t){if(e===t)return!0;
1if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let n,r,s,i=typeof e;if(i==typeof t&&"object"==i){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(r in s=Object.create(null),e){if(!v(e[r],t[r]))return!1;s[r]=!0}for(r in t)if(!(r in s)&&void 0!==t[r])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(r=0;r<n;r++)if(!v(e[r],t[r]))return!1;return!0}}return!1}function b(e){return null!=e}function _(e){return e&&"object"==typeof e&&!Array.isArray(e)}function w(e,t){let n=Object.assign({},e);return _(e)&&_(t)&&Object.keys(t).forEach(r=>{_(t[r])?r in e?n[r]=w(e[r],t[r]):Object.assign(n,{[r]:t[r]}):Object.assign(n,{[r]:t[r]})}),n}class C{}let S=(()=>{class e extends C{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let n;return n="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,n}getValue(e,t){let n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!b(e)||!b(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(e,n)=>{let r=this.getValue(t,n);return b(r)?r:e}):e}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=r.n5z(e)))(n||e)}}(),e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();class E{}let k=(()=>{class e extends E{compile(e,t){return e}compileTranslations(e,t){return e}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=r.n5z(e)))(n||e)}}(),e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})();class x{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new r.vpe,this.onLangChange=new r.vpe,this.onDefaultLangChange=new r.vpe}}const T=new r.OlP("USE_STORE"),O=new r.OlP("USE_DEFAULT_LANG"),A=new r.OlP("DEFAULT_LANGUAGE"),I=new r.OlP("USE_EXTEND");let $=(()=>{class e{constructor(e,t,n,s,i,o=!0,a=!1,l=!1,c){this.store=e,this.currentLoader=t,this.compiler=n,this.parser=s,this.missingTranslationHandler=i,this.useDefaultLang=o,this.isolate=a,this.extend=l,this.pending=!1,this._onTranslationChange=new r.vpe,this._onLangChange=new r.vpe,this._onDefaultLangChange=new r.vpe,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe((0,c.q)(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return(0,s.of)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe((0,c.q)(1)).subscribe(t=>{this.changeLang(e)}),t):(this.changeLang(e),(0,s.of)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe((0,u.d)(1),(0,c.q)(1));return this.loadingTranslations=t.pipe((0,h.U)(t=>this.compiler.compileTranslations(t,e)),(0,u.d)(1),(0,c.q)(1)),this.loadingTranslations.subscribe({next:t=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},t),this.translations[e]):t,this.updateLangs(),this.pending=!1},error:e=>{this.pending=!1}}),t}setTranslation(e,t,n=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?w(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}
1addLangs(e){e.forEach(e=>{-1===this.langs.indexOf(e)&&this.langs.push(e)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,n){let r;if(t instanceof Array){let r={},a=!1;for(let s of t)r[s]=this.getParsedResult(e,s,n),(0,i.b)(r[s])&&(a=!0);if(a){const e=t.map(e=>(0,i.b)(r[e])?r[e]:(0,s.of)(r[e]));return(0,o.D)(e).pipe((0,h.U)(e=>{let n={};return e.forEach((e,r)=>{n[t[r]]=e}),n}))}return r}if(e&&(r=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===r&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===r){let e={key:t,translateService:this};void 0!==n&&(e.interpolateParams=n),r=this.missingTranslationHandler.handle(e)}return void 0!==r?r:t}get(e,t){if(!b(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,d.b)(n=>(n=this.getParsedResult(n,e,t),(0,i.b)(n)?n:(0,s.of)(n))));{let n=this.getParsedResult(this.translations[this.currentLang],e,t);return(0,i.b)(n)?n:(0,s.of)(n)}}getStreamOnTranslationChange(e,t){if(!b(e)||!e.length)throw new Error('Parameter "key" required');return(0,a.z)((0,l.P)(()=>this.get(e,t)),this.onTranslationChange.pipe((0,p.w)(n=>{const r=this.getParsedResult(n.translations,e,t);return"function"==typeof r.subscribe?r:(0,s.of)(r)})))}stream(e,t){if(!b(e)||!e.length)throw new Error('Parameter "key" required');return(0,a.z)((0,l.P)(()=>this.get(e,t)),this.onLangChange.pipe((0,p.w)(n=>{const r=this.getParsedResult(n.translations,e,t);return(0,i.b)(r)?r:(0,s.of)(r)})))}instant(e,t){if(!b(e)||!e.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],e,t);if((0,i.b)(n)){if(e instanceof Array){let t={};return e.forEach((n,r)=>{t[e[r]]=e[r]}),t}return e}return n}set(e,t,n=this.currentLang){this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(x),r.LFG(f),r.LFG(E),r.LFG(C),r.LFG(m),r.LFG(O),r.LFG(T),r.LFG(I),r.LFG(A))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})(),P=(()=>{class e{constructor(e,t){this.translate=e,this._ref=t,this.value=""}updateValue(e,t,n){let r=t=>{this.value=void 0!==t?t:e,this.lastKey=e,this._ref.markForCheck()};if(n){let s=this.translate.getParsedResult(n,e,t);(0,i.b)(s.subscribe)?s.subscribe(r):r(s)}this.translate.get(e,t).subscribe(r)}transform(e,...t){if(!e||!e.length)return e;if(v(e,this.lastKey)&&v(t,this.lastParams))return this.value;let n;if(b(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let e=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(e)}catch(r){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"!=typeof t[0]||Array.isArray(t[0])||(n=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(t=>{this.lastKey&&t.lang===this.translate.currentLang&&(this.lastKey=null,this.updateV
1alue(e,n,t.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(t=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return e.\u0275fac=function(t){return new(t||e)(r.Y36($,16),r.Y36(r.sBO,16))},e.\u0275pipe=r.Yjl({name:"translate",type:e,pure:!1}),e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})(),D=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[t.loader||{provide:f,useClass:g},t.compiler||{provide:E,useClass:k},t.parser||{provide:C,useClass:S},t.missingTranslationHandler||{provide:m,useClass:y},x,{provide:T,useValue:t.isolate},{provide:O,useValue:t.useDefaultLang},{provide:I,useValue:t.extend},{provide:A,useValue:t.defaultLanguage},$]}}static forChild(t={}){return{ngModule:e,providers:[t.loader||{provide:f,useClass:g},t.compiler||{provide:E,useClass:k},t.parser||{provide:C,useClass:S},t.missingTranslationHandler||{provide:m,useClass:y},{provide:T,useValue:t.isolate},{provide:O,useValue:t.useDefaultLang},{provide:I,useValue:t.extend},{provide:A,useValue:t.defaultLanguage},$]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e})()},26215:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(79765),s=n(77971);class i extends r.xQ{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.N;return this._value}next(e){super.next(this._value=e)}}},23098:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(59193),s=n(25917),i=n(40205);class o{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return(0,s.of)(this.value);case"E":return(0,i._)(this.error);case"C":return(0,r.c)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new o("N",e):o.undefinedValueNotification}static createError(e){return new o("E",void 0,e)}static createComplete(){return o.completeNotification}}o.completeNotification=new o("C"),o.undefinedValueNotification=new o("N",void 0)},83550:(e,t,n)=>{"use strict";n.d(t,{y:()=>u});var r=n(13179),s=n(77393),i=n(29181),o=n(46490),a=n(16554),l=n(54487),c=n(82494);let u=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,a=function(e,t,n){if(e){if(e instanceof s.L)return e;if(e[i.b])return e[i.b]()}return e||t||n?new s.L(e,t,n):new s.L(o.c)}(e,t,n);if(a.add(r?r.call(a,this.source):this.source||c.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){c.v.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),(0,r._)(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=h(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(s){n(s),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[a.L](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?l.y:1===t.length?t[0]:function(e){return t.reduce((e,t)=>
1t(e),e)})(this);var t}toPromise(e){return new(e=h(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function h(e){if(e||(e=c.v.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},46490:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(82494),s=n(54449);const i={closed:!0,next(e){},error(e){if(r.v.useDeprecatedSynchronousErrorHandling)throw e;(0,s.z)(e)},complete(){}}},82298:(e,t,n)=>{"use strict";n.d(t,{t:()=>f});var r=n(79765),s=n(36465),i=n(16102);const o=new class extends i.v{}(class extends s.o{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}});var a=n(75319),l=n(77393),c=n(23098);class u extends l.L{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(u.dispatch,this.delay,new h(e,this.destination)))}_next(e){this.scheduleMessage(c.P.createNext(e))}_error(e){this.scheduleMessage(c.P.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(c.P.createComplete()),this.unsubscribe()}}class h{constructor(e,t){this.notification=e,this.destination=t}}var d=n(77971),p=n(78858);class f extends r.xQ{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new g(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,s=n.length;let i;if(this.closed)throw new d.N;if(this.isStopped||this.hasError?i=a.w.EMPTY:(this.observers.push(e),i=new p.W(this,e)),r&&e.add(e=new u(e,r)),t)for(let o=0;o<s&&!e.closed;o++)e.next(n[o]);else for(let o=0;o<s&&!e.closed;o++)e.next(n[o].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),i}_getNow(){return(this.scheduler||o).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,s=r.length;let i=0;for(;i<s&&!(e-r[i].time<n);)i++;return s>t&&(i=Math.max(i,s-t)),i>0&&r.splice(0,i),r}}class g{constructor(e,t){this.time=e,this.value=t}}},79765:(e,t,n)=>{"use strict";n.d(t,{Yc:()=>c,xQ:()=>u});var r=n(83550),s=n(77393),i=n(75319),o=n(77971),a=n(78858),l=n(29181);class c extends s.L{constructor(e){super(e),this.destination=e}}let u=(()=>{class e extends r.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.b](){return new c(this)}lift(e){const t=new h(this,this);return t.operator=e,t}next(e){if(this.closed)throw new o.N;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].next(e)}}error(e){if(this.closed)throw new o.N;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new o.N;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new o.N;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new o.N;return this.hasError?(e.error(this.thrownError),i.w.EMPTY):this.isStopped?(e.complete(),i.w.EMPTY):(this.observers.push(e),new a.W(this,e))}asObservable(){const e=new r.y;return e.source=this,e}}return e.create=(e,t)=>
1new h(e,t),e})();class h extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):i.w.EMPTY}}},78858:(e,t,n)=>{"use strict";n.d(t,{W:()=>s});var r=n(75319);class s extends r.w{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},77393:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var r=n(69105),s=n(46490),i=n(75319),o=n(29181),a=n(82494),l=n(54449);class c extends i.w{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.c;break;case 1:if(!e){this.destination=s.c;break}if("object"==typeof e){e instanceof c?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,e,t,n)}}[o.b](){return this}static create(e,t,n){const r=new c(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class u extends c{constructor(e,t,n,i){let o;super(),this._parentSubscriber=e;let a=this;(0,r.m)(t)?o=t:t&&(o=t.next,n=t.error,i=t.complete,t!==s.c&&(a=Object.create(t),(0,r.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a.v;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):(0,l.z)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;(0,l.z)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw n;(0,l.z)(n)}}__tryOrSetError(e,t,n){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return a.v.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):((0,l.z)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},75319:(e,t,n)=>{"use strict";n.d(t,{w:()=>a});var r=n(59796),s=n(81555),i=n(69105);const o=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();class a{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:n,_unsubscribe:l,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof a)t.remove(this);else if(null!==t)for(let r=0;r<t.length;++r)t[r].remove(this);
1if((0,i.m)(l)){n&&(this._unsubscribe=void 0);try{l.call(this)}catch(h){e=h instanceof o?c(h.errors):[h]}}if((0,r.k)(u)){let t=-1,n=u.length;for(;++t<n;){const n=u[t];if((0,s.K)(n))try{n.unsubscribe()}catch(h){e=e||[],h instanceof o?e=e.concat(c(h.errors)):e.push(h)}}}if(e)throw new o(e)}add(e){let t=e;if(!e)return a.EMPTY;switch(typeof e){case"function":t=new a(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof a)){const e=t;t=new a,t._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:n}=t;if(null===n)t._parentOrParents=this;else if(n instanceof a){if(n===this)return t;t._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return t;n.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[t]:r.push(t),t}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}var l;function c(e){return e.reduce((e,t)=>e.concat(t instanceof o?t.errors:t),[])}a.EMPTY=((l=new a).closed=!0,l)},82494:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});let r=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},85345:(e,t,n)=>{"use strict";n.d(t,{IY:()=>o,Ds:()=>a,ft:()=>l});var r=n(77393),s=n(83550),i=n(87444);class o extends r.L{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends r.L{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function l(e,t){if(t.closed)return;if(e instanceof s.y)return e.subscribe(t);let n;try{n=(0,i.s)(e)(t)}catch(r){t.error(r)}return n}},52441:(e,t,n)=>{"use strict";n.d(t,{c:()=>a,N:()=>l});var r=n(79765),s=n(83550),i=n(75319),o=n(51307);class a extends s.y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new i.w,e.add(this.source.subscribe(new c(this.getSubject(),this))),e.closed&&(this._connection=null,e=i.w.EMPTY)),e}refCount(){return(0,o.x)()(this)}}const l=(()=>{const e=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class c extends r.Yc{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}},90739:(e,t,n)=>{"use strict";n.d(t,{aj:()=>p});var r=n(54869),s=n(59796),i=n(77393);class o extends i.L{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class a extends i.L{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var l=n(87444),c=n(83550);function u(e,t,n,r,s=new a(e,n,r)){if(!s.closed)return t instanceof c.y?t.subscribe(s):(0,l.s)(t)(s)}var h=n(56693);const d={};function p(...e){let t,n;return(0,r.K)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&(0,s.k)(e[0])&&(e=e[0]),(0,h.n)(e,n).lift(new f(t))}class f{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new g(e,this.resultSelector))}}class g extends o{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(d),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++)this.add(u(this,e[n],void 0,n))}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const r=this.values,s=this.toRespond?r[n]===d?--this.toRespond:this.toRespond:0;r[n]=t,0===s&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},58071:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(25917),s=n(63282);function i(...e){return(0,s.J)(1)((0,r.of)(...e))}}
1,41439:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(83550),s=n(94402),i=n(59193);function o(e){return new r.y(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?(0,s.D)(n):(0,i.c)()).subscribe(t)})}},59193:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,c:()=>i});var r=n(83550);const s=new r.y(e=>e.complete());function i(e){return e?function(e){return new r.y(t=>e.schedule(()=>t.complete()))}(e):s}},35758:(e,t,n)=>{"use strict";n.d(t,{D:()=>l});var r=n(83550),s=n(59796),i=n(88002),o=n(81555),a=n(94402);function l(...e){if(1===e.length){const t=e[0];if((0,s.k)(t))return c(t,null);if((0,o.K)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return c(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return c(e=1===e.length&&(0,s.k)(e[0])?e[0]:e,null).pipe((0,i.U)(e=>t(...e)))}return c(e,null)}function c(e,t){return new r.y(n=>{const r=e.length;if(0===r)return void n.complete();const s=new Array(r);let i=0,o=0;for(let l=0;l<r;l++){const c=(0,a.D)(e[l]);let u=!1;n.add(c.subscribe({next:e=>{u||(u=!0,o++),s[l]=e},error:e=>n.error(e),complete:()=>{i++,i!==r&&u||(o===r&&n.next(t?t.reduce((e,t,n)=>(e[t]=s[n],e),{}):s),n.complete())}}))}})}},94402:(e,t,n)=>{"use strict";n.d(t,{D:()=>h});var r=n(83550),s=n(87444),i=n(75319),o=n(16554),a=n(94087),l=n(20377),c=n(44072),u=n(69489);function h(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[o.L]}(e))return function(e,t){return new r.y(n=>{const r=new i.w;return r.add(t.schedule(()=>{const s=e[o.L]();r.add(s.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if((0,c.t)(e))return function(e,t){return new r.y(n=>{const r=new i.w;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if((0,u.z)(e))return(0,a.r)(e,t);if(function(e){return e&&"function"==typeof e[l.hZ]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.y(n=>{const r=new i.w;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(t.schedule(()=>{s=e[l.hZ](),r.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=s.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())}))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof r.y?e:new r.y((0,s.s)(e))}},56693:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var r=n(83550),s=n(55015),i=n(94087);function o(e,t){return t?(0,i.r)(e,t):new r.y((0,s.V)(e))}},22759:(e,t,n)=>{"use strict";n.d(t,{R:()=>a});var r=n(83550),s=n(59796),i=n(69105),o=n(88002);function a(e,t,n,c){return(0,i.m)(n)&&(c=n,n=void 0),c?a(e,t,n).pipe((0,o.U)(e=>(0,s.k)(e)?c(...e):c(e))):new r.y(r=>{l(e,t,function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},r,n)})}function l(e,t,n,r,s){let i;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const r=e;e.addEventListener(t,n,s),i=()=>r.removeEventListener(t,n,s)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const r=e;e.on(t,n),i=()=>r.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const r=e;e.addListener(t,n),i=()=>r.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let i=0,o=e.length;i<o;i++)l(e[i],t,n,r,s)}r.add(i)}},66682:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(83550),s=n(54869),i=n(63282),o=n(56693);function a(...e){let t=Number.POSITIVE_INFINITY,n=null,a=e[e.length-1];return(0,s.K)(a)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof a&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof r.y?e[0]:(0,i.J)(t)((0,o.n)(e,n))}},25917:(e,t,n)=>{"use strict";n.d(t,{of:()=>o});var r=n(54869),s=n(56693),i=n(94087);function o(...e){let t=e[e.length-1];return(0,r.K)(t)?(e.pop(),(0,i.r)(e,t)):(0,s.n)(e)}},40205:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(83550);function s(e,t){return new r.y(t?n=>t.schedule(i,0,{error:e,subscriber:n}):t=>t.error(e))}function i({error:e,subscriber:t}){t.error(e)}},38634:(e,t,n)=>{"use strict";n.d(t,{H:()=>l});var r=n(83550),s=n(33637),i=n(59796);function o(e){return!(0,i.k)(e)&&e-parseFloat(e)+1>=0}var a=n(54869);function l(e=0,t,n){let i=-1;return o(t)?i=Number(t)<1?1:Number(t):(0,a.K)(t)&&(n=t),(0,a.K)(n)||(n=s.P),new r.y(t=>{const r=o(e)?e:+e-n.now();return n.schedule(c,r,{index:0,period:i,subscriber:t})})}function c(e){const{index:t,period:n,subscriber:r}=e;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}}
1,5304:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var r=n(85345);function s(e){return function(t){const n=new i(e),r=t.lift(n);return n.caught=r}}class i{constructor(e){this.selector=e}call(e,t){return t.subscribe(new o(e,this.selector,this.caught))}}class o extends r.Ds{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const s=new r.IY(this);this.add(s);const i=(0,r.ft)(n,s);i!==s&&this.add(i)}}}},94612:(e,t,n)=>{"use strict";n.d(t,{b:()=>s});var r=n(19773);function s(e,t){return(0,r.zg)(e,t,1)}},95242:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var r=n(77393);function s(e=null){return t=>t.lift(new i(e))}class i{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new o(e,this.defaultValue))}}class o extends r.L{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},87519:(e,t,n)=>{"use strict";n.d(t,{x:()=>s});var r=n(77393);function s(e,t){return n=>n.lift(new i(e,t))}class i{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new o(e,this.compare,this.keySelector))}}class o extends r.L{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(r){return this.destination.error(r)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}},45435:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(77393);function s(e,t){return function(n){return n.lift(new i(e,t))}}class i{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg))}}class o extends r.L{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},68939:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(77393),s=n(75319);function i(e){return t=>t.lift(new o(e))}class o{constructor(e){this.callback=e}call(e,t){return t.subscribe(new a(e,this.callback))}}class a extends r.L{constructor(e,t){super(e),this.add(new s.w(t))}}},28049:(e,t,n)=>{"use strict";n.d(t,{P:()=>c});var r=n(13410),s=n(45435),i=n(15257),o=n(95242),a=n(44635),l=n(54487);function c(e,t){const n=arguments.length>=2;return c=>c.pipe(e?(0,s.h)((t,n)=>e(t,n,c)):l.y,(0,i.q)(1),n?(0,o.d)(t):(0,a.T)(()=>new r.K))}},88002:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});var r=n(77393);function s(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new i(e,t))}}class i{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.project,this.thisArg))}}class o extends r.L{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},63282:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});var r=n(19773),s=n(54487);function i(e=Number.POSITIVE_INFINITY){return(0,r.zg)(s.y,e)}},19773:(e,t,n)=>{"use strict";n.d(t,{zg:()=>o,VS:()=>c});var r=n(88002),s=n(94402),i=n(85345);function o(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(o((n,i)=>(0,s.D)(e(n,i)).pipe((0,r.U)((e,r)=>t(n,e,i,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new a(e,n)))}class a{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new l(e,this.project,this.concurrent))}}class l extends i.Ds{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new i.IY(this),n=this.destination;n.add(t);const r=(0,i.ft)(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}const c=o},94458:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(52441);function s(e,t){return function(n){let s;if(s="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new i(s,t));const o=Object.create(n,r.N);return o.source=n,o.subjectFactory=s,o}}class i{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:n}=this,r=this.subjectFactory(),s=n(r).subscribe(e);return s.add(t.subscribe(r)),s}}},51307:(e,t,n)=>{"use strict";n.d(t,{x:()=>s});var r=n(77393);function s(){return function(e){return e.lift(new i(e))}}class i{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new o(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class o extends r.L{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;
1if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}},74945:(e,t,n)=>{"use strict";n.d(t,{X:()=>s});var r=n(77393);function s(e=-1){return t=>t.lift(new i(e,t))}class i{constructor(e,t){this.count=e,this.source=t}call(e,t){return t.subscribe(new o(e,this.count,this.source))}}class o extends r.L{constructor(e,t,n){super(e),this.count=t,this.source=n}error(e){if(!this.isStopped){const{source:t,count:n}=this;if(0===n)return super.error(e);n>-1&&(this.count=n-1),t.subscribe(this._unsubscribeAndRecycle())}}}},78345:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(94458),s=n(51307),i=n(79765);function o(){return new i.xQ}function a(){return e=>(0,s.x)()((0,r.O)(o)(e))}},47349:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var r=n(82298);function s(e,t,n){let s;return s=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:s}){let i,o,a=0,l=!1,c=!1;return function(u){let h;a++,!i||l?(l=!1,i=new r.t(e,t,s),h=i.subscribe(this),o=u.subscribe({next(e){i.next(e)},error(e){l=!0,i.error(e)},complete(){c=!0,o=void 0,i.complete()}}),c&&(o=void 0)):h=i.subscribe(this),this.add(()=>{a--,h.unsubscribe(),h=void 0,o&&!c&&n&&0===a&&(o.unsubscribe(),o=void 0,i=void 0)})}}(s))}},13653:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var r=n(77393);function s(e){return t=>t.lift(new i(e))}class i{constructor(e){this.total=e}call(e,t){return t.subscribe(new o(e,this.total))}}class o extends r.L{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}},39761:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(58071),s=n(54869);function i(...e){const t=e[e.length-1];return(0,s.K)(t)?(e.pop(),n=>(0,r.z)(e,n,t)):t=>(0,r.z)(e,t)}},43190:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(88002),s=n(94402),i=n(85345);function o(e,t){return"function"==typeof t?n=>n.pipe(o((n,i)=>(0,s.D)(e(n,i)).pipe((0,r.U)((e,r)=>t(n,e,i,r))))):t=>t.lift(new a(e))}class a{constructor(e){this.project=e}call(e,t){return t.subscribe(new l(e,this.project))}}class l extends i.Ds{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new i.IY(this),r=this.destination;r.add(n),this.innerSubscription=(0,i.ft)(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}},15257:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var r=n(77393),s=n(7108),i=n(59193);function o(e){return t=>0===e?(0,i.c)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new s.W}call(e,t){return t.subscribe(new l(e,this.total))}}class l extends r.L{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},46782:(e,t,n)=>{"use strict";n.d(t,{R:()=>s});var r=n(85345);function s(e){return t=>t.lift(new i(e))}class i{constructor(e){this.notifier=e}call(e,t){const n=new o(e),s=(0,r.ft)(this.notifier,new r.IY(n));return s&&!n.seenValue?(n.add(s),t.subscribe(n)):n}}class o extends r.Ds{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},93342:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(77393);function s(){}var i=n(69105);function o(e,t,n){return function(r){return r.lift(new a(e,t,n))}}class a{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new l(e,this.nextOrObserver,this.error,this.complete))}}class l extends r.L{constructor(e,t,n,r){super(e),this._tapNext=s,this._tapError=s,this._tapComplete=s,this._tapError=n||s,this._tapComplete=r||s,(0,i.m)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||s,this._tapError=t.error||s,this._tapComplete=t.complete||s)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}},44635:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(13410),s=n(77393);function i(e=l){return t=>t.lift(new o(e))}class o{constructor(e){this.errorFactory=e}
1call(e,t){return t.subscribe(new a(e,this.errorFactory))}}class a extends s.L{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function l(){return new r.K}},94087:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});var r=n(83550),s=n(75319);function i(e,t){return new r.y(n=>{const r=new s.w;let i=0;return r.add(t.schedule(function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()})),r})}},36465:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(75319);class s extends r.w{constructor(e,t){super()}schedule(e,t=0){return this}}class i extends s{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n,r=!1;try{this.work(e)}catch(s){r=!0,n=!!s&&s||new Error(s)}if(r)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},16102:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});let r=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class s extends r{constructor(e,t=r.now){super(e,()=>s.delegate&&s.delegate!==this?s.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return s.delegate&&s.delegate!==this?s.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},33637:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var r=n(36465);const s=new(n(16102).v)(r.o)},20377:(e,t,n)=>{"use strict";n.d(t,{hZ:()=>r});const r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},16554:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},13410:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});const r=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})()},77971:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});const r=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},13179:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(77393);function s(e){for(;e;){const{closed:t,destination:n,isStopped:s}=e;if(t||s)return!1;e=n&&n instanceof r.L?n:null}return!0}},54449:(e,t,n)=>{"use strict";function r(e){setTimeout(()=>{throw e},0)}n.d(t,{z:()=>r})},54487:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{y:()=>r})},59796:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r=Array.isArray||(e=>e&&"number"==typeof e.length)}
1,69489:(e,t,n)=>{"use strict";n.d(t,{z:()=>r});const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},69105:(e,t,n)=>{"use strict";function r(e){return"function"==typeof e}n.d(t,{m:()=>r})},81555:(e,t,n)=>{"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,{K:()=>r})},95639:(e,t,n)=>{"use strict";n.d(t,{b:()=>s});var r=n(83550);function s(e){return!!e&&(e instanceof r.y||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},44072:(e,t,n)=>{"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,{t:()=>r})},54869:(e,t,n)=>{"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,{K:()=>r})},87444:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var r=n(55015),s=n(54449),i=n(20377),o=n(16554),a=n(69489),l=n(44072),c=n(81555);const u=e=>{if(e&&"function"==typeof e[o.L])return u=e,e=>{const t=u[o.L]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if((0,a.z)(e))return(0,r.V)(e);if((0,l.t)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,s.z),e);if(e&&"function"==typeof e[i.hZ])return t=e,e=>{const n=t[i.hZ]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=(0,c.K)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,u}},55015:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});const r=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}},50384:(e,t,n)=>{"use strict";n.d(t,{e:()=>g});var r=n(65353),s=n(26215),i=n(93342),o=n(5304),a=n(74945),l=n(88002),c=n(43190),u=n(92340),h=n(81796),d=n(37716),p=n(91841),f=n(38433);let g=(()=>{class e{constructor(e,t){this.http=e,this.authUserSubject=new s.X(null),this.isAuthUserLoaded=!1,this.apiUrl=u.N.apiUrl,this.serverUrl=u.N.serverUrl,this.authUserUrl=this.apiUrl+"/auth/me",this.authUrl=this.apiUrl+"/auth",this.loginUrl=this.apiUrl+"/auth/login",this.logoutUrl=this.apiUrl+"/auth/logout",this.registerUrl=this.apiUrl+"/auth/register",this.firstloginUrl=this.apiUrl+"/auth/first_login",this.handleError=t.createHandleError("AuthService")}firstLoginPopupTips(){return this.http.post(this.firstloginUrl,"").pipe((0,i.b)(e=>console.log(e)),(0,o.K)(this.handleError("firstLoginPopupTips",[])))}forgotPassword(e){return this.http.post(`${this.authUrl}/forgot-password`,{email:e}).pipe((0,i.b)(e=>console.log(e)),(0,a.X)(3),(0,o.K)(this.handleError("forgotPassword",[])))}resetPassword(e,t,n,r){return this.http.post(`${this.authUrl}/reset-password`,{password:e,password_confirmation:t,token:n,email:r}).pipe((0,i.b)(e=>console.log(e)),(0,a.X)(3),(0,o.K)(this.handleError("resetPassword",[])))}getAuthUser(e){return this.isAuthUserLoaded&&!e?(console.log("already logged"),this.authUserSubject.asObservable()):(console.log("fetch auth user from server"),this.http.get(this.authUserUrl).pipe((0,l.U)(e=>e.user),(0,i.b)(e=>{this.isAuthUserLoaded=!0,this.authUserSubject.next(e)}),(0,c.w)(e=>this.authUserSubject.asObservable())))}register(e,t){return this.http.post(this.registerUrl,{email:e,password:t}).pipe((0,i.b)(e=>console.log(e)),(0,l.U)(e=>e.user),(0,a.X)(3))}login(e,t){return this.http.post(this.loginUrl,{email:e,password:t}).pipe((0,l.U)(e=>{const t=e.token;return t&&this.setToken(t),e}),(0,a.X)(3),(0,o.K)(this.handleError("login",[])))}logout(){return this.http.post(this.logoutUrl,{}).pipe((0,i.b)(e=>{this.removeToken(),this.removeAuthUser()}),(0,a.X)(3),(0,o.K)(this.handleError("logout",[])))}isAuthenticated(){return(0,r.mG)(this,void 0,void 0,function*(){return!!(yield this.getToken())})}setToken(e){return(0,r.mG)(this,void 0,void 0,function*(){console.log("set token"),console.log(e),yield h.u.set({key:"access_token",value:e})})}getToken(){return(0,r.mG)(this,void 0,void 0,function*(){return(yield h.u.get({key:"access_token"})).value})}removeToken(){return(0,r.mG)(this,void 0,void 0,function*(){console.log("remove token"),yield h.u.remove({key:"access_token"})})}removeAuthUser(){this.authUserSubject.next(null)}observedCompanyAuthUser(e,t){if(e&&e.name&&t&&t.observed.length>0)return t.observed.find(t=>t.name===e.name)}observedExploresAuthUser(e,t){if(e&&e.id&&t&&t.observed_tips.length>0)return t.observed_tips.find(t=>
1t.id===e.id)}observedExploresUsersAuthUser(e,t){if(e&&e.id&&t&&t.observed_users.length>0)return t.observed_users.find(t=>t.id===e.user.id)}}return e.\u0275fac=function(t){return new(t||e)(d.LFG(p.eN),d.LFG(f.k))},e.\u0275prov=d.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},97245:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var r=n(25917),s=n(88002),i=n(5304),o=n(37716),a=n(63423),l=n(50384),c=n(94490);let u=(()=>{class e{constructor(e,t,n){this.router=e,this.authService=t,this.navCtrl=n}canActivate(e,t){return this.authService.getAuthUser().pipe((0,s.U)(e=>"admin"===e.type||"sales"===e.type||"customer"===e.type||"user"===e.type||(this.router.navigate(["/"]),console.log("Access denied"),!1)),(0,i.K)(e=>(this.navCtrl.navigateRoot("/panel/login"),(0,r.of)(!1))))}}return e.\u0275fac=function(t){return new(t||e)(o.LFG(a.F0),o.LFG(l.e),o.LFG(c.SH))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},83348:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(65353),s=n(37716),i=n(94490);let o=(()=>{class e{constructor(e){this.loadingController=e}showLoadingAlert(e){return(0,r.mG)(this,void 0,void 0,function*(){this.loadingAlert=yield this.loadingController.create({message:e||"Prosz\u0119 czeka\u0107"}),yield this.loadingAlert.present()})}closeLoadingAlert(){this.loadingAlert&&this.loadingAlert.dismiss()}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(i.HT))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},38433:(e,t,n)=>{"use strict";n.d(t,{k:()=>c});var r=n(65353),s=n(91841),i=n(59193),o=n(37716),a=n(94490),l=n(83348);let c=(()=>{class e{constructor(e,t){this.alertController=e,this.loadingService=t,this.createHandleError=(e="")=>(t="operation",n={})=>this.handleError(e,t,n)}handleError(e="",t="operation",n={}){return e=>{if(422===e.status){const t=(e=>{const t=[];if(e.error)if(e.error.errors)for(const n in e.error.errors)e.error.errors.hasOwnProperty(n)&&e.error.errors[n].forEac
1h(e=>t.push(e));else t.push(e.error.message);return t})(e);console.log(t),this.showValidationErrorsAlert(t)}else if(401===e.status)this.showAuthorizationErrorsAlert(e.error.message?e.error.message:JSON.stringify(e.error));else if(403===e.status)this.showAuthorizationErrorsAlert(e.error.message?e.error.message:JSON.stringify(e.error));else{let t;console.log(e),e instanceof s.UA&&(t=e.error instanceof ErrorEvent?e.error.message:`Kod b\u0142edu: ${e.status}<br> Wiadomo\u015b\u0107: ${e.error.message?e.error.message:JSON.stringify(e.error)}`),0===e.status&&(confirm("Brak po\u0142\u0105czenia z sieci\u0105. Spr\xf3buj ponownie."),window.location.reload()),this.presentAlert(t||e)}return(0,i.c)()}}presentAlert(e){return(0,r.mG)(this,void 0,void 0,function*(){const t=yield this.alertController.create({header:"B\u0142\u0105d",message:"Wyst\u0105pi\u0142 b\u0142\u0105d po stronie serwera.<br><br>Komunikat b\u0142edu:<br><i>"+e+"</i>",cssClass:"pxc-alert--md",buttons:[{text:"Zamknij",handler:()=>{}}]});this.loadingService.closeLoadingAlert(),yield t.present()})}showValidationErrorsAlert(e){return(0,r.mG)(this,void 0,void 0,function*(){const t=e.map(e=>"<li>"+e+"</li>"),n=t.filter(e=>void 0!==e);console.log(n);const r=yield this.alertController.create({header:"B\u0142\u0105d walidacji",message:"<ul>"+t.filter(e=>e).join("")+"</ul>",cssClass:["pxc-alert--validation","pxc-alert--md","pxc-modal--border-radius"],buttons:[{text:"Zamknij"}]});this.loadingService.closeLoadingAlert(),yield r.present()})}showAuthorizationErrorsAlert(e){return(0,r.mG)(this,void 0,void 0,function*(){const t=yield this.alertController.create({header:"B\u0142\u0105d autoryzacji",message:e,cssClass:"pxc-alert--md",buttons:[{text:"Zamknij"}]});this.loadingService.closeLoadingAlert(),yield t.present()})}}return e.\u0275fac=function(t){return new(t||e)(o.LFG(a.Br),o.LFG(l.b))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e})()},92340:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});const r={production:!0,apiUrl:"/api",serverUrl:"",posId:"356912"}},89546:(e,t,n)=>{"use strict";var r=n(39075),s=n(37716),i=n(63423),o=n(94490);let a=(()=>{class e{constructor(){}ngOnInit(){window&&window.fbq("track","CompleteRegistration")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-root"]],decls:2,vars:0,template:function(e,t){1&e&&(s.TgZ(0,"ion-app"),s._UZ(1,"ion-router-outlet"),s.qZA())},directives:[o.dr,o.jP],styles:[""]}),e})();const l=[{path:"panel/login",loadChildren:()=>Promise.all([n.e(6627),n.e(8649),n.e(2611)]).then(n.bind(n,52611)).then(e=>e.LoginPageModule)},{path:"panel",canActivate:[n(97245).Q],loadChildren:()=>Promise.all([n.e(2533),n.e(8649),n.e(243),n.e(4767)]).then(n.bind(n,44767)).then(e=>e.PanelPagesRoutingModule)},{path:"",loadChildren:()=>Promise.all([n.e(625),n.e(1554),n.e(6627),n.e(8341),n.e(9699),n.e(2889),n.e(8556),n.e(3220),n.e(3986),n.e(8649),n.e(243),n.e(3712)]).then(n.bind(n,20032)).then(e=>e.AppPagesRoutingModule)},{path:"**",redirectTo:"/"}];let c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[i.Bz.forRoot(l,{preloadingStrategy:i.wm})],i.Bz]}),e})();var u=n(26457),h=n(46237),d=n(29790),p=n(91841),f=n(38433),g=n(94402),m=n(43190),y=n(93342),v=n(50384);let b=(()=>{class e{constructor(e,t){this.router=e,this.authService=t}intercept(e,t){return console.log("interceptor running"),(0,g.D)(this.authService.getToken()).pipe((0,m.w)(n=>{if(n){const r=e.clone({headers:e.headers.set("Authorization",`Bearer ${n}`)});return console.log("interceptor running with new headers"),t.handle(r).pipe((0,y.b)(e=>{},e=>{console.log(e)}))}return console.log("interceptor without changes"),t.handle(e)}))}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(i.F0),s.LFG(v.e))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var _=n(3679);let w=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e,bootstrap:[a]}),e.\u0275inj=s.cJS({providers:[{provide:p.TP,useClass:b,multi:!0},{provide:i.wN,useClass:o.r4},f.k],imports:[[r.b2,o.Pc.forRoot({mode:"md"}),p.JF,p.Ed,u.su.forRoot({apiKey:"AIzaSyBAJT5Dg9DYkOekXirSuX8Be29qyI4jDl0",libraries:["places"]}),d.aw.forRoot(),_.UX,c,h.PW]]}),e})();n(92340).N.production&&(0,s.G48)(),r.q6().bootstrapModule(w).catch(e=>console.log(e))},50863:(e,t,n)=>{var r={"./ion-action-sheet.entry.js":[47321,8592,7321],"./ion-alert.entry.js":[36108,8592,6108],"./ion-app_8.entry.js":[31489,8592,1489],"./ion-avatar_3.entry.js":[10305,8592,305],"./ion-back-button.entry.js":[15830,8592,5830],"./ion-backdrop.entry.js":[37757,7757],"./ion-button_2.entry.js":[30392,8592,392],"./ion-card_5.entry.js":[66911,8592,6911],"./ion-checkbox.entry.js":[30937,8592,937],"./ion-chip.entry.js":[78695,8592,8695],"./ion-col_3.entry.js":[16034,6034],"./ion-datetime_3.entry.js":[68837,8592,8837],"./ion-fab_3.entry.js":[34195,8592,4195],"./ion-img.entry.js":[41709,1709],"./ion-infinite-scroll_2.entry.js":[33087,3087],"./ion-input.entry.js":[84513,8592,4513],"./ion-item-option_3.entry.js":[58056,8592,8056],"./ion-item_8.entry.js":[10862,8592,862],"./ion-loading.entry.js":[7509,8592,7509],"./ion-menu_3.entry.js":[76272,8592,6272],"./ion-modal.entry.js":[71855,8592,1855],"./ion-nav_2.entry.js":[38708,8592,8708],"./ion-popover.entry.js":[23527,8592,3527],"./ion-progress-bar.entry.js":[24694,8592,4694],"./ion-radio_2.entry.js":[19222,8592,9222],"./ion-range.entry.js":[25277,8592,5277],"./ion-refresher_2.entry.js":[39921,8592,9921],"./ion-reorder_2.entry.js":[83122,8592,3122],"./ion-ripple-effect.entry.js":[51602,1602],"./ion-route_4.entry.js":[45174,8592,5174],"./ion-searchbar.entry.js":[7895,8592,7895],"./ion-segment_2.entry.js":[76164,8592,6164],"./ion-select_3.entry.js":[20592,8592,592],"./ion-slide_2.entry.js":[27162,7162],"./ion-spinner.entry.js":[81374,8592,1374],"./ion-split-pane.entry.js":[97896,7896],"./ion-tab-bar_2.entry.js":[25043,8592,5043],"./ion-tab_2.entry.js":[77802,8592,7802],"./ion-text.entry.js":[29072,8592,9072],"./ion-textarea.entry.js":[32191,8592,2191],"./ion-toast.entry.js":[40801,8592,801],"./ion-toggle.entry.js":[67110,8592,7110],"./ion-virtual-scroll.entry.js":[10431,431]};function s(e){if(!n.o(r,e))return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],s=t[0];return Promise.all(t.slice(1).map(n.e)).then(()=>n(s))}s.keys=()=>Object.keys(r),s.id=50863,e.exports=s},65353:(e,t,n)=>{"use strict";function r(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}
1function s(e,t,n,r){return new(n||(n=Promise))(function(s,i){function o(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((r=r.apply(e,t||[])).next())})}n.d(t,{gn:()=>r,mG:()=>s}),"function"==typeof SuppressedError&&SuppressedError}},e=>{"use strict";e(e.s=89546)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.