!function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n=window.webpackJsonp;window.webpackJsonp=function(i,o,s){for(var a,u,l,c=0,p=[];c ");else if("object"==typeof e){var r=[];for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];r.push(o+":"+("string"==typeof s?JSON.stringify(s):u(s)))}i="{"+r.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+i+"]: "+t.replace(Pi,"\n ")}function v(t,e){return new Error(_(t,e))}function y(t){return t[Ii]}function g(t){return t[Di]}function m(t){if(t.length>1){return" ("+function(t){for(var e=[],n=0;n-1)return e.push(t[n]),e;e.push(t[n])}return e}(t.slice().reverse()).map(function(t){return u(t.token)}).join(" -> ")+")"}return""}function b(t,e,n,i){var r=[e],o=n(r),s=i?function(t,e){var n=t+" caused by: "+(e instanceof Error?e.message:e),i=Error(n);return i[Di]=e,i}(o,i):Error(o);return s.addKey=w,s.keys=r,s.injectors=[t],s.constructResolvingMessage=n,s[Di]=i,s}function w(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function C(t,e){for(var n=[],i=0,r=e.length;i-1&&t.splice(n,1)}function Q(t){return t.reduce(function(t,e){var n=Array.isArray(e)?Q(e):e;return t.concat(n)},[])}function J(t,e,n){t.childNodes.forEach(function(t){t instanceof Hr&&(e(t)&&n.push(t),J(t,e,n))})}function tt(t,e,n){t instanceof Hr&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Hr&&tt(t,e,n)})}function et(t){return Ur.get(t)||null}function nt(t){Ur.set(t.nativeNode,t)}function it(t,e){var n=rt(t),i=rt(e);if(n&&i)return function(t,e,n){var i=t[o()](),r=e[o()]();for(;;){var s=i.next(),a=r.next();if(s.done&&a.done)return!0;if(s.done||a.done)return!1;if(!n(s.value,a.value))return!1}}(t,e,it);return!(n||!(t&&("object"==typeof t||"function"==typeof t))||i||!(e&&("object"==typeof e||"function"==typeof e)))||a(t,e)}function rt(t){return!!ot(t)&&(Array.isArray(t)||!(t instanceof Map)&&o()in t)}function ot(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function st(t,e,n){var i=t.previousIndex;if(null===i)return i;var r=0;return n&&i0?r[n-1]:null,i)}function oe(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var i=n[e];return i.viewContainerParent=null,le(n,e),po.dirtyParentQueries(i),ae(i),i}function se(t,e,n){var i=e?At(e,e.def.lastRenderRootNode):t.renderElement;Ft(n,2,n.renderer.parentNode(i),n.renderer.nextSibling(i),void 0)}function ae(t){Ft(t,3,null,null,void 0)}function ue(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function le(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function ce(t,e,n,i,r,o){return new So(t,e,n,i,r,o)}function pe(t,e,n){return new xo(t,e,n)}function he(t){return new To(t)}function de(t,e){return new ko(t,e)}function fe(t,e){return new Po(t,e)}function _e(t,e){var n=t.def.nodes[e];if(1&n.flags){var i=dt(t,n.nodeIndex);return n.element.template?i.template:i.renderElement}if(2&n.flags)return ht(t,n.nodeIndex).renderText;if(20240&n.flags)return ft(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function ve(t){return new jo(t.renderer)}function ye(t,e,n,i){return new Ao(t,e,n,i)}function ge(t,e,n,i,r,o,s,a){var u=[];if(s)for(var l in s){var c=s[l];u[c[0]]={flags:8,name:l,nonMinifiedName:c[1],ns:null,securityContext:null,suffix:null}}var p=[];if(a)for(var h in a)p.push({type:1,propName:h,target:null,eventName:a[h]});return e|=16384,be(t,e,n,i,r,r,o,u,p)}function me(t,e,n,i,r){return be(-1,t,e,0,n,i,r)}function be(t,e,n,i,r,o,s,a,l){var p=Nt(n),h=p.matchedQueries,d=p.references,f=p.matchedQueryIds;l||(l=[]),a||(a=[]),o=c(o);var _=Vt(s,u(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:f,references:d,ngContentIndex:-1,childCount:i,bindings:a,bindingFlags:Wt(a),outputs:l,element:null,provider:{token:r,value:o,deps:_},text:null,query:null,ngContent:null}}function we(t,e){return Se(t,e)}function Ce(t,e){for(var n=t;n.parent&&!Dt(n);)n=n.parent;return Ee(n.parent,jt(n),!0,e.provider.value,e.provider.deps)}function Oe(t,e){var n=Ee(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var i=0;i0,i=e.provider;switch(201347067&e.flags){case 512:return Ee(t,e.parent,n,i.value,i.deps);case 1024:return function(t,e,n,i,r){var o=r.length;switch(o){case 0:return i();case 1:return i(xe(t,e,n,r[0]));case 2:return i(xe(t,e,n,r[0]),xe(t,e,n,r[1]));case 3:return i(xe(t,e,n,r[0]),xe(t,e,n,r[1]),xe(t,e,n,r[2]));default:for(var s=Array(o),a=0;ao)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}(l,_,e.length),r+=_.bindings.length,o+=_.outputs.length,!c&&3&_.flags&&(d=_),20224&_.flags){p||(p=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var y=0!=(32768&_.flags);!(0!=(8192&_.flags))||y?l.element.publicProviders[bt(_.provider.token)]=_:(h||(h=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[bt(_.provider.token)]=_),y&&(l.element.componentProvider=_)}if(l?(l.childFlags|=_.flags,l.directChildFlags|=_.flags,l.childMatchedQueries|=_.matchedQueryIds,_.element&&_.element.template&&(l.childMatchedQueries|=_.element.template.nodeMatchedQueries)):a|=_.flags,_.childCount>0)l=_,qe(_)||(c=_);else for(;l&&f===l.nodeIndex+l.childCount;){var g=l.parent;g&&(g.childFlags|=l.childFlags,g.childMatchedQueries|=l.childMatchedQueries),c=(l=g)&&qe(l)?l.renderParent:l}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||ho,updateRenderer:i||ho,handleEvent:function(t,n,i,r){return e[n].element.handleEvent(t,i,r)},bindingCount:r,outputCount:o,lastRenderRootNode:d}}function qe(t){return 0!=(1&t.flags)&&null===t.element.name}function We(t,e,n,i){var r=Xe(t.root,t.renderer,t,e,n);return $e(r,t.component,i),Ke(r),r}function Ze(t,e,n){var i=Xe(t,t.renderer,null,null,e);return $e(i,n,n),Ke(i),i}function Ge(t,e,n,i){var r,o=e.element.componentRendererType;return r=o?t.root.rendererFactory.createRenderer(i,o):t.root.renderer,Xe(t.root,r,t,e.element.componentProvider,n)}function Xe(t,e,n,i,r){var o=new Array(r.nodes.length),s=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(r.bindingCount),disposables:s,initIndex:-1}}function $e(t,e,n){t.component=e,t.context=n}function Ke(t){var e;if(Dt(t)){e=dt(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement}for(var n=t.def,i=t.nodes,r=0;r0&&Jt(t,e,0,n)&&(d=!0),h>1&&Jt(t,e,1,i)&&(d=!0),h>2&&Jt(t,e,2,r)&&(d=!0),h>3&&Jt(t,e,3,o)&&(d=!0),h>4&&Jt(t,e,4,s)&&(d=!0),h>5&&Jt(t,e,5,a)&&(d=!0),h>6&&Jt(t,e,6,u)&&(d=!0),h>7&&Jt(t,e,7,l)&&(d=!0),h>8&&Jt(t,e,8,c)&&(d=!0),h>9&&Jt(t,e,9,p)&&(d=!0),d}(t,e,n,i,r,o,s,a,u,l,c,p);case 2:return function(t,e,n,i,r,o,s,a,u,l,c,p){var h=!1,d=e.bindings,f=d.length;if(f>0&&St(t,e,0,n)&&(h=!0),f>1&&St(t,e,1,i)&&(h=!0),f>2&&St(t,e,2,r)&&(h=!0),f>3&&St(t,e,3,o)&&(h=!0),f>4&&St(t,e,4,s)&&(h=!0),f>5&&St(t,e,5,a)&&(h=!0),f>6&&St(t,e,6,u)&&(h=!0),f>7&&St(t,e,7,l)&&(h=!0),f>8&&St(t,e,8,c)&&(h=!0),f>9&&St(t,e,9,p)&&(h=!0),h){var _=e.text.prefix;f>0&&(_+=Ue(n,d[0])),f>1&&(_+=Ue(i,d[1])),f>2&&(_+=Ue(r,d[2])),f>3&&(_+=Ue(o,d[3])),f>4&&(_+=Ue(s,d[4])),f>5&&(_+=Ue(a,d[5])),f>6&&(_+=Ue(u,d[6])),f>7&&(_+=Ue(l,d[7])),f>8&&(_+=Ue(c,d[8])),f>9&&(_+=Ue(p,d[9]));var v=ht(t,e.nodeIndex).renderText;t.renderer.setValue(v,_)}return h}(t,e,n,i,r,o,s,a,u,l,c,p);case 16384:return function(t,e,n,i,r,o,s,a,u,l,c,p){var h=ft(t,e.nodeIndex),d=h.instance,f=!1,_=void 0,v=e.bindings.length;return v>0&&Ot(t,e,0,n)&&(f=!0,_=ke(t,h,e,0,n,_)),v>1&&Ot(t,e,1,i)&&(f=!0,_=ke(t,h,e,1,i,_)),v>2&&Ot(t,e,2,r)&&(f=!0,_=ke(t,h,e,2,r,_)),v>3&&Ot(t,e,3,o)&&(f=!0,_=ke(t,h,e,3,o,_)),v>4&&Ot(t,e,4,s)&&(f=!0,_=ke(t,h,e,4,s,_)),v>5&&Ot(t,e,5,a)&&(f=!0,_=ke(t,h,e,5,a,_)),v>6&&Ot(t,e,6,u)&&(f=!0,_=ke(t,h,e,6,u,_)),v>7&&Ot(t,e,7,l)&&(f=!0,_=ke(t,h,e,7,l,_)),v>8&&Ot(t,e,8,c)&&(f=!0,_=ke(t,h,e,8,c,_)),v>9&&Ot(t,e,9,p)&&(f=!0,_=ke(t,h,e,9,p,_)),_&&d.ngOnChanges(_),65536&e.flags&&pt(t,256,e.nodeIndex)&&d.ngOnInit(),262144&e.flags&&d.ngDoCheck(),f}(t,e,n,i,r,o,s,a,u,l,c,p);case 32:case 64:case 128:return function(t,e,n,i,r,o,s,a,u,l,c,p){var h=e.bindings,d=!1,f=h.length;if(f>0&&St(t,e,0,n)&&(d=!0),f>1&&St(t,e,1,i)&&(d=!0),f>2&&St(t,e,2,r)&&(d=!0),f>3&&St(t,e,3,o)&&(d=!0),f>4&&St(t,e,4,s)&&(d=!0),f>5&&St(t,e,5,a)&&(d=!0),f>6&&St(t,e,6,u)&&(d=!0),f>7&&St(t,e,7,l)&&(d=!0),f>8&&St(t,e,8,c)&&(d=!0),f>9&&St(t,e,9,p)&&(d=!0),d){var _=_t(t,e.nodeIndex),v=void 0;switch(201347067&e.flags){case 32:v=new Array(h.length),f>0&&(v[0]=n),f>1&&(v[1]=i),f>2&&(v[2]=r),f>3&&(v[3]=o),f>4&&(v[4]=s),f>5&&(v[5]=a),f>6&&(v[6]=u),f>7&&(v[7]=l),f>8&&(v[8]=c),f>9&&(v[9]=p);break;case 64:v={},f>0&&(v[h[0].name]=n),f>1&&(v[h[1].name]=i),f>2&&(v[h[2].name]=r),f>3&&(v[h[3].name]=o),f>4&&(v[h[4].name]=s),f>5&&(v[h[5].name]=a),f>6&&(v[h[6].name]=u),f>7&&(v[h[7].name]=l),f>8&&(v[h[8].name]=c),f>9&&(v[h[9].name]=p);break;case 128:var y=n;switch(f){case 1:v=y.transform(n);break;case 2:v=y.transform(i);break;case 3:v=y.transform(i,r);break;case 4:v=y.transform(i,r,o);break;case 5:v=y.transform(i,r,o,s);break;case 6:v=y.transform(i,r,o,s,a);break;case 7:v=y.transform(i,r,o,s,a,u);break;case 8:v=y.transform(i,r,o,s,a,u,l);break;case 9:v=y.transform(i,r,o,s,a,u,l,c);break;case 10:v=y.transform(i,r,o,s,a,u,l,c,p)}}_.value=v}return d}(t,e,n,i,r,o,s,a,u,l,c,p);default:throw"unreachable"}}(t,e,i,r,o,s,a,u,l,c,p,h):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var i=!1,r=0;r0&&Et(t,e,0,n);h>1&&Et(t,e,1,i);h>2&&Et(t,e,2,r);h>3&&Et(t,e,3,o);h>4&&Et(t,e,4,s);h>5&&Et(t,e,5,a);h>6&&Et(t,e,6,u);h>7&&Et(t,e,7,l);h>8&&Et(t,e,8,c);h>9&&Et(t,e,9,p)}(t,e,i,r,o,s,a,u,l,c,p,h):function(t,e,n){for(var i=0;i=this._providers.length)throw function(t){return Error("Index "+t+" is out-of-bounds.")}(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function(t,e){return b(t,e,function(t){return"Cannot instantiate cyclic dependency!"+m(t)})}(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+u(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}(),jr=function(){function t(t,e,n,i,r,o){var a=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Z(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new Zn.Observable(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),l=new Zn.Observable(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){mr.assertNotInAngularZone(),s(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){mr.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(Gn.merge)(u,Xn.share.call(l))}return t.prototype.bootstrap=function(t,e){var n=this;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.");var i;i=t instanceof ar?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);var r=i instanceof hr?null:this._injector.get(dr),o=i.create(mi.NULL,[],e||i.selector,r);o.onDestroy(function(){n._unloadComponent(o)});var s=o.injector.get(Cr,null);return s&&o.injector.get(Or).registerApplication(o.location.nativeElement,s),this._loadComponent(o),Z()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,yr(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;K(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t);this._injector.get(nr,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),K(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=vr("ApplicationRef#tick()"),t}(),Ar=function(){return function(){}}(),Ir=function(){return function(){}}(),Dr=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),Mr=function(){return function(){}}(),Rr=function(){return function(t){this.nativeElement=t}}(),Nr=function(){function t(){this.dirty=!0,this._results=[],this.changes=new gr,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[o()]=function(){return this._results[o()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=Q(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),Vr=function(){return function(){}}(),Lr=function(){return function(){}}(),Br=function(){return function(){}}(),Fr=function(){return function(t,e){this.name=t,this.callback=e}}(),zr=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Hr?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Hr=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.properties={},r.attributes={},r.classes={},r.styles={},r.childNodes=[],r.nativeElement=e,r}return Object(Wn.__extends)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,i=this.childNodes.indexOf(t);-1!==i&&((r=this.childNodes).splice.apply(r,[i+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var r},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return J(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return tt(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(zr),Ur=new Map,Yr=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),qr=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),Wr=function(){function t(){}return t.prototype.supports=function(t){return rt(t)},t.prototype.create=function(t){return new Gr(t)},t}(),Zr=function(t,e){return e},Gr=function(){function t(t){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=t||Zr}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,i=0,r=null;e||n;){var o=!n||e&&e.currentIndex=0;t--){var e=oe(this._data,t);po.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new To(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i},t.prototype.createComponent=function(t,e,n,i,r){var o=n||this.parentInjector;r||t instanceof hr||(r=o.get(dr));var s=t.create(o,i,void 0,r);return this.insert(s.hostView,e),s},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t;return re(this._view,this._data,e,n._view),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return function(t,e,n){var i=t.viewContainer._embeddedViews,r=i[e];le(i,e),null==n&&(n=i.length),ue(i,n,r),po.dirtyParentQueries(r),ae(r),se(t,n>0?i[n-1]:null,r)}(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=oe(this._data,t);e&&po.destroyView(e)},t.prototype.detach=function(t){var e=oe(this._data,t);return e?new To(e):null},t}(),To=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return function(t){var e=[];return Ft(t,0,void 0,void 0,e),e}(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){xt(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{po.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){po.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),po.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,ae(this._view),po.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),ko=function(t){function e(e,n){var i=t.call(this)||this;return i._parentView=e,i._def=n,i}return Object(Wn.__extends)(e,t),e.prototype.createEmbeddedView=function(t){return new To(po.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Rr(dt(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Vr),Po=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=mi.THROW_IF_NOT_FOUND);return po.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:bt(t)},e)},t}(),jo=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=qt(e),i=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,i),i},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function r(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s}function o(t){return this instanceof o?(this.v=t,this):new o(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.__extends=function(t,e){function n(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},n.d(e,"__assign",function(){return a}),e.__rest=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s},e.__param=function(t,e){return function(n,i){e(n,i,t)}},e.__metadata=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},e.__awaiter=function(t,e,n,i){return new(n||(n=Promise))(function(r,o){function s(t){try{u(i.next(t))}catch(t){o(t)}}function a(t){try{u(i.throw(t))}catch(t){o(t)}}function u(t){t.done?r(t.value):new n(function(e){e(t.value)}).then(s,a)}u((i=i.apply(t,e||[])).next())})},e.__generator=function(t,e){function n(n){return function(s){return function(n){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,r&&(o=2&n[0]?r.return:n[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,n[1])).done)return o;switch(r=0,o&&(n=[2&n[0],o.value]),n[0]){case 0:case 1:o=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===n[0]||2===n[0])){a=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]1||r(t,e)})})}function r(t,e){try{!function(t){t.value instanceof o?Promise.resolve(t.value.v).then(s,a):u(p[0][2],t)}(c[t](e))}catch(t){u(p[0][3],t)}}function s(t){r("next",t)}function a(t){r("throw",t)}function u(t,e){t(e),p.shift(),p.length&&r(p[0][0],p[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l,c=n.apply(t,e||[]),p=[];return l={},i("next"),i("throw"),i("return"),l[Symbol.asyncIterator]=function(){return this},l},e.__asyncDelegator=function(t){function e(e,r){n[e]=t[e]?function(n){return(i=!i)?{value:o(t[e](n)),done:"return"===e}:r?r(n):n}:r}var n,i;return n={},e("next"),e("throw",function(t){throw t}),e("return"),n[Symbol.iterator]=function(){return this},n},e.__asyncValues=function(t){function e(e){n[e]=t[e]&&function(n){return new Promise(function(i,r){!function(t,e,n,i){Promise.resolve(i).then(function(e){t({value:e,done:n})},e)}(i,r,(n=t[e](n)).done,n.value)})}}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,r=t[Symbol.asyncIterator];return r?r.call(t):(t=i(t),n={},e("next"),e("throw"),e("return"),n[Symbol.asyncIterator]=function(){return this},n)},e.__makeTemplateObject=function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},e.__importStar=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e},e.__importDefault=function(t){return t&&t.__esModule?t:{default:t}};var s=function(t,e){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},a=function(){return(a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n=1;i--){var r=arguments[i];if(r)for(var o in r)r.hasOwnProperty(o)&&!t.hasOwnProperty(o)&&(t[o]=r[o])}return t},e.n=i,e.j=r,e.i=function(t){return"function"==typeof t},e.h=function(t){return void 0!==t},e.p=function(t){return void 0===t},e.l=function(t){return void 0!==t&&null!==t},e.f=function(t){return void 0===t||null===t},e.k=function(t){return"object"==typeof t},e.e=function(t){return Array.isArray(t)},e.o=function(t){return"string"==typeof t?"true"===(t=t.toLowerCase().trim())||"on"===t||""===t:!!t},e.g=function(t,e){return void 0===t||null===t||""===t?void 0===e||null===e||""===e:!0===t||"true"===t?!0===e||"true"===e:!1===t||"false"===t?!1===e||"false"===e:0===t||"0"===t?0===e||"0"===e:t==e},e.m=function(t,e,n){switch(void 0===n&&(n=!1),t){case"right":return!0;case"left":return!1;case"end":return!e;case"start":return e;default:return n?!e:e}},e.r=function(t,e){var n=t[e.from];return t.splice(e.from,1),t.splice(e.to,0,n),t},e.q=function(t,e){var n=t.indexOf(e);return!!~n&&!!t.splice(n,1)},e.t=function(t,e,n){return!e&&n||t&&e},e.s=function(t){return"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,500)}},function(t,e,n){"use strict";var i=n(0),r=n(17),o=function(){function t(){this.data={}}return t.prototype.parseUrl=function(t){if(t){var e=t.indexOf("?");if(e>-1)for(var n=t.slice(e+1).split("&"),i=0;i0){var r=n[i].split("=");r.length>1&&(this.data[r[0].toLowerCase()]=r[1].split("#")[0])}}},t.prototype.get=function(t){return this.data[t.toLowerCase()]},t}(),s=n(3);n.d(e,"a",function(){return a}),e.b=function(t,e,n){var i=new a;i.setDefault("core"),i.setPlatformConfigs(e),i.setZone(n);var r=t.documentElement;i.setDocument(t);var o=r.dir;i.setDir("rtl"===o?"rtl":"ltr",!o),i.setLang(r.lang,!1),i.setCssProps(r);var s=t.defaultView;return i.setWindow(s),i.setNavigatorPlatform(s.navigator.platform),i.setUserAgent(s.navigator.userAgent),i.setQueryParams(s.location.href),i.init(),s.Ionic=s.Ionic||{},s.Ionic.platform=i,i};var a=function(){function t(){var t=this;this._versions={},this._qp=new o,this._bbActions=[],this._pW=0,this._pH=0,this._lW=0,this._lH=0,this._isPortrait=null,this._uiEvtOpts=!1,this._platforms=[],this.backButton=new i.l,this.pause=new i.l,this.resume=new i.l,this.resize=new i.l,this._readyPromise=new Promise(function(e){t._readyResolve=e}),this.backButton.subscribe(function(){t.runBackButtonAction()})}return t.prototype.setWindow=function(t){this._win=t},t.prototype.win=function(){return this._win},t.prototype.setDocument=function(t){this._doc=t},t.prototype.doc=function(){return this._doc},t.prototype.setZone=function(t){this.zone=t},t.prototype.setCssProps=function(t){this.Css=Object(r.c)(t)},t.prototype.is=function(t){return this._platforms.indexOf(t)>-1},t.prototype.platforms=function(){return this._platforms},t.prototype.versions=function(){return this._versions},t.prototype.version=function(){for(var t in this._versions)if(this._versions[t])return this._versions[t];return{}},t.prototype.ready=function(){return this._readyPromise},t.prototype.triggerReady=function(t){var e=this;this.zone.run(function(){e._readyResolve(t)})},t.prototype.prepareReady=function(){function t(){e._doc.removeEventListener("DOMContentLoaded",t,!1),e._win.removeEventListener("load",t,!1),e.triggerReady("dom")}var e=this;"complete"===e._doc.readyState||"interactive"===e._doc.readyState?e.triggerReady("dom"):(e._doc.addEventListener("DOMContentLoaded",t,!1),e._win.addEventListener("load",t,!1))},t.prototype.setDir=function(t,e){this._dir=t,this.isRTL="rtl"===t,!1!==e&&this._doc.documentElement.setAttribute("dir",t)},t.prototype.dir=function(){return this._dir},t.prototype.setLang=function(t,e){this._lang=t,!1!==e&&this._doc.documentElement.setAttribute("lang",t)},t.prototype.lang=function(){return this._lang},t.prototype.exitApp=function(){},t.prototype.registerBackButtonAction=function(t,e){var n=this;void 0===e&&(e=0);var i={fn:t,priority:e};return this._bbActions.push(i),function(){Object(s.q)(n._bbActions,i)}},t.prototype.runBackButtonAction=function(){var t=null;this._bbActions.forEach(function(e){(!t||e.priority>=t.priority)&&(t=e)}),t&&t.fn&&t.fn()},t.prototype.setUserAgent=function(t){this._ua=t},t.prototype.setQueryParams=function(t){this._qp.parseUrl(t)},t.prototype.getQueryParam=function(t){return this._qp.get(t)},t.prototype.url=function(){return this._win.location.href},t.prototype.userAgent=function(){return this._ua||""},t.prototype.setNavigatorPlatform=function(t){this._nPlt=t},t.prototype.navigatorPlatform=function(){return this._nPlt||""},t.prototype.width=function(){return this._calcDim(),this._isPortrait?this._pW:this._lW},t.prototype.height=function(){return this._calcDim(),this._isPortrait?this._pH:this._lH},t.prototype.getElementComputedStyle=function(t,e){return this._win.getComputedStyle(t,e)},t.prototype.getElementFromPoint=function(t,e){return this._doc.elementFromPoint(t,e)},t.prototype.getElementBoundingClientRect=function(t){return t.getBoundingClientRect()},t.prototype.isPortrait=function(){return this._calcDim(),this._isPortrait},t.prototype.isLandscape=function(){return!this.isPortrait()},t.prototype._calcDim=function(){if(null===this._isPortrait||!1===this._isPortrait&&this._win.innerWidth0&&t.screen.height>0&&(e-1},t.prototype.testNavigatorPlatform=function(t){return new RegExp(t,"i").test(this._nPlt)},t.prototype.matchUserAgentVersion=function(t){if(this._ua&&t){var e=this._ua.match(t);if(e)return{major:e[1],minor:e[2]}}},t.prototype.testUserAgent=function(t){return!!this._ua&&this._ua.indexOf(t)>=0},t.prototype.isPlatformMatch=function(t,e,n){void 0===n&&(n=[]);var i=this._qp.get("ionicplatform");if(i)return this.testQuery(i,t);e=e||[t];for(var r=this._ua.toLowerCase(),o=0;o-1){for(var s=0;s-1)return!1;return!0}return!1},t.prototype.init=function(){this._initEvents();var t,e,n;for(var i in this._registry)(n=this.matchPlatform(i))&&(n.isEngine?e=n:(!t||n.depth>t.depth)&&(t=n));if(t||(t=new u(this._registry,this._default)),t){e&&(e.child=t,t.parent=e,t=e);for(var r=t;r;)!function(t,e){var n=e.superset();if(n){var i=new u(t,n);i.parent=e.parent,i.child=e,i.parent&&(i.parent.child=i),e.parent=i}}(this._registry,r),r=r.child;for(r=t.parent;r;)t=r,r=r.parent;for(r=t;r;){if(r.initialize(this),"iphone"===r.name&&"iPad"===this.navigatorPlatform())return this._platforms.push("tablet"),void this._platforms.push("ipad");this._platforms.push(r.name),this._versions[r.name]=r.version(this),r=r.child}}this._platforms.indexOf("mobile")>-1&&-1===this._platforms.indexOf("cordova")&&this._platforms.push("mobileweb")},t.prototype.matchPlatform=function(t){var e=new u(this._registry,t).getRoot(this);if(e){e.depth=0;for(var n=e.child;n;)e.depth++,n=n.child}return e},t}(),u=function(){function t(t,e){this.registry=t,this.c=t[e],this.name=e,this.isEngine=this.c.isEngine}return t.prototype.settings=function(){return this.c.settings||{}},t.prototype.superset=function(){return this.c.superset},t.prototype.isMatch=function(t){return this.c.isMatch&&this.c.isMatch(t)||!1},t.prototype.initialize=function(t){this.c.initialize&&this.c.initialize(t)},t.prototype.version=function(t){if(this.c.versionParser){var e=this.c.versionParser(t);if(e){var n=e.major+"."+e.minor;return{str:n,num:parseFloat(n),major:parseInt(e.major,10),minor:parseInt(e.minor,10)}}}},t.prototype.getRoot=function(e){if(this.isMatch(e)){var n=this.getSubsetParents(this.name);if(!n.length)return this;for(var i=null,r=null,o=0;o-1&&e.push(i);return e},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),e.b=function(t){return!!(t&&t._didLoad&&t._willUnload)};var i=n(0),r=n(3),o=n(36),s=n(11),a=function(){function t(t,e,n){void 0===n&&(n=u),this.component=t,this._isHidden=!1,this._state=o.h,this.willEnter=new i.l,this.didEnter=new i.l,this.willLeave=new i.l,this.didLeave=new i.l,this.willUnload=new i.l,this.readReady=new i.l,this.writeReady=new i.l,this.isOverlay=!1,this._emitter=new i.l,this.data=e instanceof s.a?e.data:Object(r.l)(e)?e:{},this._cssClass=n,this._ts=Date.now(),window.addEventListener("orientationchange",this.handleOrientationChange.bind(this))}return t.prototype.handleOrientationChange=function(){this.getContent()&&this.getContent().resize()},t.prototype.init=function(t){this._ts=Date.now(),this._cmp=t,this.instance=this.instance||t.instance,this._detached=!1},t.prototype._setNav=function(t){this._nav=t},t.prototype._setInstance=function(t){this.instance=t},t.prototype.subscribe=function(t){return this._emitter.subscribe(t)},t.prototype.emit=function(t){this._emitter.emit(t)},t.prototype.onDidDismiss=function(t){this._onDidDismiss=t},t.prototype.onWillDismiss=function(t){this._onWillDismiss=t},t.prototype.dismiss=function(t,e,n){if(void 0===n&&(n={}),!this._nav)return Promise.resolve(!1);this.isOverlay&&!n.minClickBlockDuration&&(n.minClickBlockDuration=400),this._dismissData=t,this._dismissRole=e;var i=Object.assign({},this._leavingOpts,n);return this._nav.removeView(this,i).then(function(){return t})},t.prototype.getNav=function(){return this._nav},t.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("pageTransition")},t.prototype.getNavParams=function(){return new s.a(this.data)},t.prototype.setLeavingOpts=function(t){this._leavingOpts=t},t.prototype.enableBack=function(){if(!this._nav)return!1;return!!this._nav.getPrevious(this)},Object.defineProperty(t.prototype,"name",{get:function(){return this.component?this.component.name:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this._nav?this._nav.indexOf(this):-1},enumerable:!0,configurable:!0}),t.prototype.isFirst=function(){return!!this._nav&&this._nav.first()===this},t.prototype.isLast=function(){return!!this._nav&&this._nav.last()===this},t.prototype._domShow=function(t,e){if(this._cmp&&t===this._isHidden){this._isHidden=!t;var n=t?null:"";e.setElementAttribute(this.pageRef().nativeElement,"hidden",n)}},t.prototype.getZIndex=function(){return this._zIndex},t.prototype._setZIndex=function(t,e){if(t!==this._zIndex){this._zIndex=t;var n=this.pageRef();n&&e.setElementStyle(n.nativeElement,"z-index",t)}},t.prototype.pageRef=function(){return this._cmp&&this._cmp.location},t.prototype._setContent=function(t){this._cntDir=t},t.prototype.getContent=function(){return this._cntDir},t.prototype._setContentRef=function(t){this._cntRef=t},t.prototype.contentRef=function(){return this._cntRef},t.prototype._setIONContent=function(t){this._setContent(t),this._ionCntDir=t},t.prototype.getIONContent=function(){return this._ionCntDir},t.prototype._setIONContentRef=function(t){this._setContentRef(t),this._ionCntRef=t},t.prototype.getIONContentRef=function(){return this._ionCntRef},t.prototype._setHeader=function(t){this._hdrDir=t},t.prototype.getHeader=function(){return this._hdrDir},t.prototype._setFooter=function(t){this._ftrDir=t},t.prototype.getFooter=function(){return this._ftrDir},t.prototype._setNavbar=function(t){this._nb=t},t.prototype.getNavbar=function(){return this._nb},t.prototype.hasNavbar=function(){return!!this._nb},t.prototype.setBackButtonText=function(t){this._nb&&this._nb.setBackButtonText(t)},t.prototype.showBackButton=function(t){this._nb&&(this._nb.hideBackButton=!t)},t.prototype._preLoad=function(){this._lifecycle("PreLoad")},t.prototype._willLoad=function(){this._lifecycle("WillLoad")},t.prototype._didLoad=function(){this._lifecycle("DidLoad")},t.prototype._willEnter=function(){this.handleOrientationChange(),this._detached&&this._cmp&&(this._cmp.changeDetectorRef.reattach(),this._detached=!1),this.willEnter.emit(null),this._lifecycle("WillEnter")},t.prototype._didEnter=function(){this._nb&&this._nb.didEnter(),this.didEnter.emit(null),this._lifecycle("DidEnter")},t.prototype._willLeave=function(t){this.willLeave.emit(null),this._lifecycle("WillLeave"),t&&this._onWillDismiss&&(this._onWillDismiss(this._dismissData,this._dismissRole),this._onWillDismiss=null)},t.prototype._didLeave=function(){this.didLeave.emit(null),this._lifecycle("DidLeave"),!this._detached&&this._cmp&&(this._cmp.changeDetectorRef.detach(),this._detached=!0)},t.prototype._willUnload=function(){this.willUnload.emit(null),this._lifecycle("WillUnload"),this._onDidDismiss&&this._onDidDismiss(this._dismissData,this._dismissRole),this._onDidDismiss=null,this._dismissData=null,this._dismissRole=null},t.prototype._destroy=function(t){if(this._cmp){if(t){var e=this._cmp.location.nativeElement;t.setElementAttribute(e,"class",null),t.setElementAttribute(e,"style",null)}window.removeEventListener("orientationchange",this.handleOrientationChange.bind(this)),this._cmp.destroy()}this._nav=this._cmp=this.instance=this._cntDir=this._cntRef=this._leavingOpts=this._hdrDir=this._ftrDir=this._nb=this._onDidDismiss=this._onWillDismiss=null,this._state=o.f},t.prototype._lifecycleTest=function(t){var e=this.instance,n="ionViewCan"+t;if(e&&e[n])try{var i=e[n]();return i instanceof Promise?i:Promise.resolve(!1!==i)}catch(t){return Promise.reject(this.name+" "+n+" error: "+t.message)}return Promise.resolve(!0)},t.prototype._lifecycle=function(t){var e=this.instance,n="ionView"+t;e&&e[n]&&e[n]()},t}(),u="ion-page"},function(t,e,n){"use strict";function i(t,e){if(t.id===e||t.name===e)return t;for(var n=0,r=t.getAllChildNavs();n1||t._isPortal&&e>0?t:r(t.parent)}function o(t){var e=[],n=t.getActiveChildNavs();return n&&n.length?n.forEach(function(t){var n=o(t);e=e.concat(n)}):e.push(t),e}var s=n(0),a=n(42),u=n(58),l=(n(1),n(36)),c=(n(37),n(4),n(21)),p=n(3),h=n(49),d=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),f="opacity",_="translateX",v="show-back-button",y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.plt,n=e.isRTL?"-99.5%":"99.5%",i=e.isRTL?"33%":"-33%",r=this.enteringView,o=this.leavingView,s=this.opts;this.duration(Object(p.l)(s.duration)?s.duration:500),this.easing(Object(p.l)(s.easing)?s.easing:"cubic-bezier(0.36,0.66,0.04,1)");var a="back"===s.direction,u=r&&r.hasNavbar(),l=o&&o.hasNavbar();if(r){var h=r.pageRef().nativeElement,d=new c.a(e,r.contentRef());if(d.element(h.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(d),a?d.fromTo(_,i,"0%",!0).fromTo(f,.8,1,!0):d.beforeClearStyles([f]).fromTo(_,n,"0%",!0),u){var y=h.querySelector("ion-navbar"),g=new c.a(e,y);this.add(g);var m=new c.a(e,y.querySelector("ion-title")),b=new c.a(e,y.querySelectorAll("ion-buttons,[menuToggle]")),w=new c.a(e,y.querySelector(".toolbar-background")),C=new c.a(e,y.querySelector(".back-button"));if(g.add(m).add(b).add(w).add(C),m.fromTo(f,.01,1,!0),b.fromTo(f,.01,1,!0),a)m.fromTo(_,i,"0%",!0),r.enableBack()&&C.beforeAddClass(v).fromTo(f,.01,1,!0);else if(m.fromTo(_,n,"0%",!0),w.beforeClearStyles([f]).fromTo(_,n,"0%",!0),r.enableBack()){C.beforeAddClass(v).fromTo(f,.01,1,!0);var O=new c.a(e,y.querySelector(".back-button-text"));O.fromTo(_,e.isRTL?"-100px":"100px","0px"),g.add(O)}else C.beforeRemoveClass(v)}}if(o&&o.pageRef()){var S=o.pageRef().nativeElement,E=new c.a(e,o.contentRef());if(E.element(S.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(E),a?E.beforeClearStyles([f]).fromTo(_,"0%",e.isRTL?"-100%":"100%"):E.fromTo(_,"0%",i).fromTo(f,1,.8).afterClearStyles(["transform",f]),l){var x=S.querySelector("ion-navbar"),T=new c.a(e,x),k=new c.a(e,x.querySelector("ion-title")),P=new c.a(e,x.querySelectorAll("ion-buttons,[menuToggle]")),j=new c.a(e,x.querySelector(".toolbar-background")),A=new c.a(e,x.querySelector(".back-button"));if(T.add(k).add(P).add(A).add(j),this.add(T),A.fromTo(f,.99,0),k.fromTo(f,.99,0),P.fromTo(f,.99,0),a){k.fromTo(_,"0%",e.isRTL?"-100%":"100%"),j.beforeClearStyles([f]).fromTo(_,"0%",e.isRTL?"-100%":"100%");var I=new c.a(e,x.querySelector(".back-button-text"));I.fromTo(_,"0%",(e.isRTL?-300:300)+"px"),T.add(I)}else k.fromTo(_,"0%",i).afterClearStyles(["transform"]),A.afterClearStyles([f]),k.afterClearStyles([f]),P.afterClearStyles([f])}}},e}(h.a),g=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return g(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.plt,n=this.enteringView,i=this.leavingView,r=this.opts,o="back"===r.direction;if(n&&(o?this.duration(Object(p.l)(r.duration)?r.duration:200).easing("cubic-bezier(0.47,0,0.745,0.715)"):(this.duration(Object(p.l)(r.duration)?r.duration:280).easing("cubic-bezier(0.36,0.66,0.04,1)"),this.enteringPage.fromTo("translateY","40px","0px",!0).fromTo("opacity",.01,1,!0)),n.hasNavbar())){var s=n.pageRef().nativeElement.querySelector("ion-navbar"),a=new c.a(e,s);this.add(a);var u=new c.a(e,s.querySelector(".back-button"));this.add(u),n.enableBack()?u.beforeAddClass("show-back-button"):u.beforeRemoveClass("show-back-button")}if(i&&o){this.duration(r.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var l=new c.a(e,i.pageRef());this.add(l.fromTo("translateY","0px","40px").fromTo("opacity",1,0))}},e}(h.a),b=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return b(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.plt,n=this.enteringView,i=this.leavingView,r=this.opts,o="back"===r.direction;if(n&&(o?(this.duration(Object(p.l)(r.duration)?r.duration:120).easing("cubic-bezier(0.47,0,0.745,0.715)"),this.enteringPage.beforeClearStyles(["scale"])):(this.duration(Object(p.l)(r.duration)?r.duration:280).easing("cubic-bezier(0,0,0.05,1)"),this.enteringPage.fromTo("scale",.95,1,!0).fromTo("opacity",.01,1,!0)),n.hasNavbar())){var s=n.pageRef().nativeElement.querySelector("ion-navbar"),a=new c.a(e,s);this.add(a);var u=new c.a(e,s.querySelector(".back-button"));this.add(u),n.enableBack()?u.beforeAddClass("show-back-button"):u.beforeRemoveClass("show-back-button")}if(i&&o){this.duration(r.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var l=new c.a(e,i.pageRef());this.add(l.fromTo("scale",1,.95).fromTo("opacity",.99,0))}},e}(h.a);n.d(e,"a",function(){return C});var C=function(){function t(t,e,n){this._config=t,this._plt=e,this._menuCtrl=n,this._disTime=0,this._scrollTime=0,this._title="",this._titleSrv=new a.i(a.b),this._rootNavs=new Map,this._didScroll=!1,this.viewDidLoad=new s.l,this.viewWillEnter=new s.l,this.viewDidEnter=new s.l,this.viewWillLeave=new s.l,this.viewDidLeave=new s.l,this.viewWillUnload=new s.l,e.registerBackButtonAction(this.goBack.bind(this)),this._disableScrollAssist=t.getBoolean("disableScrollAssist",!1);t.getBoolean("inputBlurring",!1)&&this._enableInputBlurring(),t.setTransition("ios-transition",y),t.setTransition("md-transition",m),t.setTransition("wp-transition",w)}return t.prototype.setTitle=function(t){t!==this._title&&(this._title=t,this._titleSrv.setTitle(t))},t.prototype.setElementClass=function(t,e){this._appRoot.setElementClass(t,e)},t.prototype.setEnabled=function(t,e,n){void 0===e&&(e=700),void 0===n&&(n=0),this._disTime=t?0:Date.now()+e,this._clickBlock&&(t?this._clickBlock.activate(!1,E,n):this._clickBlock.activate(!0,e+E,n))},t.prototype._setDisableScroll=function(t){this._disableScrollAssist&&this._appRoot._disableScroll(t)},t.prototype.isEnabled=function(){var t=this._disTime;return 0===t||t0)return o(e);if(!this._rootNavs||!this._rootNavs.size)return[];if(1===this._rootNavs.size)return o(this._rootNavs.values().next().value);if(t)return o(this._rootNavs.get(t));var n=[];return this._rootNavs.forEach(function(t){var e=o(t);n=n.concat(e)}),n},t.prototype.getRootNav=function(){console.warn("(getRootNav) is deprecated and will be removed in the next major release. Use getRootNavById instead.");var t=this.getRootNavs();return 0===t.length?null:(t.length>1&&console.warn("(getRootNav) there are multiple root navs, use getRootNavs instead"),t[0])},t.prototype.getRootNavs=function(){var t=[];return this._rootNavs.forEach(function(e){return t.push(e)}),t},t.prototype.getRootNavById=function(t){return this._rootNavs.get(t)},t.prototype.registerRootNav=function(t){this._rootNavs.set(t.id,t)},t.prototype.unregisterRootNav=function(t){this._rootNavs.delete(t.id)},t.prototype.getActiveNavContainers=function(){var t=[];return this._rootNavs.forEach(function(e){t=t.concat(o(e))}),t},t.prototype.present=function(t,e,n){var i=this._appRoot._getPortal(n);return t._setNav(i),e.direction=l.b,e.animation||(e.animation=t.getTransitionName(l.b)),t.setLeavingOpts({keyboardClose:e.keyboardClose,direction:l.a,animation:t.getTransitionName(l.a),ev:e.ev}),i.insertPages(-1,[t],e)},t.prototype.goBack=function(){if(this._menuCtrl&&this._menuCtrl.isOpen())return this._menuCtrl.close();var t=this.navPop();return t||this._config.getBoolean("navExitApp",!0)&&this._plt.exitApp(),t},t.prototype.navPop=function(){var t=this;if(!this._rootNavs||0===this._rootNavs.size||!this.isEnabled())return Promise.resolve();if(this._appRoot._getPortal(u.a).length()>0)return Promise.resolve();var e=null,n=null;return this._rootNavs.forEach(function(i){t.getActiveNavs(i.id).map(function(t){return r(t)}).filter(function(t){return!!t}).forEach(function(t){var i=t.last();(t._isPortal||i&&t.length()>1&&(!n||i._ts>=n._ts))&&(n=i,e=t)})}),e?e.pop():void 0},t.prototype._enableInputBlurring=function(){var t=!0,e=this,n=this._plt;n.registerListener(n.doc(),"focusin",function(){t=!0},{capture:!0,zone:!1,passive:!0}),n.registerListener(n.doc(),"touchend",function(i){if(e._didScroll)e._didScroll=!1;else{var r=e._plt.getActiveElement();if(r&&-1!==O.indexOf(r.tagName)){var o=i.target;o!==r&&(O.indexOf(o.tagName)>=0||o.classList.contains("input-cover")||(t=!1,n.timeout(function(){t||r.blur()},50)))}}},{capture:!1,zone:!1,passive:!0})},t.prototype.getNavByIdOrName=function(t){for(var e=0,n=Array.from(this._rootNavs.values());e0},t.prototype.isDisabled=function(t){var e=this.disabledGestures[t];return!!(e&&e.size>0)},t}(),_=function(){function t(t,e,n,i,r){this.name=t,this.id=e,this.controller=n,this.priority=i,this.disableScroll=r}return t.prototype.canStart=function(){return!!this.controller&&this.controller.canStart(this.name)},t.prototype.start=function(){return!!this.controller&&this.controller.start(this.name,this.id,this.priority)},t.prototype.capture=function(){if(!this.controller)return!1;var t=this.controller.capture(this.name,this.id,this.priority);return t&&this.disableScroll&&this.controller.disableScroll(this.id),t},t.prototype.release=function(){this.controller&&(this.controller.release(this.id),this.disableScroll&&this.controller.enableScroll(this.id))},t.prototype.destroy=function(){this.release(),this.controller=null},t}(),v=function(){function t(t,e,n,i){this.id=t,this.controller=e,this.disable=n,this.disableScroll=i,this.blocked=!1}return t.prototype.block=function(){var t=this;this.controller&&(this.disable&&this.disable.forEach(function(e){t.controller.disableGesture(e,t.id)}),this.disableScroll&&this.controller.disableScroll(this.id),this.blocked=!0)},t.prototype.unblock=function(){var t=this;this.controller&&(this.disable&&this.disable.forEach(function(e){t.controller.enableGesture(e,t.id)}),this.disableScroll&&this.controller.enableScroll(this.id),this.blocked=!1)},t.prototype.destroy=function(){this.unblock(),this.controller=null},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e,n,i){this._config=t,this._elementRef=e,this._renderer=n,this._componentName=i,i&&(this._setComponentName(),this._setMode(t.get("mode")))}return Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._setColor(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},set:function(t){this._setMode(t)},enumerable:!0,configurable:!0}),t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.setElementAttribute=function(t,e){this._renderer.setElementAttribute(this._elementRef.nativeElement,t,e)},t.prototype.setElementStyle=function(t,e){this._renderer.setElementStyle(this._elementRef.nativeElement,t,e)},t.prototype._setColor=function(t,e){e&&(this._componentName=e),this._color&&this.setElementClass(this._componentName+"-"+this._mode+"-"+this._color,!1),t&&(this.setElementClass(this._componentName+"-"+this._mode+"-"+t,!0),this._color=t)},t.prototype._setMode=function(t){this._mode&&this.setElementClass(this._componentName+"-"+this._mode,!1),t&&(this.setElementClass(this._componentName+"-"+t,!0),this._setColor(null),this._mode=t,this._setColor(this._color))},t.prototype._setComponentName=function(){this.setElementClass(this._componentName,!0)},t.prototype.getElementRef=function(){return this._elementRef},t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t}()},function(t,e,n){"use strict";function i(t){return t.replace(/\/index.html$/,"")}function r(t){var e=t.toLowerCase().replace(/_/g,"-"),n=_[e];if(n)return n;var i=e.split("-")[0];if(n=_[i])return n;if("en"===i)return f;throw new Error('Missing locale data for the locale "'+t+'".')}function o(t,e){e=encodeURIComponent(e);for(var n=0,i=t.split(";");n0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=p.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+p.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+p.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(l),d=function(t){function e(e,n){var i=t.call(this)||this;if(i._platformLocation=e,null==n&&(n=i._platformLocation.getBaseHrefFromDOM()),null==n)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.");return i._baseHref=n,i}return Object(a.__extends)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return p.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+p.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+p.normalizeQueryParams(i));this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+p.normalizeQueryParams(i));this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(l),f=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["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"]],,[["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"]],,[["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}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],_={},v=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),y=new s.n("UseV4Plurals"),g=function(){return function(){}}(),m=function(t){function e(e,n){var i=t.call(this)||this;return i.locale=e,i.deprecatedPluralFn=n,i}return Object(a.__extends)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return r(t)[17]}(e||this.locale)(t)){case v.Zero:return"zero";case v.One:return"one";case v.Two:return"two";case v.Few:return"few";case v.Many:return"many";default:return"other"}},e}(g),b=function(){function t(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(s._3)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(s._17)(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t}(),w=function(){function t(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),C=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(s.P)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+function(t){return t.name||typeof t}(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,i,r){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new w(null,e.ngForOf,-1,-1),r),s=new O(t,o);n.push(s)}else if(null==r)e._viewContainer.remove(i);else{o=e._viewContainer.get(i);e._viewContainer.move(o,r);s=new O(t,o);n.push(s)}});for(var i=0;i1&&"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),t}n.d(e,"a",function(){return u}),e.b=function(t,e,n,i,r){var o=new u(t,e,n,i,r);return o.init(),o};var r=n(36),o=n(3),s=n(59),a=n(5),u=function(){function t(t,e,n,i,r){this._app=t,this._serializer=e,this._location=n,this._moduleLoader=i,this._baseCfr=r,this._history=[]}return t.prototype.init=function(){var t=this,e=i(this._location.path());this._historyPush(e),this._location.subscribe(function(e){t._urlChange(i(e.url))})},t.prototype._urlChange=function(t){var e=this;if(!this._isCurrentUrl(t)){this._isBackUrl(t)?this._historyPop():(!1,this._historyPush(t));var n=this._app.getActiveNavContainers();if(n&&n.length){if("/"===t){if(!Object(o.l)(this._indexAliasUrl))return void n.forEach(function(t){t.goToRoot({updateUrl:!1,isNavRoot:!0})});t=this._indexAliasUrl}this.getCurrentSegments(t).map(function(t){for(var e=0,i=n;e30&&this._history.shift())},t.prototype._historyPop=function(){this._history.pop(),this._history.length||this._historyPush(this._location.path())},t.prototype._getTabSelector=function(t){return Object(o.l)(t.tabUrlPath)?t.tabUrlPath:Object(o.l)(t.tabTitle)?Object(s.c)(t.tabTitle):"tab-"+t.index},t.prototype._loadViewForSegment=function(t,e,n){if(!e)return n(!1,!1);if(Object(r.m)(t)||Object(r.l)(t)&&t.parent){var i=Object(r.m)(t)?t:t.parent,o=i._getSelectedTabIndex(e.secondaryId),s=i.getByIndex(o);return s._segment=e,i.select(s,{updateUrl:!1,animate:!1},!0),n(!1,!1)}for(var a=t,u=a.length()-1,l=u;l>=0;l--){var c=a.getByIndex(l);if(c&&(c.id===e.id||c.id===e.name))return l===u?n(!1,!1):a.popTo(c,{animate:!1,updateUrl:!1},n)}return a.setRoot(e.component||e.name,e.data,{id:e.id,animate:!1,updateUrl:!1},n)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(3),r=function(){function t(){this._focused=null,this._ids=-1,this._inputs=[]}return t.prototype.register=function(t){this._inputs.push(t)},t.prototype.deregister=function(t){Object(i.q)(this._inputs,t),this.unsetAsFocused(t)},t.prototype.setAsFocused=function(t){this._focused=t},t.prototype.unsetAsFocused=function(t){t===this._focused&&(this._focused=null)},t.prototype.tabFocus=function(t){var e=this._inputs,n=e.indexOf(t)+1;if(n>0&&n0){var r=e[n-1];r&&r.initFocus()}},t.prototype.nextId=function(){return++this._ids},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(1),n(15);var i=n(9),r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e,n,i,r,o){var s=t.call(this,n,i,r,"item")||this;return s._ids=-1,s._inputs=[],s._viewLabel=!0,s._name="item",s.labelId=null,s._setName(i),s._hasReorder=!!o,s.id=e.nextId().toString(),s.labelId="lbl-"+s.id,r.orgListen||(r.orgListen=r.listen,r.listen=function(t,e,n){return"click"===e&&t.setAttribute&&t.setAttribute("tappable",""),r.orgListen(t,e,n)}),s}return r(e,t),e.prototype.registerInput=function(t){return this._inputs.push(t),this.id+"-"+ ++this._ids},e.prototype.ngAfterContentInit=function(){if(this._viewLabel&&this._inputs.length){var t=this.getLabelText().trim();this._viewLabel=t.length>0}this._inputs.length>1&&this.setElementClass("item-multiple-inputs",!0)},e.prototype._updateColor=function(t,e){this._setColor(t,e=e||"item")},e.prototype._setName=function(t){var e=t.nativeElement.nodeName.replace("ION-","");"LIST-HEADER"!==e&&"ITEM-DIVIDER"!==e||(this._name=e)},e.prototype.getLabelText=function(){return this._label?this._label.text:""},Object.defineProperty(e.prototype,"contentLabel",{set:function(t){t&&(this._label=t,t.id=this.labelId,t.type&&this.setElementClass("item-label-"+t.type,!0),this._viewLabel=!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewLabel",{set:function(t){this._label||(this._label=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_buttons",{set:function(t){t.forEach(function(t){t._size||t.setElementClass("item-button",!0)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_icons",{set:function(t){t.forEach(function(t){t.setElementClass("item-icon",!0)})},enumerable:!0,configurable:!0}),e}(i.a)},function(t,e,n){"use strict";e.c=function(t){var e,n={},i=["webkitTransform","-webkit-transform","webkit-transform","transform"];for(e=0;e-1;return n.transitionDuration=(r?"-webkit-":"")+"transition-duration",n.transitionTimingFn=(r?"-webkit-":"")+"transition-timing-function",n.transitionDelay=(r?"-webkit-":"")+"transition-delay",n.transitionEnd=(r?"webkitTransitionEnd ":"")+"transitionend",n.transformOrigin=(r?"-webkit-":"")+"transform-origin",n.animationDelay=r?"webkitAnimationDelay":"animationDelay",n},e.f=function(t){if(t){var e=t.changedTouches;if(e&&e.length>0){var n=e[0];return{x:n.clientX,y:n.clientY}}var i=t.pageX;if(void 0!==i)return{x:i,y:t.pageY}}return{x:0,y:0}},e.d=function(t,e,n){if(e&&n){var i=e.x-n.x,r=e.y-n.y;return i*i+r*r>t*t}return!1},e.e=function(t){return!!t&&("TEXTAREA"===t.tagName||"true"===t.contentEditable||"INPUT"===t.tagName&&!i.test(t.type))},n.d(e,"a",function(){return i}),e.b=function(t,e){for(var n=t.attributes,i=0;i1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function v(t){return null!=t?M.compose(t.map(a)):null}function y(t){return null!=t?M.composeAsync(t.map(u)):null}function g(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(x._6)(e,n.currentValue)}function m(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function b(t,e){if(!e)return null;Array.isArray(e)||_(t,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,r=void 0;return e.forEach(function(e){e.constructor===L?n=e:!function(t){return W.some(function(e){return t.constructor===e})}(e)?(r&&_(t,"More than one custom value accessor matches form control with"),r=e):(i&&_(t,"More than one built-in value accessor matches form control with"),i=e)}),r||(i||(n||(_(t,"No valid value accessor for form control with"),null)))}function w(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function C(t){var e=S(t)?t.validators:t;return Array.isArray(e)?v(e):e||null}function O(t,e){var n=S(e)?e.asyncValidators:t;return Array.isArray(n)?y(n):n||null}function S(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}n.d(e,"e",function(){return R}),n.d(e,"a",function(){return V}),n.d(e,"b",function(){return L}),n.d(e,"f",function(){return F}),n.d(e,"g",function(){return X}),n.d(e,"h",function(){return pt}),n.d(e,"c",function(){return ht}),n.d(e,"d",function(){return ft}),n.d(e,"i",function(){return _t}),n.d(e,"j",function(){return dt}),n.d(e,"k",function(){return z});var E=n(2),x=n(0),T=n(231),k=n(233),P=n(111),j=n(42),A=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),I=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(E.__extends)(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(A),D=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[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])?)*$/,M=function(){function t(){}return t.min=function(t){return function(e){if(i(e.value)||i(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&nt?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return i(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return D.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(i(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){if(!e)return t.nullValidator;var n,r;return"string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(i(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(r);return 0==e.length?null:function(t){return s(function(t,e){return e.map(function(e){return e(t)})}(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(r);return 0==e.length?null:function(t){var n=function(t,e){return e.map(function(e){return e(t)})}(t,e).map(o);return P.map.call(Object(T.forkJoin)(n),s)}},t}(),R=new x.n("NgValueAccessor"),N=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),V=new x.n("CompositionEventMode"),L=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){var t=Object(j.r)()?Object(j.r)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}(),B=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),F=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(E.__extends)(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return l()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return l()},enumerable:!0,configurable:!0}),e}(A),z=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t}(),H=function(){function t(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(F),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t}(),U=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),Y=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=x._6}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=c(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var i=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,o=0;o0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(Q),et=function(t){function e(e,n,i){var r=t.call(this,C(n),O(i,n))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return Object(E.__extends)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,i){n._throwIfControlMissing(i),n.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,i){n.at(i)&&n.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof J?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){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(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Q),nt=Promise.resolve(null),it=function(t){function e(e,n){var i=t.call(this)||this;return i.submitted=!1,i._directives=[],i.ngSubmit=new x.l,i.form=new tt({},v(e),y(n)),i}return Object(E.__extends)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;nt.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),h(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;nt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),w(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;nt.then(function(){var n=e._findContainer(t.path),i=new tt({});f(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;nt.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;nt.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,m(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(I),rt='\n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',ot='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',st='\n
\n
\n \n
\n
',at='\n
\n \n \n
\n ',ut=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+rt+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+at)},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+ot+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+st)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+ot+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+st)},t}(),lt=function(t){function e(e,n,i){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=i,r}return Object(E.__extends)(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof it||ut.modelGroupParentException()},e}(Z),ct=Promise.resolve(null),pt=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.control=new J,o._registered=!1,o.update=new x.l,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=i||[],o.valueAccessor=b(o,r),o}return Object(E.__extends)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),g(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?p(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return v(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return y(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){h(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof lt)&&this._parent instanceof Z?ut.formGroupNameException():this._parent instanceof lt||this._parent instanceof it||ut.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ut.missingNameException()},e.prototype._updateValue=function(t){var e=this;ct.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,i=""===n||n&&"false"!==n;ct.then(function(){i&&!e.control.disabled?e.control.disable():!i&&e.control.disabled&&e.control.enable()})},e}(F),ht=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t);return new tt(n,null!=e?e.validator:null,null!=e?e.asyncValidator:null)},t.prototype.control=function(t,e,n){return new J(t,e,n)},t.prototype.array=function(t,e,n){var i=this,r=t.map(function(t){return i._createControl(t)});return new et(r,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(i){n[i]=e._createControl(t[i])}),n},t.prototype._createControl=function(t){if(t instanceof J||t instanceof tt||t instanceof et)return t;if(Array.isArray(t)){return this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null)}return this.control(t)},t}(),dt=function(){return function(){}}(),ft=function(){return function(){}}(),_t=function(){return function(){}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s});n(1);var i=n(9),r=n(3),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(t){function e(e,n,i,r){var o=t.call(this,n,i,r)||this;return o._role="button",o._style="default",o._mode=n.get("mode"),!1===n.get("hoverCSS")&&o.setElementClass("disable-hover",!0),e.trim().length>0&&o.setRole(e),o}return o(e,t),Object.defineProperty(e.prototype,"large",{set:function(t){this._attr("_size","large",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"small",{set:function(t){this._attr("_size","small",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"default",{set:function(t){this._attr("_size","default",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outline",{set:function(t){this._attr("_style","outline",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clear",{set:function(t){this._attr("_style","clear",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"solid",{set:function(t){this._attr("_style","solid",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"round",{set:function(t){this._attr("_shape","round",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"block",{set:function(t){this._attr("_display","block",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"full",{set:function(t){this._attr("_display","full",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strong",{set:function(t){this._attr("_decorator","strong",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._assignCss(!1),this._mode=t,this._assignCss(!0)},enumerable:!0,configurable:!0}),e.prototype._attr=function(t,e,n){"_style"===t&&this._updateColor(this._color,!1),this._setClass(this[t],!1),Object(r.o)(n)?(this[t]=e,this._setClass(e,!0)):(this[t]="_style"===t?"default":null,this._setClass(this[t],!0)),"_style"===t&&this._updateColor(this._color,!0)},Object.defineProperty(e.prototype,"color",{set:function(t){this._updateColor(this._color,!1),this._updateColor(t,!0),this._color=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._init=!0,this._assignCss(!0)},e.prototype.setRole=function(t){this._assignCss(!1),this._role=t,this._assignCss(!0)},e.prototype._assignCss=function(t){var e=this._role;e&&(this.setElementClass(e,t),this.setElementClass(e+"-"+this._mode,t),this._setClass(this._style,t),this._setClass(this._shape,t),this._setClass(this._display,t),this._setClass(this._size,t),this._setClass(this._decorator,t),this._updateColor(this._color,t))},e.prototype._setClass=function(t,e){t&&this._init&&(t=t.toLocaleLowerCase(),this.setElementClass(this._role+"-"+t,e),this.setElementClass(this._role+"-"+t+"-"+this._mode,e))},e.prototype._updateColor=function(t,e){if(t&&this._init){var n=this._role,i=this._style;n+=null!==(i="bar-button"!==this._role&&"solid"===i?"default":i)&&""!==i&&"default"!==i?"-"+i.toLowerCase():"",null!==t&&""!==t&&this.setElementClass(n+"-"+this._mode+"-"+t,e)}},e}(i.a)},function(t,e,n){"use strict";function i(t,e){return t.tope.top?1:0}function r(t){return t.indexOf("px")>0?parseInt(t,10):0}function o(t){return t>0?t+"px":""}n.d(e,"a",function(){return d});var s=n(0),a=(n(1),n(7),n(9)),u=n(36),l=n(3),c=(n(22),n(13),n(4),n(165)),p=(n(5),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.subscribe=function(e,n,i){return this.onSubscribe(),t.prototype.subscribe.call(this,e,n,i)},e}(s.l),d=function(t){function e(e,n,i,r,o,s,a,l,p,d){var f=t.call(this,e,r,o,"content")||this;f._plt=n,f._dom=i,f._app=s,f._keyboard=a,f._zone=l,f._scrollPadding=0,f._inputPolling=!1,f._hasRefresher=!1,f._imgs=[],f._scrollDownOnLoad=!1,f.ionScrollStart=new h,f.ionScroll=new h,f.ionScrollEnd=new h;var _=function(){return f._scroll.enableEvents()};for(f.ionScroll.onSubscribe=_,f.ionScrollStart.onSubscribe=_,f.ionScrollEnd.onSubscribe=_,f.statusbarPadding=e.getBoolean("statusbarPadding",!1),f._imgReqBfr=e.getNumber("imgRequestBuffer",1400),f._imgRndBfr=e.getNumber("imgRenderBuffer",400),f._imgVelMax=e.getNumber("imgVelocityMax",3),f._scroll=new c.a(s,n,i);d;){if(Object(u.m)(d)){f._tabs=d;break}d=d.parent}return p?(f._viewCtrl=p,p._setIONContent(f),p._setIONContentRef(r),f._viewCtrlReadSub=p.readReady.subscribe(function(){f._viewCtrlReadSub.unsubscribe(),f._readDimensions()}),f._viewCtrlWriteSub=p.writeReady.subscribe(function(){f._viewCtrlWriteSub.unsubscribe(),f._writeDimensions()})):(i.read(f._readDimensions.bind(f)),i.write(f._writeDimensions.bind(f))),f}return p(e,t),Object.defineProperty(e.prototype,"contentHeight",{get:function(){return this._scroll.ev.contentHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentWidth",{get:function(){return this._scroll.ev.contentWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollHeight",{get:function(){return this._scroll.ev.scrollHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollWidth",{get:function(){return this._scroll.ev.scrollWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this._scroll.ev.scrollTop},set:function(t){this._scroll.setTop(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollLeft",{get:function(){return this._scroll.ev.scrollLeft},set:function(t){this._scroll.setLeft(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isScrolling",{get:function(){return this._scroll.isScrolling},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"directionY",{get:function(){return this._scroll.ev.directionY},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"directionX",{get:function(){return this._scroll.ev.directionX},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var t=this,e=this._scroll;e.ev.fixedElement=this.getFixedElement(),e.ev.scrollElement=this.getScrollElement(),e.onScrollStart=function(e){t.ionScrollStart.emit(e)},e.onScroll=function(e){t.ionScroll.emit(e),t.imgsUpdate()},e.onScrollEnd=function(e){t.ionScrollEnd.emit(e),t.imgsUpdate()}},e.prototype.enableJsScroll=function(){this._scroll.enableJsScroll(this._cTop,this._cBottom)},e.prototype.ngOnDestroy=function(){this._scLsn&&this._scLsn(),this._viewCtrlReadSub&&this._viewCtrlReadSub.unsubscribe(),this._viewCtrlWriteSub&&this._viewCtrlWriteSub.unsubscribe(),this._viewCtrlReadSub=this._viewCtrlWriteSub=null,this._scroll&&this._scroll.destroy(),this._footerEle=this._scLsn=this._scroll=null},e.prototype.getScrollElement=function(){return this._scrollContent.nativeElement},e.prototype.getFixedElement=function(){return this._fixedContent.nativeElement},e.prototype.onScrollElementTransitionEnd=function(t){this._plt.transitionEnd(this.getScrollElement(),t)},e.prototype.scrollTo=function(t,e,n,i){return void 0===n&&(n=300),this._scroll.scrollTo(t,e,n,i)},e.prototype.scrollToTop=function(t){return void 0===t&&(t=300),this._scroll.scrollToTop(t)},e.prototype.scrollToBottom=function(t){return void 0===t&&(t=300),this._scroll.scrollToBottom(t)},Object.defineProperty(e.prototype,"fullscreen",{get:function(){return this._fullscreen},set:function(t){this._fullscreen=Object(l.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollDownOnLoad",{get:function(){return this._scrollDownOnLoad},set:function(t){this._scrollDownOnLoad=Object(l.o)(t)},enumerable:!0,configurable:!0}),e.prototype.addImg=function(t){this._imgs.push(t)},e.prototype.removeImg=function(t){Object(l.q)(this._imgs,t)},e.prototype.setScrollElementStyle=function(t,e){var n=this.getScrollElement();n&&this._dom.write(function(){n.style[t]=e})},e.prototype.getContentDimensions=function(){var t=this.getScrollElement(),e=t.parentElement;return{contentHeight:e.offsetHeight-this._cTop-this._cBottom,contentTop:this._cTop,contentBottom:this._cBottom,contentWidth:e.offsetWidth,contentLeft:e.offsetLeft,scrollHeight:t.scrollHeight,scrollTop:t.scrollTop,scrollWidth:t.scrollWidth,scrollLeft:t.scrollLeft}},e.prototype.addScrollPadding=function(t){if(0===t&&(this._inputPolling=!1,this._scrollPadding=-1),t>this._scrollPadding){this._scrollPadding=t;var e=this.getScrollElement();e&&this._dom.write(function(){e.style.paddingBottom=t>0?t+"px":""})}},e.prototype.clearScrollPaddingFocusOut=function(){var t=this;this._inputPolling||(this._inputPolling=!0,this._keyboard.onClose(function(){t.addScrollPadding(0)},200,3e3))},e.prototype.resize=function(){this._dom.read(this._readDimensions.bind(this)),this._dom.write(this._writeDimensions.bind(this))},e.prototype._readDimensions=function(){var t,e=this._pTop,n=this._pRight,i=this._pBottom,o=this._pLeft,s=this._hdrHeight,a=this._ftrHeight,u=this._tabsPlacement,l=0;if(this._pTop=0,this._pRight=0,this._pBottom=0,this._pLeft=0,this._hdrHeight=0,this._ftrHeight=0,this._tabsPlacement=null,this._tTop=0,this._fTop=0,this._fBottom=0,this._scroll){t=this._scroll.ev;var c=this.getNativeElement();if(c){for(var p,h,d=c.parentElement,f=d.children,_=f.length-1;_>=0;_--)"ION-CONTENT"===(h=(c=f[_]).tagName)?(t.contentElement=c,this._fullscreen&&(p=getComputedStyle(c),this._pTop=r(p.paddingTop),this._pBottom=r(p.paddingBottom),this._pRight=r(p.paddingRight),this._pLeft=r(p.paddingLeft))):"ION-HEADER"===h?(t.headerElement=c,this._hdrHeight=c.clientHeight):"ION-FOOTER"===h&&(t.footerElement=c,this._ftrHeight=c.clientHeight,this._footerEle=c);c=d;for(;c&&"ION-MODAL"!==c.tagName&&!c.classList.contains("tab-subpage");)"ION-TABS"===c.tagName&&(this._tabbarHeight=c.firstElementChild.clientHeight,null===this._tabsPlacement&&(this._tabsPlacement=c.getAttribute("tabsplacement"))),c=c.parentElement;this._tabs&&"top"===this._tabsPlacement&&(this._tTop=this._hdrHeight,l=this._tabs._top),this._cTop=this._hdrHeight,this._cBottom=this._ftrHeight,"top"===this._tabsPlacement?this._cTop+=this._tabbarHeight:"bottom"===this._tabsPlacement&&(this._cBottom+=this._tabbarHeight),this._hasRefresher&&(this._cTop-=1),this._fTop=this._cTop,this._fBottom=this._cBottom,this._fullscreen&&(this._cTop+=this._pTop,this._cBottom+=this._pBottom);var v=this.getContentDimensions();t.scrollHeight=v.scrollHeight,t.scrollWidth=v.scrollWidth,t.contentHeight=v.contentHeight,t.contentWidth=v.contentWidth,t.contentTop=v.contentTop,t.contentBottom=v.contentBottom,this._dirty=e!==this._pTop||i!==this._pBottom||o!==this._pLeft||n!==this._pRight||s!==this._hdrHeight||a!==this._ftrHeight||u!==this._tabsPlacement||l!==this._tTop||this._cTop!==this.contentTop||this._cBottom!==this.contentBottom,this._scroll.init(this.getScrollElement(),this._cTop,this._cBottom),this.imgsUpdate()}}},e.prototype._writeDimensions=function(){if(this._dirty){var t=this.getScrollElement();if(t){var e=this.getFixedElement();if(e){if("bottom"===this._tabsPlacement&&this._cBottom>0&&this._footerEle){this._footerEle.style.bottom=o(this._cBottom-this._ftrHeight)}var n="marginTop",i="marginBottom",r=this._fTop,s=this._fBottom;this._fullscreen&&(n="paddingTop",i="paddingBottom"),this._cTop!==this.contentTop&&(t.style[n]=o(this._cTop),e.style.marginTop=o(r),this.contentTop=this._cTop),this._cBottom!==this.contentBottom&&(t.style[i]=o(this._cBottom),e.style.marginBottom=o(s),this.contentBottom=this._cBottom),null!==this._tabsPlacement&&this._tabs&&("top"===this._tabsPlacement?this._tabs.setTabbarPosition(this._tTop,-1):this._tabs.setTabbarPosition(-1,0)),this._scrollDownOnLoad&&(this.scrollToBottom(0),this._scrollDownOnLoad=!1)}}}},e.prototype.imgsUpdate=function(){this._scroll.initialized&&this._imgs.length&&this.isImgsUpdatable()&&function(t,e,n,r,o,s){for(var a,u=e+n,l=[],c=[],p=0,h=t.length;pe-s){a.canRequest=a.canRender=!0,l.push(a);continue}if(a.bottom<=e&&a.bottom>e-o){a.canRequest=!0,a.canRender=!1,c.push(a);continue}if(a.top>=u&&a.tope&&a.top=u&&a.tope-s){a.canRequest=a.canRender=!1;continue}}a.canRequest=a.canRender=!1,a.reset()}l.sort(i).forEach(function(t){return t.update()}),"up"===r?c.sort(i).reverse().forEach(function(t){return t.update()}):c.sort(i).forEach(function(t){return t.update()})}(this._imgs,this.scrollTop,this.contentHeight,this.directionY,this._imgReqBfr,this._imgRndBfr)},e.prototype.isImgsUpdatable=function(){return Math.abs(this._scroll.ev.velocityY)a;for(var e=this._c,n=0;na)return!0;for(var e=this._c,n=0;n0?(n[a]="",n[u]=o,r&&(n[l]=r)):n[a]="none"},t.prototype._beforeAnimation=function(){this._fireBeforeReadFunc(),this._fireBeforeWriteFunc(),this._setBeforeStyles()},t.prototype._setBeforeStyles=function(){var t,e,n=this._c;for(t=0;t30,this._progressEnd(t,i,n,this._isAsync),this._isAsync&&(this._asyncEnd(n,t),this.plt&&this.plt.raf(this._playToStep.bind(this,i)))},t.prototype._progressEnd=function(t,e,n,i){for(var r=this._c,o=0;on?r._plt.timeout(function(){r._zone.run(function(){t()})},400):r._plt.timeout(i,e),o++}void 0===e&&(e=a),void 0===n&&(n=u);var r=this,o=0,s=null;return t||(s=new Promise(function(e){t=e})),r._plt.timeout(i,e),s},t.prototype.close=function(){var t=this;this._dom.read(function(){t.isOpen()&&t._dom.write(function(){t._plt.focusOutActiveElement()})})},t.prototype.focusOutline=function(t){function e(){a._dom.write(function(){u.doc().body.classList[c?"add":"remove"]("focus-outline")})}function n(){c=!1,i()}function i(){e(),r&&r(),s&&s(),c&&(r=u.registerListener(l,"mousedown",n,p),s=u.registerListener(l,"touchstart",n,p))}var r,s,a=this,u=a._plt,l=u.doc(),c=!1,p={passive:!0,zone:!1};if(!0===t)return c=!0,e();!1!==t&&u.registerListener(u.doc(),"keydown",function(t){c||t.keyCode!==o.g||(c=!0,i())},p)},t.prototype.hasFocusedTextInput=function(){var t=this._plt.getActiveElement();return!!Object(r.e)(t)&&t.parentElement.querySelector(":focus")===t},t.prototype.hideFormAccessoryBar=function(t){var e=this._plt.win();e&&e.Keyboard&&e.Keyboard.hideFormAccessoryBar&&e.Keyboard.hideFormAccessoryBar(t)},t}()),a=150,u=100},,function(t,e,n){"use strict";n.d(e,"a",function(){return i});n(4);var i=function(){function t(t){var e=this;t&&t.ready().then(function(){e._p=t.win().TapticEngine})}return t.prototype.available=function(){return!!this._p},t.prototype.selection=function(){this._p&&this._p.selection()},t.prototype.gestureSelectionStart=function(){this._p&&this._p.gestureSelectionStart()},t.prototype.gestureSelectionChanged=function(){this._p&&this._p.gestureSelectionChanged()},t.prototype.gestureSelectionEnd=function(){this._p&&this._p.gestureSelectionEnd()},t.prototype.notification=function(t){this._p&&this._p.notification(t)},t.prototype.impact=function(t){this._p&&this._p.impact(t)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(1);var i=n(3),r=(n(4),function(){function t(t,e){this.plt=t,this._config=e,this._ids=0,this._trns={}}return t.prototype.getRootTrnsId=function(t){for(t=t.parent;t;){if(Object(i.l)(t._trnsId))return t._trnsId;t=t.parent}return null},t.prototype.nextId=function(){return this._ids++},t.prototype.get=function(t,e,n,i){var r=this._config.getTransition(i.animation);r||(r=this._config.getTransition("ios-transition"));var o=new r(this.plt,e,n,i);return o.trnsId=t,this._trns[t]?this._trns[t].add(o):this._trns[t]=o,o},t.prototype.destroy=function(t){var e=this._trns[t];e&&(e.destroy(),delete this._trns[t])},t}())},function(t,e,n){"use strict";n.d(e,"a",function(){return s});n(1);var i=n(3),r=(n(13),n(180)),o=(n(5),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),s=function(t){function e(e,n,i,r,o,s){var a=t.call(this,r,o,s)||this;return a._app=e,a.navCtrl=i,a._hidden=!1,a._hideBb=!1,n&&n._setNavbar(a),a._bbIcon=r.get("backButtonIcon"),a._sbPadding=r.getBoolean("statusbarPadding"),a._backText=r.get("backButtonText","Back"),a}return o(e,t),Object.defineProperty(e.prototype,"hideBackButton",{get:function(){return this._hideBb},set:function(t){this._hideBb=Object(i.o)(t)},enumerable:!0,configurable:!0}),e.prototype.backButtonClick=function(t){t.preventDefault(),t.stopPropagation(),this.navCtrl&&this.navCtrl.pop(null,null)},e.prototype.setBackButtonText=function(t){this._backText=t},e.prototype.didEnter=function(){try{this._app.setTitle(this.getTitleText())}catch(t){console.error(t)}},e.prototype.setHidden=function(t){this._hidden=t},e}(r.a)},function(t,e,n){"use strict";n.d(e,"d",function(){return i}),n.d(e,"h",function(){return r}),n.d(e,"e",function(){return o}),n.d(e,"a",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return u}),n.d(e,"f",function(){return l}),n.d(e,"g",function(){return c});var i=37,r=38,o=39,s=40,a=13,u=27,l=32,c=9},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e){this._elementRef=t,this._renderer=e}return t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});n(9),n(3),n(1),n(4),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}();var i=function(){return function(){}}()},function(t,e,n){"use strict";function i(t){return function(t){return t}}function r(t,e,n){return setTimeout(u(t,n),e)}function o(t,e,n){return!!Array.isArray(t)&&(s(t,n[e],n),!0)}function s(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(i=0;i-1}function _(t){return t.trim().split(/\s+/g)}function v(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;in[e]?1:0}):i.sort()),i}function m(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o1&&!n.firstMultiple?n.firstMultiple=O(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,a=s?s.center:o.center,u=e.center=S(i);e.timeStamp=Ie(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=k(a,u),e.distance=T(a,u),function(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==Le&&o.eventType!==Fe||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y});e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}(n,e),e.offsetDirection=x(e.deltaX,e.deltaY);var l=E(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x,e.overallVelocityY=l.y,e.overallVelocity=Ae(l.x)>Ae(l.y)?l.x:l.y,e.scale=s?function(t,e){return T(e[0],e[1],Ke)/T(t[0],t[1],Ke)}(s.pointers,i):1,e.rotation=s?function(t,e){return k(e[1],e[0],Ke)+k(t[1],t[0],Ke)}(s.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,r,o,s=t.lastInterval||e,a=e.timeStamp-s.timeStamp;if(e.eventType!=ze&&(a>Ve||void 0===s.velocity)){var u=e.deltaX-s.deltaX,l=e.deltaY-s.deltaY,c=E(a,u,l);i=c.x,r=c.y,n=Ae(c.x)>Ae(c.y)?c.x:c.y,o=x(u,l),t.lastInterval=e}else n=s.velocity,i=s.velocityX,r=s.velocityY,o=s.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}(n,e);var c=t.element;d(e.srcEvent.target,c)&&(c=e.srcEvent.target);e.target=c}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function O(t){for(var e=[],n=0;n=Ae(e)?t<0?Ue:Ye:e<0?qe:We}function T(t,e,n){n||(n=$e);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function k(t,e,n){n||(n=$e);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}function P(t,e){this.evEl=Je,this.evWin=tn,this.allow=!0,this.pressed=!1,w.apply(this,arguments)}function j(){this.evEl=rn,this.evWin=on,w.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function A(){this.evTarget=an,this.evWin=un,this.started=!1,w.apply(this,arguments)}function I(t,e){this.evTarget=cn,this.targetIds={},w.apply(this,arguments)}function D(){w.apply(this,arguments);var t=u(this.handler,this);this.touch=new I(this.manager,t),this.mouse=new P(this.manager,t)}function M(t,e){this.manager=t,this.set(e)}function R(t){this.options=Object.assign({},this.defaults,t||{}),this.id=De++,this.manager=null,this.options.enable=c(this.options.enable,!0),this.state=gn,this.simultaneous={},this.requireFail=[]}function N(t){return t&On?"cancel":t&wn?"end":t&bn?"move":t&mn?"start":""}function V(t){return t==We?"down":t==qe?"up":t==Ue?"left":t==Ye?"right":""}function L(t,e){var n=e.manager;return n?n.get(t):t}function B(){R.apply(this,arguments)}function F(){B.apply(this,arguments),this.pX=null,this.pY=null}function z(){B.apply(this,arguments)}function H(){R.apply(this,arguments),this._timer=null,this._input=null}function U(){B.apply(this,arguments)}function Y(){B.apply(this,arguments)}function q(){R.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function W(t,e){return e=e||{},e.recognizers=c(e.recognizers,Sn.preset),new Z(t,e)}function Z(t,e){this.options=Object.assign({},Sn,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=function(t){var e=t.options.inputClass;return new(e||(Re?j:Ne?I:Me?D:P))(t,C)}(this),this.touchAction=new M(this,this.options.touchAction),G(this,!0),s(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function G(t,e){var n=t.element;n.style&&s(t.options.cssProps,function(t,i){n.style[m(n.style,i)]=e?t:""})}var X=n(57),$=n(37),K=n(108),Q=n(68),J=n(71),tt=n(109),et=n(98),nt=n(72),it=n(6),rt=n(143),ot=n(28),st=n(110),at=n(19),ut=(n(160),n(161),n(162),n(163),n(137)),lt=(n(167),n(20)),ct=(n(168),n(75),n(170),n(112),n(94)),pt=n(95),ht=n(96),dt=n(9),ft=n(34),_t=(n(171),n(113),n(172),n(136)),vt=n(16),yt=n(52),gt=(n(174),n(175),n(99)),mt=n(41),bt=n(138),wt=n(76),Ct=n(54),Ot=n(53),St=(n(114),n(176)),Et=n(115),xt=n(77),Tt=(n(177),n(178),n(179),n(21)),kt=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Pt=function(){function t(t){this.ani=new Tt.a(t),this.ani.easing("cubic-bezier(0.0, 0.0, 0.2, 1)").easingReverse("cubic-bezier(0.4, 0.0, 0.6, 1)").duration(280)}return t.prototype.setOpen=function(t,e,n){var i=this.ani.onFinish(n,!0,!0).reverse(!t);e?i.play():i.syncPlay()},t.prototype.setProgressStart=function(t){this.isOpening=!t,this.ani.reverse(t).progressStart()},t.prototype.setProgessStep=function(t){this.ani.progressStep(t)},t.prototype.setProgressEnd=function(t,e,n,i){var r=this,o=this.isOpening&&t;this.isOpening||t||(o=!0);var s=this.ani;s.onFinish(function(){r.isOpening=!1,i(o)},!0);var a=1-Math.min(Math.abs(n)/4,.7),u=s.getDuration()*a;s.progressEnd(t,e,u)},t.prototype.destroy=function(){this.ani.destroy(),this.ani=null},t}();$.a.registerType("reveal",function(t){function e(e,n){var i=t.call(this,n)||this,r=e.width()*(e.isRightSide?-1:1)+"px",o=new Tt.a(n,e.getContentElement());return o.fromTo("translateX","0px",r),i.ani.add(o),i}return kt(e,t),e}(Pt));$.a.registerType("push",function(t){function e(e,n){var i,r,o,s=t.call(this,n)||this,a=e.width();e.isRightSide?(i=-a+"px",r=a+"px",o="0px"):(i=a+"px",o="0px",r=-a+"px");var u=new Tt.a(n,e.getMenuElement());u.fromTo("translateX",r,o),s.ani.add(u);var l=new Tt.a(n,e.getContentElement());return l.fromTo("translateX","0px",i),s.ani.add(l),s}return kt(e,t),e}(Pt));$.a.registerType("overlay",function(t){function e(e,n){var i,r,o=t.call(this,n)||this,s=e.width();e.isRightSide?(i=8+s+"px",r="0px"):(i=-(8+s)+"px",r="0px");var a=new Tt.a(n,e.getMenuElement());a.fromTo("translateX",i,r),o.ani.add(a);var u=new Tt.a(n,e.getBackdropElement());return u.fromTo("opacity",.01,.35),o.ani.add(u),o}return kt(e,t),e}(Pt));var jt=n(181),At=n(78),It=n(122),Dt=n(61),Mt=(n(123),n(187),n(124),n(188),n(189),n(100)),Rt=n(169),Nt=n(74),Vt=n(60),Lt=n(73),Bt=n(126),Ft=n(80),zt=n(125),Ht=n(81),Ut=n(62),Yt=n(66),qt=n(84),Wt=(n(127),n(190),n(191),n(192),n(193),n(128),n(139)),Zt=n(82),Gt=(n(194),n(129)),Xt=(n(195),n(140)),$t=n(97),Kt=n(79),Qt=n(29),Jt=n(85),te=n(87),ee=n(86),ne=n(50),ie=n(185),re=n(83),oe=n(46),se=(n(197),n(144)),ae=n(45),ue=n(33),le=n(91),ce=n(51),pe=n(26),he=(n(196),n(198),n(130),n(131),n(132),n(199),n(1)),de=n(7),fe=n(4),_e=n(24),ve=n(14),ye=n(13),ge=n(69),me=n(11),be=(n(36),n(120)),we=n(59),Ce=n(5),Oe=n(70),Se=n(3),Ee=window,xe=document,Te=["","webkit","Moz","MS","ms","o"],ke=xe.createElement("div"),Pe="function",je=Math.round,Ae=Math.abs,Ie=Date.now,De=1,Me="ontouchstart"in window,Re=void 0!==m(window,"PointerEvent"),Ne=Me&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Ve=25,Le=1,Be=2,Fe=4,ze=8,He=1,Ue=2,Ye=4,qe=8,We=16,Ze=Ue|Ye,Ge=qe|We,Xe=Ze|Ge,$e=["x","y"],Ke=["clientX","clientY"];w.prototype={handler:function(){},init:function(){this.evEl&&p(this.element,this.evEl,this.domHandler),this.evTarget&&p(this.target,this.evTarget,this.domHandler),this.evWin&&p(b(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&h(this.element,this.evEl,this.domHandler),this.evTarget&&h(this.target,this.evTarget,this.domHandler),this.evWin&&h(b(this.element),this.evWin,this.domHandler)}};var Qe={mousedown:Le,mousemove:Be,mouseup:Fe},Je="mousedown",tn="mousemove mouseup";a(P,w,{handler:function(t){var e=Qe[t.type];e&Le&&0===t.button&&(this.pressed=!0),e&Be&&1!==t.which&&(e=Fe),this.pressed&&this.allow&&(e&Fe&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var en={pointerdown:Le,pointermove:Be,pointerup:Fe,pointercancel:ze,pointerout:ze},nn={2:"touch",3:"pen",4:"mouse",5:"kinect"},rn="pointerdown",on="pointermove pointerup pointercancel";Ee.MSPointerEvent&&!Ee.PointerEvent&&(rn="MSPointerDown",on="MSPointerMove MSPointerUp MSPointerCancel"),a(j,w,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=en[i],o=nn[t.pointerType]||t.pointerType,s="touch"==o,a=v(e,t.pointerId,"pointerId");r&Le&&(0===t.button||s)?a<0&&(e.push(t),a=e.length-1):r&(Fe|ze)&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(a,1))}});var sn={touchstart:Le,touchmove:Be,touchend:Fe,touchcancel:ze},an="touchstart",un="touchstart touchmove touchend touchcancel";a(A,w,{handler:function(t){var e=sn[t.type];if(e===Le&&(this.started=!0),this.started){var n=function(t,e){var n=y(t.touches),i=y(t.changedTouches);return e&(Fe|ze)&&(n=g(n.concat(i),"identifier",!0)),[n,i]}.call(this,t,e);e&(Fe|ze)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var ln={touchstart:Le,touchmove:Be,touchend:Fe,touchcancel:ze},cn="touchstart touchmove touchend touchcancel";a(I,w,{handler:function(t){var e=ln[t.type],n=function(t,e){var n=y(t.touches),i=this.targetIds;if(e&(Le|Be)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,s=y(t.changedTouches),a=[],u=this.target;if(o=n.filter(function(t){return d(t.target,u)}),e===Le)for(r=0;r-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(e,t)}var n=this,i=this.state;i=wn&&e(n.options.event+N(i))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;te.threshold&&r&e.direction},attrTest:function(t){return B.prototype.attrTest.call(this,t)&&(this.state&mn||!(this.state&mn)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=V(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),a(z,B,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[_n]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&mn)},emit:function(t){if(1!==t.scale){t.additionalEvent=this.options.event+(t.scale<1?"in":"out")}this._super.emit.call(this,t)}}),a(H,R,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[dn]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distancee.time;if(this._input=t,!i||!n||t.eventType&(Fe|ze)&&!o)this.reset();else if(t.eventType&Le)this.reset(),this._timer=r(function(){this.state=Cn,this.tryEmit()},e.time,this);else if(t.eventType&Fe)return Cn;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Cn&&(t&&t.eventType&Fe?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=Ie(),this.manager.emit(this.options.event,this._input)))}}),a(U,B,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[_n]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&mn)}}),a(Y,B,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Ze|Ge,pointers:1},getTouchAction:function(){return F.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Ze|Ge)?e=t.overallVelocity:n&Ze?e=t.overallVelocityX:n&Ge&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&Ae(e)>this.options.velocity&&t.eventType&Fe},emit:function(t){var e=V(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),a(q,R,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[fn]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance0)},e.prototype.focusNext=function(){this._form&&this._form.tabFocus(this)},e.prototype.ngOnDestroy=function(){var t=this._form;t&&t.deregister(this),this._init=!1},e.prototype.ngAfterContentInit=function(){this._initialize()},e.prototype.initFocus=function(){var t=this._elementRef.nativeElement.querySelector("button");t&&t.focus()},e.prototype._inputNormalize=function(t){return t},e.prototype._inputShouldChange=function(t){return this._value!==t},e.prototype._inputChangeEvent=function(){return this},e.prototype._inputNgModelEvent=function(){return this._value},e.prototype._inputUpdated=function(){var t=this._item;if(t){!function(t,e){e&&(t.setElementClass("ng-untouched",e.untouched),t.setElementClass("ng-touched",e.touched),t.setElementClass("ng-pristine",e.pristine),t.setElementClass("ng-dirty",e.dirty),t.setElementClass("ng-valid",e.valid),t.setElementClass("ng-invalid",!e.valid))}(t,this._ngControl);var e=this.hasValue();t.setElementClass("input-has-value",e),t.setElementClass("item-input-has-value",e)}},e}(o.a)},function(t,e,n){"use strict";function i(t,e,n){var i,r,o;return"string"==typeof t?i=t:(i=t.constructor.getPluginRef(),n=t.constructor.getPluginName(),o=t.constructor.getPluginInstallName()),!(!(r=O(i))||e&&void 0===r[e])||(window.cordova?(S(n,o,e),T):(E(n,e),x))}function r(t,e){return t._objectInstance&&(!e||void 0!==t._objectInstance[e])}function o(t,e,n,i){if(void 0===e&&(e={}),e.sync)return t;if("reverse"===e.callbackOrder)t.unshift(i),t.unshift(n);else if("node"===e.callbackStyle)t.push(function(t,e){t?i(t):n(e)});else if("object"===e.callbackStyle&&e.successName&&e.errorName){var r={};r[e.successName]=n,r[e.errorName]=i,t.push(r)}else if(void 0!==e.successIndex||void 0!==e.errorIndex){var o=function(){e.successIndex>t.length?t[e.successIndex]=n:t.splice(e.successIndex,0,n)},s=function(){e.errorIndex>t.length?t[e.errorIndex]=i:t.splice(e.errorIndex,0,i)};e.successIndex>e.errorIndex?(s(),o()):(o(),s())}else t.push(n),t.push(i);return t}function s(t,e,n,r,s,a){void 0===r&&(r={}),n=o(n,r,s,a);var u=i(t,e);if(!0===u){var l=O(t.constructor.getPluginRef());return l[e].apply(l,n)}return u}function a(t,e,n,i,s,a){if(void 0===i&&(i={}),n=o(n,i,s,a),r(t,e))return t._objectInstance[e].apply(t._objectInstance,n)}function u(t,e){return void 0===e&&(e=window),Object(b.fromEvent)(e,t)}function l(t,e,n,r){return void 0===r&&(r={}),new m.Observable(function(n){var r=i(t,null,t.constructor.getPluginName());if(!0===r){var o=O(t.constructor.getPluginRef());return o[e]=n.next.bind(n),function(){return o[e]=function(){}}}n.error(r),n.complete()})}function c(t,e,n){return void 0===n&&(n={}),function(){for(var i=[],r=0;r30){var a=this.itemForCoord(n);if(a){var u=Object(o.b)(a);if(void 0!==u&&(u!==this.lastToIndex||this.emptyZone)){var l=Object(o.b)(e);this.lastToIndex=u,this.lastYcoord=i,this.emptyZone=!1,this.reorderList._reorderMove(l,u,this.selectedItemHeight)}}else this.emptyZone=!0}var c=Math.round(i-this.offset.y+r);e.style[this.plt.Css.transform]="translateY("+c+"px)"}},t.prototype.onDragEnd=function(t){var e=this,n=this.selectedItemEle;if(n){t&&(t.preventDefault(),t.stopPropagation());var i=this.lastToIndex,r=Object(o.b)(n),s=function(){e.selectedItemEle.style.transition="",e.selectedItemEle.classList.remove(p),e.selectedItemEle=null};i===r?(n.style.transition="transform 200ms ease-in-out",setTimeout(s,200)):s(),this.reorderList._reorderEmit(r,i)}},t.prototype.itemForCoord=function(t){var e=this.plt.getElementFromPoint(this.offset.x+(this.reorderList._isStart===this.plt.isRTL?-100:100),t.y);return Object(o.a)(e,this.reorderList.getNativeElement())},t.prototype.scroll=function(t){return tthis.windowHeight&&(this.lastScrollPosition=this.reorderList._scrollContent(c)),this.lastScrollPosition},t.prototype.destroy=function(){this.onDragEnd(null),this.events.destroy(),this.events=null,this.reorderList=null},t}(),l=60,c=10,p="reorder-active";n(4);n.d(e,"a",function(){return d});var h=function(){function t(t,e){this.from=t,this.to=e}return t.prototype.applyTo=function(t){Object(r.r)(t,this)},t}(),d=function(){function t(t,e,n,r,o,s){this._plt=t,this._dom=e,this._rendered=r,this._zone=o,this._content=s,this._enableReorder=!1,this._visibleReorder=!1,this._isStart=!1,this._lastToIndex=-1,this.ionItemReorder=new i.l,this._element=n.nativeElement}return Object.defineProperty(t.prototype,"side",{set:function(t){this._isStart="start"===t},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._element=null,this._reorderGesture&&this._reorderGesture.destroy()},Object.defineProperty(t.prototype,"reorder",{get:function(){return this._enableReorder},set:function(t){var e=this,n=Object(r.o)(t);!n&&this._reorderGesture?(this._reorderGesture.destroy(),this._reorderGesture=null,this._visibleReorder=!1,setTimeout(function(){return e._enableReorder=!1},400)):n&&!this._reorderGesture&&(this._reorderGesture=new u(this._plt,this),this._enableReorder=!0,this._dom.write(function(){e._zone.run(function(){e._visibleReorder=!0})},16))},enumerable:!0,configurable:!0}),t.prototype._reorderPrepare=function(){for(var t=this._element,e=t.children,n=0,i=e.length;n=i)for(var s=i;s<=e;s++)s!==t&&(r[s].style[o]=s>t?"translateY("+-n+"px)":"");if(e<=i)for(s=e;s<=i;s++)s!==t&&(r[s].style[o]=s/g,">")}n.d(e,"a",function(){return Ht}),n.d(e,"j",function(){return zt}),n.d(e,"h",function(){return P}),n.d(e,"i",function(){return D}),n.d(e,"b",function(){return T}),n.d(e,"d",function(){return V}),n.d(e,"e",function(){return L}),n.d(e,"f",function(){return ct}),n.d(e,"g",function(){return pt}),n.d(e,"c",function(){return It}),n.d(e,"r",function(){return i}),n.d(e,"l",function(){return W}),n.d(e,"k",function(){return ut}),n.d(e,"n",function(){return ht}),n.d(e,"o",function(){return _t}),n.d(e,"m",function(){return z}),n.d(e,"p",function(){return F}),n.d(e,"s",function(){return a}),n.d(e,"q",function(){return Dt});var _,v=n(10),y=n(0),g=n(2),m=null,b={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},w={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},C={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"};y._0.Node&&(_=y._0.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var O,S,E=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(g.__extends)(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){!function(t){m||(m=t)}(new e)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){(i=t)[e].apply(i,n);var i},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return b},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return _.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),i=0;i0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,i=0;i0;s||(s=t[o]=[]);var u=st(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:r});else{for(var l=!1,c=0;c-1},e}(B),dt=["alt","control","meta","shift"],ft={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},_t=function(t){function e(e){return t.call(this,e)||this}return Object(g.__extends)(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,r){var o=e.parseEventName(n),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return i().onAndCancel(t,o.domEventName,s)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;var r=e._normalizeKey(n.pop()),o="";if(dt.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=r,0!=n.length||0===r.length)return null;var s={};return s.domEventName=i,s.fullKey=o,s},e.getEventFullKey=function(t){var e="",n=i().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),dt.forEach(function(i){if(i!=n){(0,ft[i])(t)&&(e+=i+".")}}),e+=n},e.eventCallback=function(t,n,i){return function(r){e.getEventFullKey(r)===t&&i.runGuarded(function(){return n(r)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(B),vt=function(){function t(t,e){this.defaultDoc=t,this.DOM=e;var n=this.DOM.createHtmlDocument();if(this.inertBodyElement=n.body,null==this.inertBodyElement){var i=this.DOM.createElement("html",n);this.inertBodyElement=this.DOM.createElement("body",n),this.DOM.appendChild(i,this.inertBodyElement),this.DOM.appendChild(n,i)}this.DOM.setInnerHTML(this.inertBodyElement,''),!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.DOM.setInnerHTML(this.inertBodyElement,'

'),this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(t){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(null);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(t){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.DOM.createElement("template");return"content"in e?(this.DOM.setInnerHTML(e,t),e):(this.DOM.setInnerHTML(this.inertBodyElement,t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){var e=this;this.DOM.attributeMap(t).forEach(function(n,i){"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||e.DOM.removeAttribute(t,i)});for(var n=0,i=this.DOM.childNodesAsList(t);n")):this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=this.DOM.nodeName(t).toLowerCase();Ot.hasOwnProperty(e)&&!mt.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(f(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&this.DOM.contains(t,e))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(t));return e},t}(),kt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Pt=/([^\#-~ |!])/g,jt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),At=/^url\(([^)]+)\)$/,It=function(){return function(){}}(),Dt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(g.__extends)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case y.E.NONE:return e;case y.E.HTML:return e instanceof Rt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=i(),r=null;try{ot=ot||new vt(t,n);var o=e?String(e):"";r=ot.getInertBodyElement(o);var s=5,a=o;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,o=a,a=n.getInnerHTML(r),r=ot.getInertBodyElement(o)}while(o!==a);var u=new Tt,l=u.sanitizeChildren(n.getTemplateContent(r)||r);return Object(y.P)()&&u.sanitizedSomething&&n.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),l}finally{if(r)for(var c=n.getTemplateContent(r)||r,p=0,h=n.childNodesAsList(c);p=0;n--){var i=this._tabs.find(function(t){return t.id===e._selectHistory[n]});if(i&&i.enabled&&i.show)return t&&this._selectHistory.splice(n+1),i}return null},e.prototype.getByIndex=function(t){return this._tabs[t]},e.prototype.getSelected=function(){for(var t=this._tabs,e=0;e1?t.popToRoot():Object(u.j)(this._linker,t.root).then(function(e){if(e.component!==n.component)return t.setRoot(t.root)}).catch(function(){})}},e.prototype.setTabbarPosition=function(t,e){if(this._top!==t||this._bottom!==e){var n=this._tabbar.nativeElement;n.style.top=t>-1?t+"px":"",n.style.bottom=e>-1?e+"px":"",n.classList.add("show-tabbar"),this._top=t,this._bottom=e}},e.prototype.resize=function(){var t=this.getSelected();t&&t.resize()},e.prototype.initPane=function(){return this._elementRef.nativeElement.hasAttribute("main")},e.prototype.paneChanged=function(t){t&&this.resize()},e.prototype.goToRoot=function(t){if(this._tabs.length)return this.select(this._tabs[0],t)},e.prototype.getType=function(){return"tabs"},e.prototype.getSecondaryIdentifier=function(){var t=this.getActiveChildNavs();return t&&t.length?this._linker._getTabSelector(t[0]):""},e.prototype._getSelectedTabIndex=function(t,e){void 0===t&&(t=""),void 0===e&&(e=0);var n=t.match(/tab-(\d+)/);if(n)return parseInt(n[1],10);var i=this._tabs.find(function(e){return Object(a.l)(e.tabUrlPath)&&e.tabUrlPath===t||Object(a.l)(e.tabTitle)&&Object(l.c)(e.tabTitle)===t});return Object(a.l)(i)?i.index:e},e}(s.a),h=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(1);var i=n(9),r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e,n,i,r,o){var s=t.call(this,e,n,i,"title")||this;return r&&r._setTitle(s),o&&o._setTitle(s),s}return r(e,t),e.prototype.getTitleText=function(){return this._elementRef.nativeElement.textContent},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){return function(){}}()},function(t,e,n){"use strict";n(0),n(1),n(7);var i=n(8),r=n(9),o=n(3),s=n(70),a=n(17),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=function(t){function e(e,n,r,o){var s=t.call(this,e,n.getNativeElement(),{maxAngle:20,threshold:5,zone:!1,domController:o,gesture:r.createGesture({name:i.c,priority:i.h,disableScroll:!0})})||this;return s.list=n,s.preSelectedContainer=null,s.selectedContainer=null,s.openContainer=null,s}return u(e,t),e.prototype.canStart=function(t){if(this.selectedContainer)return!1;var e=function(t){var e=t.target.closest("ion-item-sliding");return e?e.$ionComponent:null}(t);if(!e)return this.closeOpened(),!1;e!==this.openContainer&&this.closeOpened();var n=Object(a.f)(t);return this.preSelectedContainer=e,this.firstCoordX=n.x,this.firstTimestamp=Date.now(),!0},e.prototype.onDragStart=function(t){t.preventDefault();var e=Object(a.f)(t);this.selectedContainer=this.openContainer=this.preSelectedContainer,this.selectedContainer.startSliding(e.x)},e.prototype.onDragMove=function(t){t.preventDefault(),this.selectedContainer.moveSliding(Object(a.f)(t).x)},e.prototype.onDragEnd=function(t){t.preventDefault();var e=Object(a.f)(t).x-this.firstCoordX,n=Date.now()-this.firstTimestamp;this.selectedContainer.endSliding(e/n),this.selectedContainer=null,this.preSelectedContainer=null},e.prototype.notCaptured=function(t){(function(t){return!!t.target.closest("ion-item-options>button")})(t)||this.closeOpened()},e.prototype.closeOpened=function(){return this.selectedContainer=null,!!this.openContainer&&(this.openContainer.close(),this.openContainer=null,!0)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.closeOpened(),this.list=null,this.preSelectedContainer=null,this.selectedContainer=null,this.openContainer=null},e}(s.a);n(4);n.d(e,"a",function(){return p});var c=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),p=function(t){function e(e,n,i,r,o,s){var a=t.call(this,e,n,i,"list")||this;return a._plt=r,a._gestureCtrl=o,a._domCtrl=s,a._enableSliding=!0,a._containsSlidingItems=!1,a}return c(e,t),Object.defineProperty(e.prototype,"sliding",{get:function(){return this._enableSliding},set:function(t){this._enableSliding=Object(o.o)(t),this._updateSlidingState()},enumerable:!0,configurable:!0}),e.prototype.containsSlidingItem=function(t){this._containsSlidingItems=t,this._updateSlidingState()},e.prototype._updateSlidingState=function(){this._enableSliding&&this._containsSlidingItems?this._slidingGesture||(this._slidingGesture=new l(this._plt,this,this._gestureCtrl,this._domCtrl),this._slidingGesture.listen()):(this._slidingGesture&&this._slidingGesture.destroy(),this._slidingGesture=null)},e.prototype.closeSlidingItems=function(){this._slidingGesture&&this._slidingGesture.closeOpened()},e.prototype.destroy=function(){this._slidingGesture&&this._slidingGesture.destroy()},e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(1);var i=n(9),r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e,n,i,r,o,s,a){var u=t.call(this,e,n,i,"label")||this;return u.type=""===r?"floating":""===o?"stacked":""===s?"fixed":""===a?"inset":null,u}return r(e,t),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t,t&&this.setElementAttribute("id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.getNativeElement().textContent||""},enumerable:!0,configurable:!0}),e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),e.b=function(t,e){return function(){return function(t,e){var n=new r,o=t.win(),s=t.doc();return t.timeout(function(){o.addEventListener("online",function(t){n.publish("app:online",t)},!1),o.addEventListener("offline",function(t){n.publish("app:offline",t)},!1),o.addEventListener("orientationchange",function(t){n.publish("app:rotated",t)}),o.addEventListener("statusTap",function(){var n=s.elementFromPoint(t.width()/2,t.height()/2);if(n){var r=n.closest(".scroll-content");if(r){var o=r.style,a=new i.a(null,t,e);a._el=r,o.WebkitBackfaceVisibility="hidden",o.WebkitTransform="translate3d(0,0,0)",e.write(function(){function e(){o.overflow="",o.WebkitBackfaceVisibility="",o.WebkitTransform=""}o.overflow="hidden";var n=t.timeout(function(){e()},400);a.scrollTo(0,0,300).then(function(){t.cancelTimeout(n),e()})})}}})},2e3),n}(t,e)}};var i=n(165),r=function(){function t(){this._channels=[]}return t.prototype.subscribe=function(t){for(var e=this,n=[],i=1;i0,i=t.length()>0;if(!n&&!i)return null;if(n&&i){return t.getActive().getZIndex()>e.getActive().getZIndex()?t:e}return n?e:i?t:void 0},e.prototype._disableScroll=function(t){var e=this;if(t)this.stopScroll().then(function(){e._tmr=e._plt.timeout(function(){e.setElementClass("disable-scroll",!0)},32)});else{var n=this._stopScrollPlugin;n&&n.cancel&&n.cancel(),clearTimeout(this._tmr),this.setElementClass("disable-scroll",!1)}},e.prototype.stopScroll=function(){var t=this;return this._stopScrollPlugin?new Promise(function(e){t._stopScrollPlugin.stop(function(){return e(!0)})}):Promise.resolve(!1)},e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"b",function(){return o}),n.d(e,"d",function(){return s});var i=1,r=2,o=3,s=4},function(t,e,n){"use strict";function i(t,e){return t.segmentPartsLen>e.segmentPartsLen?-1:t.segmentPartsLene.staticLen?-1:t.staticLene.dataLen?1:0}function r(t,e,n){return function(t,e){for(var n=[],i=0;i1))break;n.push(o(u,r[r.length-1])),r=r[r.length-1].getActiveChildNavs()}}return n}(t,function(t,e){return function(t,e){for(var n=[],i=new Set,r=0,o=t;r=0;p--){for(var h=!1,d=0;d=n[o]&&(r.push(s.join("/")),s=[],o++),s.push(e[i]);return r.push(s.join("/")),r}(t)),e)}(e,n))}function o(t,e){var n=Object.assign({},t);return n.type=e.getType(),n.navId=e.name||e.id,n.secondaryId=t.secondaryId,n}n.d(e,"b",function(){return u}),e.c=function(t){for(t=(t=t.replace(d,"-")).charAt(0).toLowerCase()+t.substring(1).replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});t.indexOf("--")>-1;)t=t.replace("--","-");return"-"===t.charAt(0)&&(t=t.substring(1)),"-"===t.substring(t.length-1)&&(t=t.substring(0,t.length-1)),encodeURIComponent(t)},n.d(e,"a",function(){return f}),e.d=function(t,e){return new u(t,e)};var s=n(0),a=n(3),u=function(){function t(t,e){this._app=t,this.links=e&&Object(a.e)(e.links)?h(e.links):[]}return t.prototype.parse=function(t){return"/"===t.charAt(0)&&(t=t.substr(1)),t=t.split("?")[0].split("#")[0],r(this._app,t,this.links)},t.prototype.createSegmentFromName=function(t,e){var n=this.getLinkFromName(e);return n?this._createSegment(this._app,t,n,null):null},t.prototype.getLinkFromName=function(t){return this.links.find(function(e){return e.component===t||e.name===t})},t.prototype.serialize=function(t){if(!t||!t.length)return"/";return t.map(function(t){return"tabs"===t.type?t.requiresExplicitNavPrefix?"/"+t.type+"/"+t.navId+"/"+t.secondaryId+"/"+t.id:"/"+t.secondaryId+"/"+t.id:t.requiresExplicitNavPrefix?"/"+t.type+"/"+t.navId+"/"+t.id:"/"+t.id}).join("")},t.prototype.serializeComponent=function(t,e,n){if(e){var i=p(this.links,e,n);if(i)return this._createSegment(this._app,t,i,n)}return null},t.prototype._createSegment=function(t,e,n,i){var r=n.segmentParts;if(Object(a.l)(i)){r=r.slice();var o=Object.keys(i),s=o.length;if(s)for(var u=0;u1:t.getRootNavById(e.id)&&t.getRootNavs().length>1,{id:r.join("/"),name:n.name,component:n.component,loadChildren:n.loadChildren,data:i,defaultHistory:n.defaultHistory,navId:e.name||e.id,type:e.getType(),secondaryId:e.getSecondaryIdentifier(),requiresExplicitNavPrefix:c}},t}(),l=function(t,e){return!(!Object(a.l)(t)||!Object(a.l)(e))&&(":"===e.charAt(0)||t===e)},c=function(t,e){for(var n=null,i=0;i=r&&(i=s,r=u)}}return i},h=function(t){for(var e=0,n=t.length;e|<|;|:|@|&|=/g,f=new s.n("USERLINKS")},function(t,e,n){"use strict";var i=n(0),r=n(3),o=(n(1),n(7),n(24),"picker-opt-selected"),s=(n(4),n(17)),a=n(38);n.d(e,"a",function(){return u});var u=function(){function t(t,e,n,r,o,s,u){this._plt=e,this.elementRef=n,this._zone=r,this._haptic=o,this.y=0,this.pos=[],this.startY=null,this.ionChange=new i.l,this.events=new a.a(s),this.rotateFactor=t.getNumber("pickerRotateFactor",0),this.scaleFactor=t.getNumber("pickerScaleFactor",1),this.decelerateFunc=this.decelerate.bind(this),this.debouncer=u.debouncer()}return t.prototype.ngAfterViewInit=function(){var t=this.colEle.nativeElement;this.colHeight=t.clientHeight,this.optHeight=t.firstElementChild?t.firstElementChild.clientHeight:0,this.events.pointerEvents({element:this.elementRef.nativeElement,pointerDown:this.pointerStart.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerEnd.bind(this),capture:!0,zone:!1})},t.prototype.ngOnDestroy=function(){this._plt.cancelRaf(this.rafId),this.events.destroy()},t.prototype.pointerStart=function(t){this._haptic.gestureSelectionStart(),t.preventDefault(),this._plt.cancelRaf(this.rafId),this.startY=Object(s.f)(t).y,this.velocity=0,this.pos.length=0,this.pos.push(this.startY,Date.now());for(var e=this.col.options,n=e.length-1,i=0,r=0;re.minY?(t=Math.pow(t,.8),e.bounceFrom=t):t0)this.update(this.minY,100,!0,!0);else if(this.bounceFrom<0)this.update(this.maxY,100,!0,!0);else{var e=Object(s.f)(t).y;this.pos.push(e,Date.now());for(var n=this.pos.length-1,i=n,o=Date.now()-100,a=n;a>0&&this.pos[a]>o;a-=2)i=a;if(i!==n){var u=(this.pos[i-1]-this.pos[n-1])/(this.pos[n]-this.pos[i])*(1e3/60);this.velocity=Object(r.a)(-60,u,60)}if(Math.abs(e-this.startY)>3){this.update(this.y+(e-this.startY),0,!0,!0)}this.startY=null,this.decelerate()}},t.prototype.decelerate=function(){var t=0;if(isNaN(this.y)||!this.optHeight)this.update(t,0,!0,!0),this._haptic.gestureSelectionEnd();else if(Math.abs(this.velocity)>0){this.velocity*=.97,this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1),(t=Math.round(this.y-this.velocity))>this.minY?(t=this.minY,this.velocity=0):t1;this.update(t,0,!0,!e),e&&(this.rafId=this._plt.raf(this.decelerateFunc))}else if(this.y%this.optHeight!=0){var n=Math.abs(this.y%this.optHeight);this.velocity=n>this.optHeight/2?1:-1,this._haptic.gestureSelectionEnd(),this.decelerate()}var i=Math.max(Math.abs(Math.round(t/this.optHeight)),0);i!==this.lastTempIndex&&this._haptic.gestureSelectionChanged(),this.lastTempIndex=i},t.prototype.optClick=function(t,e){this.velocity||(t.preventDefault(),t.stopPropagation(),this.setSelected(e,150))},t.prototype.setSelected=function(t,e){var n=t>-1?t*this.optHeight*-1:0;this._plt.cancelRaf(this.rafId),this.velocity=0,this.update(n,e,!0,!0)},t.prototype.update=function(t,e,n,i){t=Math.round(t);var r,s,a,u,l,c,p,h,d,f,_=this.colEle.nativeElement.children,v=_.length,y=this.col.selectedIndex=Math.min(Math.max(Math.round(-t/this.optHeight),0),v-1),g=0===e?null:e+"ms",m="scale("+this.scaleFactor+")";for(r=0;r90?l=!1:(0,c=0,p=90,d="rotateX("+h+"deg) ")):(0,p=0,c=u,Math.abs(c)>170&&(l=!1)),f=y===r,l?(d+="translate3d(0px,"+c+"px,"+p+"px) ",1===this.scaleFactor||f||(d+=m)):d="translate3d(-9999px,0px,0px)",e!==a._dur&&(a._dur=e,s.style[this._plt.Css.transitionDuration]=g),d!==a._trans&&(a._trans=d,s.style[this._plt.Css.transform]=d),f!==a._selected&&(a._selected=f,f?s.classList.add(o):s.classList.remove(o));if(this.col.prevSelected=y,n&&(this.y=t),i)if(void 0===this.lastIndex)this.lastIndex=this.col.selectedIndex;else if(this.lastIndex!==this.col.selectedIndex){this.lastIndex=this.col.selectedIndex;var b=this.ionChange;b.observers.length>0&&this._zone.run(b.emit.bind(b,this.col.options[this.col.selectedIndex]))}},t.prototype.refresh=function(){for(var t=this.col.options.length-1,e=0,n=this.col.options,i=0;i-1&&(t.value===this.value&&(this.value=null),this._btns.splice(e,1))},Object.defineProperty(t.prototype,"_header",{set:function(t){t&&(t.id||(t.id="rg-hdr-"+this.id),this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-describedby",t.id))},enumerable:!0,configurable:!0}),t.prototype.onChange=function(t){this.value=t,this._update(),this.onTouched(),this.ionChange.emit(t),this._cd.detectChanges()},t.prototype.onTouched=function(){},t.prototype.setDisabledState=function(t){this.disabled=t},t}(),s=-1},function(t,e,n){"use strict";function i(t){return r._19(2,[r._16(402653184,1,{_fixedContent:0}),r._16(402653184,2,{_scrollContent:0}),(t()(),r.Z(2,0,[[1,0],["fixedContent",1]],null,1,"div",[["class","fixed-content"]],null,null,null,null,null)),r._10(null,0),(t()(),r.Z(4,0,[[2,0],["scrollContent",1]],null,1,"div",[["class","scroll-content"]],null,null,null,null,null)),r._10(null,1),r._10(null,2)],null,null)}n.d(e,"a",function(){return o}),e.b=i;var r=n(0),o=(n(1),n(4),n(7),n(22),n(5),n(13),r.X({encapsulation:2,styles:[],data:{}}))},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n(2),r=n(40),o=n(12),s=function(){function t(t,e,n){try{n&&"string"!=typeof n&&(n=Object.keys(n).map(function(t){return t+"="+n[t]}).join(",")),this._objectInstance=cordova.InAppBrowser.open(t,e,n)}catch(n){window.open(t,e),console.warn("Native: InAppBrowser is not installed or you are running on a browser. Falling back to window.open.")}}return t.prototype.show=function(){},t.prototype.close=function(){},t.prototype.hide=function(){},t.prototype.executeScript=function(t){},t.prototype.insertCSS=function(t){},t.prototype.on=function(t){var e=this;return new o.Observable(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},Object(i.__decorate)([Object(r.c)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],t.prototype,"show",null),Object(i.__decorate)([Object(r.c)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],t.prototype,"close",null),Object(i.__decorate)([Object(r.c)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],t.prototype,"hide",null),Object(i.__decorate)([Object(r.c)(),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[Object]),Object(i.__metadata)("design:returntype",Promise)],t.prototype,"executeScript",null),Object(i.__decorate)([Object(r.c)(),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[Object]),Object(i.__metadata)("design:returntype",Promise)],t.prototype,"insertCSS",null),Object(i.__decorate)([Object(r.e)(),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[String]),Object(i.__metadata)("design:returntype",o.Observable)],t.prototype,"on",null),t}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.create=function(t,e,n){return new s(t,e,n)},e=Object(i.__decorate)([Object(r.h)({pluginName:"InAppBrowser",plugin:"cordova-plugin-inappbrowser",pluginRef:"cordova.InAppBrowser",repo:"https://github.com/apache/cordova-plugin-inappbrowser",platforms:["AmazonFire OS","Android","Browser","iOS","macOS","Windows"]})],e)}(r.g)},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n(2),r=n(40),o=n(12),s=function(){function t(t,e,n){try{this._objectInstance=cordova.ThemeableBrowser.open(t,e,n)}catch(e){window.open(t),console.warn("Native: ThemeableBrowser is not installed or you are running on a browser. Falling back to window.open.")}}return t.prototype.show=function(){},t.prototype.close=function(){},t.prototype.reload=function(){},t.prototype.executeScript=function(t){},t.prototype.insertCss=function(t){},t.prototype.on=function(t){var e=this;return new o.Observable(function(n){return e._objectInstance.addEventListener(t,n.next.bind(n)),function(){return e._objectInstance.removeEventListener(t,n.next.bind(n))}})},Object(i.__decorate)([Object(r.c)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],t.prototype,"show",null),Object(i.__decorate)([Object(r.c)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],t.prototype,"close",null),Object(i.__decorate)([Object(r.c)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],t.prototype,"reload",null),Object(i.__decorate)([Object(r.c)(),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[Object]),Object(i.__metadata)("design:returntype",Promise)],t.prototype,"executeScript",null),Object(i.__decorate)([Object(r.c)(),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[Object]),Object(i.__metadata)("design:returntype",Promise)],t.prototype,"insertCss",null),Object(i.__decorate)([Object(r.e)({observable:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[String]),Object(i.__metadata)("design:returntype",o.Observable)],t.prototype,"on",null),t}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.create=function(t,e,n){return new s(t,e,n)},e=Object(i.__decorate)([Object(r.h)({pluginName:"ThemeableBrowser",plugin:"cordova-plugin-themeablebrowser",pluginRef:"cordova.ThemeableBrowser",repo:"https://github.com/initialxy/cordova-plugin-themeablebrowser",platforms:["Amazon Fire OS","Android","Blackberry 10","Browser","FirefoxOS","iOS","Ubuntu","Windows","Windows Phone"]})],e)}(r.g)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n(3),r=(n(1),n(7),n(15),n(24),n(39)),o=(n(4),n(17)),s=n(38),a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),u=function(t){function e(e,n,i,r,o,a,u,l,c){var p=t.call(this,r,a,u,"range",0,e,i,null)||this;return p._haptic=n,p._plt=o,p._dom=l,p._cd=c,p._min=0,p._max=100,p._step=1,p._valA=0,p._valB=0,p._ratioA=0,p._ratioB=0,p._events=new s.a(o),p}return a(e,t),Object.defineProperty(e.prototype,"min",{get:function(){return this._min},set:function(t){t=Math.round(t),isNaN(t)||(this._min=t,this._inputUpdated())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){return this._max},set:function(t){t=Math.round(t),isNaN(t)||(this._max=t,this._inputUpdated())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this._step},set:function(t){t=Math.round(t),!isNaN(t)&&t>0&&(this._step=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"snaps",{get:function(){return this._snaps},set:function(t){this._snaps=Object(i.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pin",{get:function(){return this._pin},set:function(t){this._pin=Object(i.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"debounce",{get:function(){return this._debouncer.wait},set:function(t){this._debouncer.wait=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dualKnobs",{get:function(){return this._dual},set:function(t){this._dual=Object(i.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ratio",{get:function(){return this._dual?Math.min(this._ratioA,this._ratioB):this._ratioA},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ratioUpper",{get:function(){return this._dual?Math.max(this._ratioA,this._ratioB):null},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._initialize(),this._events.pointerEvents({element:this._slider.nativeElement,pointerDown:this._pointerDown.bind(this),pointerMove:this._pointerMove.bind(this),pointerUp:this._pointerUp.bind(this),zone:!0}),this._createTicks()},e.prototype._pointerDown=function(t){if(this._disabled)return!1;this._fireFocus(),t.preventDefault(),t.stopPropagation();var e=Object(o.f)(t),n=this._rect=this._plt.getElementBoundingClientRect(this._slider.nativeElement),r=Object(i.a)(0,(e.x-n.left)/n.width,1);return this._activeB=this._dual&&Math.abs(r-this._ratioA)>Math.abs(r-this._ratioB),this._update(e,n,!0),this._haptic.gestureSelectionStart(),!0},e.prototype._pointerMove=function(t){if(!this._disabled){t.preventDefault(),t.stopPropagation();this._update(Object(o.f)(t),this._rect,!0)&&this._snaps&&this._haptic.gestureSelectionChanged()}},e.prototype._pointerUp=function(t){this._disabled||(t.preventDefault(),t.stopPropagation(),this._update(Object(o.f)(t),this._rect,!1),this._haptic.gestureSelectionEnd(),this._fireBlur())},e.prototype._update=function(t,e,n){var r=Object(i.a)(0,(t.x-e.left)/e.width,1),o=this._ratioToValue(r);this._snaps&&(r=this._valueToRatio(o)),this._pressed=n;var s=!1;if(this._activeB?(this._pressedB=n,this._pressedA=!1,this._ratioB=r,s=o===this._valB,this._valB=o):(this._pressedA=n,this._pressedB=!1,this._ratioA=r,s=o===this._valA,this._valA=o),this._updateBar(),s)return!1;var a;return a=this._dual?{lower:Math.min(this._valA,this._valB),upper:Math.max(this._valA,this._valB)}:this._valA,this.value=a,!0},e.prototype._updateBar=function(){var t=this._ratioA,e=this._ratioB;this._dual?(this._barL=100*Math.min(t,e)+"%",this._barR=100-100*Math.max(t,e)+"%"):(this._barL="",this._barR=100-100*t+"%"),this._updateTicks()},e.prototype._createTicks=function(){var t=this;this._snaps&&this._dom.write(function(){t._ticks=[];for(var e=t._min;e<=t._max;e+=t._step){var n=t._valueToRatio(e);t._ticks.push({ratio:n,left:100*n+"%"})}t._updateTicks()})},e.prototype._updateTicks=function(){var t=this._ticks,e=this.ratio;if(this._snaps&&t)if(this._dual){var n=this.ratioUpper;t.forEach(function(t){t.active=t.ratio>=e&&t.ratio<=n})}else t.forEach(function(t){t.active=t.ratio<=e})},e.prototype._keyChg=function(t,e){var n=this._step;e?(t?this._valB+=n:this._valB-=n,this._valB=Object(i.a)(this._min,this._valB,this._max),this._ratioB=this._valueToRatio(this._valB)):(t?this._valA+=n:this._valA-=n,this._valA=Object(i.a)(this._min,this._valA,this._max),this._ratioA=this._valueToRatio(this._valA)),this._updateBar()},e.prototype._ratioToValue=function(t){return t=Math.round((this._max-this._min)*t),t=Math.round(t/this._step)*this._step+this._min,Object(i.a)(this._min,t,this._max)},e.prototype._valueToRatio=function(t){return t=Math.round((t-this._min)/this._step)*this._step,t/=this._max-this._min,Object(i.a)(0,t,1)},e.prototype._inputNormalize=function(t){return this._dual?t:(t=parseFloat(t),isNaN(t)?void 0:t)},e.prototype._inputUpdated=function(){var t=this.value;this._dual?(this._valA=t.lower,this._valB=t.upper,this._ratioA=this._valueToRatio(t.lower),this._ratioB=this._valueToRatio(t.upper)):(this._valA=t,this._ratioA=this._valueToRatio(t)),this._updateBar(),this._cd.detectChanges()},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._events.destroy()},e}(r.a)},function(t,e,n){"use strict";function i(t){var e=new s;for(var n in t)"function"!=typeof t[n]&&(e[n]=t[n]);return e}n.d(e,"a",function(){return a});var r=n(2),o=n(40),s=function(){function t(){!0===Object(o.i)("navigator.contacts","create","Contacts")&&(this._objectInstance=navigator.contacts.create())}return t.prototype.clone=function(){var e=new t;for(var n in this){if("id"===n)return;e[n]=this[n]}return e},t.prototype.remove=function(){},t.prototype.save=function(){var t=this;return Object(o.j)(function(e,n){t._objectInstance.save(function(n){t._objectInstance=n,e(t)},n)})},Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",String)],t.prototype,"id",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",String)],t.prototype,"rawId",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",String)],t.prototype,"displayName",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",Object)],t.prototype,"name",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",String)],t.prototype,"nickname",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",Array)],t.prototype,"phoneNumbers",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",Array)],t.prototype,"emails",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",Array)],t.prototype,"addresses",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",Array)],t.prototype,"ims",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",Array)],t.prototype,"organizations",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",Date)],t.prototype,"birthday",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",String)],t.prototype,"note",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",Array)],t.prototype,"photos",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",Array)],t.prototype,"categories",void 0),Object(r.__decorate)([o.f,Object(r.__metadata)("design:type",Array)],t.prototype,"urls",void 0),Object(r.__decorate)([Object(o.e)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",t)],t.prototype,"clone",null),Object(r.__decorate)([Object(o.c)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",Promise)],t.prototype,"remove",null),Object(r.__decorate)([Object(o.e)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",Promise)],t.prototype,"save",null),t}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.create=function(){return new s},e.prototype.find=function(t,e){return Object(o.j)(function(n,r){navigator.contacts.find(t,function(t){n(t.map(i))},r,e)})},e.prototype.pickContact=function(){return Object(o.j)(function(t,e){navigator.contacts.pickContact(function(e){return t(i(e))},e)})},Object(r.__decorate)([Object(o.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[Array,Object]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"find",null),Object(r.__decorate)([Object(o.b)(),Object(r.__metadata)("design:type",Function),Object(r.__metadata)("design:paramtypes",[]),Object(r.__metadata)("design:returntype",Promise)],e.prototype,"pickContact",null),e=Object(r.__decorate)([Object(o.h)({pluginName:"Contacts",plugin:"cordova-plugin-contacts",pluginRef:"navigator.contacts",repo:"https://github.com/apache/cordova-plugin-contacts",platforms:["Android","BlackBerry 10","Browser","Firefox OS","iOS","Ubuntu","Windows","Windows 8","Windows Phone"]})],e)}(o.g)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(108),r=(n(1),function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new i.a(this._app,t,this.config)},t}())},function(t,e,n){"use strict";var i=n(0),r=n(36),o=n(3),s=n(5),a=n(9),u=n(13),l=n(11),c=n(8),p=n(107),h=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),d=function(t){function e(e,n,i,r){var o=t.call(this,e,e.doc().body,{direction:"x",edge:"start",maxEdgeStart:75,threshold:5,zone:!1,domController:r,gesture:i.createGesture({name:c.b,priority:c.e,disableScroll:!0})})||this;return o._nav=n,o}return h(e,t),e.prototype.canStart=function(e){return this._nav.canSwipeBack()&&t.prototype.canStart.call(this,e)},e.prototype.onSlideBeforeStart=function(t){this._nav.swipeBackStart()},e.prototype.onSlide=function(t,e){e.preventDefault(),e.stopPropagation();this._nav.swipeBackProgress(t.distance/t.max)},e.prototype.onSlideEnd=function(t,e){var n=t.velocity,i=t.distance/t.max,r=n<0,s=Math.abs(t.velocity)>.4,a=Math.abs(t.delta)<.5*Math.abs(t.max),u=!Object(o.t)(r,s,a);this._nav.swipeBackEnd(u,i,n)},e}(p.a);n.d(e,"a",function(){return _});var f=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),_=function(t){function e(e,n,r,o,s,a,u,l,c,p,h,d,f){var _=t.call(this,r,s,u)||this;return _.parent=e,_._app=n,_.config=r,_.plt=o,_._zone=a,_._cfr=l,_._gestureCtrl=c,_._trnsCtrl=p,_._linker=h,_._domCtrl=d,_._errHandler=f,_._ids=-1,_._init=!1,_._queue=[],_._trnsId=null,_._trnsTm=!1,_._views=[],_._zIndexOffset=0,_.viewDidLoad=new i.l,_.viewWillEnter=new i.l,_.viewDidEnter=new i.l,_.viewWillLeave=new i.l,_.viewDidLeave=new i.l,_.viewWillUnload=new i.l,_._sbEnabled=r.getBoolean("swipeBackEnabled"),_._children=[],_.id="n"+ ++v,_._destroyed=!1,_}return f(e,t),Object.defineProperty(e.prototype,"swipeBackEnabled",{get:function(){return this._sbEnabled},set:function(t){this._sbEnabled=Object(o.o)(t),this._swipeBackCheck()},enumerable:!0,configurable:!0}),e.prototype.push=function(t,e,n,i){return this._queueTrns({insertStart:-1,insertViews:[{page:t,params:e}],opts:n},i)},e.prototype.insert=function(t,e,n,i,r){return this._queueTrns({insertStart:t,insertViews:[{page:e,params:n}],opts:i},r)},e.prototype.insertPages=function(t,e,n,i){return this._queueTrns({insertStart:t,insertViews:e,opts:n},i)},e.prototype.pop=function(t,e){return this._queueTrns({removeStart:-1,removeCount:1,opts:t},e)},e.prototype.popTo=function(t,e,n){var i={removeStart:-1,removeCount:-1,opts:e};return Object(s.b)(t)?(i.removeView=t,i.removeStart=1):Object(o.j)(t)&&(i.removeStart=t+1),this._queueTrns(i,n)},e.prototype.popToRoot=function(t,e){return this._queueTrns({removeStart:1,removeCount:-1,opts:t},e)},e.prototype.popAll=function(){for(var t=[],e=this._views.length-1;e>=0;e--)t.push(this.pop(null));return Promise.all(t)},e.prototype.remove=function(t,e,n,i){return void 0===e&&(e=1),this._queueTrns({removeStart:t,removeCount:e,opts:n},i)},e.prototype.removeView=function(t,e,n){return this._queueTrns({removeView:t,removeStart:0,removeCount:1,opts:e},n)},e.prototype.setRoot=function(t,e,n,i){return this.setPages([{page:t,params:e}],n,i)},e.prototype.setPages=function(t,e,n){return Object(o.f)(e)&&(e={}),!0!==e.animate&&(e.animate=!1),this._queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:e},n)},e.prototype._queueTrns=function(t,e){var n=new Promise(function(e,n){t.resolve=e,t.reject=n});return t.done=e,t.insertViews&&0===t.insertViews.length&&(t.insertViews=void 0),this._queue.push(t),this._nextTrns(),n},e.prototype._success=function(t,e){null!==this._queue?(this._init=!0,this._trnsId=null,this.setTransitioning(!1),this._swipeBackCheck(),this._nextTrns(),e.done&&e.done(t.hasCompleted,t.requiresTransition,t.enteringName,t.leavingName,t.direction),e.resolve(t.hasCompleted)):this._fireError("nav controller was destroyed",e)},e.prototype._failed=function(t,e){null!==this._queue?(this._trnsId=null,this._queue.length=0,this.setTransitioning(!1),this._swipeBackCheck(),this._nextTrns(),this._fireError(t,e)):this._fireError("nav controller was destroyed",e)},e.prototype._fireError=function(t,e){e.done&&e.done(!1,!1,t),e.reject&&!this._destroyed?e.reject(t):e.resolve(!1)},e.prototype._nextTrns=function(){var t=this;if(this.isTransitioning())return!1;var e=this._queue.shift();if(!e)return!1;var n,i;return this._startTI(e).then(function(){return t._loadLazyLoading(e)}).then(function(){if(i=t.getActive(),n=t._getEnteringView(e,i),!i&&!n)throw"no views in the stack to be removed";n&&n._state===r.h&&t._viewInit(n),e.requiresTransition=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&n!==i}).then(function(){return t._viewTest(n,i,e)}).then(function(){return t._postViewInit(n,i,e)}).then(function(){return t._transition(n,i,e)}).then(function(n){return t._success(n,e)}).catch(function(n){return t._failed(n,e)}),!0},e.prototype._startTI=function(t){var e=this._views.length;if(Object(o.l)(t.removeView)){var n=this.indexOf(t.removeView);if(n<0)return Promise.reject("removeView was not found");t.removeStart+=n}return Object(o.l)(t.removeStart)&&(t.removeStart<0&&(t.removeStart=e-1),t.removeCount<0&&(t.removeCount=e-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===e),t.insertViews&&((t.insertStart<0||t.insertStart>e)&&(t.insertStart=e),t.enteringRequiresTransition=t.insertStart===e),this.setTransitioning(!0),Promise.resolve()},e.prototype._loadLazyLoading=function(t){var e=this,n=t.insertViews;return n?Object(r.i)(this._linker,n).then(function(n){if(0===(n=n.filter(function(t){return null!==t})).length)throw"invalid views to insert";for(var i=0;i=0;r--)if(s=a[r],(r=u)&&s!==e)return s}return null},e.prototype._postViewInit=function(t,e,n){var i,s,a,u=this,l=n.opts||{},c=n.insertViews,p=n.removeStart,h=n.removeCount;if(Object(o.l)(p)){for(a=[],s=0;s0)for(this._zone.run(function(){for(s=0;sy&&!1!==i.disableApp&&this._app.setEnabled(!1,u+m,i.minClickBlockDuration),i.progressAnimation?t.progressStart():t.play()),l.then(function(){return o._zone.run(function(){return o._transitionFinish(t,i)})})},e.prototype._transitionFinish=function(t,e){var n,i,r=t.hasCompleted,o=t.enteringView,s=t.leavingView;return r?(o&&(n=o.name,this._didEnter(o)),s&&(i=s.name,this._didLeave(s)),this._cleanup(o)):this._cleanup(s),t.isRoot()&&(this._trnsCtrl.destroy(t.trnsId),this._app.setEnabled(!0),this.setTransitioning(!1),this.hasChildren()||!1===e.updateUrl||this._linker.navChange(e.direction),!1!==e.keyboardClose&&this.plt.focusOutActiveElement()),{hasCompleted:r,requiresTransition:!0,enteringName:n,leavingName:i,direction:e.direction}},e.prototype._viewsWillLifecycles=function(t,e){var n=this;(t||e)&&this._zone.run(function(){if(e){n._willLeave(e,!t||e.index>t.index)}t&&n._willEnter(t)})},e.prototype._insertViewAt=function(t,e){var n=this._views.indexOf(t);n>-1?this._views.splice(e,0,this._views.splice(n,1)[0]):(t._setNav(this),this._ids++,t.id||(t.id=this.id+"-"+this._ids),this._views.splice(e,0,t))},e.prototype._removeView=function(t){var e=this._views,n=e.indexOf(t);n>=0&&e.splice(n,1)},e.prototype._destroyView=function(t){t._destroy(this._renderer),this._removeView(t)},e.prototype._cleanup=function(t){if(!this._destroyed){var e=this._views.indexOf(t),n=this._views,i=!1,o=void 0,s=void 0;for(s=n.length-1;s>=0;s--)o=n[s],s>e?(this._willUnload(o),this._destroyView(o)):s0},e.prototype.getActiveChildNavs=function(){return this._children},e.prototype.getAllChildNavs=function(){return this._children},e.prototype.registerChildNav=function(t){this._children.push(t)},e.prototype.unregisterChildNav=function(t){this._children=this._children.filter(function(e){return e!==t})},e.prototype.destroy=function(){for(var t,e=this._views,n=0;n0)){this._queueTrns({removeStart:-1,removeCount:1,opts:{direction:r.a,progressAnimation:!0}},null)}},e.prototype.swipeBackProgress=function(t){this._sbTrns&&this._sbGesture&&(this._app.setEnabled(!1,g),this.setTransitioning(!0),this._sbTrns.progressStep(t))},e.prototype.swipeBackEnd=function(t,e,n){if(this._sbTrns&&this._sbGesture){var i=this._sbTrns.getDuration()/(Math.abs(n)+1);this._sbTrns.progressEnd(t,e,i)}},e.prototype._swipeBackCheck=function(){this.canSwipeBack()?(this._sbGesture||(this._sbGesture=new d(this.plt,this,this._gestureCtrl,this._domCtrl)),this._sbGesture.listen()):this._sbGesture&&this._sbGesture.unlisten()},e.prototype.canSwipeBack=function(){return this._sbEnabled&&!this._isPortal&&!this._children.length&&!this.isTransitioning()&&this._app.isEnabled()&&this.canGoBack()},e.prototype.canGoBack=function(){var t=this.getActive();return!(!t||!t.enableBack())},e.prototype.isTransitioning=function(){return this._trnsTm},e.prototype.setTransitioning=function(t){this._trnsTm=t},e.prototype.getActive=function(){return this._views[this._views.length-1]},e.prototype.isActive=function(t){return t===this.getActive()},e.prototype.getByIndex=function(t){return this._views[t]},e.prototype.getPrevious=function(t){t||(t=this.getActive());var e=this._views,n=e.indexOf(t);return n>0?e[n-1]:null},e.prototype.first=function(){return this._views[0]},e.prototype.last=function(){var t=this._views;return t[t.length-1]},e.prototype.indexOf=function(t){return this._views.indexOf(t)},e.prototype.length=function(){return this._views.length},e.prototype.getViews=function(){return this._views},e.prototype.getViewById=function(t){for(var e=0,n=this._views;e=this.threshold){var i=Math.atan2(n,e),r="y"===this.direction?Math.sin(i):Math.cos(i);return this._angle=i,this._isPan=r>this.maxCosine?1:r<-this.maxCosine?-1:0,this.dirty=!1,!0}return!1},t.prototype.angle=function(){return this._angle},t.prototype.pan=function(){return this._isPan},t}(),o=n(17),s=n(38);n.d(e,"a",function(){return a});var a=function(){function t(t,e,n){void 0===n&&(n={}),this.plt=t,this.element=e,Object(i.d)(n,{threshold:20,maxAngle:40,direction:"x",zone:!0,capture:!1,passive:!1}),this.events=new s.a(t),n.domController&&(this.debouncer=n.domController.debouncer()),this.gestute=n.gesture,this.direction=n.direction,this.eventsConfig={element:this.element,pointerDown:this.pointerDown.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerUp.bind(this),zone:n.zone,capture:n.capture,passive:n.passive},n.threshold>0&&(this.detector=new r(n.direction,n.threshold,n.maxAngle))}return t.prototype.listen=function(){this.isListening||(this.pointerEvents=this.events.pointerEvents(this.eventsConfig),this.isListening=!0)},t.prototype.unlisten=function(){this.isListening&&(this.gestute&&this.gestute.release(),this.events.unlistenAll(),this.isListening=!1)},t.prototype.destroy=function(){this.gestute&&this.gestute.destroy(),this.gestute=null,this.unlisten(),this.events.destroy(),this.events=this.element=this.gestute=null},t.prototype.pointerDown=function(t){if(!this.started){if(!this.canStart(t))return!1;if(this.gestute&&(this.gestute.release(),!this.gestute.start()))return!1;this.started=!0,this.captured=!1;var e=Object(o.f)(t);if(this.detector)this.detector.start(e);else if(!this.tryToCapture(t))return this.started=!1,this.captured=!1,this.gestute.release(),!1;return!0}},t.prototype.pointerMove=function(t){var e=this;if(this.captured)this.debouncer.write(function(){e.onDragMove(t)});else{var n=Object(o.f)(t);this.detector.detect(n)&&0!==this.detector.pan()&&(this.tryToCapture(t)||this.abort(t))}},t.prototype.pointerUp=function(t){this.debouncer.cancel(),this.gestute&&this.gestute.release(),this.captured?this.onDragEnd(t):this.notCaptured(t),this.captured=!1,this.started=!1},t.prototype.tryToCapture=function(t){return!(this.gestute&&!this.gestute.capture())&&(this.onDragStart(t),this.captured=!0,!0)},t.prototype.abort=function(t){this.started=!1,this.captured=!1,this.gestute.release(),this.pointerEvents.stop(),this.notCaptured(t)},t.prototype.getNativeElement=function(){return this.element},t.prototype.canStart=function(t){return!0},t.prototype.onDragStart=function(t){},t.prototype.onDragMove=function(t){},t.prototype.onDragEnd=function(t){},t.prototype.notCaptured=function(t){},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(8),r=(n(1),n(27)),o=(n(11),n(5),function(){function t(t,e,n,r,o,a){this._viewCtrl=t,this._elementRef=n,this.gestureBlocker=r.createBlocker(i.a),this.d=o.data,this.mode=e.get("mode"),a.setElementClass(n.nativeElement,"action-sheet-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&a.setElementClass(n.nativeElement,t,!0)}),this.id=++s,this.d.title&&(this.hdrId="acst-hdr-"+this.id),this.d.subTitle&&(this.descId="acst-subhdr-"+this.id)}return t.prototype.ionViewDidLoad=function(){var t=this;this.d.buttons=this.d.buttons.map(function(e){switch("string"==typeof e&&(e={text:e}),e.cssClass||(e.cssClass=""),e.role){case"cancel":return t.cancelButton=e,null;case"destructive":e.cssClass=(e.cssClass+" "||"")+"action-sheet-destructive";break;case"selected":e.cssClass=(e.cssClass+" "||"")+"action-sheet-selected"}return e}).filter(function(t){return null!==t})},t.prototype.ionViewWillEnter=function(){this.gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this.gestureBlocker.unblock()},t.prototype.ionViewDidEnter=function(){var t=this._elementRef.nativeElement.querySelector("button");t&&t.focus(),this.enabled=!0},t.prototype.keyUp=function(t){this.enabled&&t.keyCode===r.c&&this._viewCtrl.isLast()&&this.bdClick()},t.prototype.click=function(t){if(this.enabled){var e=!0;t.handler&&!1===t.handler()&&(e=!1),e&&this.dismiss(t.role)}},t.prototype.bdClick=function(){this.enabled&&this.d.enableBackdropDismiss&&(this.cancelButton?this.click(this.cancelButton):this.dismiss("backdrop"))},t.prototype.dismiss=function(t){return this._viewCtrl.dismiss(null,t,{minClickBlockDuration:400})},t.prototype.ngOnDestroy=function(){this.d=this.cancelButton=null,this.gestureBlocker.destroy()},t}()),s=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return a});n(1);var i=n(17),r=n(8),o=n(3),s=n(27),a=(n(11),n(4),n(5),function(){function t(t,e,n,i,o,s,a){this._viewCtrl=t,this._elementRef=e,this._renderer=s,this._plt=a,this.gestureBlocker=i.createBlocker(r.a),this.d=o.data,this.mode=this.d.mode||n.get("mode"),this.keyboardResizes=n.getBoolean("keyboardResizes",!1),s.setElementClass(e.nativeElement,"alert-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&s.setElementClass(e.nativeElement,t,!0)}),this.id=++u,this.descId="",this.hdrId="alert-hdr-"+this.id,this.subHdrId="alert-subhdr-"+this.id,this.msgId="alert-msg-"+this.id,this.activeId="",this.lastClick=0,this.d.message?this.descId=this.msgId:this.d.subTitle&&(this.descId=this.subHdrId),this.d.message||(this.d.message="")}return t.prototype.ionViewDidLoad=function(){var t=this,e=this.d;e.buttons=e.buttons.map(function(t){return"string"==typeof t?{text:t}:t}),e.inputs=e.inputs.map(function(e,n){return{type:e.type||"text",name:Object(o.l)(e.name)?e.name:n+"",placeholder:Object(o.l)(e.placeholder)?e.placeholder:"",value:Object(o.l)(e.value)?e.value:"",label:e.label,checked:!!e.checked,disabled:!!e.disabled,id:Object(o.l)(e.id)?e.id:"alert-input-"+t.id+"-"+n,handler:Object(o.l)(e.handler)?e.handler:null,min:Object(o.l)(e.min)?e.min:null,max:Object(o.l)(e.max)?e.max:null}});var n=[];e.inputs.forEach(function(t){n.indexOf(t.type)<0&&n.push(t.type)}),n.length>1&&(n.indexOf("checkbox")>-1||n.indexOf("radio")>-1)&&console.warn("Alert cannot mix input types: "+n.join("/")+". Please see alert docs for more info."),this.inputType=n.length?n[0]:null;var r=this.d.inputs.find(function(t){return t.checked});r&&(this.activeId=r.id);var s=this.d.inputs.length&&this.d.inputs.some(function(t){return!i.a.test(t.type)});!this.keyboardResizes&&s&&this._plt.is("mobile")&&this._renderer.setElementClass(this._elementRef.nativeElement,"alert-top",!0)},t.prototype.ionViewWillEnter=function(){this.gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this.gestureBlocker.unblock()},t.prototype.ionViewDidEnter=function(){var t=this._elementRef.nativeElement.querySelector("input,button");t&&setTimeout(function(){return t.focus()}),this.enabled=!0},t.prototype.keyUp=function(t){if(this.enabled&&this._viewCtrl.isLast())if(t.keyCode===s.b){if(this.lastClick+1e3=0;s--){var a=this.getByIndex(s);if(a&&(a.id===i||a.component===i))return s===o?Promise.resolve():this.popTo(a,{animate:!1,updateUrl:!1})}return(n&&n.defaultHistory&&n.defaultHistory.length&&0===this._views.length?this.linker.initViews(n).then(function(n){return e.setPages(n,t)}):this.push(i,r,t)).then(function(){e._segment=null,e._loaded=!0})}return this._dom.read(function(){e.resize()}),Promise.resolve()},e.prototype.resize=function(){var t=this.getActive();if(t){var e=t.getIONContent();e&&e.resize()}},e.prototype._viewAttachToDOM=function(e,n,i){var r=this._tabsHideOnSubPages&&e.index>0;if(r&&(i=this.parent.portal),t.prototype._viewAttachToDOM.call(this,e,n,i),r){var o=e.pageRef();o&&this._renderer.setElementClass(o.nativeElement,"tab-subpage",!0)}},e.prototype.setSelected=function(t){this.isSelected=t,this.setElementClass("show-tab",t),this.setElementAttribute("aria-hidden",(!t).toString()),t?this._cd.reattach():this._cd.detach()},Object.defineProperty(e.prototype,"index",{get:function(){return this.parent.getIndex(this)},enumerable:!0,configurable:!0}),e.prototype.updateHref=function(t,e){if(this.btn&&this.linker){var n=this.linker.createUrl(this.parent,t,e)||"#";this.btn.updateHref(n)}},e.prototype.ngOnDestroy=function(){this.destroy()},e.prototype.getType=function(){return"tab"},e.prototype.goToRoot=function(t){return this.setRoot(this.root,this.rootParams,t,null)},e}(o.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});n(7);var i=function(){function t(t,e){this._elementRef=t,this._dom=e}return t.prototype.select=function(t){var e=this;if(t){var n=this._dom;n.read(function(){var i=t.btn.getNativeElement(),r="translate3d("+i.offsetLeft+"px,0,0) scaleX("+i.offsetWidth+")";n.write(function(){var t=e._elementRef.nativeElement;t.style[n.plt.Css.transform]=r,e._init||(e._init=!0,n.write(function(){t.classList.add("animate")},80))})},32)}},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n(0),r=(n(1),n(9)),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.ionSelect=new i.l,o.disHover=!1===e.get("hoverCSS"),o.layout=e.get("tabsLayout"),o}return o(e,t),e.prototype.ngOnInit=function(){this.tab.btn=this,this.layout=this.tab.parent.tabsLayout||this.layout,this.hasTitle=!!this.tab.tabTitle,this.hasIcon=!!this.tab.tabIcon&&"icon-hide"!==this.layout,this.hasTitleOnly=this.hasTitle&&!this.hasIcon,this.hasIconOnly=this.hasIcon&&!this.hasTitle,this.hasBadge=!!this.tab.tabBadge},e.prototype.onClick=function(){return this.ionSelect.emit(this.tab),!1},e.prototype.updateHref=function(t){this.setElementAttribute("href",t)},e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(2),r=n(40),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.show=function(){},e.prototype.hide=function(){},Object(i.__decorate)([Object(r.a)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],e.prototype,"show",null),Object(i.__decorate)([Object(r.a)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],e.prototype,"hide",null),e=Object(i.__decorate)([Object(r.h)({pluginName:"SplashScreen",plugin:"cordova-plugin-splashscreen",pluginRef:"navigator.splashscreen",repo:"https://github.com/apache/cordova-plugin-splashscreen",platforms:["Amazon Fire OS","Android","iOS","Windows"]})],e)}(r.g)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(2),r=n(40),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.overlaysWebView=function(t){},e.prototype.styleDefault=function(){},e.prototype.styleLightContent=function(){},e.prototype.styleBlackTranslucent=function(){},e.prototype.styleBlackOpaque=function(){},e.prototype.backgroundColorByName=function(t){},e.prototype.backgroundColorByHexString=function(t){},e.prototype.hide=function(){},e.prototype.show=function(){},Object(i.__decorate)([Object(r.a)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[Boolean]),Object(i.__metadata)("design:returntype",void 0)],e.prototype,"overlaysWebView",null),Object(i.__decorate)([Object(r.a)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],e.prototype,"styleDefault",null),Object(i.__decorate)([Object(r.a)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],e.prototype,"styleLightContent",null),Object(i.__decorate)([Object(r.a)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],e.prototype,"styleBlackTranslucent",null),Object(i.__decorate)([Object(r.a)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],e.prototype,"styleBlackOpaque",null),Object(i.__decorate)([Object(r.a)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[String]),Object(i.__metadata)("design:returntype",void 0)],e.prototype,"backgroundColorByName",null),Object(i.__decorate)([Object(r.a)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[String]),Object(i.__metadata)("design:returntype",void 0)],e.prototype,"backgroundColorByHexString",null),Object(i.__decorate)([Object(r.a)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],e.prototype,"hide",null),Object(i.__decorate)([Object(r.a)({sync:!0}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",void 0)],e.prototype,"show",null),Object(i.__decorate)([r.d,Object(i.__metadata)("design:type",Boolean)],e.prototype,"isVisible",void 0),e=Object(i.__decorate)([Object(r.h)({pluginName:"StatusBar",plugin:"cordova-plugin-statusbar",pluginRef:"StatusBar",repo:"https://github.com/apache/cordova-plugin-statusbar",platforms:["Android","iOS","Windows"]})],e)}(r.g)},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n(2),r=n(40),o=n(12),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),e.prototype.getCurrentPosition=function(t){},e.prototype.watchPosition=function(t){return new o.Observable(function(e){var n=navigator.geolocation.watchPosition(e.next.bind(e),e.next.bind(e),t);return function(){return navigator.geolocation.clearWatch(n)}})},Object(i.__decorate)([Object(r.a)({callbackOrder:"reverse"}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[Object]),Object(i.__metadata)("design:returntype",Promise)],e.prototype,"getCurrentPosition",null),e=Object(i.__decorate)([Object(r.h)({pluginName:"Geolocation",plugin:"cordova-plugin-geolocation",pluginRef:"navigator.geolocation",repo:"https://github.com/apache/cordova-plugin-geolocation",install:'ionic cordova plugin add cordova-plugin-geolocation --variable GEOLOCATION_USAGE_DESCRIPTION="To locate you"',installVariables:["GEOLOCATION_USAGE_DESCRIPTION"],platforms:["Amazon Fire OS","Android","Browser","iOS","Windows"]})],e)}(r.g)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(1);var i=n(9),r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e,n,i,r,o){var s=t.call(this,e,n,i,"bar-buttons")||this;return s.inToolbar=!(!r&&!o),s}return r(e,t),Object.defineProperty(e.prototype,"_buttons",{set:function(t){this.inToolbar&&t.forEach(function(t){t.setRole("bar-button")})},enumerable:!0,configurable:!0}),e}(i.a)},,function(t,e,n){"use strict";function i(t){return a._19(0,[(t()(),a.Z(0,0,null,null,1,"ion-icon",[["name","reorder"],["role","img"]],[[2,"hide",null]],null,null,null,null)),a.Y(1,147456,null,0,c.a,[l.a,a.j,a.z],{name:[0,"name"]},null)],function(t,e){t(e,1,0,"reorder")},function(t,e){t(e,0,0,a._11(e,1)._hidden)})}function r(t){return a._19(0,[(t()(),a.Z(0,0,null,null,2,"ion-label",[],null,null,null,null,null)),a.Y(1,16384,[[1,4]],0,u.a,[l.a,a.j,a.z,[8,null],[8,null],[8,null],[8,null]],null,null),a._10(null,2)],null,null)}function o(t){return a._19(0,[(t()(),a.Z(0,0,null,null,1,"ion-reorder",[],null,[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==a._11(t,1).onClick(n)&&i}return i},i,h)),a.Y(1,49152,null,0,p.a,[a.j],null,null)],null,null)}function s(t){return a._19(2,[a._16(671088640,1,{viewLabel:0}),a._10(null,0),(t()(),a.Z(2,0,null,null,8,"div",[["class","item-inner"]],null,null,null,null,null)),(t()(),a.Z(3,0,null,null,4,"div",[["class","input-wrapper"]],null,null,null,null,null)),a._10(null,1),(t()(),a.U(16777216,null,null,1,null,r)),a.Y(6,16384,null,0,d.i,[a.I,a.F],{ngIf:[0,"ngIf"]},null),a._10(null,3),a._10(null,4),(t()(),a.U(16777216,null,null,1,null,o)),a.Y(10,16384,null,0,d.i,[a.I,a.F],{ngIf:[0,"ngIf"]},null),(t()(),a.Z(11,0,null,null,0,"div",[["class","button-effect"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,6,0,n._viewLabel);t(e,10,0,n._hasReorder)},null)}var a=n(0),u=n(54),l=n(1),c=n(34),p=n(76),h=a.X({encapsulation:2,styles:[],data:{}}),d=n(10);n(16),n(15),n(41);n.d(e,"a",function(){return f}),e.b=s;var f=a.X({encapsulation:2,styles:[],data:{}})},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){return function(){}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){return function(){}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){return function(){}}()},function(t,e,n){"use strict";function i(t){return Math.floor(t)}function r(t,e){if(t)if(t.length)for(var n=0;n-1}function y(t){return-t._snapGrid[0]}function g(t){return-t._snapGrid[t._snapGrid.length-1]}function m(t,e,n){var i,r,o,s=t._rtl?-1:1;i=e.getAttribute("data-swiper-parallax")||"0",r=e.getAttribute("data-swiper-parallax-x"),o=e.getAttribute("data-swiper-parallax-y"),r||o?(r=r||"0",o=o||"0"):_(t)?(r=i,o="0"):(o=i,r="0"),c(e,"translate3d("+(r=r.indexOf("%")>=0?parseInt(r,10)*n*s+"%":r*n*s+"px")+", "+(o=o.indexOf("%")>=0?parseInt(o,10)*n+"%":o*n+"px")+",0px)")}function b(t){l(t.container,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]",function(e){m(t,e,t.progress)});for(var e=0;e=1),t._zone.run(function(){t._isBeginning&&!i&&t.ionSlideReachStart.emit(),t._isEnd&&!r&&t.ionSlideReachEnd.emit(),t.watchSlidesProgress&&function(t,e){void 0===e&&(e=t._translate||0);if(0===t._slides.length)return;void 0===t._slides[0].swiperSlideOffset&&f(t);var n=-e;t._rtl&&(n=e);s(t._slides,mt.slideVisible);for(var i=0;i=0&&a0&&u<=t._renderedSize||a<=0&&u>=t._renderedSize;l&&t._slides[i].classList.add(mt.slideVisible)}r.progress=t._rtl?-o:o}}(t,e),t.ionSlideProgress.emit(t.progress)})}function C(t,e){e?t.setAttribute("aria-disabled","true"):t.hasAttribute("aria-disabled")&&t.removeAttribute("aria-disabled")}function O(t,e){e?t.setAttribute("aria-hidden","true"):t.hasAttribute("aria-hidden")&&t.removeAttribute("aria-hidden")}function S(t){if(t.paginationType&&t._paginationContainer){var e="";if("bullets"===t.paginationType)for(var n=t.loop?Math.ceil((t._slides.length-2*t.loopedSlides)/t.slidesPerGroup):t._snapGrid.length,i=0;i';else"fraction"===t.paginationType?e=' / ':"progress"===t.paginationType&&(e='');t._paginationContainer.innerHTML=e,t._bullets=t._paginationContainer.querySelectorAll("."+mt.bullet)}}function E(t){s(t._slides,[mt.slideActive,mt.slideNext,mt.slidePrev,mt.slideDuplicateActive,mt.slideDuplicateNext,mt.slideDuplicatePrev]);for(var e=0;et._slides.length-1-2*t.loopedSlides&&(e-=t._slides.length-2*t.loopedSlides),e>n-1&&(e-=n),e<0&&"bullets"!==t.paginationType&&(e=n+e)):e=void 0!==t._snapIndex?t._snapIndex:t._activeIndex||0,"bullets"===t.paginationType&&t._bullets)for(var i=e+(e<0?t._bullets.length:0),r=0;r=t._slidesGrid[n]&&r=t._slidesGrid[n]&&r=t._slidesGrid[n]&&(e=n);(i=Math.floor(e/t.slidesPerGroup))>=t._snapGrid.length&&(i=t._snapGrid.length-1),e!==t._activeIndex&&(t._snapIndex=i,t._previousIndex=t._activeIndex,t._activeIndex=e,E(t),T(t))}function T(t){var e=t._slides[t._activeIndex];e&&(t.realIndex=parseInt(e.getAttribute("data-swiper-slide-index")||t._activeIndex,10))}function k(t,e,n,r,o){var s=0,a=0;_(t)?s=t._rtl?-n:n:a=n,t.roundLengths&&(s=i(s),a=i(a)),t.virtualTranslate||c(t._wrapper,"translate3d("+s+"px, "+a+"px, 0px)"),t._translate=_(t)?s:a;var u=g(t)-y(t);(0===u?0:(n-y(t))/u)!==t.progress&&w(t,n),r&&x(t),"slide"!==t.effect&&Ct[t.effect]&&Ct[t.effect].setTranslate(t,e),t.parallax&&b(t),t.control&&bt.setTranslate(t,e,t._translate,o,k)}function P(t,e,n,i){var r,o,s,a,u=e.win();return void 0===i&&(i="x"),t.virtualTranslate?t._rtl?-t._translate:t._translate:(s=e.getElementComputedStyle(n),u.WebKitCSSMatrix?((o=s.transform||s.webkitTransform).split(",").length>6&&(o=o.split(", ").map(function(t){return t.replace(",",".")}).join(", ")),a=new u.WebKitCSSMatrix("none"===o?"":o)):r=(a=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(o=u.WebKitCSSMatrix?a.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===i&&(o=u.WebKitCSSMatrix?a.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),t._rtl&&o&&(o=-o),o||0)}function j(t,e,n,i){p(t._wrapper,n),"slide"!==t.effect&&Ct[t.effect]&&Ct[t.effect].setTransition(t,e,n),t.parallax&&function(t,e){void 0===e&&(e=t.speed),l(t.container,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]",function(t){var n=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),p(t,n)})}(t,n),t.control&&bt.setTransition(t,e,n,i,j)}function A(t){if(t.targetTouches.length<2)return 1;var e=t.targetTouches[0].pageX,n=t.targetTouches[0].pageY,i=t.targetTouches[1].pageX,r=t.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-e,2)+Math.pow(r-n,2))}function I(t,e,n){var i=t._zoom;if(t.originalEvent=n,!t._supportGestures){if("touchstart"!==n.type||"touchstart"===n.type&&n.targetTouches.length<2)return;i.gesture.scaleStart=A(n)}if(!i.gesture.slide&&(n.currentTarget&&n.currentTarget.classList.contains(mt.slide)&&(i.gesture.slide=n.currentTarget),i.gesture.slide||(i.gesture.slide=t._slides[t._activeIndex]),i.gesture.image=i.gesture.slide.querySelector("img, svg, canvas, ion-img"),i.gesture.image)){if(i.gesture.imageWrap=i.gesture.image.closest("."+mt.zoomContainer),!i.gesture.imageWrap)return void(i.gesture.image=void 0);i.gesture.zoomMax=parseInt(i.gesture.imageWrap.getAttribute("data-swiper-zoom")||t.zoomMax,10)}p(i.gesture.image,0),i.isScaling=!0}function D(t,e,n){var i=t._zoom;if(t.originalEvent=n,!t._supportGestures){if("touchmove"!==n.type||"touchmove"===n.type&&n.targetTouches.length<2)return;i.gesture.scaleMove=A(n)}i.gesture.image&&(i.scale=t._supportGestures?n.scale*i.currentScale:i.gesture.scaleMove/i.gesture.scaleStart*i.currentScale,i.scale>i.gesture.zoomMax&&(i.scale=i.gesture.zoomMax-1+Math.pow(i.scale-i.gesture.zoomMax+1,.5)),i.scalei.image.touchesStart.x)return void(i.image.isTouched=!1);if(!_(t)&&Math.floor(i.image.minY)===Math.floor(i.image.startY)&&i.image.touchesCurrent.yi.image.touchesStart.y)return void(i.image.isTouched=!1)}n.preventDefault(),n.stopPropagation(),i.image.isMoved=!0,i.image.currentX=i.image.touchesCurrent.x-i.image.touchesStart.x+i.image.startX,i.image.currentY=i.image.touchesCurrent.y-i.image.touchesStart.y+i.image.startY,i.image.currentXi.image.maxX&&(i.image.currentX=i.image.maxX-1+Math.pow(i.image.currentX-i.image.maxX+1,.8)),i.image.currentYi.image.maxY&&(i.image.currentY=i.image.maxY-1+Math.pow(i.image.currentY-i.image.maxY+1,.8)),i.velocity.prevPositionX||(i.velocity.prevPositionX=i.image.touchesCurrent.x),i.velocity.prevPositionY||(i.velocity.prevPositionY=i.image.touchesCurrent.y),i.velocity.prevTime||(i.velocity.prevTime=Date.now()),i.velocity.x=(i.image.touchesCurrent.x-i.velocity.prevPositionX)/(Date.now()-i.velocity.prevTime)/2,i.velocity.y=(i.image.touchesCurrent.y-i.velocity.prevPositionY)/(Date.now()-i.velocity.prevTime)/2,Math.abs(i.image.touchesCurrent.x-i.velocity.prevPositionX)<2&&(i.velocity.x=0),Math.abs(i.image.touchesCurrent.y-i.velocity.prevPositionY)<2&&(i.velocity.y=0),i.velocity.prevPositionX=i.image.touchesCurrent.x,i.velocity.prevPositionY=i.image.touchesCurrent.y,i.velocity.prevTime=Date.now(),c(i.gesture.imageWrap,"translate3d("+i.image.currentX+"px, "+i.image.currentY+"px,0)")}}}function N(t,e){V(t);var n,i=t._zoom.unRegs,r={passive:"touchstart"===t._touchEvents.start,zone:!1},o=t._slides;if(t._supportGestures)for(var s=0;sy&&(u=y),lg&&(l=g)}else u=0,l=0;p(n.gesture.imageWrap,300),c(n.gesture.imageWrap,"translate3d("+u+"px, "+l+"px,0)"),p(n.gesture.image,300),c(n.gesture.image,"translate3d(0,0,0) scale("+n.scale+")")}}}(t,e)});i.push(function(){h.unsubscribe()})}}function V(t){t._zoom.unRegs.forEach(function(t){t()}),t._zoom.unRegs.length=0}function L(t,e){if(t._classNames=[],t.container){t.container.swiper=t;var n=mt.containerModifier;t._classNames.push(n+t.direction),t.freeMode&&t._classNames.push(n+"free-mode"),t.autoHeight&&t._classNames.push(n+"autoheight"),(t.parallax||t.watchSlidesVisibility)&&(t.watchSlidesProgress=!0),t.touchReleaseOnEdges&&(t.resistanceRatio=0);var i=t.effect;["cube","coverflow","flip"].indexOf(i)>=0&&(t.watchSlidesProgress=!0,t._classNames.push(n+"3d")),"slide"!==i&&t._classNames.push(n+i),"cube"===i&&(t.resistanceRatio=0,t.slidesPerView=1,t.slidesPerColumn=1,t.slidesPerGroup=1,t.centeredSlides=!1,t.spaceBetween=0,t.virtualTranslate=!0,t.setWrapperSize=!1),"fade"!==i&&"flip"!==i||(t.slidesPerView=1,t.slidesPerColumn=1,t.slidesPerGroup=1,t.watchSlidesProgress=!0,t.spaceBetween=0,t.setWrapperSize=!1,t.virtualTranslate=!0),t._wrapper=t.container.querySelector("."+mt.wrapper),t.paginationType&&(t._paginationContainer=t.container.querySelector(".swiper-pagination"),"bullets"===t.paginationType&&t._paginationContainer.classList.add(mt.paginationModifier+"clickable"),t._paginationContainer.classList.add(mt.paginationModifier+t.paginationType)),t._rtl=_(t)&&("rtl"===t.container.dir.toLowerCase()||"rtl"===t.container.style.direction),t._rtl&&t._classNames.push(n+"rtl"),t.slidesPerColumn>1&&t._classNames.push(n+"multirow"),e.is("android")&&t._classNames.push(n+"android"),t._classNames.forEach(function(e){t.container.classList.add(e)}),t._translate=0,t.progress=0,t.velocity=0,t._autoplayTimeoutId=void 0,t._autoplaying=!1,t._autoplayPaused=!1,t._allowClick=!0,t._animating=!1,t._touches={startX:0,startY:0,currentX:0,currentY:0,diff:0},t.loop&&function(t){l(t._wrapper,"."+mt.slide+"."+mt.slideDuplicate,function(t){t.parentElement.removeChild(t)});var e=t._wrapper.querySelectorAll("."+mt.slide);"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=e.length);t.loopedSlides=parseInt(t.loopedSlides||t.slidesPerView,10),t.loopedSlides=t.loopedSlides+t.loopAdditionalSlides,t.loopedSlides>e.length&&(t.loopedSlides=e.length);for(var n=[],i=[],r=0;r=e.length-t.loopedSlides&&n.push(s),s.setAttribute("data-swiper-slide-index",r)}for(r=0;r=0;r--){var u=n[r].cloneNode(!0);o(u,mt.slideDuplicate),t._wrapper.insertBefore(u,t._wrapper.firstElementChild)}}(t),Y(t,e),q(t,e),S(t),"slide"!==i&&Ct[i]&&(t.loop||w(t),Ct[i].setTranslate(t,e)),t.loop?Z(t,e,t.initialSlide+t.loopedSlides,0,t.runCallbacksOnInit):(Z(t,e,t.initialSlide,0,t.runCallbacksOnInit),0===t.initialSlide&&b(t)),t.autoplay&&F(t,e)}}function B(t,e){var n=t.autoplay,i=t._slides[t._activeIndex];i.hasAttribute("data-swiper-autoplay")&&(n=i.getAttribute("data-swiper-autoplay")||t.autoplay),t._autoplayTimeoutId=e.timeout(function(){t._zone.run(function(){t.loop?(W(t,e),$(t,e,!0,void 0,!0),t.ionSlideAutoplay.emit(t)):t._isEnd?t.autoplayStopOnLast?z(t):(Z(t,e,0),t.ionSlideAutoplay.emit(t)):($(t,e,!0,void 0,!0),t.ionSlideAutoplay.emit(t))})},n)}function F(t,e){return void 0===t._autoplayTimeoutId&&(!(!t.autoplay||t._autoplaying)&&(t._autoplaying=!0,t._zone.run(function(){t.ionSlideAutoplayStart.emit(t)}),void B(t,e)))}function z(t){t._autoplayTimeoutId&&(t._autoplayTimeoutId&&clearTimeout(t._autoplayTimeoutId),t._autoplaying=!1,t._autoplayTimeoutId=void 0,t._zone.run(function(){t.ionSlideAutoplayStop.emit(t)}))}function H(t,e,n){t._autoplayPaused||(t._autoplayTimeoutId&&clearTimeout(t._autoplayTimeoutId),t._autoplayPaused=!0,0===n?(t._autoplayPaused=!1,B(t,e)):e.transitionEnd(t._wrapper,function(){t&&(t._autoplayPaused=!1,t._autoplaying?B(t,e):z(t))}))}function U(t){var e,n=[],i=0;if("auto"!==t.slidesPerView&&t.slidesPerView>1)for(e=0;et._slides.length)break;n.push(t._slides[r])}else n.push(t._slides[t._activeIndex]);for(e=0;ei?o:i}i&&(t._wrapper.style.height=i+"px")}function Y(t,e){var n,i,r=t.container;if(n=void 0!==t.width?t.width:r.clientWidth,i=void 0!==t.renderedHeight?t.renderedHeight:r.clientHeight,!(0===n&&_(t)||0===i&&!_(t))){var o=e.getElementComputedStyle(r);n=n-parseInt(o.paddingLeft,10)-parseInt(o.paddingRight,10),i=i-parseInt(o.paddingTop,10)-parseInt(o.paddingBottom,10),t.renderedWidth=n,t.renderedHeight=i,t._renderedSize=_(t)?n:i}}function q(t,e){t._slides=t._wrapper.querySelectorAll("."+mt.slide),t._snapGrid=[],t._slidesGrid=[],t._slidesSizesGrid=[];var n,o=t.spaceBetween,s=-t.slidesOffsetBefore,a=0,u=0;if(void 0!==t._renderedSize){"string"==typeof o&&o.indexOf("%")>=0&&(o=parseFloat(o.replace("%",""))/100*t._renderedSize),t._virtualSize=-o,r(t._slides,t._rtl?{marginLeft:"",marginTop:""}:{marginRight:"",marginBottom:""});var l;t.slidesPerColumn>1&&(l=Math.floor(t._slides.length/t.slidesPerColumn)===t._slides.length/t.slidesPerColumn?t._slides.length:Math.ceil(t._slides.length/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(l=Math.max(l,t.slidesPerView*t.slidesPerColumn)));var c,p=t.slidesPerColumn,h=l/p,d=h-(t.slidesPerColumn*h-t._slides.length);for(n=0;n1){var y,g,m;"column"===t.slidesPerColumnFill?(m=n-(g=Math.floor(n/p))*p,(g>d||g===d&&m===p-1)&&++m>=p&&(m=0,g++),r(v,{"-webkit-box-ordinal-group":y=g+m*l/p,"-moz-box-ordinal-group":y,"-ms-flex-order":y,"-webkit-order":y,order:y})):g=n-(m=Math.floor(n/h))*h;var b=0!==m&&t.spaceBetween&&t.spaceBetween+"px",w={};_(t)?w.marginTop=b:w.marginLeft=b,r(v,w),v.setAttribute("data-swiper-column",g),v.setAttribute("data-swiper-row",m)}if("none"!==v.style.display){if("auto"===t.slidesPerView){var C=e.getElementComputedStyle(v);c=_(t)?v.offsetWidth+parseFloat(C.marginRight)+parseFloat(C.marginLeft):v.offsetHeight+parseFloat(C.marginTop)+parseFloat(C.marginBottom),t.roundLengths&&(c=i(c))}else c=(t._renderedSize-(t.slidesPerView-1)*o)/t.slidesPerView,t.roundLengths&&(c=i(c)),_(t)?t._slides[n].style.width=c+"px":t._slides[n].style.height=c+"px";t._slides[n].swiperSlideSize=c,t._slidesSizesGrid.push(c),t.centeredSlides?(s=s+c/2+a/2+o,0===n&&(s=s-t._renderedSize/2-o),Math.abs(s)<.001&&(s=0),u%t.slidesPerGroup==0&&t._snapGrid.push(s),t._slidesGrid.push(s)):(u%t.slidesPerGroup==0&&t._snapGrid.push(s),t._slidesGrid.push(s),s=s+c+o),t._virtualSize+=c+o,a=c,u++}}t._virtualSize=Math.max(t._virtualSize,t._renderedSize)+t.slidesOffsetAfter;var O;if(!t._rtl||"slide"!==t.effect&&"coverflow"!==t.effect||r(t._wrapper,{width:t._virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(_(t)?r(t._wrapper,{width:t._virtualSize+t.spaceBetween+"px"}):r(t._wrapper,{height:t._virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(t._virtualSize=(c+t.spaceBetween)*l,t._virtualSize=Math.ceil(t._virtualSize/t.slidesPerColumn)-t.spaceBetween,_(t)?r(t._wrapper,{width:t._virtualSize+t.spaceBetween+"px"}):r(t._wrapper,{height:t._virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){for(O=[],n=0;n1&&t._snapGrid.push(t._virtualSize-t._renderedSize)}0===t._snapGrid.length&&(t._snapGrid=[0]),0!==t.spaceBetween&&(_(t)?r(t._slides,t._rtl?{marginLeft:o+"px"}:{marginRight:o+"px"}):r(t._slides,{marginBottom:o+"px"})),t.watchSlidesProgress&&f(t)}}function W(t,e){var n;t._activeIndex=2*t.loopedSlides||t._activeIndex>t._slides.length-2*t.slidesPerView)&&(n=-t._slides.length+t._activeIndex+t.loopedSlides,Z(t,e,n+=t.loopedSlides,0,!1,!0))}function Z(t,e,n,i,r,o){void 0===r&&(r=!0),void 0===n&&(n=0),n<0&&(n=0),t._snapIndex=Math.floor(n/t.slidesPerGroup),t._snapIndex>=t._snapGrid.length&&(t._snapIndex=t._snapGrid.length-1);var s=-t._snapGrid[t._snapIndex];return t.autoplay&&t._autoplaying&&(o||!t.autoplayDisableOnInteraction?H(t,e,i):z(t)),w(t,s),!(!t._allowSwipeToNext&&st._translate&&s>g(t)&&(t._activeIndex||0)!==n)&&(void 0===i&&(i=t.speed),t._previousIndex=t._activeIndex||0,t._activeIndex=n,T(t),t._rtl&&-s===t._translate||!t._rtl&&s===t._translate?(t.autoHeight&&U(t),E(t),"slide"!==t.effect&&k(t,e,s),!1):(E(t),G(t,r),0===i?(k(t,e,s),j(t,e,0),X(t,e,r)):(k(t,e,s),j(t,e,i),t._animating||(t._animating=!0,e.transitionEnd(t._wrapper,function(){t&&X(t,e,r)}))),!0)))}function G(t,e){void 0===e&&(e=!0),t.autoHeight&&U(t),e&&t._zone.run(function(){t.ionSlideTransitionStart.emit(t),t._activeIndex!==t._previousIndex&&(t.ionSlideWillChange.emit(t),t._activeIndex>t._previousIndex?t.ionSlideNextStart.emit(t):t.ionSlidePrevStart.emit(t))})}function X(t,e,n){void 0===n&&(n=!0),t._animating=!1,j(t,e,0),n&&t._zone.run(function(){t.ionSlideTransitionEnd.emit(t),t._activeIndex!==t._previousIndex&&(t.ionSlideDidChange.emit(t),t._activeIndex>t._previousIndex?t.ionSlideNextEnd.emit(t):t.ionSlidePrevEnd.emit(t))})}function $(t,e,n,i,r){if(t.loop)return!t._animating&&(W(t,e),Z(t,e,t._activeIndex+t.slidesPerGroup,i,n,r));var o=t._activeIndex+t.slidesPerGroup;return o=0&&Z(t,e,t._activeIndex-1,i,n,r)}function Q(t){z(t),t.loop&&function(t){if(l(t._wrapper,"."+mt.slide+"."+mt.slideDuplicate,function(t){t.parentElement.removeChild(t)}),t._slides)for(var e=0;e=a.left&&f[0]<=a.left+u&&f[1]>=a.top&&f[1]<=a.top+l&&(s=!0)}if(!s)return}_(t)?(37!==r&&39!==r||(n.preventDefault?n.preventDefault():n.returnValue=!1),(39===r&&!t._rtl||37===r&&t._rtl)&&$(t,e),(37===r&&!t._rtl||39===r&&t._rtl)&&K(t,e)):(38!==r&&40!==r||(n.preventDefault?n.preventDefault():n.returnValue=!1),40===r&&$(t,e),38===r&&K(t,e))}}}(t,e,n)},{zone:!1}):!n&&t._keyboardUnReg&&t._keyboardUnReg()}function tt(t,e){var n=e.win(),i=e.doc();t._supportTouch=!!("ontouchstart"in n||n.DocumentTouch&&i instanceof n.DocumentTouch),t._touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},n.navigator.pointerEnabled?t._touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:n.navigator.msPointerEnabled&&(t._touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),t._touchEvents={start:t._supportTouch||!t.simulateTouch?"touchstart":t._touchEventsDesktop.start,move:t._supportTouch||!t.simulateTouch?"touchmove":t._touchEventsDesktop.move,end:t._supportTouch||!t.simulateTouch?"touchend":t._touchEventsDesktop.end},(n.navigator.pointerEnabled||n.navigator.msPointerEnabled)&&("container"===t.touchEventsTarget?t.container:t._wrapper).classList.add("swiper-wp8-"+t.direction);var r=[],o="container"===t.touchEventsTarget?t.container:t._wrapper;t._supportTouch&&(e.registerListener(o,t._touchEvents.start,function(n){nt(t,e,n)},{passive:!0,zone:!1},r),e.registerListener(o,t._touchEvents.move,function(n){it(t,e,n)},{zone:!1},r),e.registerListener(o,t._touchEvents.end,function(n){rt(t,e,n)},{passive:!0,zone:!1},r)),(t.simulateTouch&&!e.is("ios")&&!e.is("android")||t.simulateTouch&&!t._supportTouch&&e.is("ios")||e.getQueryParam("ionicPlatform"))&&(e.registerListener(o,"mousedown",function(n){nt(t,e,n)},{zone:!1},r),e.registerListener(o,"mousemove",function(n){it(t,e,n)},{zone:!1},r),e.registerListener(o,"mouseup",function(n){rt(t,e,n)},{zone:!1},r));var s=e.resize.subscribe(function(){return function(t,e,n){vt&&(e.cancelTimeout(vt),vt=null);vt=e.timeout(function(){return function(t,e,n){vt=null;var i=t._allowSwipeToPrev,r=t._allowSwipeToNext;t._allowSwipeToPrev=t._allowSwipeToNext=!0,Y(t,e),q(t,e),("auto"===t.slidesPerView||t.freeMode||n)&&S(t);t._spline&&(t._spline=void 0);if(t.freeMode){var o=Math.min(Math.max(t._translate,g(t)),y(t));k(t,e,o),x(t),E(t),t.autoHeight&&U(t)}else E(t),Z(t,e,("auto"===t.slidesPerView||t.slidesPerView>1)&&t._isEnd&&!t.centeredSlides?t._slides.length-1:t._activeIndex,0,!1,!0);t._allowSwipeToPrev=i,t._allowSwipeToNext=r}(t,e,n)},200)}(t,e,!1)});return t.nextButton&&e.registerListener(t.nextButton,"click",function(n){!function(t,e,n){if(n.preventDefault(),t._isEnd&&!t.loop)return;$(t,e)}(t,e,n)},{zone:!1},r),t.prevButton&&e.registerListener(t.prevButton,"click",function(n){!function(t,e,n){if(n.preventDefault(),t._isBeginning&&!t.loop)return;K(t,e)}(t,e,n)},{zone:!1},r),t.paginationType&&e.registerListener(t._paginationContainer,"click",function(n){!function(t,e,n){var i=n.target.getAttribute("data-slide-index");if(i){var r=parseInt(i,10);n.preventDefault(),t.loop&&(r+=t.loopedSlides),Z(t,e,r)}}(t,e,n)},{zone:!1},r),(t.preventClicks||t.preventClicksPropagation)&&e.registerListener(o,"click",function(e){!function(t,e){t._allowClick||(t.preventClicks&&e.preventDefault(),t.preventClicksPropagation&&t._animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}(t,e)},{zone:!1,capture:!0},r),function(){s.unsubscribe(),r.forEach(function(t){t()}),r=null}}function et(t,e){var n=t.target;if(!n.matches(e))if("string"==typeof e)n=n.closest(e);else if(e.nodeType){for(var i=n.parentElement;i;)if(i===e)return e;return}return n}function nt(t,e,n){if(n.originalEvent&&(n=n.originalEvent),t.originalEvent=n,(_t="touchstart"===n.type)||!("which"in n)||3!==n.which)if(t.noSwiping&&et(n,"."+mt.noSwiping))t._allowClick=!0;else if(!t.swipeHandler||et(n,t.swipeHandler)){var i=t._touches.currentX="touchstart"===n.type?n.targetTouches[0].pageX:n.pageX,r=t._touches.currentY="touchstart"===n.type?n.targetTouches[0].pageY:n.pageY;if(!(e.is("ios")&&t.iOSEdgeSwipeDetection&&i<=t.iOSEdgeSwipeThreshold)){if(ot=!0,st=!1,at=!0,lt=void 0,void 0,t._touches.startX=i,t._touches.startY=r,ut=Date.now(),t._allowClick=!0,Y(t,e),t.swipeDirection=void 0,t.threshold>0&&(ht=!1),"touchstart"!==n.type){var o=!0;v(n.target)&&(o=!1),e.focusOutActiveElement(),o&&n.preventDefault()}t.ionSlideTouchStart.emit(n)}}}function it(t,e,n){if(n.originalEvent&&(n=n.originalEvent),t.originalEvent=n,!_t||"mousemove"!==n.type){if(n.preventedByNestedSwiper)return t._touches.startX="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,void(t._touches.startY="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY);if(t.onlyExternal)return t._allowClick=!1,void(ot&&(t._touches.startX=t._touches.currentX="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,t._touches.startY=t._touches.currentY="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY,ut=Date.now()));if(_t&&t.touchReleaseOnEdges&&!t.loop)if(_(t)){if(t._touches.currentXt._touches.startX&&t._translate>=y(t))return}else if(t._touches.currentYt._touches.startY&&t._translate>=y(t))return;var i=e.getActiveElement();if(_t&&i&&n.target===i&&v(n.target))return st=!0,void(t._allowClick=!1);if(!(n.targetTouches&&n.targetTouches.length>1)){if(t._touches.currentX="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,t._touches.currentY="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY,void 0===lt){var r;_(t)&&t._touches.currentY===t._touches.startY||!_(t)&&t._touches.currentX===t._touches.startX?lt=!1:(r=180*Math.atan2(Math.abs(t._touches.currentY-t._touches.startY),Math.abs(t._touches.currentX-t._touches.startX))/Math.PI,lt=_(t)?r>t.touchAngle:90-r>t.touchAngle)}if(ot)if(lt)ot=!1;else{t._allowClick=!1,t.ionSlideDrag.emit(t),n.preventDefault(),t.touchMoveStopPropagation&&n.stopPropagation(),st||(t.loop&&W(t,e),pt=function(t,e,n){return void 0===n&&(n=_(t)?"x":"y"),P(t,e,t._wrapper,n)}(t,e),j(t,e,0),t._animating&&h(e,t._wrapper),t.autoplay&&t._autoplaying&&(t.autoplayDisableOnInteraction?z(t):H(t,e)),ft=!1),st=!0;var o=t._touches.diff=_(t)?t._touches.currentX-t._touches.startX:t._touches.currentY-t._touches.startY;o*=t.touchRatio,t._rtl&&(o=-o),t.swipeDirection=o>0?"prev":"next",ct=o+pt;var s=!0;if(o>0&&ct>y(t)?(s=!1,t.resistance&&(ct=y(t)-1+Math.pow(-y(t)+pt+o,t.resistanceRatio))):o<0&&ctpt&&(ct=pt),t.threshold>0){if(!(Math.abs(o)>t.threshold||ht))return void(ct=pt);if(!ht)return ht=!0,t._touches.startX=t._touches.currentX,t._touches.startY=t._touches.currentY,ct=pt,void(t._touches.diff=_(t)?t._touches.currentX-t._touches.startX:t._touches.currentY-t._touches.startY)}t.followFinger&&((t.freeMode||t.watchSlidesProgress)&&x(t),t.freeMode&&(0===xt.length&&xt.push({position:t._touches[_(t)?"startX":"startY"],time:ut}),xt.push({position:t._touches[_(t)?"currentX":"currentY"],time:(new Date).getTime()})),w(t,ct),k(t,e,ct))}}}}function rt(t,e,n){if(n.originalEvent&&(n=n.originalEvent),t.originalEvent=n,at&&t.ionSlideTouchEnd.emit(n),at=!1,ot){var i=Date.now(),r=i-ut;if(t._allowClick&&(!function(t,e,n){var i=et(n,"."+mt.slide),r=-1;if(i)for(var o=0;o-1))return t.clickedSlide=void 0,void(t.clickedIndex=void 0);if(t.clickedSlide=i,t.clickedIndex=r,t.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t._activeIndex){var s,u=t.clickedIndex,l="auto"===t.slidesPerView?function(t){var e,n,i=1;if(t.centeredSlides){var r,o=t._slides[t._activeIndex].swiperSlideSize;for(e=t._activeIndex+1;et._renderedSize&&(r=!0));for(n=t._activeIndex-1;n>=0;n--)t._slides[n]&&!r&&(i++,(o+=t._slides[n].swiperSlideSize)>t._renderedSize&&(r=!0))}else for(e=t._activeIndex+1;et._slides.length-t.loopedSlides+l/2?(W(t,e),u=a(t._wrapper.querySelector("."+mt.slide+'[data-swiper-slide-index="'+s+'"]:not(.'+mt.slideDuplicate+")")),e.timeout(function(){Z(t,e,u)})):Z(t,e,u):u>t._slides.length-l?(W(t,e),u=a(t._wrapper.querySelector("."+mt.slide+'[data-swiper-slide-index="'+s+'"]:not(.'+mt.slideDuplicate+")")),e.timeout(function(){Z(t,e,u)})):Z(t,e,u)}else Z(t,e,u)}}(t,e,n),t._zone.run(function(){t.ionSlideTap.emit(t),r<300&&i-Et>300&&(dt&&e.cancelTimeout(dt),dt=e.timeout(function(){t&&t.paginationHide&&t._paginationContainer&&!n.target.classList.contains(mt.bullet)&&t._paginationContainer.classList.toggle(mt.paginationHidden)},300)),r<300&&i-Et<300&&(dt&&clearTimeout(dt),t.ionSlideDoubleTap.emit(t))})),Et=Date.now(),e.timeout(function(){t&&(t._allowClick=!0)}),ot&&st&&t.swipeDirection&&0!==t._touches.diff&&ct!==pt){ot=st=!1;var o;if(o=t.followFinger?t._rtl?t._translate:-t._translate:-ct,t.freeMode){if(o<-y(t))return void Z(t,e,t._activeIndex);if(o>-g(t))return void Z(t,e,t._slides.length1){var s=xt.pop(),u=xt.pop(),l=s.time-u.time;t.velocity=(s.position-u.position)/l,t.velocity=t.velocity/2,Math.abs(t.velocity)150||(new Date).getTime()-s.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity=t.velocity*t.freeModeMomentumVelocityRatio,xt.length=0;var c=1e3*t.freeModeMomentumRatio,p=t._translate+t.velocity*c;t._rtl&&(p=-p);var h,d=!1,f=20*Math.abs(t.velocity)*t.freeModeMomentumBounceRatio;if(py(t))t.freeModeMomentumBounce?(p-y(t)>f&&(p=y(t)+f),h=y(t),d=!0,ft=!0):p=y(t);else if(t.freeModeSticky){var _,v=0;for(v=0;v-p){_=v;break}p=Math.abs(t._snapGrid[_]-p)=t.longSwipesMs)&&(w(t),x(t))}else{for(var m=0,b=t._slidesSizesGrid[0],C=0;C=t._slidesGrid[C]&&o=t._slidesGrid[C]&&(m=C,b=t._slidesGrid[t._slidesGrid.length-1]-t._slidesGrid[t._slidesGrid.length-2]);var O=(o-t._slidesGrid[m])/b;if(r>t.longSwipesMs){if(!t.longSwipes)return void Z(t,e,t._activeIndex);"next"===t.swipeDirection&&Z(t,e,O>=t.longSwipesRatio?m+t.slidesPerGroup:m),"prev"===t.swipeDirection&&Z(t,e,O>1-t.longSwipesRatio?m+t.slidesPerGroup:m)}else{if(!t.shortSwipes)return void Z(t,e,t._activeIndex);"next"===t.swipeDirection&&Z(t,e,m+t.slidesPerGroup),"prev"===t.swipeDirection&&Z(t,e,m)}}}else ot=st=!1}}var ot,st,at,ut,lt,ct,pt,ht,dt,ft,_t,vt,yt=n(0),gt=(n(1),["INPUT","SELECT","TEXTAREA","BUTTON","VIDEO"]),mt={noSwiping:"swiper-no-swiping",containerModifier:"swiper-container-",slide:"swiper-slide",slideActive:"swiper-slide-active",slideDuplicateActive:"swiper-slide-duplicate-active",slideVisible:"swiper-slide-visible",slideDuplicate:"swiper-slide-duplicate",slideNext:"swiper-slide-next",slideDuplicateNext:"swiper-slide-duplicate-next",slidePrev:"swiper-slide-prev",slideDuplicatePrev:"swiper-slide-duplicate-prev",wrapper:"swiper-wrapper",bullet:"swiper-pagination-bullet",bulletActive:"swiper-pagination-bullet-active",buttonDisabled:"swiper-button-disabled",paginationCurrent:"swiper-pagination-current",paginationTotal:"swiper-pagination-total",paginationHidden:"swiper-pagination-hidden",paginationProgressbar:"swiper-pagination-progressbar",paginationClickable:"swiper-pagination-clickable",paginationModifier:"swiper-pagination-",lazyLoading:"swiper-lazy",lazyStatusLoading:"swiper-lazy-loading",lazyStatusLoaded:"swiper-lazy-loaded",lazyPreloader:"swiper-lazy-preloader",notification:"swiper-notification",preloader:"preloader",zoomContainer:"swiper-zoom-container"},bt={LinearSpline:function(t,e,n,i){this.x=n,this.y=i,this.lastIndex=n.length-1;var r,o;this.interpolate=function(t){return t?(o=s(this.x,t),r=o-1,(t-this.x[r])*(this.y[o]-this.y[r])/(this.x[o]-this.x[r])+this.y[r]):0};var s=function(){var t,e,n;return function(i,r){for(e=-1,t=i.length;t-e>1;)i[n=t+e>>1]<=r?e=n:t=n;return t}}()},getInterpolateFunction:function(t,e,n){t._spline||(t._spline=t.loop?new bt.LinearSpline(t,e,t._slidesGrid,n._slidesGrid):new bt.LinearSpline(t,e,t._snapGrid,n._snapGrid))},setTranslate:function(t,e,n,i,r){function o(i){n=i._rtl&&_(i)?-t._translate:t._translate,"slide"===t.controlBy&&(bt.getInterpolateFunction(t,e,i),a=-t._spline.interpolate(-n)),a&&"container"!==t.controlBy||(s=(g(i)-y(i))/(g(t)-y(t)),a=(n-y(t))*s+y(i)),t.controlInverse&&(a=g(i)-a),w(i,a),r(i,e,a,!1,t),x(i)}var s,a,u=t.control;if(Array.isArray(u))for(var l=0;l-1&&(i=90*r+90*u,t._rtl&&(i=90*-r-90*u)),c(o,d),t.cube.slideShadows){var f=_(t)?o.querySelector(".swiper-slide-shadow-left"):o.querySelector(".swiper-slide-shadow-top"),v=_(t)?o.querySelector(".swiper-slide-shadow-right"):o.querySelector(".swiper-slide-shadow-bottom");f||((f=e.doc().createElement("div")).className="swiper-slide-shadow-"+(_(t)?"left":"top"),o.appendChild(f)),v||((v=e.doc().createElement("div")).className="swiper-slide-shadow-"+(_(t)?"right":"bottom"),o.appendChild(v)),f&&(f.style.opacity=Math.max(-u,0)),v&&(v.style.opacity=Math.max(u,0))}}if(t._wrapper.style.transformOrigin=t._wrapper.style.webkitTransformOrigin="50% 50% -"+t._renderedSize/2+"px",t.cube.shadow)if(_(t))c(n,"translate3d(0px, "+(t.renderedWidth/2+t.cube.shadowOffset)+"px, "+-t.renderedWidth/2+"px) rotateX(90deg) rotateZ(0deg) scale("+t.cube.shadowScale+")");else{var y=Math.abs(i)-90*Math.floor(Math.abs(i)/90),g=1.5-(Math.sin(2*y*Math.PI/360)/2+Math.cos(2*y*Math.PI/360)/2),m=t.cube.shadowScale/g;c(n,"scale3d("+t.cube.shadowScale+", 1, "+m+") translate3d(0px, "+(t.renderedHeight/2+t.cube.shadowOffset)+"px, "+-t.renderedHeight/2/m+"px) rotateX(-90deg)")}var b=Object(wt.e)(e)||Object(wt.d)(e)?-t._renderedSize/2:0;c(t._wrapper,"translate3d(0px,0,"+b+"px) rotateX("+(_(t)?0:i)+"deg) rotateY("+(_(t)?-i:0)+"deg)")},setTransition:function(t,e,n){for(var i=0;i0?p:0),m&&(m.style.opacity=-p>0?-p:0)}}},setTransition:function(t,e,n){for(var i=0;i1)&&t._isEnd&&!t.centeredSlides?t._slides.length-1:t._activeIndex,0,!1,!0)||i()):t.autoHeight&&U(t)}}(e,e._plt),e.length()>10&&(e.paginationType=void 0)},t))},e.prototype.resize=function(){},e.prototype.slideTo=function(t,e,n){Z(this,this._plt,t,e,n)},e.prototype.slideNext=function(t,e){$(this,this._plt,e,t,!0)},e.prototype.slidePrev=function(t,e){K(this,this._plt,e,t,!0)},e.prototype.getActiveIndex=function(){return this._activeIndex},e.prototype.getPreviousIndex=function(){return this._previousIndex},e.prototype.length=function(){return this._slides.length},e.prototype.isEnd=function(){return this._isEnd},e.prototype.isBeginning=function(){return this._isBeginning},e.prototype.startAutoplay=function(){F(this,this._plt)},e.prototype.stopAutoplay=function(){z(this)},e.prototype.lockSwipeToNext=function(t){this._allowSwipeToNext=!t},e.prototype.lockSwipeToPrev=function(t){this._allowSwipeToPrev=!t},e.prototype.lockSwipes=function(t){this._allowSwipeToNext=this._allowSwipeToPrev=!t},e.prototype.enableKeyboardControl=function(t){J(this,this._plt,t)},e.prototype.ngOnDestroy=function(){this._init=!1,this._unregs.forEach(function(t){t()}),this._unregs.length=0,Q(this),this.enableKeyboardControl(!1)},e}(Ot.a),Pt=-1},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(109),r=(n(1),function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new i.a(this._app,t,this.config)},t}())},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(0),r=(n(4),n(3)),o=function(){function t(t,e){this._elementRef=t,this._plt=e,this.ionSwipe=new i.l}return t.prototype.isRightSide=function(){return Object(r.m)(this.side,this._plt.isRTL,!0)},t.prototype.width=function(){return this._elementRef.nativeElement.offsetWidth},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(0),r=n(3),o=function(){function t(t){this._elementRef=t,this._selected=!1,this._disabled=!1,this.ionSelect=new i.l}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(r.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=Object(r.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return Object(r.l)(this._value)?this._value:this.text},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this._elementRef.nativeElement.textContent},enumerable:!0,configurable:!0}),t}()},function(t,e,n){"use strict";e.isFunction=function(t){return"function"==typeof t}},function(t,e,n){"use strict";e.errorObject={e:{}}},function(t,e,n){"use strict";var i=n(47).root.Symbol;e.rxSubscriber="function"==typeof i&&"function"==typeof i.for?i.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},function(t,e,n){"use strict";var i=n(47),r=n(220),o=n(221),s=n(148),a=n(12),u=n(222),l=n(223),c=n(151);e.subscribeToResult=function(t,e,n,p){var h=new l.InnerSubscriber(t,n,p);if(h.closed)return null;if(e instanceof a.Observable)return e._isScalar?(h.next(e.value),h.complete(),null):(h.syncErrorThrowable=!0,e.subscribe(h));if(r.isArrayLike(e)){for(var d=0,f=e.length;d=n.width-i;case"top":return e.y<=n.top+i;case"bottom":return e.y>=n.height-i}return!1},e}(i.a)},function(t,e,n){"use strict";var i=n(71),r=n(21),o=n(43),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new r.a(this.plt,t.querySelector("ion-backdrop")),n=new r.a(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.4),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(o.a),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new r.a(this.plt,t.querySelector("ion-backdrop")),n=new r.a(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.4,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(300).add(e).add(n)},e}(o.a),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new r.a(this.plt,t.querySelector("ion-backdrop")),n=new r.a(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.26),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(o.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new r.a(this.plt,t.querySelector("ion-backdrop")),n=new r.a(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.26,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(o.a),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new r.a(this.plt,t.querySelector("ion-backdrop")),n=new r.a(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.16),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(o.a),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new r.a(this.plt,t.querySelector("ion-backdrop")),n=new r.a(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.1,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(o.a),d=n(3),f=n(5);n.d(e,"a",function(){return v});var _=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),v=function(t){function e(e,n,r){var o=this;return n.buttons=n.buttons||[],n.enableBackdropDismiss=!Object(d.l)(n.enableBackdropDismiss)||!!n.enableBackdropDismiss,o=t.call(this,i.a,n,null)||this,o._app=e,o.isOverlay=!0,r.setTransition("action-sheet-slide-in",a),r.setTransition("action-sheet-slide-out",u),r.setTransition("action-sheet-md-slide-in",l),r.setTransition("action-sheet-md-slide-out",c),r.setTransition("action-sheet-wp-slide-in",p),r.setTransition("action-sheet-wp-slide-out",h),o}return _(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("actionSheet"+("back"===t?"Leave":"Enter"))},e.prototype.setTitle=function(t){return this.data.title=t,this},e.prototype.setSubTitle=function(t){return this.data.subTitle=t,this},e.prototype.addButton=function(t){return this.data.buttons.push(t),this},e.prototype.present=function(t){return void 0===t&&(t={}),t.minClickBlockDuration=t.minClickBlockDuration||400,this._app.present(this,t)},e}(f.a)},function(t,e,n){"use strict";var i=n(72),r=n(21),o=n(43),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new r.a(this.plt,t.querySelector("ion-backdrop")),n=new r.a(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.3),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(o.a),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new r.a(this.plt,t.querySelector("ion-backdrop")),n=new r.a(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.3,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(o.a),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new r.a(this.plt,t.querySelector("ion-backdrop")),n=new r.a(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.5),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(o.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new r.a(this.plt,t.querySelector("ion-backdrop")),n=new r.a(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.5,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(o.a),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new r.a(this.plt,t.querySelector("ion-backdrop")),n=new r.a(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.3,1),e.fromTo("opacity",.01,.5),this.easing("cubic-bezier(0,0,0.05,1)").duration(200).add(e).add(n)},e}(o.a),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new r.a(this.plt,t.querySelector("ion-backdrop")),n=new r.a(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,1.3),e.fromTo("opacity",.5,0),this.easing("ease-out").duration(150).add(e).add(n)},e}(o.a),d=n(3),f=n(5);n.d(e,"a",function(){return v});var _=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),v=function(t){function e(e,n,r){void 0===n&&(n={});var o=this;return n.inputs=n.inputs||[],n.buttons=n.buttons||[],n.enableBackdropDismiss=!Object(d.l)(n.enableBackdropDismiss)||!!n.enableBackdropDismiss,o=t.call(this,i.a,n,null)||this,o._app=e,o.isOverlay=!0,r.setTransition("alert-pop-in",a),r.setTransition("alert-pop-out",u),r.setTransition("alert-md-pop-in",l),r.setTransition("alert-md-pop-out",c),r.setTransition("alert-wp-pop-in",p),r.setTransition("alert-wp-pop-out",h),o}return _(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"alertLeave":"alertEnter")},e.prototype.setTitle=function(t){return this.data.title=t,this},e.prototype.setSubTitle=function(t){return this.data.subTitle=t,this},e.prototype.setMessage=function(t){return this.data.message=t,this},e.prototype.addInput=function(t){return this.data.inputs.push(t),this},e.prototype.addButton=function(t){return this.data.buttons.push(t),this},e.prototype.setCssClass=function(t){return this.data.cssClass=t,this},e.prototype.setMode=function(t){this.data.mode=t},e.prototype.present=function(t){return void 0===t&&(t={}),t.minClickBlockDuration=t.minClickBlockDuration||400,this._app.present(this,t)},e}(f.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(1);var i=n(9),r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e,n,i){return t.call(this,e,n,i,"badge")||this}return r(e,t),e}(i.a)},function(t,e,n){"use strict";var i=n(235);e.map=function(t,e){return i.map(t,e)(this)}},function(t,e,n){"use strict";n(1),n(3),n(4),n(75)},function(t,e,n){"use strict";n(20),n(7)},function(t,e,n){"use strict";n(1),n(9),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(1);var i=n(176),r=function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new i.a(this._app,t,this.config)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(0),r=function(){function t(t){this._compiler=t}return t.prototype.load=function(t,e){return this._compiler instanceof i.h?function(t,e){return n(183)(t).then(function(n){var i=n[e];if(!i)throw new Error("Module "+t+" does not export "+e);return i})}(t,e):function(t,e,i){return i||(i="default"),n(183)(e).then(function(n){var r=n[i];if(!r)throw new Error("Module "+e+" does not export "+i);return t.compileModuleAsync(r)})}(this._compiler,t,e)},t}()},function(t,e,n){"use strict";function i(t){return encodeURIComponent(t).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 r(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function o(t){return"undefined"!=typeof Blob&&t instanceof Blob}function s(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}n.d(e,"b",function(){return y}),n.d(e,"f",function(){return v}),n.d(e,"c",function(){return T}),n.d(e,"a",function(){return P}),n.d(e,"d",function(){return H}),n.d(e,"e",function(){return z}),n.d(e,"g",function(){return M}),n.d(e,"i",function(){return I}),n.d(e,"h",function(){return V}),n.d(e,"j",function(){return F}),n.d(e,"k",function(){return D}),n.d(e,"n",function(){return L}),n.d(e,"o",function(){return B}),n.d(e,"l",function(){return R}),n.d(e,"m",function(){return N});var u=n(0),l=n(238),c=n(239),p=n(241),h=n(111),d=n(2),f=n(10),_=n(12),v=function(){return function(){}}(),y=function(){return function(){}}(),g=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){var i=t.slice(0,n),r=i.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(i,r),e.headers.has(r)?e.headers.get(r).push(o):e.headers.set(r,[o])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var i=t[n],r=n.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(e.headers.set(r,i),e.maybeSetNormalizedName(n,r))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var i=("a"===t.op?this.headers.get(e):void 0)||[];i.push.apply(i,n),this.headers.set(e,i);break;case"d":var r=t.value;if(r){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===r.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),m=function(){function t(){}return t.prototype.encodeKey=function(t){return i(t)},t.prototype.encodeValue=function(t){return i(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}(),b=function(){function t(t){void 0===t&&(t={});var e=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new m,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){var n=new Map;t.length>0&&t.split("&").forEach(function(t){var i=t.indexOf("="),r=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=r[0],s=r[1],a=n.get(o)||[];a.push(s),n.set(o,a)});return n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(n){var i=t.fromObject[n];e.map.set(n,Array.isArray(i)?i:[i])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],r=i.indexOf(e.value);-1!==r&&i.splice(r,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}}),this.cloneFrom=null)},t}(),w=function(){function t(t,e,n,i){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();var r;if(function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new g),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s=200&&this.status<300}}(),S=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=C.ResponseHeader,n}return Object(d.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(O),E=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=C.Response,n.body=void 0!==e.body?e.body:null,n}return Object(d.__extends)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(O),x=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(d.__extends)(e,t),e}(O),T=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var i=this;void 0===n&&(n={});var r;if(t instanceof w)r=t;else{var o=void 0;o=n.headers instanceof g?n.headers:new g(n.headers);var s=void 0;n.params&&(s=n.params instanceof b?n.params:new b({fromObject:n.params})),r=new w(t,e,void 0!==n.body?n.body:null,{headers:o,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=c.concatMap.call(Object(l.of)(r),function(t){return i.handler.handle(t)});if(t instanceof w||"events"===n.observe)return a;var u=p.filter.call(a,function(t){return t instanceof E});switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return h.map.call(u,function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body});case"blob":return h.map.call(u,function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body});case"text":return h.map.call(u,function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body});case"json":default:return h.map.call(u,function(t){return t.body})}case"response":return u;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new b).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,a(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,a(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,a(n,e))},t}(),k=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),P=new u.n("HTTP_INTERCEPTORS"),j=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),A=/^\)\]\}',?\n/,I=function(){return function(){}}(),D=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),M=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new _.Observable(function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach(function(t,e){return i.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(t.responseType){var o=t.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var s=t.serializeBody(),a=null,u=function(){if(null!==a)return a;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new g(i.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return a=new S({headers:r,status:e,statusText:n,url:o})},l=function(){var e=u(),r=e.headers,o=e.status,s=e.statusText,a=e.url,l=null;204!==o&&(l=void 0===i.response?i.responseText:i.response),0===o&&(o=l?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof l){var p=l;l=l.replace(A,"");try{l=""!==l?JSON.parse(l):null}catch(t){l=p,c&&(c=!1,l={error:t,text:l})}}c?(n.next(new E({body:l,headers:r,status:o,statusText:s,url:a||void 0})),n.complete()):n.error(new x({error:l,headers:r,status:o,statusText:s,url:a||void 0}))},c=function(t){var e=new x({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error"});n.error(e)},p=!1,h=function(e){p||(n.next(u()),p=!0);var r={type:C.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},d=function(t){var e={type:C.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",l),i.addEventListener("error",c),t.reportProgress&&(i.addEventListener("progress",h),null!==s&&i.upload&&i.upload.addEventListener("progress",d)),i.send(s),n.next({type:C.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("load",l),t.reportProgress&&(i.removeEventListener("progress",h),null!==s&&i.upload&&i.upload.removeEventListener("progress",d)),i.abort()}})},t}(),R=new u.n("XSRF_COOKIE_NAME"),N=new u.n("XSRF_HEADER_NAME"),V=function(){return function(){}}(),L=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(f.t)(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),B=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)},t}(),F=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(P,[]);this.chain=e.reduceRight(function(t,e){return new k(t,e)},this.backend)}return this.chain.handle(t)},t}(),z=function(){function t(){}return t.disable=function(){return{ngModule:t,providers:[{provide:B,useClass:j}]}},t.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:R,useValue:e.cookieName}:[],e.headerName?{provide:N,useValue:e.headerName}:[]]}},t}(),H=function(){return function(){}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(42),r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.buildHammer=function(t){var e=new window.Hammer(t);for(var n in this.overrides)e.get(n).set(this.overrides[n]);return e},e}(i.g)},function(t,e,n){"use strict";n.d(e,"a",function(){return s}),e.b=function(){return o};var i=n(0),r=n(186),o={core:{settings:{mode:"md",keyboardHeight:290}},mobile:{},phablet:{isMatch:function(t){var e=Math.min(t.width(),t.height()),n=Math.max(t.width(),t.height());return e>390&&e<520&&n>620&&n<800}},tablet:{isMatch:function(t){var e=Math.min(t.width(),t.height()),n=Math.max(t.width(),t.height());return e>460&&e<820&&n>780&&n<1400}},android:{superset:"mobile",subsets:["phablet","tablet"],settings:{activator:function(t){if(t.testNavigatorPlatform("linux")){var e=t.matchUserAgentVersion(/Chrome\/(\d+).(\d+)?/);if(e)return parseInt(e.major,10)<36||t.version().major<5?"none":"ripple";if(t.version().major<5)return"none"}return"ripple"},autoFocusAssist:"immediate",inputCloning:!0,scrollAssist:!0,hoverCSS:!1,keyboardHeight:300,mode:"md"},isMatch:function(t){return t.isPlatformMatch("android",["android","silk"],["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/Android (\d+).(\d+)?/)}},ios:{superset:"mobile",subsets:["ipad","iphone"],settings:{autoFocusAssist:"delay",hideCaretOnScroll:!0,hoverCSS:!1,inputBlurring:r.c,inputCloning:r.c,keyboardHeight:250,mode:"ios",statusbarPadding:r.a,swipeBackEnabled:r.c,tapPolyfill:r.d,virtualScrollEventAssist:r.d,disableScrollAssist:r.c,scrollAssist:r.c,keyboardResizes:function(t){var e=t.win();return!(!e.Ionic||!0!==e.Ionic.keyboardResizes)}},isMatch:function(t){return t.isPlatformMatch("ios",["iphone","ipad","ipod"],["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/OS (\d+)_(\d+)?/)}},ipad:{superset:"tablet",settings:{keyboardHeight:500},isMatch:function(t){return t.isPlatformMatch("ipad")}},iphone:{subsets:["phablet"],isMatch:function(t){return t.isPlatformMatch("iphone")}},windows:{superset:"mobile",subsets:["phablet","tablet"],settings:{mode:"wp",autoFocusAssist:"immediate",hoverCSS:!1},isMatch:function(t){return t.isPlatformMatch("windows",["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/Windows Phone (\d+).(\d+)?/)}},cordova:{isEngine:!0,initialize:function(t){t.prepareReady=function(){t.windowLoad(function(e,n){n.addEventListener("deviceready",function(){n.addEventListener("backbutton",function(e){t.zone.run(function(){t.backButton.emit(e)})}),n.addEventListener("pause",function(e){t.zone.run(function(){t.pause.emit(e)})}),n.addEventListener("resume",function(e){t.zone.run(function(){t.resume.emit(e)})}),t.exitApp=function(){e.navigator.app.exitApp()},t.triggerReady("cordova")})})}},isMatch:function(t){return Object(r.a)(t)}},electron:{superset:"core",initialize:function(t){t.prepareReady=function(){t.windowLoad(function(){t.triggerReady("electron")})}},isMatch:function(t){return Object(r.b)(t)}}},s=new i.n("PLTCONFIG")},function(t,e,n){"use strict";function i(t,e){if(!e||!e.parentNode)return!0;if(!t)return!1;if(t.defaultPrevented)return!0;for(var n=t.target,i=0;i<4&&n;i++){if(n.hasAttribute("disable-activated"))return!0;n=n.parentElement}return!1}function r(t){for(var e=t,n=0;n<10&&e;n++){if(function(t){if(f.indexOf(t.tagName)>-1)return!0;for(var e=0,n=_.length;eDate.now()},t}(),f=["A","BUTTON"],_=["tappable","ion-button"],v=100,y=2500},function(t,e,n){"use strict";e.a=function(t){return function(){t.setModeConfig("ios",i),t.setModeConfig("md",r),t.setModeConfig("wp",o)}};var i={activator:"highlight",actionSheetEnter:"action-sheet-slide-in",actionSheetLeave:"action-sheet-slide-out",alertEnter:"alert-pop-in",alertLeave:"alert-pop-out",backButtonText:"Back",backButtonIcon:"ios-arrow-back",iconMode:"ios",loadingEnter:"loading-pop-in",loadingLeave:"loading-pop-out",menuType:"reveal",modalEnter:"modal-slide-in",modalLeave:"modal-slide-out",pageTransition:"ios-transition",pickerEnter:"picker-slide-in",pickerLeave:"picker-slide-out",pickerRotateFactor:-.46,pickerScaleFactor:1,popoverEnter:"popover-pop-in",popoverLeave:"popover-pop-out",spinner:"ios",tabsHighlight:!1,tabsPlacement:"bottom",tabsHideOnSubPages:!1,toastEnter:"toast-slide-in",toastLeave:"toast-slide-out"},r={activator:"ripple",actionSheetEnter:"action-sheet-md-slide-in",actionSheetLeave:"action-sheet-md-slide-out",alertEnter:"alert-md-pop-in",alertLeave:"alert-md-pop-out",backButtonText:"",backButtonIcon:"md-arrow-back",iconMode:"md",loadingEnter:"loading-md-pop-in",loadingLeave:"loading-md-pop-out",menuType:"overlay",modalEnter:"modal-md-slide-in",modalLeave:"modal-md-slide-out",pageTransition:"md-transition",pickerEnter:"picker-slide-in",pickerLeave:"picker-slide-out",pickerRotateFactor:0,pickerScaleFactor:.81,popoverEnter:"popover-md-pop-in",popoverLeave:"popover-md-pop-out",spinner:"crescent",tabsHighlight:!1,tabsPlacement:"bottom",tabsHideOnSubPages:!1,toastEnter:"toast-md-slide-in",toastLeave:"toast-md-slide-out"},o={activator:"highlight",actionSheetEnter:"action-sheet-wp-slide-in",actionSheetLeave:"action-sheet-wp-slide-out",alertEnter:"alert-wp-pop-in",alertLeave:"alert-wp-pop-out",backButtonText:"",backButtonIcon:"ios-arrow-back",iconMode:"ios",loadingEnter:"loading-wp-pop-in",loadingLeave:"loading-wp-pop-out",menuType:"overlay",modalEnter:"modal-md-slide-in",modalLeave:"modal-md-slide-out",pageTransition:"wp-transition",pickerEnter:"picker-slide-in",pickerLeave:"picker-slide-out",pickerRotateFactor:0,pickerScaleFactor:.81,popoverEnter:"popover-md-pop-in",popoverLeave:"popover-md-pop-out",spinner:"circles",tabsHighlight:!1,tabsPlacement:"top",tabsHideOnSubPages:!0,toastEnter:"toast-wp-slide-in",toastLeave:"toast-wp-slide-out"}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(1);var i=n(181),r=(n(14),function(){function t(t,e,n){this._app=t,this.config=e,this.deepLinker=n}return t.prototype.create=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),new i.a(this._app,t,e,n,this.config,this.deepLinker)},t}())},function(t,e,n){"use strict";n(13)},function(t,e,n){"use strict";n(13)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});n(1);var i=n(126),r=(n(14),function(){function t(t,e,n){this._app=t,this.config=e,this._deepLinker=n}return t.prototype.create=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),new i.a(this._app,t,e,n,this.config,this._deepLinker)},t}())},function(t,e,n){"use strict";var i=n(182),r=n(3),o=n(80),s=n(21),a=n(49),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.mdPositionView=function(t,e){var n="top",i="left",r=t.querySelector(".popover-wrapper"),o=t.querySelector(".popover-content"),s=o.getBoundingClientRect(),a=s.width,u=s.height,l=this.plt.width(),c=this.plt.height(),p=e&&e.target&&e.target.getBoundingClientRect(),h=p&&"top"in p?p.top:c/2-u/2,d=p&&p.height||0,f={top:h,left:p&&"left"in p?p.left:l/2-a/2};f.left<_?f.left=_:a+_+f.left>l&&(f.left=l-a-_,i="right"),h+d+u>c&&h-u>0?(f.top=h-u,t.className=t.className+" popover-bottom",n="bottom"):h+d+u>c&&(o.style.bottom=_+"px"),o.style.top=f.top+"px",o.style.left=f.left+"px",o.style[this.plt.Css.transformOrigin]=n+" "+i,r.style.opacity="1"},e.prototype.iosPositionView=function(t,e){var n="top",i="left",r=t.querySelector(".popover-wrapper"),o=t.querySelector(".popover-content"),s=o.getBoundingClientRect(),a=s.width,u=s.height,l=this.plt.width(),c=this.plt.height(),p=e&&e.target&&e.target.getBoundingClientRect(),h=p&&"top"in p?p.top:c/2-u/2,d=p&&"left"in p?p.left:l/2,_=p&&p.width||0,v=p&&p.height||0,y=t.querySelector(".popover-arrow"),g=y.getBoundingClientRect(),m=g.width,b=g.height;p||(y.style.display="none");var w={top:h+v,left:d+_/2-m/2},C={top:h+v+(b-1),left:d+_/2-a/2},O=!1,S=!1;C.leftl&&(S=!0,C.left=l-a-f,i="right"),h+v+u>c&&h-u>0?(w.top=h-(b+1),C.top=h-u-(b-1),t.className=t.className+" popover-bottom",n="bottom"):h+v+u>c&&(o.style.bottom=f+"%"),y.style.top=w.top+"px",y.style.left=w.left+"px",o.style.top=C.top+"px",o.style.left=C.left+"px",O&&(CSS.supports("left","constant(safe-area-inset-left)")?o.style.left="calc("+C.left+"px + constant(safe-area-inset-left)":CSS.supports("left","env(safe-area-inset-left)")&&(o.style.left="calc("+C.left+"px + env(safe-area-inset-left)")),S&&(CSS.supports("right","constant(safe-area-inset-right)")?o.style.left="calc("+C.left+"px - constant(safe-area-inset-right)":CSS.supports("right","env(safe-area-inset-right)")&&(o.style.left="calc("+C.left+"px - env(safe-area-inset-right)")),o.style[this.plt.Css.transformOrigin]=n+" "+i,r.style.opacity="1"},e}(a.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".popover-wrapper"));n.fromTo("opacity",.01,1),e.fromTo("opacity",.01,.08),this.easing("ease").duration(100).add(e).add(n)},e.prototype.play=function(){var e=this;this.plt.raf(function(){e.iosPositionView(e.enteringView.pageRef().nativeElement,e.opts.ev),t.prototype.play.call(e)})},e}(l),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".popover-wrapper"));n.fromTo("opacity",.99,0),e.fromTo("opacity",.08,0),this.easing("ease").duration(500).add(e).add(n)},e}(l),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector(".popover-content")),n=new s.a(this.plt,t.querySelector(".popover-viewport"));e.fromTo("scale",.001,1),n.fromTo("opacity",.01,1),this.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).add(e).add(n)},e.prototype.play=function(){var e=this;this.plt.raf(function(){e.mdPositionView(e.enteringView.pageRef().nativeElement,e.opts.ev),t.prototype.play.call(e)})},e}(l),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector(".popover-wrapper"));e.fromTo("opacity",.99,0),this.easing("ease").duration(500).fromTo("opacity",.01,1).add(e)},e}(l),f=2,_=12,v=n(5),y=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),g=function(t){function e(e,n,i,s,a){void 0===i&&(i={}),void 0===s&&(s={});var u=this;return s.showBackdrop=!Object(r.l)(s.showBackdrop)||!!s.showBackdrop,s.enableBackdropDismiss=!Object(r.l)(s.enableBackdropDismiss)||!!s.enableBackdropDismiss,i.component=n,i.opts=s,u=t.call(this,o.a,i,null)||this,u._app=e,u.isOverlay=!0,a.setTransition("popover-pop-in",c),a.setTransition("popover-pop-out",p),a.setTransition("popover-md-pop-in",h),a.setTransition("popover-md-pop-out",d),u}return y(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"popoverLeave":"popoverEnter")},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e}(v.a);n.d(e,"a",function(){return b});var m=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),b=function(t){function e(e,n,i,r,o,s){void 0===r&&(r={});var a=t.call(this,e,n,o,s)||this;return a.data=i,a.opts=r,a.isOverlay=!0,a}return m(e,t),e.prototype.getImplementation=function(){return new g(this._app,this._component,this.data,this.opts,this._config)},e}(i.a)},function(t,e,n){"use strict";n(20),n(8),n(3),n(4),n(17),n(38)},function(t,e,n){"use strict";n(3)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t,e,n){if(this._plt=e,this.zone=n,this.isMatch=!1,t){this.conditions=t.replace(/\s/g,"").split(",");for(var i=0;i0&&console.warn("(focus) is deprecated in ion-input, use (ionFocus) instead"),this.blur.observers.length>0&&console.warn("(blur) is deprecated in ion-input, use (ionBlur) instead")},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._onDestroy.next(),this._onDestroy=null},e.prototype.initFocus=function(){this.setFocus()},e.prototype.setFocus=function(){this.isFocus()||this._native.nativeElement.focus()},e.prototype.setBlur=function(){this.isFocus()&&this._native.nativeElement.blur()},e.prototype.onInput=function(t){this.value=t.target.value,this.input.emit(t)},e.prototype.onBlur=function(t){this._fireBlur(),this.blur.emit(t),this._scrollData=null,this._clearOnEdit&&this.hasValue()&&(this._didBlurAfterEdit=!0)},e.prototype.onFocus=function(t){this._fireFocus(),this.focus.emit(t)},e.prototype.onKeydown=function(t){t&&this._clearOnEdit&&this.checkClearOnEdit(t.target.value)},e.prototype._inputUpdated=function(){t.prototype._inputUpdated.call(this);var e=this._native.nativeElement,n=this._value;e.value!==n&&(e.value=n)},e.prototype.clearTextInput=function(){this.value=""},e.prototype.checkClearOnEdit=function(t){this._clearOnEdit&&(this._didBlurAfterEdit&&this.hasValue()&&this.clearTextInput(),this._didBlurAfterEdit=!1)},e.prototype._getScrollData=function(){if(!this._content)return{scrollAmount:0,scrollTo:0,scrollPadding:0,scrollDuration:0,inputSafeY:0};if(this._scrollData)return this._scrollData;var t=this._elementRef.nativeElement;return t=t.closest("ion-item,[ion-item]")||t,this._scrollData=function(t,e,n,i,r){var o=t+n.contentTop-n.scrollTop,s=o+e,a=n.contentTop,u=(r-i-a)/2,l=a+u,c=o>=a&&o<=l,h=ol,f=s>=a&&s<=l,_=s>l,v={scrollAmount:0,scrollTo:0,scrollPadding:0,scrollDuration:0,inputSafeY:0};if(v.scrollPadding=i,c&&f)return v;(d||_||h)&&(v.scrollAmount=u>e?Math.round(l-s):Math.round(a-o),v.inputSafeY=4-(o-a),h&&v.scrollAmount>e&&(v.scrollAmount=e)),v.scrollTo=n.scrollTop-v.scrollAmount;var y=Math.abs(v.scrollAmount)/p;return v.scrollDuration=Math.min(400,Math.max(150,y)),v}(t.offsetTop,t.offsetHeight,this._content.getContentDimensions(),this._keyboardHeight,this._plt.height())},e.prototype._relocateInput=function(t){if(this._relocated!==t){var e=this._plt,n=this.getNativeElement(),i=this._native.nativeElement;if(t){!function(t,e,n){if(e){var i=e.offsetTop,r=e.offsetLeft,o=e.offsetWidth,s=e.offsetHeight,a=e.cloneNode(!1),u=a.style;a.classList.add("cloned-input"),a.setAttribute("aria-hidden","true"),u.pointerEvents="none",u.position="absolute",u.top=i+"px",u.left=r+"px",u.width=o+"px",u.height=s+"px";var l=n.cloneNode(!1);l.value=n.value,l.tabIndex=-1,a.appendChild(l),e.parentNode.appendChild(a),e.style.pointerEvents="none"}n.style[t.Css.transform]="scale(0)"}(e,n,i);var r=this._getScrollData().inputSafeY;i.style[e.Css.transform]="translate3d("+(this._plt.isRTL?9999:-9999)+"px,"+r+"px,0)",i.style.opacity="0"}else!function(t,e,n){if(e&&e.parentElement){for(var i=e.parentElement.querySelectorAll(".cloned-input"),r=0;r4&&t._content.scrollTo(0,e.scrollTo,e.scrollDuration)})},e.prototype._pointerStart=function(t){"touchstart"===t.type&&(this._isTouch=!0),(this._isTouch||!this._isTouch&&"mousedown"===t.type)&&this._app.isEnabled()&&(this._coord=Object(s.f)(t))},e.prototype._pointerEnd=function(t){if(this._isTouch&&"mouseup"===t.type||!this._app.isEnabled())t.preventDefault(),t.stopPropagation();else if(this._coord){var e=Object(s.f)(t);Object(s.d)(8,this._coord,e)||this.isFocus()||(t.preventDefault(),t.stopPropagation(),this._jsSetFocus())}this._coord=null},e.prototype._jsSetFocus=function(){var t=this,e=this._content;e||this.setFocus();var n=this._getScrollData();Math.abs(n.scrollAmount)<4?this.setFocus():(this._relocateInput(!0),this.setFocus(),e.scrollTo(0,n.scrollTo,n.scrollDuration,function(){t._relocateInput(!1),t.setFocus()}))},e}(a.a),p=.3},function(t,e,n){"use strict";n.d(e,"a",function(){return s});n(1);var i=n(3),r=(n(15),n(39)),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),s=function(t){function e(e,n,i,r,o){return t.call(this,e,r,o,"checkbox",!1,n,i,null)||this}return o(e,t),Object.defineProperty(e.prototype,"checked",{get:function(){return this.value},set:function(t){this.value=t},enumerable:!0,configurable:!0}),e.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.value=!this.value,this._fireTouched()},e.prototype._inputNormalize=function(t){return Object(i.o)(t)},e.prototype._inputUpdated=function(){this._item&&this._item.setElementClass("item-checkbox-checked",this._value)},e}(r.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(0),r=n(3),o=(n(4),n(99),function(){function t(t,e,n,r,o){this._plt=e,this._renderer=n,this._elementRef=r,this._zone=o,this._openAmount=0,this._startX=0,this._optsWidthRightSide=0,this._optsWidthLeftSide=0,this._tmr=null,this._optsDirty=!0,this._state=2,this.ionDrag=new i.l,t&&t.containsSlidingItem(!0),r.nativeElement.$ionComponent=this,this.setElementClass("item-wrapper",!0)}return Object.defineProperty(t.prototype,"_itemOptions",{set:function(t){var e=0;this._leftOptions=this._rightOptions=null;for(var n=0,i=t.toArray();n0?t/this._optsWidthRightSide:t<0?t/this._optsWidthLeftSide:0},t.prototype.startSliding=function(t){this._tmr&&(this._plt.cancelTimeout(this._tmr),this._tmr=null),0===this._openAmount&&(this._optsDirty=!0,this._setState(4)),this._startX=t+this._openAmount,this.item.setElementStyle(this._plt.Css.transition,"none")},t.prototype.moveSliding=function(t){if(!this._optsDirty){var e=this._startX-t;switch(this._sides){case 2:e=Math.max(0,e);break;case 1:e=Math.min(0,e);break;case 3:break;case 0:return}if(e>this._optsWidthRightSide){e=(n=this._optsWidthRightSide)+.55*(e-n)}else if(e<-this._optsWidthLeftSide){var n;e=(n=-this._optsWidthLeftSide)+.55*(e-n)}return this._setOpenAmount(e,!1),e}this.calculateOptsWidth()},t.prototype.endSliding=function(t){var e=this._openAmount>0?this._optsWidthRightSide:-this._optsWidthLeftSide,n=this._openAmount>0==!(t<0),i=Math.abs(t)>.3,o=Math.abs(this._openAmount)0){this._setState(t>=this._optsWidthRightSide+30?40:8)}else{if(!(t<0))return this._tmr=i.timeout(function(){n._setState(2),n._tmr=null},600),void this.item.setElementStyle(i.Css.transform,"");this._setState(t<=-this._optsWidthLeftSide-30?80:16)}this.item.setElementStyle(i.Css.transform,"translate3d("+-t+"px,0,0)");var r=this.ionDrag;r.observers.length>0&&r.emit(this)},t.prototype._setState=function(t){t!==this._state&&(this.setElementClass("active-slide",2!==t),this.setElementClass("active-options-right",!!(8&t)),this.setElementClass("active-options-left",!!(16&t)),this.setElementClass("active-swipe-right",!!(32&t)),this.setElementClass("active-swipe-left",!!(64&t)),this._state=t)},t.prototype.close=function(){this._setOpenAmount(0,!0)},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t}())},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n(0),r=n(108),o=n(109),s=n(126),a=(n(1),n(14),n(15),n(39)),u=n(3),l=(n(100),n(82)),c=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),p=function(t){function e(e,n,r,o,s,a,l){var c=t.call(this,r,o,s,"select",[],n,a,null)||this;return c._app=e,c.config=r,c.deepLinker=l,c._multi=!1,c._texts=[],c._text="",c._compareWith=u.g,c.cancelText="Cancel",c.okText="OK",c.selectOptions={},c.interface="",c.selectedText="",c.ionCancel=new i.l,c}return c(e,t),Object.defineProperty(e.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),e.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.open(t)},e.prototype._keyup=function(){this.open()},e.prototype.getValues=function(){return Array.isArray(this._value)?this._value:[this._value]},e.prototype.open=function(t){var e=this;if(!this.isFocus()&&!this._disabled){var n=Object(u.b)(this.selectOptions);n.buttons=[{text:this.cancelText,role:"cancel",handler:function(){e.ionCancel.emit(e)}}],!n.title&&this._item&&(n.title=this._item.getLabelText());var i=this._options.toArray();"action-sheet"!==this.interface&&"popover"!==this.interface||!this._multi||(console.warn('Interface cannot be "'+this.interface+'" with a multi-value select. Using the "alert" interface.'),this.interface="alert"),"popover"!==this.interface||t||(console.warn('Interface cannot be "popover" without UIEvent.'),this.interface="alert");var a;if("action-sheet"===this.interface){n.buttons=n.buttons.concat(i.map(function(t){return{role:t.selected?"selected":"",text:t.text,handler:function(){e.value=t.value,t.ionSelect.emit(t.value)}}}));var c="select-action-sheet";n.cssClass=c+=n.cssClass?" "+n.cssClass:"",a=new r.a(this._app,n,this.config)}else if("popover"===this.interface){var p=i.map(function(t){return{text:t.text,checked:t.selected,disabled:t.disabled,value:t.value,handler:function(){e.value=t.value,t.ionSelect.emit(t.value)}}}),h="select-popover";a=new s.a(this._app,l.a,{options:p},{cssClass:h+=n.cssClass?" "+n.cssClass:""},this.config,this.deepLinker),Object.defineProperty(t,"target",{value:t.currentTarget}),n.ev=t}else{this.interface="alert",n.inputs=this._options.map(function(t){return{type:e._multi?"checkbox":"radio",label:t.text,value:t.value,checked:t.selected,disabled:t.disabled,handler:function(e){e.checked&&t.ionSelect.emit(t.value)}}});var d="select-alert";a=new o.a(this._app,n,this.config),d+=this._multi?" multiple-select-alert":" single-select-alert",a.setCssClass(d+=n.cssClass?" "+n.cssClass:""),a.addButton({text:this.okText,handler:function(t){return e.value=t}})}a.present(n),this._fireFocus(),a.onDidDismiss(function(){e._fireBlur(),e._overlay=void 0}),this._overlay=a}},e.prototype.close=function(){if(this._overlay&&this.isFocus())return this._overlay.dismiss()},Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multi},set:function(t){this._multi=Object(u.o)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._multi?this._texts:this._texts.join()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{set:function(t){this._options=t;0===this.getValues().length?this.writeValue(t.filter(function(t){return t.selected}).map(function(t){return t.value})):this._updateText()},enumerable:!0,configurable:!0}),e.prototype._inputShouldChange=function(t){return!Object(u.c)(this._value,t)},e.prototype._inputChangeEvent=function(){return this.value},e.prototype._updateText=function(){var t=this;this._texts.length=0,this._options&&this._options.forEach(function(e){e.selected=t.getValues().some(function(n){return t._compareWith(n,e.value)}),e.selected&&t._texts.push(e.text)}),this._text=this._texts.join(", ")},e.prototype._inputUpdated=function(){this._updateText(),t.prototype._inputUpdated.call(this)},e}(a.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});n(97);var i=function(){function t(t,e,n){this._slides=n,e.setElementClass(t.nativeElement,"swiper-slide",!0),n.update(10)}return t.prototype.ngOnDestroy=function(){this._slides.update(10)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(2),r=n(40),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.DestinationType={DATA_URL:0,FILE_URI:1,NATIVE_URI:2},e.EncodingType={JPEG:0,PNG:1},e.MediaType={PICTURE:0,VIDEO:1,ALLMEDIA:2},e.PictureSourceType={PHOTOLIBRARY:0,CAMERA:1,SAVEDPHOTOALBUM:2},e.PopoverArrowDirection={ARROW_UP:1,ARROW_DOWN:2,ARROW_LEFT:4,ARROW_RIGHT:8,ARROW_ANY:15},e.Direction={BACK:0,FRONT:1},e}return Object(i.__extends)(e,t),e.prototype.getPicture=function(t){},e.prototype.cleanup=function(){},Object(i.__decorate)([Object(r.a)({callbackOrder:"reverse"}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[Object]),Object(i.__metadata)("design:returntype",Promise)],e.prototype,"getPicture",null),Object(i.__decorate)([Object(r.a)({platforms:["iOS"]}),Object(i.__metadata)("design:type",Function),Object(i.__metadata)("design:paramtypes",[]),Object(i.__metadata)("design:returntype",Promise)],e.prototype,"cleanup",null),e=Object(i.__decorate)([Object(r.h)({pluginName:"Camera",plugin:"cordova-plugin-camera",pluginRef:"navigator.camera",repo:"https://github.com/apache/cordova-plugin-camera",platforms:["Android","Browser","iOS","Windows"]})],e)}(r.g)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(2),r=n(40),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(i.__extends)(e,t),Object(i.__decorate)([r.d,Object(i.__metadata)("design:type",String)],e.prototype,"cordova",void 0),Object(i.__decorate)([r.d,Object(i.__metadata)("design:type",String)],e.prototype,"model",void 0),Object(i.__decorate)([r.d,Object(i.__metadata)("design:type",String)],e.prototype,"platform",void 0),Object(i.__decorate)([r.d,Object(i.__metadata)("design:type",String)],e.prototype,"uuid",void 0),Object(i.__decorate)([r.d,Object(i.__metadata)("design:type",String)],e.prototype,"version",void 0),Object(i.__decorate)([r.d,Object(i.__metadata)("design:type",String)],e.prototype,"manufacturer",void 0),Object(i.__decorate)([r.d,Object(i.__metadata)("design:type",Boolean)],e.prototype,"isVirtual",void 0),Object(i.__decorate)([r.d,Object(i.__metadata)("design:type",String)],e.prototype,"serial",void 0),e=Object(i.__decorate)([Object(r.h)({pluginName:"Device",plugin:"cordova-plugin-device",pluginRef:"device",repo:"https://github.com/apache/cordova-plugin-device",platforms:["Android","Browser","iOS","macOS","Windows"]})],e)}(r.g)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){return function(){}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return o});n(1);var i=n(9),r=(n(5),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),o=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i,"footer")||this;return r&&r._setFooter(o),o}return r(e,t),e}(i.a)},,function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";e.isObject=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){"use strict";function i(){try{return r.apply(this,arguments)}catch(t){return o.errorObject.e=t,o.errorObject}}var r,o=n(102);e.tryCatch=function(t){return r=t,i}},function(t,e,n){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},function(t,e,n){"use strict";function i(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}var r=n(47);e.getSymbolObservable=i,e.observable=i(r.root),e.$$observable=e.observable},function(t,e,n){"use strict";var i=n(2).__extends,r=n(12),o=n(218),s=n(153),a=n(154);e.ArrayObservable=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return i(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n1?new e(t,i):1===r?new o.ScalarObservable(t[0],i):new s.EmptyObservable(i)},e.dispatch=function(t){var e=t.array,n=t.index,i=t.subscriber;n>=t.count?i.complete():(i.next(e[n]),i.closed||(t.index=n+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.array,i=n.length,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{array:n,index:0,count:i,subscriber:t});for(var o=0;o0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.OuterSubscriber);e.MergeMapSubscriber=a},function(t,e,n){"use strict";var i=n(2).__extends,r=n(35);e.refCount=function(){return function(t){return t.lift(new o(t))}};var o=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var i=new s(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r},t}(),s=function(t){function e(e,n){t.call(this,e),this.connectable=n}return i(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null},e}(r.Subscriber)},,function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n(70),r=n(3),o=n(17),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=function(t){function e(e,n,i){void 0===i&&(i={});var r=t.call(this,e,n,i)||this;return r.slide=null,r}return s(e,t),e.prototype.getSlideBoundaries=function(t,e){return{min:0,max:this.getNativeElement().offsetWidth}},e.prototype.getElementStartPos=function(t,e){return 0},e.prototype.onDragStart=function(t){this.onSlideBeforeStart(t);var e=Object(o.f)(t)[this.direction];this.slide={min:0,max:0,pointerStartPos:e,pos:e,timestamp:Date.now(),elementStartPos:0,started:!0,delta:0,distance:0,velocity:0};var n=this.getSlideBoundaries(this.slide,t),i=n.max;this.slide.min=n.min,this.slide.max=i,this.slide.elementStartPos=this.getElementStartPos(this.slide,t),this.onSlideStart(this.slide,t)},e.prototype.onDragMove=function(t){var e=this.slide,n=Object(o.f)(t)[this.direction],i=Date.now(),s=(this.plt.isRTL?e.pos-n:n-e.pos)/(i-e.timestamp);e.pos=n,e.timestamp=i,e.distance=Object(r.a)(e.min,(this.plt.isRTL?e.pointerStartPos-n:n-e.pointerStartPos)+e.elementStartPos,e.max),e.velocity=s,e.delta=this.plt.isRTL?e.pointerStartPos-n:n-e.pointerStartPos,this.onSlide(e,t)},e.prototype.onDragEnd=function(t){this.onSlideEnd(this.slide,t),this.slide=null},e.prototype.onSlideBeforeStart=function(t){},e.prototype.onSlideStart=function(t,e){},e.prototype.onSlide=function(t,e){},e.prototype.onSlideEnd=function(t,e){},e}(i.a)},function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o});var i=function(){function t(t,e,n,i,r,o){this.plt=t,this.ele=e,this.pointerDown=n,this.pointerMove=i,this.pointerUp=r,this.option=o,this.rmTouchStart=null,this.rmTouchMove=null,this.rmTouchEnd=null,this.rmTouchCancel=null,this.rmMouseStart=null,this.rmMouseMove=null,this.rmMouseUp=null,this.lastTouchEvent=0,this.mouseWait=2e3,this.bindTouchEnd=this.handleTouchEnd.bind(this),this.bindMouseUp=this.handleMouseUp.bind(this),this.rmTouchStart=this.plt.registerListener(e,"touchstart",this.handleTouchStart.bind(this),o),this.rmMouseStart=this.plt.registerListener(e,"mousedown",this.handleMouseDown.bind(this),o)}return t.prototype.handleTouchStart=function(t){this.lastTouchEvent=Date.now()+this.mouseWait,this.lastEventType=o,this.pointerDown(t,o)&&(!this.rmTouchMove&&this.pointerMove&&(this.rmTouchMove=this.plt.registerListener(this.ele,"touchmove",this.pointerMove,this.option)),this.rmTouchEnd||(this.rmTouchEnd=this.plt.registerListener(this.ele,"touchend",this.bindTouchEnd,this.option)),this.rmTouchCancel||(this.rmTouchCancel=this.plt.registerListener(this.ele,"touchcancel",this.bindTouchEnd,this.option)))},t.prototype.handleMouseDown=function(t){this.lastTouchEvent>Date.now()||(this.lastEventType=r,this.pointerDown(t,r)&&(!this.rmMouseMove&&this.pointerMove&&(this.rmMouseMove=this.plt.registerListener(this.plt.doc(),"mousemove",this.pointerMove,this.option)),this.rmMouseUp||(this.rmMouseUp=this.plt.registerListener(this.plt.doc(),"mouseup",this.bindMouseUp,this.option))))},t.prototype.handleTouchEnd=function(t){this.stopTouch(),this.pointerUp&&this.pointerUp(t,o)},t.prototype.handleMouseUp=function(t){this.stopMouse(),this.pointerUp&&this.pointerUp(t,r)},t.prototype.stopTouch=function(){this.rmTouchMove&&this.rmTouchMove(),this.rmTouchEnd&&this.rmTouchEnd(),this.rmTouchCancel&&this.rmTouchCancel(),this.rmTouchMove=this.rmTouchEnd=this.rmTouchCancel=null},t.prototype.stopMouse=function(){this.rmMouseMove&&this.rmMouseMove(),this.rmMouseUp&&this.rmMouseUp(),this.rmMouseMove=this.rmMouseUp=null},t.prototype.stop=function(){this.stopTouch(),this.stopMouse()},t.prototype.destroy=function(){this.rmTouchStart&&this.rmTouchStart(),this.rmMouseStart&&this.rmMouseStart(),this.stop(),this.ele=this.pointerUp=this.pointerMove=this.pointerDown=this.rmTouchStart=this.rmMouseStart=null},t}(),r=1,o=2},function(t,e,n){"use strict";n(1),n(9),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n(1),n(9),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n(1),n(9),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n(1),n(9),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(){function t(t){this.wait=t,this.timer=null}return t.prototype.debounce=function(t){this.callback=t,this.schedule()},t.prototype.schedule=function(){this.cancel(),this.wait<=0?this.callback():this.timer=setTimeout(this.callback,this.wait)},t.prototype.cancel=function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},t}()},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(17),r=function(){function t(t,e,n){this._app=t,this._plt=e,this._dom=n,this.isScrolling=!1,this.initialized=!1,this._eventsEnabled=!1,this._t=0,this._l=0,this.ev={timeStamp:0,scrollTop:0,scrollLeft:0,scrollHeight:0,scrollWidth:0,contentHeight:0,contentWidth:0,contentTop:0,contentBottom:0,startY:0,startX:0,deltaY:0,deltaX:0,velocityY:0,velocityX:0,directionY:"down",directionX:null,domWrite:n.write.bind(n)}}return t.prototype.init=function(t,e,n){this._el=t,this.initialized||(this.initialized=!0,this._js?this.enableJsScroll(e,n):this.enableNativeScrolling())},t.prototype.enableEvents=function(){this._eventsEnabled=!0},t.prototype.setScrolling=function(t,e){this.isScrolling?t?this.onScroll&&this.onScroll(e):(this.isScrolling=!1,this.onScrollEnd&&this.onScrollEnd(e)):t&&(this.isScrolling=!0,this.onScrollStart&&this.onScrollStart(e))},t.prototype.enableNativeScrolling=function(){if(this._js=!1,this._el){var t=this,e=t.ev,n=[];t._lsn&&t._lsn(),t._lsn=t._plt.registerListener(t._el,"scroll",function(i){if(t._app.setScrolling(),t._eventsEnabled){if(e.timeStamp=i.timeStamp,e.timeStamp||(e.timeStamp=Date.now()),e.scrollTop=t.getTop(),e.scrollLeft=t.getLeft(),t.isScrolling||(e.startY=e.scrollTop,e.startX=e.scrollLeft,e.velocityY=e.velocityX=0,e.deltaY=e.deltaX=0,n.length=0),n.push(e.scrollTop,e.scrollLeft,e.timeStamp),n.length>3){e.deltaY=e.scrollTop-e.startY,e.deltaX=e.scrollLeft-e.startX;for(var r=n.length-1,s=r,a=e.timeStamp-100,u=r;u>0&&n[u]>a;u-=3)s=u;if(s!==r){var c=n[s-2]-n[r-2],p=n[s-1]-n[r-1],h=l/(n[r]-n[s]);e.velocityY=c*h,e.velocityX=p*h,e.directionY=c>0?"up":"down",e.directionX=p>0?"left":"right"}}t.setScrolling(!0,e),t._dom.cancel(t._endTmr),t._endTmr=t._dom.read(function(){e.velocityY=e.velocityX=0,t.setScrolling(!1,e),t._endTmr=null},o)}},c)}},t.prototype.enableJsScroll=function(t,e){function n(){d||(d=p.scrollHeight-p.parentElement.offsetHeight+t+e)}function r(t){f.timeStamp=t,f.velocityY&&(f.velocityY*=u,n(),o._t=Math.min(Math.max(o._t+f.velocityY,0),d),f.scrollTop=o._t,o.onScroll(f),o._dom.write(function(){o.setTop(o._t),o._t>0&&o._ta?h=o._dom.read(function(t){r(t)}):(o.isScrolling=!1,f.velocityY=f.velocityX=0,o.onScrollEnd(f))}))}var o=this;o._js=!0;var p=o._el;if(p){var h,d,f=o.ev,_=[],v=o._plt,y=v.registerListener(p,"touchstart",function(t){_.length=0,d=null,o._dom.cancel(h),_.push(Object(i.f)(t).y,t.timeStamp)},c),g=v.registerListener(p,"touchmove",function(t){if(_.length){f.timeStamp=t.timeStamp;var e=Object(i.f)(t).y;n(),o._t-=e-_[_.length-2],o._t=Math.min(Math.max(o._t,0),d),_.push(e,f.timeStamp),o.isScrolling||(f.startY=o._t,f.velocityY=f.deltaY=0,o.isScrolling=!0,o.onScrollStart(f)),o._dom.write(function(){o.setTop(o._t)})}},c),m=v.registerListener(p,"touchend",function(t){if(o._dom.cancel(h),!_.length&&o.isScrolling)return o.isScrolling=!1,f.velocityY=f.velocityX=0,void o.onScrollEnd(f);var e=Object(i.f)(t).y;_.push(e,t.timeStamp);for(var a=_.length-1,u=a,c=t.timeStamp-100,p=a;p>0&&_[p]>c;p-=2)u=p;u!==a?(f.velocityY=(_[u-1]-_[a-1])/(_[a]-_[u])*l,Math.abs(f.velocityY)>s&&(n(),h=o._dom.read(function(t){r(t)}))):(o.isScrolling=!1,f.velocityY=0,o.onScrollEnd(f));_.length=0},c);p.parentElement.classList.add("js-scroll"),o._lsn&&o._lsn(),o._lsn=function(){y(),g(),m(),p.parentElement.classList.remove("js-scroll")}}},t.prototype.getTop=function(){return this._js?this._t:this._t=this._el.scrollTop},t.prototype.getLeft=function(){return this._js?0:this._l=this._el.scrollLeft},t.prototype.setTop=function(t){this._t=t,this._js?this._el.style[this._plt.Css.transform]="translate3d("+-1*this._l+"px,"+-1*t+"px,0px)":this._el.scrollTop=t},t.prototype.setLeft=function(t){this._l=t,this._js?this._el.style[this._plt.Css.transform]="translate3d("+-1*t+"px,"+-1*this._t+"px,0px)":this._el.scrollLeft=t},t.prototype.scrollTo=function(t,e,n,i){function r(o){if(d++,!s._el||f||d>p)return s.setScrolling(!1,null),a.style[h]="",void i();var _=Math.min(1,(o-u)/n),v=--_*_*_+1;l!==e&&s.setTop(v*(e-l)+l),c!==t&&s.setLeft(Math.floor(v*(t-c)+c)),v<1?s._plt.raf(r):(f=!0,s.setScrolling(!1,null),a.style[h]="",i())}var o;void 0===i&&(o=new Promise(function(t){i=t}));var s=this,a=s._el;if(!a)return i(),o;if(n<32)return s.setTop(e),s.setLeft(t),i(),o;var u,l=a.scrollTop,c=a.scrollLeft,p=n/16+100,h=s._plt.Css.transform,d=0,f=!1;return s.setScrolling(!0,null),s.isScrolling=!0,s._dom.write(function(t){u=t,r(t)},16),o},t.prototype.scrollToTop=function(t){return this.scrollTo(0,0,t)},t.prototype.scrollToBottom=function(t){var e=0;return this._el&&(e=this._el.scrollHeight-this._el.clientHeight),this.scrollTo(0,e,t)},t.prototype.stop=function(){this.setScrolling(!1,null)},t.prototype.destroy=function(){this.stop(),this._endTmr&&this._dom.cancel(this._endTmr),this._lsn&&this._lsn();var t=this.ev;t.domWrite=t.contentElement=t.fixedElement=t.scrollElement=t.headerElement=null,this._lsn=this._el=this._dom=this.ev=t=null,this.onScrollStart=this.onScroll=this.onScrollEnd=null},t}(),o=80,s=4,a=.12,u=.97,l=1e3/60,c={passive:!0,zone:!1}},function(t,e,n){"use strict";function i(t){return t.$ionIndex}e.b=i,e.a=function(t,e){for(var n=0;t&&n<4;){if(void 0!==i(t))return e&&t.parentNode!==e?null:t;t=t.parentNode,n++}return null}},function(t,e,n){"use strict";n(1),n(9),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict";n(0),n(18),n(1),n(73),n(15),n(39),n(16),n(3),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}(),this&&this.__assign||Object},function(t,e,n){"use strict";var i=n(0),r=n(3),o=n(74),s=n(21),a=n(43),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".picker-wrapper"));e.fromTo("opacity",.01,.26),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(a.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".picker-wrapper"));e.fromTo("opacity",.26,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(a.a),p=n(5);n.d(e,"a",function(){return d});var h=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),d=function(t){function e(e,n,s){void 0===n&&(n={});var a=this;return n||(n={}),n.columns=n.columns||[],n.buttons=n.buttons||[],n.enableBackdropDismiss=!Object(r.l)(n.enableBackdropDismiss)||Boolean(n.enableBackdropDismiss),a=t.call(this,o.a,n,null)||this,a._app=e,a.isOverlay=!0,a.ionChange=new i.l,s.setTransition("picker-slide-in",l),s.setTransition("picker-slide-out",c),a}return h(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"pickerLeave":"pickerEnter")},e.prototype.addButton=function(t){this.data.buttons.push(t)},e.prototype.addColumn=function(t){this.data.columns.push(t)},e.prototype.getColumns=function(){return this.data.columns},e.prototype.getColumn=function(t){return this.getColumns().find(function(e){return e.name===t})},e.prototype.refresh=function(){this._cmp&&this._cmp.instance.refresh&&this._cmp.instance.refresh()},e.prototype.setCssClass=function(t){this.data.cssClass=t},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e}(p.a)},function(t,e,n){"use strict";n(4),n(38),n(75),n(112)},function(t,e,n){"use strict";n(20),n(7),n(3),n(4)},function(t,e,n){"use strict";n(1),n(113)},function(t,e,n){"use strict";var i=n(12),r=n(236);i.Observable.prototype.takeUntil=r.takeUntil},function(t,e,n){"use strict";n(1),n(9),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}()},function(t,e,n){"use strict"},function(t,e,n){"use strict";var i=n(3),r=n(58),o=n(77),s=n(21),a=n(43),u=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.3),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(a.a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.3,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(a.a),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.5),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(a.a),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.5,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(a.a),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.3,1),e.fromTo("opacity",.01,.16),this.easing("cubic-bezier(0,0,0.05,1)").duration(200).add(e).add(n)},e}(a.a),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new s.a(this.plt,t.querySelector("ion-backdrop")),n=new s.a(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,1.3),e.fromTo("opacity",.16,0),this.easing("ease-out").duration(150).add(e).add(n)},e}(a.a),_=n(5);n.d(e,"a",function(){return y});var v=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),y=function(t){function e(e,n,r){void 0===n&&(n={});var s=this;return n.showBackdrop=!Object(i.l)(n.showBackdrop)||!!n.showBackdrop,n.enableBackdropDismiss=!!Object(i.l)(n.enableBackdropDismiss)&&!!n.enableBackdropDismiss,n.dismissOnPageChange=!!Object(i.l)(n.dismissOnPageChange)&&!!n.dismissOnPageChange,s=t.call(this,o.a,n,null)||this,s._app=e,s.isOverlay=!0,r.setTransition("loading-pop-in",l),r.setTransition("loading-pop-out",c),r.setTransition("loading-md-pop-in",p),r.setTransition("loading-md-pop-out",h),r.setTransition("loading-wp-pop-in",d),r.setTransition("loading-wp-pop-out",f),s}return v(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"loadingLeave":"loadingEnter")},e.prototype.setContent=function(t){return this.data.content=t,this},e.prototype.setSpinner=function(t){return this.data.spinner=t,this},e.prototype.setCssClass=function(t){return this.data.cssClass=t,this},e.prototype.setShowBackdrop=function(t){return this.data.showBackdrop=t,this},e.prototype.setDuration=function(t){return this.data.duration=t,this},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t,r.b)},e.prototype.dismissAll=function(){this._nav&&this._nav.popAll()},e}(_.a)},function(t,e,n){"use strict";n(0),n(6),n(28),n(1),n(20),n(7),n(8),n(3),n(22),n(107),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}(),n(37),n(61),n(4),n(38),n(29)},function(t,e,n){"use strict";n(37)},function(t,e,n){"use strict";n(37),n(26),n(5)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(9),r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),o=function(t){function e(e,n,i){return t.call(this,e,n,i,"toolbar")||this}return r(e,t),e.prototype._setTitle=function(t){this._title=t},e.prototype.getTitleText=function(){return this._title&&this._title.getTitleText()||""},e}(i.a)},function(t,e,n){"use strict";var i=n(182),r=n(3),o=n(58),s=n(78),a=n(21),u=n(49),l=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView.pageRef().nativeElement,n=e.querySelector("ion-backdrop"),i=new a.a(this.plt,n),r=new a.a(this.plt,e.querySelector(".modal-wrapper"));r.beforeStyles({opacity:1}),r.fromTo("translateY","100%","0%"),i.fromTo("opacity",.01,.4),this.element(this.enteringView.pageRef()).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(400).add(i).add(r)},e}(u.a),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.leavingView.pageRef().nativeElement,n=new a.a(this.plt,e.querySelector("ion-backdrop")),i=e.querySelector(".modal-wrapper"),r=i.getBoundingClientRect(),o=new a.a(this.plt,i);o.fromTo("translateY","0px",this.plt.height()-r.top+"px"),n.fromTo("opacity",.4,0),this.element(this.leavingView.pageRef()).easing("ease-out").duration(250).add(n).add(o)},e}(u.a),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView.pageRef().nativeElement,n=new a.a(this.plt,e.querySelector("ion-backdrop")),i=new a.a(this.plt,e.querySelector(".modal-wrapper"));n.fromTo("opacity",.01,.4),i.fromTo("translateY","40px","0px"),i.fromTo("opacity",.01,1);this.element(this.enteringView.pageRef()).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).add(n).add(i)},e}(u.a),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.leavingView.pageRef().nativeElement,n=new a.a(this.plt,e.querySelector("ion-backdrop")),i=new a.a(this.plt,e.querySelector(".modal-wrapper"));n.fromTo("opacity",.4,0),i.fromTo("translateY","0px","40px"),i.fromTo("opacity",.99,0),this.element(this.leavingView.pageRef()).duration(200).easing("cubic-bezier(0.47,0,0.745,0.715)").add(i).add(n)},e}(u.a),f=n(5),_=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),v=function(t){function e(e,n,i,o,a){void 0===o&&(o={});var u=this;return i=i||{},i.component=n,o.showBackdrop=!Object(r.l)(o.showBackdrop)||!!o.showBackdrop,o.enableBackdropDismiss=!Object(r.l)(o.enableBackdropDismiss)||!!o.enableBackdropDismiss,i.opts=o,u=t.call(this,s.a,i,null)||this,u._app=e,u._enterAnimation=o.enterAnimation,u._leaveAnimation=o.leaveAnimation,u.isOverlay=!0,a.setTransition("modal-slide-in",c),a.setTransition("modal-slide-out",p),a.setTransition("modal-md-slide-in",h),a.setTransition("modal-md-slide-out",d),u}return _(e,t),e.prototype.getTransitionName=function(t){var e;if("back"===t){if(this._leaveAnimation)return this._leaveAnimation;e="modalLeave"}else{if(this._enterAnimation)return this._enterAnimation;e="modalEnter"}return this._nav&&this._nav.config.get(e)},e.prototype.present=function(t){return void 0===t&&(t={}),t.minClickBlockDuration=t.minClickBlockDuration||400,this._app.present(this,t,o.c)},e}(f.a);n.d(e,"a",function(){return g});var y=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),g=function(t){function e(e,n,i,r,o,s){void 0===r&&(r={});var a=t.call(this,e,n,o,s)||this;return a.data=i,a.opts=r,a.isOverlay=!0,a}return y(e,t),e.prototype.getImplementation=function(){return new v(this._app,this._component,this.data,this.opts,this._config)},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(3),r=function(){function t(t,e,n,i){this._app=t,this._component=e,this._config=n,this._deepLinker=i}return t.prototype.getImplementation=function(){throw new Error('Child class must implement "getImplementation" method')},t.prototype.present=function(t){var e=this;void 0===t&&(t={});return Object(i.n)(this._component)?this._deepLinker.getComponentFromName(this._component).then(function(n){return e._component=n,e.createAndPresentOverlay(t)}):this.createAndPresentOverlay(t)},t.prototype.dismiss=function(t,e,n){if(this.overlay)return this.overlay.dismiss(t,e,n)},t.prototype.onDidDismiss=function(t){this._onDidDismiss=t,this.overlay&&this.overlay.onDidDismiss(this._onDidDismiss)},t.prototype.createAndPresentOverlay=function(t){return this.overlay=this.getImplementation(),this.overlay.onWillDismiss(this._onWillDismiss),this.overlay.onDidDismiss(this._onDidDismiss),this.overlay.present(t)},t.prototype.onWillDismiss=function(t){this._onWillDismiss=t,this.overlay&&this.overlay.onWillDismiss(this._onWillDismiss)},t}()},,function(t,e,n){"use strict";n.d(e,"a",function(){return i});n(1),n(4);var i=function(){function t(t,e,n,i,r){this.plt=n,this.elementRef=i,this.renderer=r,this._showing=!1,t._clickBlock=this;(this.isEnabled=e.getBoolean("clickBlock",!0))&&this._setElementClass("click-block-enabled",!0)}return t.prototype.activate=function(t,e,n){void 0===e&&(e=100),void 0===n&&(n=0),this.isEnabled&&(this.plt.cancelTimeout(this._tmr),t&&(this._start=Date.now(),this._minEnd=this._start+(n||0),this._activate(!0)),this._tmr=this.plt.timeout(this._activate.bind(this,!1),e))},t.prototype._activate=function(t){if(this._showing!==t){if(!t){var e=Date.now();if(e2));t(e,15,0,n.d.buttons)},function(t,e){var n=e.component;t(e,0,0,!n.d.enableBackdropDismiss);t(e,8,0,f._2(1,"",n.msgId,""),n.d.message)})}n.d(e,"a",function(){return T});var f=n(0),_=n(32),v=n(19),y=n(1),g=n(10),m=n(18),b=n(28),w=n(72),C=n(5),O=n(8),S=n(11),E=n(4),x=f.X({encapsulation:2,styles:[],data:{}}),T=f.V("ion-alert",w.a,function(t){return f._19(0,[(t()(),f.Z(0,0,null,null,1,"ion-alert",[["role","dialog"]],[[1,"aria-labelledby",0],[1,"aria-describedby",0]],[["body","keyup"]],function(t,e,n){var i=!0;return"body:keyup"===e&&(i=!1!==f._11(t,1).keyUp(n)&&i),i},d,x)),f.Y(1,180224,null,0,w.a,[C.a,f.j,y.a,O.l,S.a,f.z,E.a],null,null)],null,function(t,e){t(e,0,0,f._11(e,1).hdrId,f._11(e,1).descId)})},{},{},[])},function(t,e,n){"use strict";function i(t){return r._19(0,[r._16(402653184,1,{_viewport:0}),r._16(402653184,2,{_modalPortal:0}),r._16(402653184,3,{_overlayPortal:0}),r._16(402653184,4,{_loadingPortal:0}),r._16(402653184,5,{_toastPortal:0}),(t()(),r.Z(5,16777216,[[1,3],["viewport",1]],null,0,"div",[["app-viewport",""]],null,null,null,null,null)),(t()(),r.Z(6,16777216,[["modalPortal",1]],null,1,"div",[["overlay-portal",""]],null,null,null,null,null)),r.Y(7,147456,[[2,4]],0,o.a,[s.a,a.a,u.a,r.j,r.u,r.z,r.i,l.l,c.a,[2,p.a],r.I,h.a,r.k],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),r.Z(8,16777216,[["overlayPortal",1]],null,1,"div",[["overlay-portal",""]],null,null,null,null,null)),r.Y(9,147456,[[3,4]],0,o.a,[s.a,a.a,u.a,r.j,r.u,r.z,r.i,l.l,c.a,[2,p.a],r.I,h.a,r.k],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),r.Z(10,16777216,[["loadingPortal",1]],null,1,"div",[["class","loading-portal"],["overlay-portal",""]],null,null,null,null,null)),r.Y(11,147456,[[4,4]],0,o.a,[s.a,a.a,u.a,r.j,r.u,r.z,r.i,l.l,c.a,[2,p.a],r.I,h.a,r.k],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),r.Z(12,16777216,[["toastPortal",1]],null,1,"div",[["class","toast-portal"]],null,null,null,null,null)),r.Y(13,147456,[[5,4]],0,o.a,[s.a,a.a,u.a,r.j,r.u,r.z,r.i,l.l,c.a,[2,p.a],r.I,h.a,r.k],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),r.Z(14,0,null,null,1,"div",[["class","click-block"]],null,null,null,null,null)),r.Y(15,16384,null,0,d.a,[s.a,a.a,u.a,r.j,r.z],null,null)],function(t,e){t(e,7,0,"");t(e,9,0,"");t(e,11,0,"");t(e,13,0,1e4)},null)}n.d(e,"a",function(){return v});var r=n(0),o=n(106),s=n(6),a=n(1),u=n(4),l=n(8),c=n(25),p=n(14),h=n(7),d=n(184),f=n(57),_=r.X({encapsulation:2,styles:[],data:{}}),v=r.V("ion-app",f.b,function(t){return r._19(0,[(t()(),r.Z(0,0,null,null,1,"ion-app",[],null,null,null,i,_)),r.Y(1,114688,null,0,f.b,[f.a,r.i,r.j,r.z,a.a,u.a,s.a],null,null)],function(t,e){t(e,1,0)},null)},{color:"color",mode:"mode"},{},[])},function(t,e,n){"use strict";function i(t){return l._19(0,[(t()(),l.Z(0,0,null,null,2,":svg:svg",[["viewBox","0 0 64 64"]],null,null,null,null,null)),l.Y(1,278528,null,0,c.l,[l.q,l.j,l.A],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Z(2,0,null,null,0,":svg:circle",[["transform","translate(32,32)"]],[[1,"r",0]],null,null,null,null))],function(t,e){t(e,1,0,e.context.$implicit.style)},function(t,e){t(e,2,0,e.context.$implicit.r)})}function r(t){return l._19(0,[(t()(),l.Z(0,0,null,null,2,":svg:svg",[["viewBox","0 0 64 64"]],null,null,null,null,null)),l.Y(1,278528,null,0,c.l,[l.q,l.j,l.A],{ngStyle:[0,"ngStyle"]},null),(t()(),l.Z(2,0,null,null,0,":svg:line",[["transform","translate(32,32)"]],[[1,"y1",0],[1,"y2",0]],null,null,null,null))],function(t,e){t(e,1,0,e.context.$implicit.style)},function(t,e){t(e,2,0,e.context.$implicit.y1,e.context.$implicit.y2)})}function o(t){return l._19(2,[(t()(),l.U(16777216,null,null,1,null,i)),l.Y(1,802816,null,0,c.h,[l.I,l.F,l.p],{ngForOf:[0,"ngForOf"]},null),(t()(),l.U(16777216,null,null,1,null,r)),l.Y(3,802816,null,0,c.h,[l.I,l.F,l.p],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._c);t(e,3,0,n._l)},null)}function s(t){return l._19(0,[(t()(),l.Z(0,0,null,null,2,"div",[["class","loading-spinner"]],null,null,null,null,null)),(t()(),l.Z(1,0,null,null,1,"ion-spinner",[],[[2,"spinner-paused",null]],null,null,o,d)),l.Y(2,114688,null,0,p.a,[h.a,l.j,l.z],{name:[0,"name"]},null)],function(t,e){t(e,2,0,e.component.d.spinner)},function(t,e){t(e,1,0,l._11(e,2)._paused)})}function a(t){return l._19(0,[(t()(),l.Z(0,0,null,null,0,"div",[["class","loading-content"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){t(e,0,0,e.component.d.content)})}function u(t){return l._19(0,[(t()(),l.Z(0,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[8,"hidden",0],[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==t.component.bdClick()&&i}return i},null,null)),l.Y(1,16384,null,0,f.a,[l.j,l.z],null,null),(t()(),l.Z(2,0,null,null,4,"div",[["class","loading-wrapper"]],null,null,null,null,null)),(t()(),l.U(16777216,null,null,1,null,s)),l.Y(4,16384,null,0,c.i,[l.I,l.F],{ngIf:[0,"ngIf"]},null),(t()(),l.U(16777216,null,null,1,null,a)),l.Y(6,16384,null,0,c.i,[l.I,l.F],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,4,0,n.showSpinner);t(e,6,0,n.d.content)},function(t,e){var n=e.component;t(e,0,0,!n.d.showBackdrop,!n.d.enableBackdropDismiss)})}var l=n(0),c=n(10),p=n(79),h=n(1),d=l.X({encapsulation:2,styles:[],data:{}}),f=n(28),_=n(77),v=n(5),y=n(8),g=n(11);n.d(e,"a",function(){return b});var m=l.X({encapsulation:2,styles:[],data:{}}),b=l.V("ion-loading",_.a,function(t){return l._19(0,[(t()(),l.Z(0,0,null,null,1,"ion-loading",[["role","dialog"]],null,[["body","keyup"]],function(t,e,n){var i=!0;return"body:keyup"===e&&(i=!1!==l._11(t,1).keyUp(n)&&i),i},u,m)),l.Y(1,245760,null,0,_.a,[v.a,h.a,l.j,y.l,g.a,l.z],null,null)],function(t,e){t(e,1,0)},null)},{},{},[])},function(t,e,n){"use strict";function i(t){return r._19(0,[r._16(402653184,1,{_viewport:0}),(t()(),r.Z(1,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==t.component._bdClick()&&i}return i},null,null)),r.Y(2,16384,null,0,o.a,[r.j,r.z],null,null),(t()(),r.Z(3,0,null,null,1,"div",[["class","modal-wrapper"]],null,null,null,null,null)),(t()(),r.Z(4,16777216,[[1,3],["viewport",1]],null,0,"div",[["nav-viewport",""]],null,null,null,null,null))],null,function(t,e){t(e,1,0,!e.component._bdDismiss)})}n.d(e,"a",function(){return h});var r=n(0),o=n(28),s=n(78),a=n(11),u=n(5),l=n(8),c=n(44),p=r.X({encapsulation:2,styles:[],data:{}}),h=r.V("ion-modal",s.a,function(t){return r._19(0,[(t()(),r.Z(0,0,null,null,1,"ion-modal",[],null,[["body","keyup"]],function(t,e,n){var i=!0;return"body:keyup"===e&&(i=!1!==r._11(t,1)._keyUp(n)&&i),i},i,p)),r.Y(1,180224,null,0,s.a,[r.i,r.z,r.j,a.a,u.a,l.l,c.b],null,null)],null,null)},{},{},[])},function(t,e,n){"use strict";function i(t){return c._19(0,[(t()(),c.Z(0,0,null,null,1,"div",[["class","picker-prefix"]],[[4,"width",null]],null,null,null,null)),(t()(),c._18(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n.col.prefixWidth);t(e,1,0,n.col.prefix)})}function r(t){return c._19(0,[(t()(),c.Z(0,0,null,null,1,"button",[["class","picker-opt"],["disable-activated",""]],[[2,"picker-opt-disabled",null]],[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==t.component.optClick(n,t.context.index)&&i}return i},null,null)),(t()(),c._18(1,null,["",""]))],null,function(t,e){t(e,0,0,e.context.$implicit.disabled);t(e,1,0,e.context.$implicit.text)})}function o(t){return c._19(0,[(t()(),c.Z(0,0,null,null,1,"div",[["class","picker-suffix"]],[[4,"width",null]],null,null,null,null)),(t()(),c._18(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n.col.suffixWidth);t(e,1,0,n.col.suffix)})}function s(t){return c._19(0,[c._16(402653184,1,{colEle:0}),(t()(),c.U(16777216,null,null,1,null,i)),c.Y(2,16384,null,0,p.i,[c.I,c.F],{ngIf:[0,"ngIf"]},null),(t()(),c.Z(3,0,[[1,0],["colEle",1]],null,2,"div",[["class","picker-opts"]],[[4,"max-width",null]],null,null,null,null)),(t()(),c.U(16777216,null,null,1,null,r)),c.Y(5,802816,null,0,p.h,[c.I,c.F,c.p],{ngForOf:[0,"ngForOf"]},null),(t()(),c.U(16777216,null,null,1,null,o)),c.Y(7,16384,null,0,p.i,[c.I,c.F],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.col.prefix);t(e,5,0,n.col.options);t(e,7,0,n.col.suffix)},function(t,e){t(e,3,0,e.component.col.optionsWidth)})}function a(t){return c._19(0,[(t()(),c.Z(0,0,null,null,7,"div",[["class","picker-toolbar-button"]],null,null,null,null,null)),c.Y(1,278528,null,0,p.g,[c.p,c.q,c.j,c.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),c._18(-1,null,["\n "])),(t()(),c.Z(3,0,null,null,3,"button",[["class","picker-button"],["clear",""],["ion-button",""]],null,[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==t.component.btnClick(t.context.$implicit)&&i}return i},h.b,h.a)),c.Y(4,278528,null,0,p.g,[c.p,c.q,c.j,c.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),c.Y(5,1097728,null,0,d.a,[[8,""],f.a,c.j,c.z],{clear:[0,"clear"]},null),(t()(),c._18(6,0,["\n ","\n "])),(t()(),c._18(-1,null,["\n "]))],function(t,e){t(e,1,0,"picker-toolbar-button",e.context.$implicit.cssRole);t(e,4,0,"picker-button",e.context.$implicit.cssClass);t(e,5,0,"")},function(t,e){t(e,6,0,e.context.$implicit.text)})}function u(t){return c._19(0,[(t()(),c.Z(0,0,null,null,1,"div",[["class","picker-col"]],[[4,"max-width",null],[2,"picker-opts-left",null],[2,"picker-opts-right",null]],[[null,"ionChange"]],function(t,e,n){var i=!0;if("ionChange"===e){i=!1!==t.component._colChange(n)&&i}return i},s,m)),c.Y(1,4374528,[[1,4]],0,_.a,[f.a,v.a,c.j,c.u,y.a,v.a,g.a],{col:[0,"col"]},{ionChange:"ionChange"})],function(t,e){t(e,1,0,e.context.$implicit)},function(t,e){t(e,0,0,c._11(e,1).col.columnWidth,"left"==c._11(e,1).col.align,"right"==c._11(e,1).col.align)})}function l(t){return c._19(0,[c._16(671088640,1,{_cols:1}),(t()(),c._18(-1,null,["\n "])),(t()(),c.Z(2,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],null,[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==t.component.bdClick()&&i}return i},null,null)),c.Y(3,16384,null,0,b.a,[c.j,c.z],null,null),(t()(),c._18(-1,null,["\n "])),(t()(),c.Z(5,0,null,null,17,"div",[["class","picker-wrapper"]],null,null,null,null,null)),(t()(),c._18(-1,null,["\n "])),(t()(),c.Z(7,0,null,null,4,"div",[["class","picker-toolbar"]],null,null,null,null,null)),(t()(),c._18(-1,null,["\n "])),(t()(),c.U(16777216,null,null,1,null,a)),c.Y(10,802816,null,0,p.h,[c.I,c.F,c.p],{ngForOf:[0,"ngForOf"]},null),(t()(),c._18(-1,null,["\n "])),(t()(),c._18(-1,null,["\n "])),(t()(),c.Z(13,0,null,null,8,"div",[["class","picker-columns"]],null,null,null,null,null)),(t()(),c._18(-1,null,["\n "])),(t()(),c.Z(15,0,null,null,0,"div",[["class","picker-above-highlight"]],null,null,null,null,null)),(t()(),c._18(-1,null,["\n "])),(t()(),c.U(16777216,null,null,1,null,u)),c.Y(18,802816,null,0,p.h,[c.I,c.F,c.p],{ngForOf:[0,"ngForOf"]},null),(t()(),c._18(-1,null,["\n "])),(t()(),c.Z(20,0,null,null,0,"div",[["class","picker-below-highlight"]],null,null,null,null,null)),(t()(),c._18(-1,null,["\n "])),(t()(),c._18(-1,null,["\n "])),(t()(),c._18(-1,null,["\n "]))],function(t,e){var n=e.component;t(e,10,0,n.d.buttons);t(e,18,0,n.d.columns)},null)}var c=n(0),p=n(10),h=n(32),d=n(19),f=n(1),_=n(60),v=n(4),y=n(24),g=n(7),m=c.X({encapsulation:2,styles:[],data:{}}),b=n(28),w=n(74),C=n(5),O=n(8),S=n(11);n.d(e,"a",function(){return x});var E=c.X({encapsulation:2,styles:[],data:{}}),x=c.V("ion-picker-cmp",w.a,function(t){return c._19(0,[(t()(),c.Z(0,0,null,null,1,"ion-picker-cmp",[["role","dialog"]],null,[["body","keyup"]],function(t,e,n){var i=!0;return"body:keyup"===e&&(i=!1!==c._11(t,1)._keyUp(n)&&i),i},l,E)),c.Y(1,180224,null,0,w.a,[C.a,c.j,f.a,O.l,S.a,c.z],null,null)],null,null)},{},{},[])},function(t,e,n){"use strict";function i(t){return r._19(0,[r._16(402653184,1,{_viewport:0}),(t()(),r.Z(1,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[8,"hidden",0]],[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==t.component._bdClick()&&i}return i},null,null)),r.Y(2,16384,null,0,o.a,[r.j,r.z],null,null),(t()(),r.Z(3,0,null,null,4,"div",[["class","popover-wrapper"]],null,null,null,null,null)),(t()(),r.Z(4,0,null,null,0,"div",[["class","popover-arrow"]],null,null,null,null,null)),(t()(),r.Z(5,0,null,null,2,"div",[["class","popover-content"]],null,null,null,null,null)),(t()(),r.Z(6,0,null,null,1,"div",[["class","popover-viewport"]],null,null,null,null,null)),(t()(),r.Z(7,16777216,[[1,3],["viewport",1]],null,0,"div",[["nav-viewport",""]],null,null,null,null,null))],null,function(t,e){t(e,1,0,!e.component.d.showBackdrop)})}n.d(e,"a",function(){return d});var r=n(0),o=n(28),s=n(80),a=n(1),u=n(11),l=n(5),c=n(8),p=n(44),h=r.X({encapsulation:2,styles:[],data:{}}),d=r.V("ion-popover",s.a,function(t){return r._19(0,[(t()(),r.Z(0,0,null,null,1,"ion-popover",[],null,[["body","keyup"]],function(t,e,n){var i=!0;return"body:keyup"===e&&(i=!1!==r._11(t,1)._keyUp(n)&&i),i},i,h)),r.Y(1,180224,null,0,s.a,[r.i,r.j,r.z,a.a,u.a,l.a,c.l,p.b],null,null)],null,null)},{},{},[])},function(t,e,n){"use strict";function i(t){return s._19(0,[(t()(),s.Z(0,0,null,null,3,"div",[["class","radio-icon"]],[[2,"radio-checked",null]],null,null,null,null)),(t()(),s._18(-1,null,[" "])),(t()(),s.Z(2,0,null,null,0,"div",[["class","radio-inner"]],null,null,null,null,null)),(t()(),s._18(-1,null,[" "])),(t()(),s._18(-1,null,[" "])),(t()(),s.Z(5,0,null,null,2,"button",[["class","item-cover"],["ion-button","item-cover"],["role","radio"],["type","button"]],[[8,"id",0],[1,"aria-checked",0],[1,"aria-labelledby",0],[1,"aria-disabled",0]],null,null,f.b,f.a)),s.Y(6,1097728,null,0,_.a,[[8,"item-cover"],c.a,s.j,s.z],null,null),(t()(),s._18(-1,0,[" "]))],null,function(t,e){var n=e.component;t(e,0,0,n._checked);t(e,5,0,n.id,n._checked,n._labelId,n._disabled)})}function r(t){return s._19(0,[(t()(),s.Z(0,0,null,null,13,"ion-item",[["class","item item-block"]],null,null,null,a.b,a.a)),s.Y(1,1097728,null,3,u.a,[l.a,c.a,s.j,s.z,[2,p.a]],null,null),s._16(335544320,2,{contentLabel:0}),s._16(603979776,3,{_buttons:1}),s._16(603979776,4,{_icons:1}),s.Y(5,16384,null,0,h.a,[],null,null),(t()(),s._18(-1,2,["\n "])),(t()(),s.Z(7,0,null,1,2,"ion-label",[],null,null,null,null,null)),s.Y(8,16384,[[2,4]],0,d.a,[c.a,s.j,s.z,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),s._18(9,null,["",""])),(t()(),s._18(-1,2,["\n "])),(t()(),s.Z(11,0,null,4,1,"ion-radio",[],[[2,"radio-disabled",null]],[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==s._11(t,12)._click(n)&&i}return i},i,g)),s.Y(12,245760,null,0,v.a,[l.a,c.a,s.j,s.z,[2,u.a],[2,y.a]],{value:[0,"value"],checked:[1,"checked"],disabled:[2,"disabled"]},null),(t()(),s._18(-1,2,["\n "]))],function(t,e){t(e,12,0,e.context.$implicit.value,e.context.$implicit.checked,e.context.$implicit.disabled)},function(t,e){t(e,9,0,e.context.$implicit.text);t(e,11,0,s._11(e,12)._disabled)})}function o(t){return s._19(0,[(t()(),s._18(-1,null,["\n "])),(t()(),s.Z(1,0,null,null,11,"ion-list",[["radio-group",""],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(t,e,n){var i=!0;if("ngModelChange"===e){i=!1!==(t.component.value=n)&&i}return i},null,null)),s.Y(2,1064960,null,1,y.a,[s.z,s.j,s.g],null,null),s._16(335544320,1,{_header:0}),s._14(1024,null,m.e,function(t){return[t]},[y.a]),s.Y(5,671744,null,0,m.h,[[8,null],[8,null],[8,null],[2,m.e]],{model:[0,"model"]},{update:"ngModelChange"}),s._14(2048,null,m.f,null,[m.h]),s.Y(7,16384,null,0,m.g,[m.f],null,null),s.Y(8,16384,null,0,b.a,[c.a,s.j,s.z,w.a,C.l,O.a],null,null),(t()(),s._18(-1,null,["\n "])),(t()(),s.U(16777216,null,null,1,null,r)),s.Y(11,802816,null,0,S.h,[s.I,s.F,s.p],{ngForOf:[0,"ngForOf"]},null),(t()(),s._18(-1,null,["\n "])),(t()(),s._18(-1,null,["\n "]))],function(t,e){var n=e.component;t(e,5,0,n.value);t(e,11,0,n.options)},function(t,e){t(e,1,0,s._11(e,7).ngClassUntouched,s._11(e,7).ngClassTouched,s._11(e,7).ngClassPristine,s._11(e,7).ngClassDirty,s._11(e,7).ngClassValid,s._11(e,7).ngClassInvalid,s._11(e,7).ngClassPending)})}var s=n(0),a=n(93),u=n(16),l=n(15),c=n(1),p=n(41),h=n(52),d=n(54),f=n(32),_=n(19),v=n(81),y=n(62),g=s.X({encapsulation:2,styles:[],data:{}}),m=n(18),b=n(53),w=n(4),C=n(8),O=n(7),S=n(10),E=n(82),x=n(11),T=n(5);n.d(e,"a",function(){return P});var k=s.X({encapsulation:2,styles:[],data:{}}),P=s.V("ng-component",E.a,function(t){return s._19(0,[(t()(),s.Z(0,0,null,null,1,"ng-component",[],null,null,null,o,k)),s.Y(1,114688,null,0,E.a,[x.a,T.a],null,null)],function(t,e){t(e,1,0)},null)},{},{},[])},function(t,e,n){"use strict";function i(t){return s._19(0,[(t()(),s.Z(0,0,null,null,1,"div",[["class","toast-message"]],[[8,"id",0]],null,null,null,null)),(t()(),s._18(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,s._2(1,"",n.hdrId,""));t(e,1,0,n.d.message)})}function r(t){return s._19(0,[(t()(),s.Z(0,0,null,null,2,"button",[["class","toast-button"],["clear",""],["ion-button",""]],null,[[null,"click"]],function(t,e,n){var i=!0;if("click"===e){i=!1!==t.component.cbClick()&&i}return i},a.b,a.a)),s.Y(1,1097728,null,0,u.a,[[8,""],l.a,s.j,s.z],{clear:[0,"clear"]},null),(t()(),s._18(2,0,[" "," "]))],function(t,e){t(e,1,0,"")},function(t,e){t(e,2,0,e.component.d.closeButtonText||"Close")})}function o(t){return s._19(0,[(t()(),s.Z(0,0,null,null,10,"div",[["class","toast-wrapper"]],[[2,"toast-bottom",null],[2,"toast-middle",null],[2,"toast-top",null]],null,null,null,null)),(t()(),s._18(-1,null,[" "])),(t()(),s.Z(2,0,null,null,7,"div",[["class","toast-container"]],null,null,null,null,null)),(t()(),s._18(-1,null,[" "])),(t()(),s.U(16777216,null,null,1,null,i)),s.Y(5,16384,null,0,c.i,[s.I,s.F],{ngIf:[0,"ngIf"]},null),(t()(),s._18(-1,null,[" "])),(t()(),s.U(16777216,null,null,1,null,r)),s.Y(8,16384,null,0,c.i,[s.I,s.F],{ngIf:[0,"ngIf"]},null),(t()(),s._18(-1,null,[" "])),(t()(),s._18(-1,null,[" "]))],function(t,e){var n=e.component;t(e,5,0,n.d.message);t(e,8,0,n.d.showCloseButton)},function(t,e){var n=e.component;t(e,0,0,"bottom"===n.d.position,"middle"===n.d.position,"top"===n.d.position)})}n.d(e,"a",function(){return _});var s=n(0),a=n(32),u=n(19),l=n(1),c=n(10),p=n(83),h=n(5),d=n(11),f=s.X({encapsulation:2,styles:[],data:{}}),_=s.V("ion-toast",p.a,function(t){return s._19(0,[(t()(),s.Z(0,0,null,null,1,"ion-toast",[["role","dialog"]],[[1,"aria-labelledby",0],[1,"aria-describedby",0]],null,null,o,f)),s.Y(1,4243456,null,0,p.a,[h.a,l.a,s.j,d.a,s.z],null,null)],null,function(t,e){t(e,0,0,s._11(e,1).hdrId,s._11(e,1).descId)})},{},{},[])},function(t,e,n){"use strict";function i(t){return r._19(2,[(t()(),r.Z(0,0,null,null,1,"div",[["class","toolbar-background"]],null,null,null,null,null)),r.Y(1,278528,null,0,o.g,[r.p,r.q,r.j,r.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r._10(null,0),r._10(null,1),r._10(null,2),(t()(),r.Z(5,0,null,null,2,"div",[["class","toolbar-content"]],null,null,null,null,null)),r.Y(6,278528,null,0,o.g,[r.p,r.q,r.j,r.A],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r._10(null,3)],function(t,e){var n=e.component;t(e,1,0,"toolbar-background","toolbar-background-"+n._mode);t(e,6,0,"toolbar-content","toolbar-content-"+n._mode)},null)}n.d(e,"a",function(){return s}),e.b=i;var r=n(0),o=n(10),s=(n(1),r.X({encapsulation:2,styles:[],data:{}}))},function(t,e,n){"use strict";function i(t){return u._19(0,[(t()(),u.Z(0,0,null,null,1,"div",[["class","range-pin"],["role","presentation"]],null,null,null,null,null)),(t()(),u._18(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.val)})}function r(t){return u._19(0,[(t()(),u.U(16777216,null,null,1,null,i)),u.Y(1,16384,null,0,l.i,[u.I,u.F],{ngIf:[0,"ngIf"]},null),(t()(),u.Z(2,0,null,null,0,"div",[["class","range-knob"],["role","presentation"]],null,null,null,null,null))],function(t,e){t(e,1,0,e.component.pin)},null)}function o(t){return u._19(0,[(t()(),u.Z(0,0,null,null,0,"div",[["class","range-tick"],["role","presentation"]],[[4,"left",null],[2,"range-tick-active",null]],null,null,null,null))],null,function(t,e){t(e,0,0,e.context.$implicit.left,e.context.$implicit.active)})}function s(t){return u._19(0,[(t()(),u.Z(0,0,null,null,1,"div",[["class","range-knob-handle"],["role","slider"]],[[2,"range-knob-pressed",null],[2,"range-knob-min",null],[2,"range-knob-max",null],[4,"left",null],[1,"aria-valuenow",0],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-disabled",0],[1,"aria-labelledby",0],[8,"tabIndex",0]],[[null,"ionIncrease"],[null,"ionDecrease"],[null,"keydown"]],function(t,e,n){var i=!0,r=t.component;if("keydown"===e){i=!1!==u._11(t,1)._keyup(n)&&i}if("ionIncrease"===e){i=!1!==r._keyChg(!0,!0)&&i}if("ionDecrease"===e){i=!1!==r._keyChg(!1,!0)&&i}return i},r,p)),u.Y(1,49152,null,0,c.a,[],{ratio:[0,"ratio"],pressed:[1,"pressed"],pin:[2,"pin"],min:[3,"min"],max:[4,"max"],val:[5,"val"],disabled:[6,"disabled"],labelId:[7,"labelId"]},{ionIncrease:"ionIncrease",ionDecrease:"ionDecrease"})],function(t,e){var n=e.component;t(e,1,0,n._ratioB,n._pressedB,n._pin,n._min,n._max,n._valB,n._disabled,n._labelId)},function(t,e){t(e,0,0,u._11(e,1).pressed,u._11(e,1).val===u._11(e,1).min||void 0===u._11(e,1).val,u._11(e,1).val===u._11(e,1).max,u._11(e,1)._x,u._11(e,1).val,u._11(e,1).min,u._11(e,1).max,u._11(e,1).disabled,u._11(e,1).labelId,u._11(e,1).disabled?-1:0)})}function a(t){return u._19(0,[u._16(402653184,1,{_slider:0}),u._10(null,0),(t()(),u.Z(2,0,[[1,0],["slider",1]],null,8,"div",[["class","range-slider"]],null,null,null,null,null)),(t()(),u.U(16777216,null,null,1,null,o)),u.Y(4,802816,null,0,l.h,[u.I,u.F,u.p],{ngForOf:[0,"ngForOf"]},null),(t()(),u.Z(5,0,null,null,0,"div",[["class","range-bar"],["role","presentation"]],null,null,null,null,null)),(t()(),u.Z(6,0,[["bar",1]],null,0,"div",[["class","range-bar range-bar-active"],["role","presentation"]],[[4,"left",null],[4,"right",null]],null,null,null,null)),(t()(),u.Z(7,0,null,null,1,"div",[["class","range-knob-handle"],["role","slider"]],[[2,"range-knob-pressed",null],[2,"range-knob-min",null],[2,"range-knob-max",null],[4,"left",null],[1,"aria-valuenow",0],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-disabled",0],[1,"aria-labelledby",0],[8,"tabIndex",0]],[[null,"ionIncrease"],[null,"ionDecrease"],[null,"keydown"]],function(t,e,n){var i=!0,r=t.component;if("keydown"===e){i=!1!==u._11(t,8)._keyup(n)&&i}if("ionIncrease"===e){i=!1!==r._keyChg(!0,!1)&&i}if("ionDecrease"===e){i=!1!==r._keyChg(!1,!1)&&i}return i},r,p)),u.Y(8,49152,null,0,c.a,[],{ratio:[0,"ratio"],pressed:[1,"pressed"],pin:[2,"pin"],min:[3,"min"],max:[4,"max"],val:[5,"val"],disabled:[6,"disabled"],labelId:[7,"labelId"]},{ionIncrease:"ionIncrease",ionDecrease:"ionDecrease"}),(t()(),u.U(16777216,null,null,1,null,s)),u.Y(10,16384,null,0,l.i,[u.I,u.F],{ngIf:[0,"ngIf"]},null),u._10(null,1)],function(t,e){var n=e.component;t(e,4,0,n._ticks);t(e,8,0,n._ratioA,n._pressedA,n._pin,n._min,n._max,n._valA,n._disabled,n._labelId);t(e,10,0,n._dual)},function(t,e){var n=e.component;t(e,6,0,n._barL,n._barR);t(e,7,0,u._11(e,8).pressed,u._11(e,8).val===u._11(e,8).min||void 0===u._11(e,8).val,u._11(e,8).val===u._11(e,8).max,u._11(e,8)._x,u._11(e,8).val,u._11(e,8).min,u._11(e,8).max,u._11(e,8).disabled,u._11(e,8).labelId,u._11(e,8).disabled?-1:0)})}var u=n(0),l=n(10),c=n(84),p=u.X({encapsulation:2,styles:[],data:{}});n(18),n(66),n(15),n(24),n(16),n(1),n(4),n(7);n.d(e,"a",function(){return h}),e.b=a;var h=u.X({encapsulation:2,styles:[],data:{}})},,function(t,e,n){"use strict";var i=n(35),r=n(103),o=n(150);e.toSubscriber=function(t,e,n){if(t){if(t instanceof i.Subscriber)return t;if(t[r.rxSubscriber])return t[r.rxSubscriber]()}return t||e||n?new i.Subscriber(t,e,n):new i.Subscriber(o.empty)}},function(t,e,n){"use strict";var i=n(2).__extends,r=function(t){function e(e){t.call(this),this.errors=e;var n=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return i(e,t),e}(Error);e.UnsubscriptionError=r},function(t,e,n){"use strict";function i(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:r.noop}var r=n(216);e.pipe=function(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===a&&1===t.length&&t[0]instanceof i.Observable?t[0]:s.mergeAll(n)(new r.ArrayObservable(t,a))}},function(t,e,n){"use strict";var i=n(2).__extends,r=n(12);e.ScalarObservable=function(t){function e(e,n){t.call(this),this.value=e,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return i(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.value,n=t.subscriber;t.done?n.complete():(n.next(e),n.closed||(t.done=!0,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.value,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{done:!1,value:n,subscriber:t});t.next(n),t.closed||t.complete()},e}(r.Observable)},function(t,e,n){"use strict";var i=n(155),r=n(224);e.mergeAll=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),i.mergeMap(r.identity,null,t)}},function(t,e,n){"use strict";e.isArrayLike=function(t){return t&&"number"==typeof t.length}},function(t,e,n){"use strict";e.isPromise=function(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}},function(t,e,n){"use strict";function i(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var i=t.Map;if(i)for(var r=Object.getOwnPropertyNames(i.prototype),o=0;o