text: webpackJsonp([0],{24:function(t,n){function e(t){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+t+"'.")})}e.keys=function(){return[]},e.resolve=e,t.exports=e,e.id=24},26:function(t,n){function e(t){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+t+"'.")})}e.keys=function(){return[]},e.resolve=e,t.exports=e,e.id=26},27:function(t,n,e){"use strict";function i(t,n,e){return Math.max(t,Math.min(n,e))}function l(t){return JSON.parse(JSON.stringify(t))}function o(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];for(var i=arguments.length-1;i>=1;i--){var l=arguments[i];if(l)for(var o in l)l.hasOwnProperty(o)&&!t.hasOwnProperty(o)&&(t[o]=l[o])}return t}function r(t){return"string"==typeof t}function s(t){return"number"==typeof t}function u(t){return"function"==typeof t}function a(t){return void 0!==t}function c(t){return void 0===t}function h(t){return void 0!==t&&null!==t}function p(t){return void 0===t||null===t}function d(t){return"object"==typeof t}function _(t){return Array.isArray(t)}function f(t){return"string"==typeof t?"true"===(t=t.toLowerCase().trim())||"on"===t||""===t:!!t}function v(t,n){return void 0===t||null===t||""===t?void 0===n||null===n||""===n:!0===t||"true"===t?!0===n||"true"===n:!1===t||"false"===t?!1===n||"false"===n:0===t||"0"===t?0===n||"0"===n:t==n}function m(t,n){var e=t.indexOf(n);return!!~e&&!!t.splice(e,1)}function g(t,n,e){return!n&&e||t&&n}function y(t){if(!0===oe)return t()}function b(t,n){if(!t&&!0===oe){var e="IONIC ASSERT: "+n;throw console.error(e),new Error(e)}}function w(t,n){var e=new re;e.init(t,n);var i=n.win();return i.Ionic=i.Ionic||{},i.Ionic.config=e,e}function k(t){return!!(t&&t._didLoad&&t._willUnload)}function C(t,n,e){return"function"==typeof n?Promise.resolve(new ae(n,e)):"string"==typeof n?t.getComponentFromName(n).then(function(t){var i=new ae(t,e);return i.id=n,i}):Promise.resolve(null)}function T(t,n,e){return n?k(n)?Promise.resolve(n):C(t,n,e):Promise.resolve(null)}function E(t,n){var e=[];if(_(n))for(var i=0;i<n.length;i++){var l=n[i];l&&e.push(k(l)?l:l.page?T(t,l.page,l.params):T(t,l,null))}return Promise.all(e)}function S(t){return!!t&&!!t.getSelected}function x(t){return!!t&&h(t._tabId)}function O(t){if(t){var n=t.changedTouches;if(n&&n.length>0){var e=n[0];return{x:e.clientX,y:e.clientY}}var i=t.pageX;if(void 0!==i)return{x:i,y:t.pageY}}return{x:0,y:0}}function P(t,n,e){if(n&&e){var i=n.x-e.x,l=n.y-e.y;return i*i+l*l>t*t}return!1}function D(t){return!!t&&("TEXTAREA"===t.tagName||"true"===t.contentEditable||"INPUT"===t.tagName&&!we.test(t.type))}function I(t,n,e){var i=new Ce;i.setDefault("core"),i.setPlatformConfigs(n),i.setZone(e);var l=t.documentElement;i.setDocument(t);var o=l.dir;i.setDir("rtl"===o?"rtl":"ltr",!o),i.setLang(l.lang,!1),i.setCssProps(l);var r=t.defaultView;return i.setWindow(r),i.setNavigatorPlatform(r.navigator.platform),i.setUserAgent(r.navigator.userAgent),i.setQueryParams(r.location.href),i.init(),r.Ionic=r.Ionic||{},r.Ionic.platform=i,i}function B(t,n){if(t.id===n||t.name===n)return t;for(var e=0,i=t.getAllChildNavs();e<i.length;e++){var l=B(i[e],n);if(l)return l}return null}function L(t){if(!t)return null;if(S(t))return L(t.parent);var n=t.length();return n>1||t._isPortal&&n>0?t:L(t.parent)}function A(t){var n=[],e=t.getActiveChildNavs();return e&&e.length?e.forEach(function(t){var e=A(t);n=n.concat(e)}):n.push(t),n}function R(t){for(t=(t=t.replace(Qe,"-")).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)}function M(t,n){return t.segmentPartsLen>n.segmentPartsLen?-1:t.segmentPartsLen<n.segmentPartsLen?1:t.staticLen>n.staticLen?-1:t.staticLen<n.staticLen?1:t.dataLen<n.dataLen?-1:t.dataLen>n.dataLen?1:0}function j(t,n){return new Xe(t,n)}function N(t,n,e){return function(t,n){for(var e=[],i=0;i<n.length;i++)for(var l=function(t,n){if(t.navId){var e=n.getNavByIdOrName(t.navId);return e?[e]:[]}return n.getRootNavs()}(n[i].navGroup,t),o=0,r=n[i].segments;o<r.length;o++){var s=r[o];if(1===l.length)e.push(F(s,l[0])),l=l[0].getActiveChildNavs();else{if(!(l.length>1))break;e.push(F(s,l[l.length-1])),l=l[l.length-1].getActiveChildNavs()}}return e}(t,function(t,n){return function(t,n){for(var e=[],i=new Set,l=0,o=t;l<o.length;l++){for(var r=o[l],s=[],u=r.segmentPieces.concat([]),a=u.length;a>=0;a--){for(var c=!1,h=0;h<a;h++){for(var p=a-h-1,d=a,_=u.slice(p,d),f=0,v=n;f<v.length;f++){var m=v[f];if(!i.has(m.name)){var g=function(t,n){if(n.segmentPartsLen!==t.length)return null;for(var e=0;e<t.length;e++)if(!Ge(t[e],n.segmentParts[e]))return null;return{id:t.join("/"),name:n.name,component:n.component,loadChildren:n.loadChildren,data:Ze(t,n),defaultHistory:n.defaultHistory}}(_,m);if(g){a=p+1,i.add(m.name),c=!0,s.push(g);for(var y=p;y<d;y++)u[y]=null;break}}}if(c)break}!c&&u[a-1]&&s.push({id:null,name:null,secondaryId:u[a-1],component:null,loadChildren:null,data:null,defaultHistory:null})}for(var b=s.reverse(),a=0;a<b.length;a++)b[a].secondaryId&&!b[a].id&&a+1<=b.length-1&&(b[a+1].secondaryId=b[a].secondaryId,b[a]=null);var w=s.filter(function(t){return!!t});r.secondaryId&&s.length&&(w[0].secondaryId=r.secondaryId),e.push({navGroup:r,segments:w})}return e}(function(t){return t.map(function(t){var n=t.split("/");return"nav"===n[0]?{type:"nav",navId:n[1],niceId:n[1],secondaryId:null,segmentPieces:n.splice(2)}:"tabs"===n[0]?{type:"tabs",navId:n[1],niceId:n[1],secondaryId:n[2],segmentPieces:n.splice(3)}:{type:null,navId:null,niceId:null,secondaryId:null,segmentPieces:n}})}(function(t){for(var n=t.split("/"),e=[],i=0;i<n.length;i++)0===i||"nav"!==n[i]&&"tabs"!==n[i]||e.push(i);e.push(n.length);for(var l=[],o=0,r=[],i=0;i<n.length;i++)i>=e[o]&&(l.push(r.join("/")),r=[],o++),r.push(n[i]);return l.push(r.join("/")),l}(t)),n)}(n,e))}function F(t,n){var e=Object.assign({},t);return e.type=n.getType(),e.navId=n.name||n.id,e.secondaryId=t.secondaryId,e}function V(t,n,e,i,l){var o=new ni(t,n,e,i,l);return o.init(),o}function z(t){return"/"!==(t=t.trim()).charAt(0)&&(t="/"+t),t.length>1&&"/"===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),t}function q(t,n){return t.top<n.top?-1:t.top>n.top?1:0}function H(t){return t.indexOf("px")>0?parseInt(t,10):0}function W(t){return t>0?t+"px":""}function U(t){return t.$ionIndex}function Y(t,n){for(var e=0;t&&e<4;){if(void 0!==U(t))return n&&t.parentNode!==n?null:t;t=t.parentNode,e++}return null}function $(t,n){return new yo(t,n)}function X(t,n,e,i){return function(){!function(t){"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,500)}(function(){i.runOutsideAngular(function(){!function(t,n,e){if(!n||!n.links||!t.getBoolean("preloadModules"))return Promise.resolve();var i=n.links.filter(function(t){return!!t.loadChildren&&"off"!==t.priority}),l=i.filter(function(t){return"high"===t.priority}).map(function(t){return e.load(t.loadChildren)});Promise.all(l).then(function(){var t=i.filter(function(t){return"low"===t.priority}).map(function(t){return e.load(t.loadChildren)});return Promise.all(t)}).catch(function(t){console.error(t.message)})}(t,n,e)})})}}function G(t){var n=t.win();return!!(n.cordova||n.PhoneGap||n.phonegap)}function Z(t){return t.testNavigatorPlatform("iphone|ipad|ipod")}function K(t){return t.testUserAgent("Safari")}function J(t){return Z(t)&&!function(t){return Z(t)&&!!t.win().webkit}(t)&&!K(t)}function Q(t,n){if(!n||!n.parentNode)return!0;if(!t)return!1;if(t.defaultPrevented)return!0;for(var e=t.target,i=0;i<4&&e;i++){if(e.hasAttribute("disable-activated"))return!0;e=e.parentElement}return!1}function tt(t){for(var n=t,e=0;e<10&&n;e++){if(function(t){if(xr.indexOf(t.tagName)>-1)return!0;for(var n=0,e=Or.length;n<e;n++)if(t.hasAttribute&&t.hasAttribute(Or[n]))return!0;return!1}(n))return n;n=n.parentElement}return null}function nt(t,n,e,i,l){return function(){return new Sr(t,n,e,i,l)}}function et(t,n,e){return setTimeout(rt(t,e),n)}function it(t,n,e){return!!Array.isArray(t)&&(lt(t,e[n],e),!0)}function lt(t,n,e){var i;if(t)if(t.forEach)t.forEach(n,e);else if(void 0!==t.length)for(i=0;i<t.length;)n.call(e,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&n.call(e,t[i],i,t)}function ot(t,n,e){var i,l=n.prototype;(i=t.prototype=Object.create(l)).constructor=t,i._super=l,e&&Object.assign(i,e)}function rt(t,n){return function(){return t.apply(n,arguments)}}function st(t,n){return typeof t==Rr?t.apply(n?n[0]||void 0:void 0,n):t}function ut(t,n){return void 0===t?n:t}function at(t,n,e){lt(dt(n),function(n){t.addEventListener(n,e,!1)})}function ct(t,n,e){lt(dt(n),function(n){t.removeEventListener(n,e,!1)})}function ht(t,n){for(;t;){if(t==n)return!0;t=t.parentNode}return!1}function pt(t,n){return t.indexOf(n)>-1}function dt(t){return t.trim().split(/\s+/g)}function _t(t,n,e){if(t.indexOf&&!e)return t.indexOf(n);for(var i=0;i<t.length;){if(e&&t[i][e]==n||!e&&t[i]===n)return i;i++}return-1}function ft(t){return Array.prototype.slice.call(t,0)}function vt(t,n,e){for(var i=[],l=[],o=0;o<t.length;){var r=n?t[o][n]:t[o];_t(l,r)<0&&i.push(t[o]),l[o]=r,o++}return e&&(i=n?i.sort(function(t,e){return t[n]>e[n]?1:0}):i.sort()),i}function mt(t,n){for(var e,i,l=n[0].toUpperCase()+n.slice(1),o=0;o<Lr.length;){if(e=Lr[o],(i=e?e+l:n)in t)return i;o++}}function gt(t){var n=t.ownerDocument||t;return n.defaultView||n.parentWindow||window}function yt(t,n){var e=this;this.manager=t,this.callback=n,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(n){st(t.options.enable,[t])&&e.handler(n)},this.init()}function bt(t,n,e){var i=e.pointers.length,l=e.changedPointers.length,o=n&Wr&&i-l==0,r=n&(Yr|$r)&&i-l==0;e.isFirst=!!o,e.isFinal=!!r,o&&(t.session={}),e.eventType=n,function(t,n){var e=t.session,i=n.pointers,l=i.length;e.firstInput||(e.firstInput=wt(n));l>1&&!e.firstMultiple?e.firstMultiple=wt(n):1===l&&(e.firstMultiple=!1);var o=e.firstInput,r=e.firstMultiple,s=r?r.center:o.center,u=n.center=kt(i);n.timeStamp=Nr(),n.deltaTime=n.timeStamp-o.timeStamp,n.angle=St(s,u),n.distance=Et(s,u),function(t,n){var e=n.center,i=t.offsetDelta||{},l=t.prevDelta||{},o=t.prevInput||{};n.eventType!==Wr&&o.eventType!==Yr||(l=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:e.x,y:e.y});n.deltaX=l.x+(e.x-i.x),n.deltaY=l.y+(e.y-i.y)}(e,n),n.offsetDirection=Tt(n.deltaX,n.deltaY);var a=Ct(n.deltaTime,n.deltaX,n.deltaY);n.overallVelocityX=a.x,n.overallVelocityY=a.y,n.overallVelocity=jr(a.x)>jr(a.y)?a.x:a.y,n.scale=r?function(t,n){return Et(n[0],n[1],is)/Et(t[0],t[1],is)}(r.pointers,i):1,n.rotation=r?function(t,n){return St(n[1],n[0],is)+St(t[1],t[0],is)}(r.pointers,i):0,n.maxPointers=e.prevInput?n.pointers.length>e.prevInput.maxPointers?n.pointers.length:e.prevInput.maxPointers:n.pointers.length,function(t,n){var e,i,l,o,r=t.lastInterval||n,s=n.timeStamp-r.timeStamp;if(n.eventType!=$r&&(s>Hr||void 0===r.velocity)){var u=n.deltaX-r.deltaX,a=n.deltaY-r.deltaY,c=Ct(s,u,a);i=c.x,l=c.y,e=jr(c.x)>jr(c.y)?c.x:c.y,o=Tt(u,a),t.lastInterval=n}else e=r.velocity,i=r.velocityX,l=r.velocityY,o=r.direction;n.velocity=e,n.velocityX=i,n.velocityY=l,n.direction=o}(e,n);var c=t.element;ht(n.srcEvent.target,c)&&(c=n.srcEvent.target);n.target=c}(t,e),t.emit("hammer.input",e),t.recognize(e),t.session.prevInput=e}function wt(t){for(var n=[],e=0;e<t.pointers.length;)n[e]={clientX:Mr(t.pointers[e].clientX),clientY:Mr(t.pointers[e].clientY)},e++;return{timeStamp:Nr(),pointers:n,center:kt(n),deltaX:t.deltaX,deltaY:t.deltaY}}function kt(t){var n=t.length;if(1===n)return{x:Mr(t[0].clientX),y:Mr(t[0].clientY)};for(var e=0,i=0,l=0;l<n;)e+=t[l].clientX,i+=t[l].clientY,l++;return{x:Mr(e/n),y:Mr(i/n)}}function Ct(t,n,e){return{x:n/t||0,y:e/t||0}}function Tt(t,n){return t===n?Xr:jr(t)>=jr(n)?t<0?Gr:Zr:n<0?Kr:Jr}function Et(t,n,e){e||(e=es);var i=n[e[0]]-t[e[0]],l=n[e[1]]-t[e[1]];return Math.sqrt(i*i+l*l)}function St(t,n,e){e||(e=es);var i=n[e[0]]-t[e[0]],l=n[e[1]]-t[e[1]];return 180*Math.atan2(l,i)/Math.PI}function xt(t,n){this.evEl=os,this.evWin=rs,this.allow=!0,this.pressed=!1,yt.apply(this,arguments)}function Ot(){this.evEl=as,this.evWin=cs,yt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function Pt(){this.evTarget=ps,this.evWin=ds,this.started=!1,yt.apply(this,arguments)}function Dt(t,n){this.evTarget=fs,this.targetIds={},yt.apply(this,arguments)}function It(){yt.apply(this,arguments);var t=rt(this.handler,this);this.touch=new Dt(this.manager,t),this.mouse=new xt(this.manager,t)}function Bt(t,n){this.manager=t,this.set(n)}function Lt(t){this.options=Object.assign({},this.defaults,t||{}),this.id=Fr++,this.manager=null,this.options.enable=ut(this.options.enable,!0),this.state=Cs,this.simultaneous={},this.requireFail=[]}function At(t){return t&Os?"cancel":t&Ss?"end":t&Es?"move":t&Ts?"start":""}function Rt(t){return t==Jr?"down":t==Kr?"up":t==Gr?"left":t==Zr?"right":""}function Mt(t,n){var e=n.manager;return e?e.get(t):t}function jt(){Lt.apply(this,arguments)}function Nt(){jt.apply(this,arguments),this.pX=null,this.pY=null}function Ft(){jt.apply(this,arguments)}function Vt(){Lt.apply(this,arguments),this._timer=null,this._input=null}function zt(){jt.apply(this,arguments)}function qt(){jt.apply(this,arguments)}function Ht(){Lt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Wt(t,n){return n=n||{},n.recognizers=ut(n.recognizers,Ps.preset),new Ut(t,n)}function Ut(t,n){this.options=Object.assign({},Ps,n||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=function(t){var n=t.options.inputClass;return new(n||(zr?Ot:qr?Dt:Vr?It:xt))(t,bt)}(this),this.touchAction=new Bt(this,this.options.touchAction),Yt(this,!0),lt(this.options.recognizers,function(t){var n=this.add(new t[0](t[1]));t[2]&&n.recognizeWith(t[2]),t[3]&&n.requireFailure(t[3])},this)}function Yt(t,n){var e=t.element;e.style&&lt(t.options.cssProps,function(t,i){e.style[mt(e.style,i)]=n?t:""})}function $t(t,n){return function(){return function(t,n){var e=new Ds,i=t.win(),l=t.doc();return t.timeout(function(){i.addEventListener("online",function(t){e.publish("app:online",t)},!1),i.addEventListener("offline",function(t){e.publish("app:offline",t)},!1),i.addEventListener("orientationchange",function(t){e.publish("app:rotated",t)}),i.addEventListener("statusTap",function(){var e=l.elementFromPoint(t.width()/2,t.height()/2);if(e){var i=e.closest(".scroll-content");if(i){var o=i.style,r=new ml(null,t,n);r._el=i,o.WebkitBackfaceVisibility="hidden",o.WebkitTransform="translate3d(0,0,0)",n.write(function(){function n(){o.overflow="",o.WebkitBackfaceVisibility="",o.WebkitTransform=""}o.overflow="hidden";var e=t.timeout(function(){n()},400);r.scrollTo(0,0,300).then(function(){t.cancelTimeout(e),n()})})}}})},2e3),e}(t,n)}}function Xt(){return Is}function Gt(t){return function(){t.setModeConfig("ios",Ls),t.setModeConfig("md",As),t.setModeConfig("wp",Rs)}}function Zt(t,n,e){return"path"===e.get("locationStrategy")?new js.p(t,n):new js.d(t,n)}function Kt(t){return ie._22(2,[(t()(),ie._2(0,0,null,null,1,"span",[["class","button-inner"]],null,null,null,null,null)),ie._15(null,0),(t()(),ie._2(2,0,null,null,0,"div",[["class","button-effect"]],null,null,null,null,null))],null,null)}function Jt(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"div",[["class","action-sheet-title"]],[[8,"id",0]],null,null,null,null)),(t()(),ie._21(1,null,["",""]))],null,function(t,n){var e=n.component;t(n,0,0,ie._5(1,"",e.hdrId,""));t(n,1,0,e.d.title)})}function Qt(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"div",[["class","action-sheet-sub-title"]],[[8,"id",0]],null,null,null,null)),(t()(),ie._21(1,null,["",""]))],null,function(t,n){var e=n.component;t(n,0,0,ie._5(1,"",e.descId,""));t(n,1,0,e.d.subTitle)})}function tn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-icon",[["class","action-sheet-icon"],["role","img"]],[[2,"hide",null]],null,null,null,null)),ie._0(1,147456,null,0,pl,[re,ie.k,ie.B],{name:[0,"name"]},null)],function(t,n){t(n,1,0,n.parent.context.$implicit.icon)},function(t,n){t(n,0,0,ie._16(n,1)._hidden)})}function nn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,5,"button",[["class","disable-hover"],["ion-button","action-sheet-button"]],[[1,"icon-start",0]],[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component.click(t.context.$implicit)&&i}return i},Kt,Us)),ie._0(1,278528,null,0,js.g,[ie.r,ie.s,ie.k,ie.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),ie._0(2,1097728,null,0,sl,[[8,"action-sheet-button"],re,ie.k,ie.B],null,null),(t()(),ie.W(16777216,null,0,1,null,tn)),ie._0(4,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie._21(5,0,["",""]))],function(t,n){t(n,1,0,"disable-hover",n.context.$implicit.cssClass);t(n,4,0,n.context.$implicit.icon)},function(t,n){t(n,0,0,n.context.$implicit.icon?"":null);t(n,5,0,n.context.$implicit.text)})}function en(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-icon",[["class","action-sheet-icon"],["role","img"]],[[2,"hide",null]],null,null,null,null)),ie._0(1,147456,null,0,pl,[re,ie.k,ie.B],{name:[0,"name"]},null)],function(t,n){t(n,1,0,n.component.cancelButton.icon)},function(t,n){t(n,0,0,ie._16(n,1)._hidden)})}function ln(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,6,"div",[["class","action-sheet-group action-sheet-group-cancel"]],null,null,null,null,null)),(t()(),ie._2(1,0,null,null,5,"button",[["class","action-sheet-cancel disable-hover"],["ion-button","action-sheet-button"]],[[1,"icon-start",0]],[[null,"click"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==l.click(l.cancelButton)&&i}return i},Kt,Us)),ie._0(2,278528,null,0,js.g,[ie.r,ie.s,ie.k,ie.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),ie._0(3,1097728,null,0,sl,[[8,"action-sheet-button"],re,ie.k,ie.B],null,null),(t()(),ie.W(16777216,null,0,1,null,en)),ie._0(5,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie._21(6,0,["",""]))],function(t,n){var e=n.component;t(n,2,0,"action-sheet-cancel disable-hover",e.cancelButton.cssClass);t(n,5,0,e.cancelButton.icon)},function(t,n){var e=n.component;t(n,1,0,e.cancelButton.icon?"":null);t(n,6,0,e.cancelButton.text)})}function on(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component.bdClick()&&i}return i},null,null)),ie._0(1,16384,null,0,rl,[ie.k,ie.B],null,null),(t()(),ie._2(2,0,null,null,10,"div",[["class","action-sheet-wrapper"]],null,null,null,null,null)),(t()(),ie._2(3,0,null,null,9,"div",[["class","action-sheet-container"]],null,null,null,null,null)),(t()(),ie._2(4,0,null,null,6,"div",[["class","action-sheet-group"]],null,null,null,null,null)),(t()(),ie.W(16777216,null,null,1,null,Jt)),ie._0(6,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie.W(16777216,null,null,1,null,Qt)),ie._0(8,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie.W(16777216,null,null,1,null,nn)),ie._0(10,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null),(t()(),ie.W(16777216,null,null,1,null,ln)),ie._0(12,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,6,0,e.d.title);t(n,8,0,e.d.subTitle);t(n,10,0,e.d.buttons);t(n,12,0,e.cancelButton)},function(t,n){t(n,0,0,!n.component.d.enableBackdropDismiss)})}function rn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,0,"h2",[["class","alert-title"]],[[8,"id",0],[8,"innerHTML",1]],null,null,null,null))],null,function(t,n){var e=n.component;t(n,0,0,ie._5(1,"",e.hdrId,""),e.d.title)})}function sn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,0,"h3",[["class","alert-sub-title"]],[[8,"id",0],[8,"innerHTML",1]],null,null,null,null))],null,function(t,n){var e=n.component;t(n,0,0,ie._5(1,"",e.subHdrId,""),e.d.subTitle)})}function un(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,5,"button",[["class","alert-tappable alert-radio"],["ion-button","alert-radio-button"],["role","radio"]],[[1,"aria-checked",0],[8,"disabled",0],[1,"id",0]],[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component.rbClick(t.context.$implicit)&&i}return i},Kt,Us)),ie._0(1,1097728,null,0,sl,[[8,"alert-radio-button"],re,ie.k,ie.B],null,null),(t()(),ie._2(2,0,null,0,1,"div",[["class","alert-radio-icon"]],null,null,null,null,null)),(t()(),ie._2(3,0,null,null,0,"div",[["class","alert-radio-inner"]],null,null,null,null,null)),(t()(),ie._2(4,0,null,0,1,"div",[["class","alert-radio-label"]],null,null,null,null,null)),(t()(),ie._21(5,null,["",""]))],null,function(t,n){t(n,0,0,n.context.$implicit.checked,n.context.$implicit.disabled,n.context.$implicit.id);t(n,5,0,n.context.$implicit.label)})}function an(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,2,"div",[["class","alert-radio-group"],["role","radiogroup"]],[[1,"aria-labelledby",0],[1,"aria-activedescendant",0]],null,null,null,null)),(t()(),ie.W(16777216,null,null,1,null,un)),ie._0(2,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null)],function(t,n){t(n,2,0,n.component.d.inputs)},function(t,n){var e=n.component;t(n,0,0,e.hdrId,e.activeId)})}function cn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,5,"button",[["class","alert-tappable alert-checkbox"],["ion-button","alert-checkbox-button"],["role","checkbox"]],[[1,"aria-checked",0],[1,"id",0],[8,"disabled",0]],[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component.cbClick(t.context.$implicit)&&i}return i},Kt,Us)),ie._0(1,1097728,null,0,sl,[[8,"alert-checkbox-button"],re,ie.k,ie.B],null,null),(t()(),ie._2(2,0,null,0,1,"div",[["class","alert-checkbox-icon"]],null,null,null,null,null)),(t()(),ie._2(3,0,null,null,0,"div",[["class","alert-checkbox-inner"]],null,null,null,null,null)),(t()(),ie._2(4,0,null,0,1,"div",[["class","alert-checkbox-label"]],null,null,null,null,null)),(t()(),ie._21(5,null,["",""]))],null,function(t,n){t(n,0,0,n.context.$implicit.checked,n.context.$implicit.id,n.context.$implicit.disabled);t(n,5,0,n.context.$implicit.label)})}function hn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,2,"div",[["class","alert-checkbox-group"]],null,null,null,null,null)),(t()(),ie.W(16777216,null,null,1,null,cn)),ie._0(2,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null)],function(t,n){t(n,2,0,n.component.d.inputs)},null)}function pn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,6,"div",[["class","alert-input-wrapper"]],null,null,null,null,null)),(t()(),ie._2(1,0,null,null,5,"input",[["class","alert-input"],["dir","auto"]],[[8,"placeholder",0],[8,"type",0],[8,"min",0],[8,"max",0],[1,"id",0],[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"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,n,e){var i=!0;if("input"===n){i=!1!==ie._16(t,2)._handleInput(e.target.value)&&i}if("blur"===n){i=!1!==ie._16(t,2).onTouched()&&i}if("compositionstart"===n){i=!1!==ie._16(t,2)._compositionStart()&&i}if("compositionend"===n){i=!1!==ie._16(t,2)._compositionEnd(e.target.value)&&i}if("ngModelChange"===n){i=!1!==(t.context.$implicit.value=e)&&i}return i},null,null)),ie._0(2,16384,null,0,ul.b,[ie.C,ie.k,[2,ul.a]],null,null),ie._18(1024,null,ul.e,function(t){return[t]},[ul.b]),ie._0(4,671744,null,0,ul.h,[[8,null],[8,null],[8,null],[2,ul.e]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),ie._18(2048,null,ul.f,null,[ul.h]),ie._0(6,16384,null,0,ul.g,[ul.f],null,null)],function(t,n){t(n,4,0,n.context.$implicit.disabled,n.context.$implicit.value)},function(t,n){t(n,1,1,[n.context.$implicit.placeholder,n.context.$implicit.type,n.context.$implicit.min,n.context.$implicit.max,n.context.$implicit.id,ie._16(n,6).ngClassUntouched,ie._16(n,6).ngClassTouched,ie._16(n,6).ngClassPristine,ie._16(n,6).ngClassDirty,ie._16(n,6).ngClassValid,ie._16(n,6).ngClassInvalid,ie._16(n,6).ngClassPending])})}function dn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,2,"div",[["class","alert-input-group"]],null,null,null,null,null)),(t()(),ie.W(16777216,null,null,1,null,pn)),ie._0(2,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null)],function(t,n){t(n,2,0,n.component.d.inputs)},null)}function _n(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,7,"div",[],null,null,null,null,null)),ie._0(1,16384,null,0,js.m,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),ie.W(16777216,null,null,1,null,an)),ie._0(3,278528,null,0,js.n,[ie.K,ie.H,js.m],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),ie.W(16777216,null,null,1,null,hn)),ie._0(5,278528,null,0,js.n,[ie.K,ie.H,js.m],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),ie.W(16777216,null,null,1,null,dn)),ie._0(7,16384,null,0,js.o,[ie.K,ie.H,js.m],null,null)],function(t,n){t(n,1,0,n.component.inputType);t(n,3,0,"radio");t(n,5,0,"checkbox")},null)}function fn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,3,"button",[["ion-button","alert-button"]],null,[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component.btnClick(t.context.$implicit)&&i}return i},Kt,Us)),ie._0(1,278528,null,0,js.g,[ie.r,ie.s,ie.k,ie.B],{ngClass:[0,"ngClass"]},null),ie._0(2,1097728,null,0,sl,[[8,"alert-button"],re,ie.k,ie.B],null,null),(t()(),ie._21(3,0,["",""]))],function(t,n){t(n,1,0,n.context.$implicit.cssClass)},function(t,n){t(n,3,0,n.context.$implicit.text)})}function vn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component.bdClick()&&i}return i},null,null)),ie._0(1,16384,null,0,rl,[ie.k,ie.B],null,null),(t()(),ie._2(2,0,null,null,13,"div",[["class","alert-wrapper"]],null,null,null,null,null)),(t()(),ie._2(3,0,null,null,4,"div",[["class","alert-head"]],null,null,null,null,null)),(t()(),ie.W(16777216,null,null,1,null,rn)),ie._0(5,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie.W(16777216,null,null,1,null,sn)),ie._0(7,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie._2(8,0,null,null,0,"div",[["class","alert-message"]],[[8,"id",0],[8,"innerHTML",1]],null,null,null,null)),(t()(),ie.W(16777216,null,null,1,null,_n)),ie._0(10,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie._2(11,0,null,null,4,"div",[["class","alert-button-group"]],null,null,null,null,null)),ie._0(12,278528,null,0,js.g,[ie.r,ie.s,ie.k,ie.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),ie._17(13,{"alert-button-group-vertical":0}),(t()(),ie.W(16777216,null,null,1,null,fn)),ie._0(15,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null)],function(t,n){var e=n.component;t(n,5,0,e.d.title);t(n,7,0,e.d.subTitle);t(n,10,0,e.d.inputs.length);t(n,12,0,"alert-button-group",t(n,13,0,e.d.buttons.length>2));t(n,15,0,e.d.buttons)},function(t,n){var e=n.component;t(n,0,0,!e.d.enableBackdropDismiss);t(n,8,0,ie._5(1,"",e.msgId,""),e.d.message)})}function mn(t){return ie._22(0,[ie._19(402653184,1,{_viewport:0}),ie._19(402653184,2,{_modalPortal:0}),ie._19(402653184,3,{_overlayPortal:0}),ie._19(402653184,4,{_loadingPortal:0}),ie._19(402653184,5,{_toastPortal:0}),(t()(),ie._2(5,16777216,[[1,3],["viewport",1]],null,0,"div",[["app-viewport",""]],null,null,null,null,null)),(t()(),ie._2(6,16777216,[["modalPortal",1]],null,1,"div",[["overlay-portal",""]],null,null,null,null,null)),ie._0(7,147456,[[2,4]],0,Bi,[He,re,Ce,ie.k,ie.w,ie.B,ie.j,ci,Ii,[2,ni],ie.K,ii,ie.l],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),ie._2(8,16777216,[["overlayPortal",1]],null,1,"div",[["overlay-portal",""]],null,null,null,null,null)),ie._0(9,147456,[[3,4]],0,Bi,[He,re,Ce,ie.k,ie.w,ie.B,ie.j,ci,Ii,[2,ni],ie.K,ii,ie.l],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),ie._2(10,16777216,[["loadingPortal",1]],null,1,"div",[["class","loading-portal"],["overlay-portal",""]],null,null,null,null,null)),ie._0(11,147456,[[4,4]],0,Bi,[He,re,Ce,ie.k,ie.w,ie.B,ie.j,ci,Ii,[2,ni],ie.K,ii,ie.l],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),ie._2(12,16777216,[["toastPortal",1]],null,1,"div",[["class","toast-portal"]],null,null,null,null,null)),ie._0(13,147456,[[5,4]],0,Bi,[He,re,Ce,ie.k,ie.w,ie.B,ie.j,ci,Ii,[2,ni],ie.K,ii,ie.l],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),ie._2(14,0,null,null,1,"div",[["class","click-block"]],null,null,null,null,null)),ie._0(15,16384,null,0,Ns,[He,re,Ce,ie.k,ie.B],null,null)],function(t,n){t(n,7,0,"");t(n,9,0,"");t(n,11,0,"");t(n,13,0,1e4)},null)}function gn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,2,":svg:svg",[["viewBox","0 0 64 64"]],null,null,null,null,null)),ie._0(1,278528,null,0,js.l,[ie.s,ie.k,ie.B],{ngStyle:[0,"ngStyle"]},null),(t()(),ie._2(2,0,null,null,0,":svg:circle",[["transform","translate(32,32)"]],[[1,"r",0]],null,null,null,null))],function(t,n){t(n,1,0,n.context.$implicit.style)},function(t,n){t(n,2,0,n.context.$implicit.r)})}function yn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,2,":svg:svg",[["viewBox","0 0 64 64"]],null,null,null,null,null)),ie._0(1,278528,null,0,js.l,[ie.s,ie.k,ie.B],{ngStyle:[0,"ngStyle"]},null),(t()(),ie._2(2,0,null,null,0,":svg:line",[["transform","translate(32,32)"]],[[1,"y1",0],[1,"y2",0]],null,null,null,null))],function(t,n){t(n,1,0,n.context.$implicit.style)},function(t,n){t(n,2,0,n.context.$implicit.y1,n.context.$implicit.y2)})}function bn(t){return ie._22(2,[(t()(),ie.W(16777216,null,null,1,null,gn)),ie._0(1,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null),(t()(),ie.W(16777216,null,null,1,null,yn)),ie._0(3,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null)],function(t,n){var e=n.component;t(n,1,0,e._c);t(n,3,0,e._l)},null)}function wn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,2,"div",[["class","loading-spinner"]],null,null,null,null,null)),(t()(),ie._2(1,0,null,null,1,"ion-spinner",[],[[2,"spinner-paused",null]],null,null,bn,Js)),ie._0(2,114688,null,0,Qo,[re,ie.k,ie.B],{name:[0,"name"]},null)],function(t,n){t(n,2,0,n.component.d.spinner)},function(t,n){t(n,1,0,ie._16(n,2)._paused)})}function kn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,0,"div",[["class","loading-content"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(t,n){t(n,0,0,n.component.d.content)})}function Cn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[8,"hidden",0],[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component.bdClick()&&i}return i},null,null)),ie._0(1,16384,null,0,rl,[ie.k,ie.B],null,null),(t()(),ie._2(2,0,null,null,4,"div",[["class","loading-wrapper"]],null,null,null,null,null)),(t()(),ie.W(16777216,null,null,1,null,wn)),ie._0(4,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie.W(16777216,null,null,1,null,kn)),ie._0(6,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,4,0,e.showSpinner);t(n,6,0,e.d.content)},function(t,n){var e=n.component;t(n,0,0,!e.d.showBackdrop,!e.d.enableBackdropDismiss)})}function Tn(t){return ie._22(0,[ie._19(402653184,1,{_viewport:0}),(t()(),ie._2(1,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component._bdClick()&&i}return i},null,null)),ie._0(2,16384,null,0,rl,[ie.k,ie.B],null,null),(t()(),ie._2(3,0,null,null,1,"div",[["class","modal-wrapper"]],null,null,null,null,null)),(t()(),ie._2(4,16777216,[[1,3],["viewport",1]],null,0,"div",[["nav-viewport",""]],null,null,null,null,null))],null,function(t,n){t(n,1,0,!n.component._bdDismiss)})}function En(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"div",[["class","picker-prefix"]],[[4,"width",null]],null,null,null,null)),(t()(),ie._21(1,null,["",""]))],null,function(t,n){var e=n.component;t(n,0,0,e.col.prefixWidth);t(n,1,0,e.col.prefix)})}function Sn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"button",[["class","picker-opt"],["disable-activated",""]],[[2,"picker-opt-disabled",null]],[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component.optClick(e,t.context.index)&&i}return i},null,null)),(t()(),ie._21(1,null,["",""]))],null,function(t,n){t(n,0,0,n.context.$implicit.disabled);t(n,1,0,n.context.$implicit.text)})}function xn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"div",[["class","picker-suffix"]],[[4,"width",null]],null,null,null,null)),(t()(),ie._21(1,null,["",""]))],null,function(t,n){var e=n.component;t(n,0,0,e.col.suffixWidth);t(n,1,0,e.col.suffix)})}function On(t){return ie._22(0,[ie._19(402653184,1,{colEle:0}),(t()(),ie.W(16777216,null,null,1,null,En)),ie._0(2,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie._2(3,0,[[1,0],["colEle",1]],null,2,"div",[["class","picker-opts"]],[[4,"max-width",null]],null,null,null,null)),(t()(),ie.W(16777216,null,null,1,null,Sn)),ie._0(5,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null),(t()(),ie.W(16777216,null,null,1,null,xn)),ie._0(7,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null)],function(t,n){var e=n.component;t(n,2,0,e.col.prefix);t(n,5,0,e.col.options);t(n,7,0,e.col.suffix)},function(t,n){t(n,3,0,n.component.col.optionsWidth)})}function Pn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,7,"div",[["class","picker-toolbar-button"]],null,null,null,null,null)),ie._0(1,278528,null,0,js.g,[ie.r,ie.s,ie.k,ie.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),ie._21(-1,null,["\n          "])),(t()(),ie._2(3,0,null,null,3,"button",[["class","picker-button"],["clear",""],["ion-button",""]],null,[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component.btnClick(t.context.$implicit)&&i}return i},Kt,Us)),ie._0(4,278528,null,0,js.g,[ie.r,ie.s,ie.k,ie.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),ie._0(5,1097728,null,0,sl,[[8,""],re,ie.k,ie.B],{clear:[0,"clear"]},null),(t()(),ie._21(6,0,["\n            ","\n          "])),(t()(),ie._21(-1,null,["\n        "]))],function(t,n){t(n,1,0,"picker-toolbar-button",n.context.$implicit.cssRole);t(n,4,0,"picker-button",n.context.$implicit.cssClass);t(n,5,0,"")},function(t,n){t(n,6,0,n.context.$implicit.text)})}function Dn(t){return ie._22(0,[(t()(),ie._2(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,n,e){var i=!0;if("ionChange"===n){i=!1!==t.component._colChange(e)&&i}return i},On,iu)),ie._0(1,4374528,[[1,4]],0,Rl,[re,Ce,ie.k,ie.w,Ll,Ce,ii],{col:[0,"col"]},{ionChange:"ionChange"})],function(t,n){t(n,1,0,n.context.$implicit)},function(t,n){t(n,0,0,ie._16(n,1).col.columnWidth,"left"==ie._16(n,1).col.align,"right"==ie._16(n,1).col.align)})}function In(t){return ie._22(0,[ie._19(671088640,1,{_cols:1}),(t()(),ie._21(-1,null,["\n    "])),(t()(),ie._2(2,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],null,[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component.bdClick()&&i}return i},null,null)),ie._0(3,16384,null,0,rl,[ie.k,ie.B],null,null),(t()(),ie._21(-1,null,["\n    "])),(t()(),ie._2(5,0,null,null,17,"div",[["class","picker-wrapper"]],null,null,null,null,null)),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._2(7,0,null,null,4,"div",[["class","picker-toolbar"]],null,null,null,null,null)),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie.W(16777216,null,null,1,null,Pn)),ie._0(10,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._2(13,0,null,null,8,"div",[["class","picker-columns"]],null,null,null,null,null)),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(15,0,null,null,0,"div",[["class","picker-above-highlight"]],null,null,null,null,null)),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie.W(16777216,null,null,1,null,Dn)),ie._0(18,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(20,0,null,null,0,"div",[["class","picker-below-highlight"]],null,null,null,null,null)),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,null,["\n    "])),(t()(),ie._21(-1,null,["\n  "]))],function(t,n){var e=n.component;t(n,10,0,e.d.buttons);t(n,18,0,e.d.columns)},null)}function Bn(t){return ie._22(0,[ie._19(402653184,1,{_viewport:0}),(t()(),ie._2(1,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[8,"hidden",0]],[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component._bdClick()&&i}return i},null,null)),ie._0(2,16384,null,0,rl,[ie.k,ie.B],null,null),(t()(),ie._2(3,0,null,null,4,"div",[["class","popover-wrapper"]],null,null,null,null,null)),(t()(),ie._2(4,0,null,null,0,"div",[["class","popover-arrow"]],null,null,null,null,null)),(t()(),ie._2(5,0,null,null,2,"div",[["class","popover-content"]],null,null,null,null,null)),(t()(),ie._2(6,0,null,null,1,"div",[["class","popover-viewport"]],null,null,null,null,null)),(t()(),ie._2(7,16777216,[[1,3],["viewport",1]],null,0,"div",[["nav-viewport",""]],null,null,null,null,null))],null,function(t,n){t(n,1,0,!n.component.d.showBackdrop)})}function Ln(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-icon",[["name","reorder"],["role","img"]],[[2,"hide",null]],null,null,null,null)),ie._0(1,147456,null,0,pl,[re,ie.k,ie.B],{name:[0,"name"]},null)],function(t,n){t(n,1,0,"reorder")},function(t,n){t(n,0,0,ie._16(n,1)._hidden)})}function An(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,2,"ion-label",[],null,null,null,null,null)),ie._0(1,16384,[[1,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),ie._15(null,2)],null,null)}function Rn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-reorder",[],null,[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==ie._16(t,1).onClick(e)&&i}return i},Ln,uu)),ie._0(1,49152,null,0,$l,[ie.k],null,null)],null,null)}function Mn(t){return ie._22(2,[ie._19(671088640,1,{viewLabel:0}),ie._15(null,0),(t()(),ie._2(2,0,null,null,8,"div",[["class","item-inner"]],null,null,null,null,null)),(t()(),ie._2(3,0,null,null,4,"div",[["class","input-wrapper"]],null,null,null,null,null)),ie._15(null,1),(t()(),ie.W(16777216,null,null,1,null,An)),ie._0(6,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),ie._15(null,3),ie._15(null,4),(t()(),ie.W(16777216,null,null,1,null,Rn)),ie._0(10,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie._2(11,0,null,null,0,"div",[["class","button-effect"]],null,null,null,null,null))],function(t,n){var e=n.component;t(n,6,0,e._viewLabel);t(n,10,0,e._hasReorder)},null)}function jn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,3,"div",[["class","radio-icon"]],[[2,"radio-checked",null]],null,null,null,null)),(t()(),ie._21(-1,null,[" "])),(t()(),ie._2(2,0,null,null,0,"div",[["class","radio-inner"]],null,null,null,null,null)),(t()(),ie._21(-1,null,[" "])),(t()(),ie._21(-1,null,[" "])),(t()(),ie._2(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,Kt,Us)),ie._0(6,1097728,null,0,sl,[[8,"item-cover"],re,ie.k,ie.B],null,null),(t()(),ie._21(-1,0,[" "]))],null,function(t,n){var e=n.component;t(n,0,0,e._checked);t(n,5,0,e.id,e._checked,e._labelId,e._disabled)})}function Nn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,13,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(1,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,2,{contentLabel:0}),ie._19(603979776,3,{_buttons:1}),ie._19(603979776,4,{_icons:1}),ie._0(5,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n        "])),(t()(),ie._2(7,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(8,16384,[[2,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(9,null,["",""])),(t()(),ie._21(-1,2,["\n        "])),(t()(),ie._2(11,0,null,4,1,"ion-radio",[],[[2,"radio-disabled",null]],[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==ie._16(t,12)._click(e)&&i}return i},jn,cu)),ie._0(12,245760,null,0,Zo,[al,re,ie.k,ie.B,[2,Bl],[2,Xo]],{value:[0,"value"],checked:[1,"checked"],disabled:[2,"disabled"]},null),(t()(),ie._21(-1,2,["\n      "]))],function(t,n){t(n,12,0,n.context.$implicit.value,n.context.$implicit.checked,n.context.$implicit.disabled)},function(t,n){t(n,9,0,n.context.$implicit.text);t(n,11,0,ie._16(n,12)._disabled)})}function Fn(t){return ie._22(0,[(t()(),ie._21(-1,null,["\n    "])),(t()(),ie._2(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,n,e){var i=!0;if("ngModelChange"===n){i=!1!==(t.component.value=e)&&i}return i},null,null)),ie._0(2,1064960,null,1,Xo,[ie.B,ie.k,ie.h],null,null),ie._19(335544320,1,{_header:0}),ie._18(1024,null,ul.e,function(t){return[t]},[Xo]),ie._0(5,671744,null,0,ul.h,[[8,null],[8,null],[8,null],[2,ul.e]],{model:[0,"model"]},{update:"ngModelChange"}),ie._18(2048,null,ul.f,null,[ul.h]),ie._0(7,16384,null,0,ul.g,[ul.f],null,null),ie._0(8,16384,null,0,Yl,[re,ie.k,ie.B,Ce,ci,ii],null,null),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie.W(16777216,null,null,1,null,Nn)),ie._0(11,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null),(t()(),ie._21(-1,null,["\n    "])),(t()(),ie._21(-1,null,["\n  "]))],function(t,n){var e=n.component;t(n,5,0,e.value);t(n,11,0,e.options)},function(t,n){t(n,1,0,ie._16(n,7).ngClassUntouched,ie._16(n,7).ngClassTouched,ie._16(n,7).ngClassPristine,ie._16(n,7).ngClassDirty,ie._16(n,7).ngClassValid,ie._16(n,7).ngClassInvalid,ie._16(n,7).ngClassPending)})}function Vn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"div",[["class","toast-message"]],[[8,"id",0]],null,null,null,null)),(t()(),ie._21(1,null,["",""]))],null,function(t,n){var e=n.component;t(n,0,0,ie._5(1,"",e.hdrId,""));t(n,1,0,e.d.message)})}function zn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,2,"button",[["class","toast-button"],["clear",""],["ion-button",""]],null,[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component.cbClick()&&i}return i},Kt,Us)),ie._0(1,1097728,null,0,sl,[[8,""],re,ie.k,ie.B],{clear:[0,"clear"]},null),(t()(),ie._21(2,0,[" "," "]))],function(t,n){t(n,1,0,"")},function(t,n){t(n,2,0,n.component.d.closeButtonText||"Close")})}function qn(t){return ie._22(0,[(t()(),ie._2(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()(),ie._21(-1,null,[" "])),(t()(),ie._2(2,0,null,null,7,"div",[["class","toast-container"]],null,null,null,null,null)),(t()(),ie._21(-1,null,[" "])),(t()(),ie.W(16777216,null,null,1,null,Vn)),ie._0(5,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie._21(-1,null,[" "])),(t()(),ie.W(16777216,null,null,1,null,zn)),ie._0(8,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie._21(-1,null,[" "])),(t()(),ie._21(-1,null,[" "]))],function(t,n){var e=n.component;t(n,5,0,e.d.message);t(n,8,0,e.d.showCloseButton)},function(t,n){var e=n.component;t(n,0,0,"bottom"===e.d.position,"middle"===e.d.position,"top"===e.d.position)})}function Hn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"div",[["class","toolbar-background"]],null,null,null,null,null)),ie._0(1,278528,null,0,js.g,[ie.r,ie.s,ie.k,ie.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),ie._2(2,0,null,null,8,"button",[["class","back-button"],["ion-button","bar-button"]],[[8,"hidden",0]],[[null,"click"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==t.component.backButtonClick(e)&&i}return i},Kt,Us)),ie._0(3,278528,null,0,js.g,[ie.r,ie.s,ie.k,ie.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),ie._0(4,1097728,null,0,sl,[[8,"bar-button"],re,ie.k,ie.B],null,null),(t()(),ie._2(5,0,null,0,2,"ion-icon",[["class","back-button-icon"],["role","img"]],[[2,"hide",null]],null,null,null,null)),ie._0(6,278528,null,0,js.g,[ie.r,ie.s,ie.k,ie.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),ie._0(7,147456,null,0,pl,[re,ie.k,ie.B],{name:[0,"name"]},null),(t()(),ie._2(8,0,null,0,2,"span",[["class","back-button-text"]],null,null,null,null,null)),ie._0(9,278528,null,0,js.g,[ie.r,ie.s,ie.k,ie.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),ie._21(10,null,["",""])),ie._15(null,0),ie._15(null,1),ie._15(null,2),(t()(),ie._2(14,0,null,null,2,"div",[["class","toolbar-content"]],null,null,null,null,null)),ie._0(15,278528,null,0,js.g,[ie.r,ie.s,ie.k,ie.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),ie._15(null,3)],function(t,n){var e=n.component;t(n,1,0,"toolbar-background","toolbar-background-"+e._mode);t(n,3,0,"back-button","back-button-"+e._mode);t(n,6,0,"back-button-icon","back-button-icon-"+e._mode);t(n,7,0,e._bbIcon);t(n,9,0,"back-button-text","back-button-text-"+e._mode);t(n,15,0,"toolbar-content","toolbar-content-"+e._mode)},function(t,n){var e=n.component;t(n,2,0,e._hideBb);t(n,5,0,ie._16(n,7)._hidden);t(n,10,0,e._backText)})}function Wn(t){return ie._22(2,[(t()(),ie._2(0,0,null,null,2,"div",[["class","toolbar-title"]],null,null,null,null,null)),ie._0(1,278528,null,0,js.g,[ie.r,ie.s,ie.k,ie.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),ie._15(null,0)],function(t,n){t(n,1,0,"toolbar-title","toolbar-title-"+n.component._mode)},null)}function Un(t){return ie._22(2,[ie._19(402653184,1,{_fixedContent:0}),ie._19(402653184,2,{_scrollContent:0}),(t()(),ie._2(2,0,[[1,0],["fixedContent",1]],null,1,"div",[["class","fixed-content"]],null,null,null,null,null)),ie._15(null,0),(t()(),ie._2(4,0,[[2,0],["scrollContent",1]],null,1,"div",[["class","scroll-content"]],null,null,null,null,null)),ie._15(null,1),ie._15(null,2)],null,null)}function Yn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"div",[["class","select-placeholder select-text"]],null,null,null,null,null)),(t()(),ie._21(1,null,["",""]))],null,function(t,n){t(n,1,0,n.component.placeholder)})}function $n(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"div",[["class","select-text"]],null,null,null,null,null)),(t()(),ie._21(1,null,["",""]))],null,function(t,n){var e=n.component;t(n,1,0,e.selectedText||e._text)})}function Xn(t){return ie._22(0,[(t()(),ie.W(16777216,null,null,1,null,Yn)),ie._0(1,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie.W(16777216,null,null,1,null,$n)),ie._0(3,16384,null,0,js.i,[ie.K,ie.H],{ngIf:[0,"ngIf"]},null),(t()(),ie._2(4,0,null,null,1,"div",[["class","select-icon"]],null,null,null,null,null)),(t()(),ie._2(5,0,null,null,0,"div",[["class","select-icon-inner"]],null,null,null,null,null)),(t()(),ie._2(6,0,null,null,1,"button",[["aria-haspopup","true"],["class","item-cover"],["ion-button","item-cover"],["type","button"]],[[8,"id",0],[1,"aria-labelledby",0],[1,"aria-disabled",0]],null,null,Kt,Us)),ie._0(7,1097728,null,0,sl,[[8,"item-cover"],re,ie.k,ie.B],null,null)],function(t,n){var e=n.component;t(n,1,0,!e._text);t(n,3,0,e._text)},function(t,n){var e=n.component;t(n,6,0,e.id,e._labelId,e._disabled)})}function Gn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(1,16384,[[11,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(2,null,["",""]))],function(t,n){t(n,1,0,n.context.$implicit)},function(t,n){t(n,2,0,n.context.$implicit.text)})}function Zn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(1,16384,[[47,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(2,null,["",""]))],function(t,n){t(n,1,0,n.context.$implicit.value)},function(t,n){t(n,2,0,n.context.$implicit.text)})}function Kn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(1,16384,[[51,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(2,null,["",""]))],function(t,n){t(n,1,0,n.context.$implicit)},function(t,n){t(n,2,0,n.context.$implicit.text)})}function Jn(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,10,"ion-header",[],null,null,null,null,null)),ie._0(1,16384,null,0,gr,[re,ie.k,ie.B,[2,ae]],null,null),(t()(),ie._21(-1,null,["\n\n  "])),(t()(),ie._2(3,0,null,null,6,"ion-navbar",[["class","toolbar"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Hn,fu)),ie._0(4,49152,null,0,ho,[He,[2,ae],[2,di],re,ie.k,ie.B],null,null),(t()(),ie._21(-1,3,["\n    "])),(t()(),ie._2(6,0,null,3,2,"ion-title",[],null,null,null,Wn,vu)),ie._0(7,49152,null,0,br,[re,ie.k,ie.B,[2,yr],[2,ho]],null,null),(t()(),ie._21(-1,0,["Select"])),(t()(),ie._21(-1,3,["\n  "])),(t()(),ie._21(-1,null,["\n\n"])),(t()(),ie._21(-1,null,["\n\n\n"])),(t()(),ie._2(12,0,null,null,663,"ion-content",[["class","outer-content"]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Un,mu)),ie._0(13,4374528,null,0,El,[re,Ce,ii,ie.k,ie.B,He,_l,ie.w,[2,ae],[2,di]],null,null),(t()(),ie._21(-1,1,["\n\n  "])),(t()(),ie._2(15,0,null,1,224,"ion-list",[],null,null,null,null,null)),ie._0(16,16384,null,0,Yl,[re,ie.k,ie.B,Ce,ci,ii],null,null),(t()(),ie._21(-1,null,["\n    "])),(t()(),ie._2(18,0,null,null,6,"ion-list-header",[["class","item"]],null,null,null,Mn,au)),ie._0(19,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,1,{contentLabel:0}),ie._19(603979776,2,{_buttons:1}),ie._19(603979776,3,{_icons:1}),ie._0(23,16384,null,0,Xl,[re,ie.B,ie.k,[8,null]],null,null),(t()(),ie._21(-1,2,["Single Value Select"])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(26,0,null,null,27,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(27,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,4,{contentLabel:0}),ie._19(603979776,5,{_buttons:1}),ie._19(603979776,6,{_icons:1}),ie._0(31,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(33,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(34,16384,[[4,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Gender"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(37,0,null,3,15,"ion-select",[],[[2,"select-disabled",null],[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"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,38)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,38)._keyup()&&i}if("ngModelChange"===n){i=!1!==(l.gender=e)&&i}return i},Xn,gu)),ie._0(38,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],null,null),ie._19(603979776,7,{options:1}),ie._18(1024,null,ul.e,function(t){return[t]},[Jo]),ie._0(41,671744,null,0,ul.h,[[8,null],[8,null],[8,null],[2,ul.e]],{model:[0,"model"]},{update:"ngModelChange"}),ie._18(2048,null,ul.f,null,[ul.h]),ie._0(43,16384,null,0,ul.g,[ul.f],null,null),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(45,0,null,null,2,"ion-option",[["value","f"]],null,null,null,null,null)),ie._0(46,16384,[[7,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Female"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(49,0,null,null,2,"ion-option",[["value","m"]],null,null,null,null,null)),ie._0(50,16384,[[7,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Male"])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(55,0,null,null,22,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(56,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,8,{contentLabel:0}),ie._19(603979776,9,{_buttons:1}),ie._19(603979776,10,{_icons:1}),ie._0(60,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(62,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(63,16384,[[8,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Hair Color"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(66,0,null,3,10,"ion-select",[["cancelText","Dismiss"],["okText","Okay"]],[[2,"select-disabled",null],[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"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,67)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,67)._keyup()&&i}if("ngModelChange"===n){i=!1!==(l.hairColor=e)&&i}return i},Xn,gu)),ie._0(67,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],{cancelText:[0,"cancelText"],okText:[1,"okText"],compareWith:[2,"compareWith"]},null),ie._19(603979776,11,{options:1}),ie._18(1024,null,ul.e,function(t){return[t]},[Jo]),ie._0(70,671744,null,0,ul.h,[[8,null],[8,null],[8,null],[2,ul.e]],{model:[0,"model"]},{update:"ngModelChange"}),ie._18(2048,null,ul.f,null,[ul.h]),ie._0(72,16384,null,0,ul.g,[ul.f],null,null),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie.W(16777216,null,null,1,null,Gn)),ie._0(75,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(79,0,null,null,43,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(80,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,12,{contentLabel:0}),ie._19(603979776,13,{_buttons:1}),ie._19(603979776,14,{_icons:1}),ie._0(84,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(86,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(87,16384,[[12,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Gaming"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(90,0,null,3,31,"ion-select",[["cancelText","Dismiss"],["okText","Okay"]],[[2,"select-disabled",null],[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"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,91)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,91)._keyup()&&i}if("ngModelChange"===n){i=!1!==(l.gaming=e)&&i}return i},Xn,gu)),ie._0(91,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],{cancelText:[0,"cancelText"],okText:[1,"okText"]},null),ie._19(603979776,15,{options:1}),ie._18(1024,null,ul.e,function(t){return[t]},[Jo]),ie._0(94,671744,null,0,ul.h,[[8,null],[8,null],[8,null],[2,ul.e]],{model:[0,"model"]},{update:"ngModelChange"}),ie._18(2048,null,ul.f,null,[ul.h]),ie._0(96,16384,null,0,ul.g,[ul.f],null,null),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(98,0,null,null,2,"ion-option",[["value","nes"]],null,null,null,null,null)),ie._0(99,16384,[[15,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["NES"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(102,0,null,null,2,"ion-option",[["value","n64"]],null,null,null,null,null)),ie._0(103,16384,[[15,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Nintendo64"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(106,0,null,null,2,"ion-option",[["value","ps"]],null,null,null,null,null)),ie._0(107,16384,[[15,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["PlayStation"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(110,0,null,null,2,"ion-option",[["value","genesis"]],null,null,null,null,null)),ie._0(111,16384,[[15,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Sega Genesis"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(114,0,null,null,2,"ion-option",[["value","saturn"]],null,null,null,null,null)),ie._0(115,16384,[[15,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Sega Saturn"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(118,0,null,null,2,"ion-option",[["value","snes"]],null,null,null,null,null)),ie._0(119,16384,[[15,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["SNES"])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(124,0,null,null,114,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(125,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,16,{contentLabel:0}),ie._19(603979776,17,{_buttons:1}),ie._19(603979776,18,{_icons:1}),ie._0(129,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(131,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(132,16384,[[16,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Date"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(135,0,null,3,52,"ion-select",[],[[2,"select-disabled",null]],[[null,"ionChange"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,137)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,137)._keyup()&&i}if("ionChange"===n){i=!1!==l.monthChange(e)&&i}return i},Xn,gu)),ie._18(5120,null,ul.e,function(t){return[t]},[Jo]),ie._0(137,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],null,{ionChange:"ionChange"}),ie._19(603979776,19,{options:1}),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(140,0,null,null,2,"ion-option",[["value","01"]],null,null,null,null,null)),ie._0(141,16384,[[19,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["January"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(144,0,null,null,2,"ion-option",[["value","02"]],null,null,null,null,null)),ie._0(145,16384,[[19,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["February"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(148,0,null,null,2,"ion-option",[["selected","true"],["value","03"]],null,null,null,null,null)),ie._0(149,16384,[[19,4]],0,Bo,[ie.k],{selected:[0,"selected"],value:[1,"value"]},null),(t()(),ie._21(-1,null,["March"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(152,0,null,null,2,"ion-option",[["value","04"]],null,null,null,null,null)),ie._0(153,16384,[[19,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["April"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(156,0,null,null,2,"ion-option",[["value","05"]],null,null,null,null,null)),ie._0(157,16384,[[19,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["May"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(160,0,null,null,2,"ion-option",[["value","06"]],null,null,null,null,null)),ie._0(161,16384,[[19,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["June"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(164,0,null,null,2,"ion-option",[["value","07"]],null,null,null,null,null)),ie._0(165,16384,[[19,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["July"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(168,0,null,null,2,"ion-option",[["value","08"]],null,null,null,null,null)),ie._0(169,16384,[[19,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["August"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(172,0,null,null,2,"ion-option",[["value","09"]],null,null,null,null,null)),ie._0(173,16384,[[19,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["September"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(176,0,null,null,2,"ion-option",[["value","10"]],null,null,null,null,null)),ie._0(177,16384,[[19,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["October"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(180,0,null,null,2,"ion-option",[["value","11"]],null,null,null,null,null)),ie._0(181,16384,[[19,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["November"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(184,0,null,null,2,"ion-option",[["value","12"]],null,null,null,null,null)),ie._0(185,16384,[[19,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["December"])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(189,0,null,3,48,"ion-select",[],[[2,"select-disabled",null]],[[null,"ionChange"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,191)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,191)._keyup()&&i}if("ionChange"===n){i=!1!==l.yearChange(e)&&i}return i},Xn,gu)),ie._18(5120,null,ul.e,function(t){return[t]},[Jo]),ie._0(191,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],null,{ionChange:"ionChange"}),ie._19(603979776,20,{options:1}),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(194,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(195,16384,[[20,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1989"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(198,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(199,16384,[[20,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1990"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(202,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(203,16384,[[20,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1991"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(206,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(207,16384,[[20,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1992"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(210,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(211,16384,[[20,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1993"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(214,0,null,null,2,"ion-option",[["selected","true"]],null,null,null,null,null)),ie._0(215,16384,[[20,4]],0,Bo,[ie.k],{selected:[0,"selected"]},null),(t()(),ie._21(-1,null,["1994"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(218,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(219,16384,[[20,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1995"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(222,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(223,16384,[[20,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1996"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(226,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(227,16384,[[20,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1997"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(230,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(231,16384,[[20,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1998"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(234,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(235,16384,[[20,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1999"])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n  "])),(t()(),ie._21(-1,1,["\n\n  "])),(t()(),ie._2(241,0,null,1,200,"ion-list",[],null,null,null,null,null)),ie._0(242,16384,null,0,Yl,[re,ie.k,ie.B,Ce,ci,ii],null,null),(t()(),ie._21(-1,null,["\n    "])),(t()(),ie._2(244,0,null,null,6,"ion-list-header",[["class","item"]],null,null,null,Mn,au)),ie._0(245,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,21,{contentLabel:0}),ie._19(603979776,22,{_buttons:1}),ie._19(603979776,23,{_icons:1}),ie._0(249,16384,null,0,Xl,[re,ie.B,ie.k,[8,null]],null,null),(t()(),ie._21(-1,2,["Popover Interface Select"])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(252,0,null,null,27,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(253,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,24,{contentLabel:0}),ie._19(603979776,25,{_buttons:1}),ie._19(603979776,26,{_icons:1}),ie._0(257,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(259,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(260,16384,[[24,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Gender"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(263,0,null,3,15,"ion-select",[["interface","popover"]],[[2,"select-disabled",null],[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"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,264)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,264)._keyup()&&i}if("ngModelChange"===n){i=!1!==(l.gender=e)&&i}return i},Xn,gu)),ie._0(264,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],{interface:[0,"interface"]},null),ie._19(603979776,27,{options:1}),ie._18(1024,null,ul.e,function(t){return[t]},[Jo]),ie._0(267,671744,null,0,ul.h,[[8,null],[8,null],[8,null],[2,ul.e]],{model:[0,"model"]},{update:"ngModelChange"}),ie._18(2048,null,ul.f,null,[ul.h]),ie._0(269,16384,null,0,ul.g,[ul.f],null,null),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(271,0,null,null,2,"ion-option",[["value","f"]],null,null,null,null,null)),ie._0(272,16384,[[27,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Female"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(275,0,null,null,2,"ion-option",[["value","m"]],null,null,null,null,null)),ie._0(276,16384,[[27,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Male"])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(281,0,null,null,43,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(282,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,28,{contentLabel:0}),ie._19(603979776,29,{_buttons:1}),ie._19(603979776,30,{_icons:1}),ie._0(286,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(288,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(289,16384,[[28,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Gaming"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(292,0,null,3,31,"ion-select",[["cancelText","Dismiss"],["interface","popover"],["okText","Okay"]],[[2,"select-disabled",null],[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"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,293)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,293)._keyup()&&i}if("ngModelChange"===n){i=!1!==(l.gaming=e)&&i}return i},Xn,gu)),ie._0(293,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],{cancelText:[0,"cancelText"],okText:[1,"okText"],interface:[2,"interface"]},null),ie._19(603979776,31,{options:1}),ie._18(1024,null,ul.e,function(t){return[t]},[Jo]),ie._0(296,671744,null,0,ul.h,[[8,null],[8,null],[8,null],[2,ul.e]],{model:[0,"model"]},{update:"ngModelChange"}),ie._18(2048,null,ul.f,null,[ul.h]),ie._0(298,16384,null,0,ul.g,[ul.f],null,null),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(300,0,null,null,2,"ion-option",[["value","nes"]],null,null,null,null,null)),ie._0(301,16384,[[31,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["NES"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(304,0,null,null,2,"ion-option",[["value","n64"]],null,null,null,null,null)),ie._0(305,16384,[[31,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Nintendo64"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(308,0,null,null,2,"ion-option",[["value","ps"]],null,null,null,null,null)),ie._0(309,16384,[[31,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["PlayStation"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(312,0,null,null,2,"ion-option",[["value","genesis"]],null,null,null,null,null)),ie._0(313,16384,[[31,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Sega Genesis"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(316,0,null,null,2,"ion-option",[["value","saturn"]],null,null,null,null,null)),ie._0(317,16384,[[31,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Sega Saturn"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(320,0,null,null,2,"ion-option",[["value","snes"]],null,null,null,null,null)),ie._0(321,16384,[[31,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["SNES"])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(326,0,null,null,114,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(327,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,32,{contentLabel:0}),ie._19(603979776,33,{_buttons:1}),ie._19(603979776,34,{_icons:1}),ie._0(331,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(333,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(334,16384,[[32,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Date"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(337,0,null,3,52,"ion-select",[["interface","popover"]],[[2,"select-disabled",null]],[[null,"ionChange"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,339)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,339)._keyup()&&i}if("ionChange"===n){i=!1!==l.monthChange(e)&&i}return i},Xn,gu)),ie._18(5120,null,ul.e,function(t){return[t]},[Jo]),ie._0(339,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],{interface:[0,"interface"]},{ionChange:"ionChange"}),ie._19(603979776,35,{options:1}),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(342,0,null,null,2,"ion-option",[["value","01"]],null,null,null,null,null)),ie._0(343,16384,[[35,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["January"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(346,0,null,null,2,"ion-option",[["value","02"]],null,null,null,null,null)),ie._0(347,16384,[[35,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["February"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(350,0,null,null,2,"ion-option",[["selected","true"],["value","03"]],null,null,null,null,null)),ie._0(351,16384,[[35,4]],0,Bo,[ie.k],{selected:[0,"selected"],value:[1,"value"]},null),(t()(),ie._21(-1,null,["March"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(354,0,null,null,2,"ion-option",[["value","04"]],null,null,null,null,null)),ie._0(355,16384,[[35,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["April"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(358,0,null,null,2,"ion-option",[["value","05"]],null,null,null,null,null)),ie._0(359,16384,[[35,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["May"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(362,0,null,null,2,"ion-option",[["value","06"]],null,null,null,null,null)),ie._0(363,16384,[[35,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["June"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(366,0,null,null,2,"ion-option",[["value","07"]],null,null,null,null,null)),ie._0(367,16384,[[35,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["July"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(370,0,null,null,2,"ion-option",[["value","08"]],null,null,null,null,null)),ie._0(371,16384,[[35,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["August"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(374,0,null,null,2,"ion-option",[["value","09"]],null,null,null,null,null)),ie._0(375,16384,[[35,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["September"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(378,0,null,null,2,"ion-option",[["value","10"]],null,null,null,null,null)),ie._0(379,16384,[[35,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["October"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(382,0,null,null,2,"ion-option",[["value","11"]],null,null,null,null,null)),ie._0(383,16384,[[35,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["November"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(386,0,null,null,2,"ion-option",[["value","12"]],null,null,null,null,null)),ie._0(387,16384,[[35,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["December"])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(391,0,null,3,48,"ion-select",[["interface","popover"]],[[2,"select-disabled",null]],[[null,"ionChange"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,393)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,393)._keyup()&&i}if("ionChange"===n){i=!1!==l.yearChange(e)&&i}return i},Xn,gu)),ie._18(5120,null,ul.e,function(t){return[t]},[Jo]),ie._0(393,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],{interface:[0,"interface"]},{ionChange:"ionChange"}),ie._19(603979776,36,{options:1}),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(396,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(397,16384,[[36,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1989"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(400,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(401,16384,[[36,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1990"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(404,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(405,16384,[[36,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1991"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(408,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(409,16384,[[36,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1992"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(412,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(413,16384,[[36,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1993"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(416,0,null,null,2,"ion-option",[["selected","true"]],null,null,null,null,null)),ie._0(417,16384,[[36,4]],0,Bo,[ie.k],{selected:[0,"selected"]},null),(t()(),ie._21(-1,null,["1994"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(420,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(421,16384,[[36,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1995"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(424,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(425,16384,[[36,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1996"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(428,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(429,16384,[[36,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1997"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(432,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(433,16384,[[36,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1998"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(436,0,null,null,2,"ion-option",[],null,null,null,null,null)),ie._0(437,16384,[[36,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["1999"])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n  "])),(t()(),ie._21(-1,1,["\n\n  "])),(t()(),ie._2(443,0,null,1,141,"ion-list",[],null,null,null,null,null)),ie._0(444,16384,null,0,Yl,[re,ie.k,ie.B,Ce,ci,ii],null,null),(t()(),ie._21(-1,null,["\n    "])),(t()(),ie._2(446,0,null,null,6,"ion-list-header",[["class","item"]],null,null,null,Mn,au)),ie._0(447,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,37,{contentLabel:0}),ie._19(603979776,38,{_buttons:1}),ie._19(603979776,39,{_icons:1}),ie._0(451,16384,null,0,Xl,[re,ie.B,ie.k,[8,null]],null,null),(t()(),ie._21(-1,2,["Multiple Value Select"])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(454,0,null,null,59,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(455,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,40,{contentLabel:0}),ie._19(603979776,41,{_buttons:1}),ie._19(603979776,42,{_icons:1}),ie._0(459,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(461,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(462,16384,[[40,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Toppings"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(465,0,null,3,47,"ion-select",[["cancelText","Nah"],["multiple","true"],["okText","Okay!"]],[[2,"select-disabled",null],[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"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,466)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,466)._keyup()&&i}if("ngModelChange"===n){i=!1!==(l.toppings=e)&&i}return i},Xn,gu)),ie._0(466,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],{cancelText:[0,"cancelText"],okText:[1,"okText"],multiple:[2,"multiple"]},null),ie._19(603979776,43,{options:1}),ie._18(1024,null,ul.e,function(t){return[t]},[Jo]),ie._0(469,671744,null,0,ul.h,[[8,null],[8,null],[8,null],[2,ul.e]],{model:[0,"model"]},{update:"ngModelChange"}),ie._18(2048,null,ul.f,null,[ul.h]),ie._0(471,16384,null,0,ul.g,[ul.f],null,null),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(473,0,null,null,2,"ion-option",[["value","bacon"]],null,null,null,null,null)),ie._0(474,16384,[[43,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Bacon"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(477,0,null,null,2,"ion-option",[["value","olives"]],null,null,null,null,null)),ie._0(478,16384,[[43,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Black Olives"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(481,0,null,null,2,"ion-option",[["value","xcheese"]],null,null,null,null,null)),ie._0(482,16384,[[43,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Extra Cheese"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(485,0,null,null,2,"ion-option",[["value","peppers"]],null,null,null,null,null)),ie._0(486,16384,[[43,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Green Peppers"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(489,0,null,null,2,"ion-option",[["value","mushrooms"]],null,null,null,null,null)),ie._0(490,16384,[[43,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Mushrooms"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(493,0,null,null,2,"ion-option",[["value","onions"]],null,null,null,null,null)),ie._0(494,16384,[[43,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Onions"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(497,0,null,null,2,"ion-option",[["value","pepperoni"]],null,null,null,null,null)),ie._0(498,16384,[[43,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Pepperoni"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(501,0,null,null,2,"ion-option",[["value","pineapple"]],null,null,null,null,null)),ie._0(502,16384,[[43,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Pineapple"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(505,0,null,null,2,"ion-option",[["value","sausage"]],null,null,null,null,null)),ie._0(506,16384,[[43,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Sausage"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(509,0,null,null,2,"ion-option",[["value","Spinach"]],null,null,null,null,null)),ie._0(510,16384,[[43,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Spinach"])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(515,0,null,null,22,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(516,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,44,{contentLabel:0}),ie._19(603979776,45,{_buttons:1}),ie._19(603979776,46,{_icons:1}),ie._0(520,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(522,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(523,16384,[[44,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Pets"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(526,0,null,3,10,"ion-select",[["multiple","true"]],[[2,"select-disabled",null],[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"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,527)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,527)._keyup()&&i}if("ngModelChange"===n){i=!1!==(l.pets=e)&&i}return i},Xn,gu)),ie._0(527,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],{selectOptions:[0,"selectOptions"],multiple:[1,"multiple"]},null),ie._19(603979776,47,{options:1}),ie._18(1024,null,ul.e,function(t){return[t]},[Jo]),ie._0(530,671744,null,0,ul.h,[[8,null],[8,null],[8,null],[2,ul.e]],{model:[0,"model"]},{update:"ngModelChange"}),ie._18(2048,null,ul.f,null,[ul.h]),ie._0(532,16384,null,0,ul.g,[ul.f],null,null),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie.W(16777216,null,null,1,null,Zn)),ie._0(535,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(539,0,null,null,22,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(540,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,48,{contentLabel:0}),ie._19(603979776,49,{_buttons:1}),ie._19(603979776,50,{_icons:1}),ie._0(544,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(546,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(547,16384,[[48,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Skittles"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(550,0,null,3,10,"ion-select",[["cancelText","Dismiss"],["multiple","true"],["okText","Okay"]],[[2,"select-disabled",null],[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"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,551)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,551)._keyup()&&i}if("ngModelChange"===n){i=!1!==(l.skittles=e)&&i}return i},Xn,gu)),ie._0(551,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],{cancelText:[0,"cancelText"],okText:[1,"okText"],compareWith:[2,"compareWith"],multiple:[3,"multiple"]},null),ie._19(603979776,51,{options:1}),ie._18(1024,null,ul.e,function(t){return[t]},[Jo]),ie._0(554,671744,null,0,ul.h,[[8,null],[8,null],[8,null],[2,ul.e]],{model:[0,"model"]},{update:"ngModelChange"}),ie._18(2048,null,ul.f,null,[ul.h]),ie._0(556,16384,null,0,ul.g,[ul.f],null,null),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie.W(16777216,null,null,1,null,Kn)),ie._0(559,802816,null,0,js.h,[ie.K,ie.H,ie.r],{ngForOf:[0,"ngForOf"]},null),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(563,0,null,null,20,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(564,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,52,{contentLabel:0}),ie._19(603979776,53,{_buttons:1}),ie._19(603979776,54,{_icons:1}),ie._0(568,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(570,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(571,16384,[[52,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Disabled"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(574,0,null,3,8,"ion-select",[["disabled","true"],["multiple",""]],[[2,"select-disabled",null]],[[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0;if("click"===n){i=!1!==ie._16(t,576)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,576)._keyup()&&i}return i},Xn,gu)),ie._18(5120,null,ul.e,function(t){return[t]},[Jo]),ie._0(576,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],{disabled:[0,"disabled"],multiple:[1,"multiple"]},null),ie._19(603979776,55,{options:1}),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(579,0,null,null,2,"ion-option",[["checked","true"]],null,null,null,null,null)),ie._0(580,16384,[[55,4]],0,Bo,[ie.k],null,null),(t()(),ie._21(-1,null,["Selected Text"])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n  "])),(t()(),ie._21(-1,1,["\n\n  "])),(t()(),ie._2(586,0,null,1,88,"ion-list",[],null,null,null,null,null)),ie._0(587,16384,null,0,Yl,[re,ie.k,ie.B,Ce,ci,ii],null,null),(t()(),ie._21(-1,null,["\n    "])),(t()(),ie._2(589,0,null,null,6,"ion-list-header",[["class","item"]],null,null,null,Mn,au)),ie._0(590,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,56,{contentLabel:0}),ie._19(603979776,57,{_buttons:1}),ie._19(603979776,58,{_icons:1}),ie._0(594,16384,null,0,Xl,[re,ie.B,ie.k,[8,null]],null,null),(t()(),ie._21(-1,2,["Action Sheet Interface Select"])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(597,0,null,null,35,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(598,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,59,{contentLabel:0}),ie._19(603979776,60,{_buttons:1}),ie._19(603979776,61,{_icons:1}),ie._0(602,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(604,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(605,16384,[[59,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Mute Notifications"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(608,0,null,3,23,"ion-select",[["interface","action-sheet"]],[[2,"select-disabled",null],[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"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,609)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,609)._keyup()&&i}if("ngModelChange"===n){i=!1!==(l.notifications=e)&&i}return i},Xn,gu)),ie._0(609,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],{interface:[0,"interface"]},null),ie._19(603979776,62,{options:1}),ie._18(1024,null,ul.e,function(t){return[t]},[Jo]),ie._0(612,671744,null,0,ul.h,[[8,null],[8,null],[8,null],[2,ul.e]],{model:[0,"model"]},{update:"ngModelChange"}),ie._18(2048,null,ul.f,null,[ul.h]),ie._0(614,16384,null,0,ul.g,[ul.f],null,null),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(616,0,null,null,2,"ion-option",[["value","mute_15"]],null,null,null,null,null)),ie._0(617,16384,[[62,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["For 15 Minutes"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(620,0,null,null,2,"ion-option",[["value","mute_1"]],null,null,null,null,null)),ie._0(621,16384,[[62,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["For 1 Hour"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(624,0,null,null,2,"ion-option",[["value","mute_23"]],null,null,null,null,null)),ie._0(625,16384,[[62,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["For 24 Hours"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(628,0,null,null,2,"ion-option",[["value","mute_inf"]],null,null,null,null,null)),ie._0(629,16384,[[62,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["Until I turn it back on"])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n    "])),(t()(),ie._2(634,0,null,null,39,"ion-item",[["class","item item-block"]],null,null,null,Mn,au)),ie._0(635,1097728,null,3,Bl,[al,re,ie.k,ie.B,[2,Il]],null,null),ie._19(335544320,63,{contentLabel:0}),ie._19(603979776,64,{_buttons:1}),ie._19(603979776,65,{_icons:1}),ie._0(639,16384,null,0,Hl,[],null,null),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(641,0,null,1,2,"ion-label",[],null,null,null,null,null)),ie._0(642,16384,[[63,4]],0,dl,[re,ie.k,ie.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),ie._21(-1,null,["Rating"])),(t()(),ie._21(-1,2,["\n      "])),(t()(),ie._2(645,0,null,3,27,"ion-select",[["interface","action-sheet"]],[[2,"select-disabled",null],[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"],[null,"click"],[null,"keyup.space"]],function(t,n,e){var i=!0,l=t.component;if("click"===n){i=!1!==ie._16(t,646)._click(e)&&i}if("keyup.space"===n){i=!1!==ie._16(t,646)._keyup()&&i}if("ngModelChange"===n){i=!1!==(l.rating=e)&&i}return i},Xn,gu)),ie._0(646,1228800,null,1,Jo,[He,al,re,ie.k,ie.B,[2,Bl],ni],{interface:[0,"interface"]},null),ie._19(603979776,66,{options:1}),ie._18(1024,null,ul.e,function(t){return[t]},[Jo]),ie._0(649,671744,null,0,ul.h,[[8,null],[8,null],[8,null],[2,ul.e]],{model:[0,"model"]},{update:"ngModelChange"}),ie._18(2048,null,ul.f,null,[ul.h]),ie._0(651,16384,null,0,ul.g,[ul.f],null,null),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(653,0,null,null,2,"ion-option",[["value","1"]],null,null,null,null,null)),ie._0(654,16384,[[66,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["1 Star"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(657,0,null,null,2,"ion-option",[["value","2"]],null,null,null,null,null)),ie._0(658,16384,[[66,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["2 Stars"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(661,0,null,null,2,"ion-option",[["value","3"]],null,null,null,null,null)),ie._0(662,16384,[[66,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["3 Stars"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(665,0,null,null,2,"ion-option",[["value","4"]],null,null,null,null,null)),ie._0(666,16384,[[66,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["4 Stars"])),(t()(),ie._21(-1,null,["\n        "])),(t()(),ie._2(669,0,null,null,2,"ion-option",[["value","5"]],null,null,null,null,null)),ie._0(670,16384,[[66,4]],0,Bo,[ie.k],{value:[0,"value"]},null),(t()(),ie._21(-1,null,["5 Stars"])),(t()(),ie._21(-1,null,["\n      "])),(t()(),ie._21(-1,2,["\n    "])),(t()(),ie._21(-1,null,["\n\n  "])),(t()(),ie._21(-1,1,["\n\n"])),(t()(),ie._21(-1,null,["\n"]))],function(t,n){var e=n.component;t(n,41,0,e.gender);t(n,46,0,"f");t(n,50,0,"m");t(n,67,0,"Dismiss","Okay",e.compareFn);t(n,70,0,e.hairColor);t(n,75,0,e.hairColorData);t(n,91,0,"Dismiss","Okay");t(n,94,0,e.gaming);t(n,99,0,"nes");t(n,103,0,"n64");t(n,107,0,"ps");t(n,111,0,"genesis");t(n,115,0,"saturn");t(n,119,0,"snes");t(n,141,0,"01");t(n,145,0,"02");t(n,149,0,"true","03");t(n,153,0,"04");t(n,157,0,"05");t(n,161,0,"06");t(n,165,0,"07");t(n,169,0,"08");t(n,173,0,"09");t(n,177,0,"10");t(n,181,0,"11");t(n,185,0,"12");t(n,215,0,"true");t(n,264,0,"popover");t(n,267,0,e.gender);t(n,272,0,"f");t(n,276,0,"m");t(n,293,0,"Dismiss","Okay","popover");t(n,296,0,e.gaming);t(n,301,0,"nes");t(n,305,0,"n64");t(n,309,0,"ps");t(n,313,0,"genesis");t(n,317,0,"saturn");t(n,321,0,"snes");t(n,339,0,"popover");t(n,343,0,"01");t(n,347,0,"02");t(n,351,0,"true","03");t(n,355,0,"04");t(n,359,0,"05");t(n,363,0,"06");t(n,367,0,"07");t(n,371,0,"08");t(n,375,0,"09");t(n,379,0,"10");t(n,383,0,"11");t(n,387,0,"12");t(n,393,0,"popover");t(n,417,0,"true");t(n,466,0,"Nah","Okay!","true");t(n,469,0,e.toppings);t(n,474,0,"bacon");t(n,478,0,"olives");t(n,482,0,"xcheese");t(n,486,0,"peppers");t(n,490,0,"mushrooms");t(n,494,0,"onions");t(n,498,0,"pepperoni");t(n,502,0,"pineapple");t(n,506,0,"sausage");t(n,510,0,"Spinach");t(n,527,0,e.petAlertOpts,"true");t(n,530,0,e.pets);t(n,535,0,e.petData);t(n,551,0,"Dismiss","Okay",e.compareFn,"true");t(n,554,0,e.skittles);t(n,559,0,e.skittlesData);t(n,576,0,"true","");t(n,609,0,"action-sheet");t(n,612,0,e.notifications);t(n,617,0,"mute_15");t(n,621,0,"mute_1");t(n,625,0,"mute_23");t(n,629,0,"mute_inf");t(n,646,0,"action-sheet");t(n,649,0,e.rating);t(n,654,0,"1");t(n,658,0,"2");t(n,662,0,"3");t(n,666,0,"4");t(n,670,0,"5")},function(t,n){t(n,3,0,ie._16(n,4)._hidden,ie._16(n,4)._sbPadding);t(n,12,0,ie._16(n,13).statusbarPadding,ie._16(n,13)._hasRefresher);t(n,37,0,ie._16(n,38)._disabled,ie._16(n,43).ngClassUntouched,ie._16(n,43).ngClassTouched,ie._16(n,43).ngClassPristine,ie._16(n,43).ngClassDirty,ie._16(n,43).ngClassValid,ie._16(n,43).ngClassInvalid,ie._16(n,43).ngClassPending);t(n,66,0,ie._16(n,67)._disabled,ie._16(n,72).ngClassUntouched,ie._16(n,72).ngClassTouched,ie._16(n,72).ngClassPristine,ie._16(n,72).ngClassDirty,ie._16(n,72).ngClassValid,ie._16(n,72).ngClassInvalid,ie._16(n,72).ngClassPending);t(n,90,0,ie._16(n,91)._disabled,ie._16(n,96).ngClassUntouched,ie._16(n,96).ngClassTouched,ie._16(n,96).ngClassPristine,ie._16(n,96).ngClassDirty,ie._16(n,96).ngClassValid,ie._16(n,96).ngClassInvalid,ie._16(n,96).ngClassPending);t(n,135,0,ie._16(n,137)._disabled);t(n,189,0,ie._16(n,191)._disabled);t(n,263,0,ie._16(n,264)._disabled,ie._16(n,269).ngClassUntouched,ie._16(n,269).ngClassTouched,ie._16(n,269).ngClassPristine,ie._16(n,269).ngClassDirty,ie._16(n,269).ngClassValid,ie._16(n,269).ngClassInvalid,ie._16(n,269).ngClassPending);t(n,292,0,ie._16(n,293)._disabled,ie._16(n,298).ngClassUntouched,ie._16(n,298).ngClassTouched,ie._16(n,298).ngClassPristine,ie._16(n,298).ngClassDirty,ie._16(n,298).ngClassValid,ie._16(n,298).ngClassInvalid,ie._16(n,298).ngClassPending);t(n,337,0,ie._16(n,339)._disabled);t(n,391,0,ie._16(n,393)._disabled);t(n,465,0,ie._16(n,466)._disabled,ie._16(n,471).ngClassUntouched,ie._16(n,471).ngClassTouched,ie._16(n,471).ngClassPristine,ie._16(n,471).ngClassDirty,ie._16(n,471).ngClassValid,ie._16(n,471).ngClassInvalid,ie._16(n,471).ngClassPending);t(n,526,0,ie._16(n,527)._disabled,ie._16(n,532).ngClassUntouched,ie._16(n,532).ngClassTouched,ie._16(n,532).ngClassPristine,ie._16(n,532).ngClassDirty,ie._16(n,532).ngClassValid,ie._16(n,532).ngClassInvalid,ie._16(n,532).ngClassPending);t(n,550,0,ie._16(n,551)._disabled,ie._16(n,556).ngClassUntouched,ie._16(n,556).ngClassTouched,ie._16(n,556).ngClassPristine,ie._16(n,556).ngClassDirty,ie._16(n,556).ngClassValid,ie._16(n,556).ngClassInvalid,ie._16(n,556).ngClassPending);t(n,574,0,ie._16(n,576)._disabled);t(n,608,0,ie._16(n,609)._disabled,ie._16(n,614).ngClassUntouched,ie._16(n,614).ngClassTouched,ie._16(n,614).ngClassPristine,ie._16(n,614).ngClassDirty,ie._16(n,614).ngClassValid,ie._16(n,614).ngClassInvalid,ie._16(n,614).ngClassPending);t(n,645,0,ie._16(n,646)._disabled,ie._16(n,651).ngClassUntouched,ie._16(n,651).ngClassTouched,ie._16(n,651).ngClassPristine,ie._16(n,651).ngClassDirty,ie._16(n,651).ngClassValid,ie._16(n,651).ngClassInvalid,ie._16(n,651).ngClassPending)})}function Qn(t){return ie._22(0,[ie._19(402653184,1,{_vp:0}),(t()(),ie._2(1,16777216,[[1,3],["viewport",1]],null,0,"div",[["nav-viewport",""]],null,null,null,null,null)),(t()(),ie._2(2,0,null,null,0,"div",[["class","nav-decor"]],null,null,null,null,null))],null,null)}function te(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,2,"ion-nav",[],null,null,null,Qn,wu)),ie._18(6144,null,so,null,[uo]),ie._0(2,4374528,null,0,uo,[[2,ae],[2,di],He,re,Ce,ie.k,ie.w,ie.B,ie.j,ci,Ii,[2,ni],ii,ie.l],{root:[0,"root"]},null)],function(t,n){t(n,2,0,n.component.root)},null)}Object.defineProperty(n,"__esModule",{value:!0});var ne,ee=e(5),ie=e(1),le=e(0),oe=!0,re=function(){function t(){this._c={},this._s={},this._modes={},this._trns={}}return t.prototype.init=function(t,n){this._s=t&&d(t)&&!_(t)?t:{},this.plt=n},t.prototype.get=function(t,n){void 0===n&&(n=null);var e=this.plt;if(!a(this._c[t])){if(!a(t))throw"config key is not defined";var i=void 0,l=this._s[t],o=void 0,r=void 0,s=void 0,c=void 0,h=null;if(e){var p=e.getQueryParam("ionic"+t);if(a(p))return this._c[t]="true"===p||"false"!==p&&p;for(var d=e.platforms(),_=0,f=d.length;_<f;_++)this._s.platforms&&(h=this._s.platforms[d[_]])&&(a(h[t])&&(i=h[t]),(h=this.getModeConfig(h.mode))&&a(h[t])&&(o=h[t])),(h=e.getPlatformConfig(d[_]))&&h.settings&&(a(h.settings[t])&&(s=h.settings[t]),(h=this.getModeConfig(h.settings.mode))&&a(h[t])&&(c=h[t]))}(h=this.getModeConfig(this._s.mode))&&a(h[t])&&(r=h[t]),this._c[t]=a(i)?i:a(l)?l:a(o)?o:a(r)?r:a(s)?s:a(c)?c:null}var v=this._c[t];return u(v)&&(v=v(e)),null!==v?v:n},t.prototype.getBoolean=function(t,n){void 0===n&&(n=!1);var e=this.get(t);return null===e?n:"string"==typeof e?"true"===e:!!e},t.prototype.getNumber=function(t,n){void 0===n&&(n=NaN);var e=parseFloat(this.get(t));return isNaN(e)?n:e},t.prototype.set=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=t[0],i=t[1];switch(t.length){case 2:this._s[e]=i,delete this._c[e];break;case 3:this._s.platforms=this._s.platforms||{},this._s.platforms[e]=this._s.platforms[e]||{},this._s.platforms[e][i]=t[2],delete this._c[i]}return this},t.prototype.settings=function(t,n){switch(arguments.length){case 0:return this._s;case 1:this._s=t,this._c={};break;case 2:this._s.platforms=this._s.platforms||{},this._s.platforms[t]=n,this._c={}}return this},t.prototype.setModeConfig=function(t,n){this._modes[t]=n},t.prototype.getModeConfig=function(t){return this._modes[t]||null},t.prototype.setTransition=function(t,n){this._trns[t]=n},t.prototype.getTransition=function(t){return this._trns[t]||null},t}(),se=new ie.p("USERCONFIG"),ue=function(){function t(t){void 0===t&&(t={}),this.data=t}return t.prototype.get=function(t){return this.data[t]},t}(),ae=function(){function t(t,n,e){void 0===e&&(e=ce),this.component=t,this._isHidden=!1,this._state=pe,this.willEnter=new ie.m,this.didEnter=new ie.m,this.willLeave=new ie.m,this.didLeave=new ie.m,this.willUnload=new ie.m,this.readReady=new ie.m,this.writeReady=new ie.m,this.isOverlay=!1,this._emitter=new ie.m,this.data=n instanceof ue?n.data:h(n)?n:{},this._cssClass=e,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){b(t,"componentRef can not be null"),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,n,e){if(void 0===e&&(e={}),!this._nav)return b(this._state===fe,"ViewController does not have a valid _nav"),Promise.resolve(!1);this.isOverlay&&!e.minClickBlockDuration&&(e.minClickBlockDuration=400),this._dismissData=t,this._dismissRole=n;var i=Object.assign({},this._leavingOpts,e);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 ue(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,n){if(this._cmp&&t===this._isHidden){this._isHidden=!t;var e=t?null:"";n.setElementAttribute(this.pageRef().nativeElement,"hidden",e)}},t.prototype.getZIndex=function(){return this._zIndex},t.prototype._setZIndex=function(t,n){if(t!==this._zIndex){this._zIndex=t;var e=this.pageRef();e&&n.setElementStyle(e.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(){b(this._state===de,"view state must be INITIALIZED"),this._lifecycle("PreLoad")},t.prototype._willLoad=function(){b(this._state===de,"view state must be INITIALIZED"),this._lifecycle("WillLoad")},t.prototype._didLoad=function(){b(this._state===_e,"view state must be ATTACHED"),this._lifecycle("DidLoad")},t.prototype._willEnter=function(){this.handleOrientationChange(),b(this._state===_e,"view state must be ATTACHED"),this._detached&&this._cmp&&(this._cmp.changeDetectorRef.reattach(),this._detached=!1),this.willEnter.emit(null),this._lifecycle("WillEnter")},t.prototype._didEnter=function(){b(this._state===_e,"view state must be ATTACHED"),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(b(this._state!==fe,"view state must be ATTACHED"),this._cmp){if(t){var n=this._cmp.location.nativeElement;t.setElementAttribute(n,"class",null),t.setElementAttribute(n,"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=fe},t.prototype._lifecycleTest=function(t){var n=this.instance,e="ionViewCan"+t;if(n&&n[e])try{var i=n[e]();return i instanceof Promise?i:Promise.resolve(!1!==i)}catch(t){return Promise.reject(this.name+" "+e+" error: "+t.message)}return Promise.resolve(!0)},t.prototype._lifecycle=function(t){var n=this.instance,e="ionView"+t;n&&n[e]&&n[e]()},t}(),ce="ion-page",he=9999,pe=1,de=2,_e=3,fe=4,ve=100,me="back",ge="forward",ye=function(){function t(){this._menus=[]}return t.prototype.open=function(t){var n=this.get(t);if(n&&!this.isAnimating()){var e=this.getOpen();return e&&n!==e&&e.setOpen(!1,!1),n.open()}return Promise.resolve(!1)},t.prototype.close=function(t){var n;return(n=t?this.get(t):this.getOpen())?n.close():Promise.resolve(!1)},t.prototype.toggle=function(t){var n=this.get(t);if(n&&!this.isAnimating()){var e=this.getOpen();return e&&n!==e&&e.setOpen(!1,!1),n.toggle()}return Promise.resolve(!1)},t.prototype.enable=function(t,n){var e=this.get(n);if(e)return e.enable(t)},t.prototype.swipeEnable=function(t,n){var e=this.get(n);if(e)return e.swipeEnable(t)},t.prototype.isOpen=function(t){if(t){var n=this.get(t);return n&&n.isOpen||!1}return!!this.getOpen()},t.prototype.isEnabled=function(t){var n=this.get(t);return n&&n.enabled||!1},t.prototype.get=function(t){return"left"===t||"right"===t?this._menus.find(function(n){return n.side===t&&n.enabled})||this._menus.find(function(n){return n.side===t})||null:t?this._menus.find(function(n){return n.id===t})||null:this._menus.find(function(t){return t.enabled})||(this._menus.length?this._menus[0]:null)},t.prototype.getOpen=function(){return this._menus.find(function(t){return t.isOpen})},t.prototype.getMenus=function(){return this._menus},t.prototype.isAnimating=function(){return this._menus.some(function(t){return t.isAnimating()})},t.prototype._register=function(t){b(this._menus.indexOf(t)<0,"menu was already registered"),this._menus.push(t)},t.prototype._unregister=function(t){b(this._menus.indexOf(t)>=0,"menu is not registered"),m(this._menus,t)},t.prototype._setActiveMenu=function(t){b(t.enabled,"menu must be enabled"),b(this._menus.indexOf(t)>=0,"menu is not registered");var n=t.side;this._menus.filter(function(e){return e.side===n&&e!==t}).map(function(t){return t.enable(!1)})},t.registerType=function(t,n){be[t]=n},t.create=function(t,n,e){return new be[t](n,e)},t}(),be={},we=/^(radio|checkbox|range|file|submit|reset|color|image|button)$/i,ke=function(){function t(){this.data={}}return t.prototype.parseUrl=function(t){if(t){var n=t.indexOf("?");if(n>-1)for(var e=t.slice(n+1).split("&"),i=0;i<e.length;i++)if(e[i].indexOf("=")>0){var l=e[i].split("=");l.length>1&&(this.data[l[0].toLowerCase()]=l[1].split("#")[0])}}},t.prototype.get=function(t){return this.data[t.toLowerCase()]},t}(),Ce=function(){function t(){var t=this;this._versions={},this._qp=new ke,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 ie.m,this.pause=new ie.m,this.resume=new ie.m,this.resize=new ie.m,this._readyPromise=new Promise(function(n){t._readyResolve=n}),this.backButton.subscribe(function(){console.debug("hardware back button"),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=function(t){var n,e={},i=["webkitTransform","-webkit-transform","webkit-transform","transform"];for(n=0;n<i.length;n++)if(void 0!==t.style[i[n]]){e.transform=i[n];break}for(i=["webkitTransition","transition"],n=0;n<i.length;n++)if(void 0!==t.style[i[n]]){e.transition=i[n];break}var l=e.transition.indexOf("webkit")>-1;return e.transitionDuration=(l?"-webkit-":"")+"transition-duration",e.transitionTimingFn=(l?"-webkit-":"")+"transition-timing-function",e.transitionDelay=(l?"-webkit-":"")+"transition-delay",e.transitionEnd=(l?"webkitTransitionEnd ":"")+"transitionend",e.transformOrigin=(l?"-webkit-":"")+"transform-origin",e.animationDelay=l?"webkitAnimationDelay":"animationDelay",e}(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 n=this;this.zone.run(function(){n._readyResolve(t)})},t.prototype.prepareReady=function(){function t(){n._doc.removeEventListener("DOMContentLoaded",t,!1),n._win.removeEventListener("load",t,!1),n.triggerReady("dom")}var n=this;"complete"===n._doc.readyState||"interactive"===n._doc.readyState?n.triggerReady("dom"):(n._doc.addEventListener("DOMContentLoaded",t,!1),n._win.addEventListener("load",t,!1))},t.prototype.setDir=function(t,n){this._dir=t,this.isRTL="rtl"===t,!1!==n&&this._doc.documentElement.setAttribute("dir",t)},t.prototype.dir=function(){return this._dir},t.prototype.setLang=function(t,n){this._lang=t,!1!==n&&this._doc.documentElement.setAttribute("lang",t)},t.prototype.lang=function(){return this._lang},t.prototype.exitApp=function(){},t.prototype.registerBackButtonAction=function(t,n){var e=this;void 0===n&&(n=0);var i={fn:t,priority:n};return this._bbActions.push(i),function(){m(e._bbActions,i)}},t.prototype.runBackButtonAction=function(){var t=null;this._bbActions.forEach(function(n){(!t||n.priority>=t.priority)&&(t=n)}),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,n){return this._win.getComputedStyle(t,n)},t.prototype.getElementFromPoint=function(t,n){return this._doc.elementFromPoint(t,n)},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.innerWidth<this._win.innerHeight){var t=this._win,n=t.innerWidth,e=t.innerHeight;t.screen.width>0&&t.screen.height>0&&(n<e?(this._pW<=n&&(console.debug("setting _isPortrait to true"),this._isPortrait=!0,this._pW=n),this._pH<=e&&(console.debug("setting _isPortrait to true"),this._isPortrait=!0,this._pH=e)):(this._lW!==n&&(console.debug("setting _isPortrait to false"),this._isPortrait=!1,this._lW=n),this._lH!==e&&(console.debug("setting _isPortrait to false"),this._isPortrait=!1,this._lH=e)))}},t.prototype.raf=function(t){return this._win.__zone_symbol__requestAnimationFrame(t)},t.prototype.cancelRaf=function(t){return this._win.__zone_symbol__cancelAnimationFrame(t)},t.prototype.timeout=function(t,n){return this._win.__zone_symbol__setTimeout(t,n)},t.prototype.cancelTimeout=function(t){this._win.__zone_symbol__clearTimeout(t)},t.prototype.registerListener=function(t,n,e,i,l){var o,r=this._uiEvtOpts?{capture:!!i.capture,passive:!!i.passive}:!!i.capture;return!i.zone&&t.__zone_symbol__addEventListener?(t.__zone_symbol__addEventListener(n,e,r),o=function(){t.__zone_symbol__removeEventListener(n,e,r)}):(t.addEventListener(n,e,r),o=function(){t.removeEventListener(n,e,r)}),l&&l.push(o),o},t.prototype.transitionEnd=function(t,n,e){function i(){o.forEach(function(t){t()})}function l(e){t===e.target&&(i(),n(e))}void 0===e&&(e=!0);var o=[];return t&&(this.registerListener(t,"webkitTransitionEnd",l,{zone:e},o),this.registerListener(t,"transitionend",l,{zone:e},o)),i},t.prototype.windowLoad=function(t){var n,e=this._win,i=this._doc;"complete"===i.readyState?t(e,i):n=this.registerListener(e,"load",function(){n&&n(),t(e,i)},{zone:!1})},t.prototype.isActiveElement=function(t){return!(!t||this.getActiveElement()!==t)},t.prototype.getActiveElement=function(){return this._doc.activeElement},t.prototype.hasFocus=function(t){return!(!t||this.getActiveElement()!==t||t.parentElement.querySelector(":focus")!==t)},t.prototype.hasFocusedTextInput=function(){var t=this.getActiveElement();return!!D(t)&&t.parentElement.querySelector(":focus")===t},t.prototype.focusOutActiveElement=function(){var t=this.getActiveElement();t&&t.blur&&t.blur()},t.prototype._initEvents=function(){var t=this;try{var n=Object.defineProperty({},"passive",{get:function(){t._uiEvtOpts=!0}});this._win.addEventListener("optsTest",null,n)}catch(t){}this.timeout(function(){var n;t.registerListener(t._win,"resize",function(){clearTimeout(n),n=setTimeout(function(){!1===t.hasFocusedTextInput()&&(t._isPortrait=null),t.zone.run(function(){return t.resize.emit()})},200)},{passive:!0,zone:!1})},2e3)},t.prototype.setPlatformConfigs=function(t){this._registry=t||{}},t.prototype.getPlatformConfig=function(t){return this._registry[t]||{}},t.prototype.registry=function(){return this._registry},t.prototype.setDefault=function(t){this._default=t},t.prototype.testQuery=function(t,n){return t.toLowerCase().split(";").indexOf(n)>-1},t.prototype.testNavigatorPlatform=function(t){return new RegExp(t,"i").test(this._nPlt)},t.prototype.matchUserAgentVersion=function(t){if(this._ua&&t){var n=this._ua.match(t);if(n)return{major:n[1],minor:n[2]}}},t.prototype.testUserAgent=function(t){return!!this._ua&&this._ua.indexOf(t)>=0},t.prototype.isPlatformMatch=function(t,n,e){void 0===e&&(e=[]);var i=this._qp.get("ionicplatform");if(i)return this.testQuery(i,t);n=n||[t];for(var l=this._ua.toLowerCase(),o=0;o<n.length;o++)if(l.indexOf(n[o])>-1){for(var r=0;r<e.length;r++)if(l.indexOf(e[r])>-1)return!1;return!0}return!1},t.prototype.init=function(){this._initEvents();var t,n,e;for(var i in this._registry)(e=this.matchPlatform(i))&&(e.isEngine?n=e:(!t||e.depth>t.depth)&&(t=e));if(t||(t=new Te(this._registry,this._default)),t){n&&(n.child=t,t.parent=n,t=n);for(var l=t;l;)!function(t,n){var e=n.superset();if(e){var i=new Te(t,e);i.parent=n.parent,i.child=n,i.parent&&(i.parent.child=i),n.parent=i}}(this._registry,l),l=l.child;for(l=t.parent;l;)t=l,l=l.parent;for(l=t;l;){if(l.initialize(this),"iphone"===l.name&&"iPad"===this.navigatorPlatform())return this._platforms.push("tablet"),void this._platforms.push("ipad");this._platforms.push(l.name),this._versions[l.name]=l.version(this),l=l.child}}this._platforms.indexOf("mobile")>-1&&-1===this._platforms.indexOf("cordova")&&this._platforms.push("mobileweb")},t.prototype.matchPlatform=function(t){var n=new Te(this._registry,t).getRoot(this);if(n){n.depth=0;for(var e=n.child;e;)n.depth++,e=e.child}return n},t}(),Te=function(){function t(t,n){this.registry=t,this.c=t[n],this.name=n,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 n=this.c.versionParser(t);if(n){var e=n.major+"."+n.minor;return{str:e,num:parseFloat(e),major:parseInt(n.major,10),minor:parseInt(n.minor,10)}}}},t.prototype.getRoot=function(n){if(this.isMatch(n)){var e=this.getSubsetParents(this.name);if(!e.length)return this;for(var i=null,l=null,o=0;o<e.length;o++)if(i=new t(this.registry,e[o]),i.child=this,l=i.getRoot(n))return this.parent=i,l}return null},t.prototype.getSubsetParents=function(t){var n=[],e=null;for(var i in this.registry)(e=this.registry[i]).subsets&&e.subsets.indexOf(t)>-1&&n.push(i);return n},t}(),Ee=function(){function t(t,n,e){this._dur=null,this._es=null,this._rvEs=null,this.hasChildren=!1,this.isPlaying=!1,this.hasCompleted=!1,this.plt=t,this.element(n),this.opts=e}return t.prototype.element=function(t){if(t)if("string"==typeof t){t=this.plt.doc().querySelectorAll(t);for(n=0;n<t.length;n++)this._addEle(t[n])}else if(t.length)for(var n=0;n<t.length;n++)this._addEle(t[n]);else this._addEle(t);return this},t.prototype._addEle=function(t){t.nativeElement&&(t=t.nativeElement),1===t.nodeType&&(this._eL=(this._e=this._e||[]).push(t))},t.prototype.add=function(t){return t.parent=this,this.hasChildren=!0,this._cL=(this._c=this._c||[]).push(t),this},t.prototype.getDuration=function(t){return t&&a(t.duration)?t.duration:null!==this._dur?this._dur:this.parent?this.parent.getDuration():0},t.prototype.isRoot=function(){return!this.parent},t.prototype.duration=function(t){return this._dur=t,this},t.prototype.getEasing=function(){return this._rv&&this._rvEs?this._rvEs:null!==this._es?this._es:this.parent&&this.parent.getEasing()||null},t.prototype.easing=function(t){return this._es=t,this},t.prototype.easingReverse=function(t){return this._rvEs=t,this},t.prototype.from=function(t,n){return this._addProp("from",t,n),this},t.prototype.to=function(t,n,e){var i=this._addProp("to",t,n);return e&&this.afterClearStyles([i.trans?this.plt.Css.transform:t]),this},t.prototype.fromTo=function(t,n,e,i){return this.from(t,n).to(t,e,i)},t.prototype._getProp=function(t){return this._fx?this._fx.find(function(n){return n.name===t}):(this._fx=[],null)},t.prototype._addProp=function(t,n,e){var i=this._getProp(n);if(!i){var l=1===Se[n];this._fx.push(i={name:n,trans:l,wc:l?this.plt.Css.transform:n})}var o={val:e,num:null,unit:""};if(i[t]=o,"string"==typeof e&&e.indexOf(" ")<0){var r=e.match(xe),s=parseFloat(r[1]);isNaN(s)||(o.num=s),o.unit=r[0]!==r[2]?r[2]:""}else"number"==typeof e&&(o.num=e);return i},t.prototype.beforeAddClass=function(t){return(this._bfAdd=this._bfAdd||[]).push(t),this},t.prototype.beforeRemoveClass=function(t){return(this._bfRm=this._bfRm||[]).push(t),this},t.prototype.beforeStyles=function(t){return this._bfSty=t,this},t.prototype.beforeClearStyles=function(t){this._bfSty=this._bfSty||{};for(var n=0;n<t.length;n++)this._bfSty[t[n]]="";return this},t.prototype.beforeAddRead=function(t){return(this._rdFn=this._rdFn||[]).push(t),this},t.prototype.beforeAddWrite=function(t){return(this._wrFn=this._wrFn||[]).push(t),this},t.prototype.afterAddClass=function(t){return(this._afAdd=this._afAdd||[]).push(t),this},t.prototype.afterRemoveClass=function(t){return(this._afRm=this._afRm||[]).push(t),this},t.prototype.afterStyles=function(t){return this._afSty=t,this},t.prototype.afterClearStyles=function(t){this._afSty=this._afSty||{};for(var n=0;n<t.length;n++)this._afSty[t[n]]="";return this},t.prototype.play=function(t){var n=this;this.plt&&(this._isAsync=this._hasDuration(t),this._clearAsync(),this._playInit(t),this.plt.raf(function(){n.plt.raf(n._playDomInspect.bind(n,t))}))},t.prototype.syncPlay=function(){if(this.plt){var t={duration:0};this._isAsync=!1,this._clearAsync(),this._playInit(t),this._playDomInspect(t)}},t.prototype._playInit=function(t){this._twn=!1,this.isPlaying=!0,this.hasCompleted=!1,this._hasDur=this.getDuration(t)>Oe;for(var n=this._c,e=0;e<this._cL;e++)n[e]._playInit(t);this._hasDur&&(this._progress(0),this._willChg(!0))},t.prototype._playDomInspect=function(t){this._beforeAnimation();var n=this.getDuration(t);this._isAsync&&this._asyncEnd(n,!0),this._playProgress(t),this._isAsync&&this.plt&&this.plt.raf(this._playToStep.bind(this,1))},t.prototype._playProgress=function(t){for(var n=this._c,e=0;e<this._cL;e++)n[e]._playProgress(t);this._hasDur?this._setTrans(this.getDuration(t),!1):(this._progress(1),this._setAfterStyles(),this._didFinish(!0))},t.prototype._playToStep=function(t){for(var n=this._c,e=0;e<this._cL;e++)n[e]._playToStep(t);this._hasDur&&this._progress(t)},t.prototype._asyncEnd=function(t,n){b(!this._unrgTrns,"_unrgTrns must be null"),b(!this._tm,"_tm must be null"),b(t>0,"duration can not be 0 in async animations");var e=this;e._unrgTrns=this.plt.transitionEnd(e._transEl(),function(){e._clearAsync(),e._playEnd(),e._didFinishAll(n,!0,!1)},!1),e._tm=e.plt.timeout(function(){console.debug("Animation onTransitionFallback, CSS onTransitionEnd did not fire!"),e._tm=void 0,e._clearAsync(),e._playEnd(n?1:0),e._didFinishAll(n,!0,!1)},t+Pe)},t.prototype._playEnd=function(t){for(var n=this._c,e=0;e<this._cL;e++)n[e]._playEnd(t);this._hasDur&&(a(t)&&(this._setTrans(0,!0),this._progress(t)),this._setAfterStyles(),this._willChg(!1))},t.prototype._hasDuration=function(t){if(this.getDuration(t)>Oe)return!0;for(var n=this._c,e=0;e<this._cL;e++)if(n[e]._hasDuration(t))return!0;return!1},t.prototype._hasDomReads=function(){if(this._rdFn&&this._rdFn.length)return!0;for(var t=this._c,n=0;n<this._cL;n++)if(t[n]._hasDomReads())return!0;return!1},t.prototype.stop=function(t){void 0===t&&(t=1),this._clearAsync(),this._hasDur=!0,this._playEnd(t)},t.prototype._clearAsync=function(){this._unrgTrns&&this._unrgTrns(),this._tm&&clearTimeout(this._tm),this._tm=this._unrgTrns=void 0},t.prototype._progress=function(t){var n,e=this._fx,i=this._eL;if(e&&i){this._rv&&(t=-1*t+1);var l,o,r="",s=this._e;for(l=0;l<e.length;l++){var u=e[l];if(u.from&&u.to){var a=u.from.num,c=u.to.num,h=a!==c;if(b(h||!this._isAsync,"in async animations to != from value"),h&&(this._twn=!0),0===t)n=u.from.val;else if(1===t)n=u.to.val;else if(h){var p=(c-a)*t+a,d=u.to.unit;"px"===d&&(p=Math.round(p)),n=p+d}if(null!==n){var _=u.name;if(u.trans)r+=_+"("+n+") ";else for(o=0;o<i;o++)s[o].style[_]=n}}}if(r.length){(!this._rv&&1!==t||this._rv&&0!==t)&&(r+="translateZ(0px)");var f=this.plt.Css.transform;for(l=0;l<s.length;l++)s[l].style[f]=r}}},t.prototype._setTrans=function(t,n){if(this._fx)for(var e,i=this._e,l=n?"linear":this.getEasing(),o=t+"ms",r=this.plt.Css,s=r.transition,u=r.transitionDuration,a=r.transitionTimingFn,c=0;c<this._eL;c++)e=i[c].style,t>0?(e[s]="",e[u]=o,l&&(e[a]=l)):e[s]="none"},t.prototype._beforeAnimation=function(){this._fireBeforeReadFunc(),this._fireBeforeWriteFunc(),this._setBeforeStyles()},t.prototype._setBeforeStyles=function(){var t,n,e=this._c;for(t=0;t<this._cL;t++)e[t]._setBeforeStyles();if(!this._rv){var i,l,o,r=this._bfAdd,s=this._bfRm;for(t=0;t<this._eL;t++){if(i=this._e[t],l=i.classList,r)for(n=0;n<r.length;n++)l.add(r[n]);if(s)for(n=0;n<s.length;n++)l.remove(s[n]);if(this._bfSty)for(o in this._bfSty)i.style[o]=this._bfSty[o]}}},t.prototype._fireBeforeReadFunc=function(){for(var t=this._c,n=0;n<this._cL;n++)t[n]._fireBeforeReadFunc();var e=this._rdFn;if(e)for(n=0;n<e.length;n++)e[n]()},t.prototype._fireBeforeWriteFunc=function(){for(var t=this._c,n=0;n<this._cL;n++)t[n]._fireBeforeWriteFunc();var e=this._wrFn;if(this._wrFn)for(n=0;n<e.length;n++)e[n]()},t.prototype._setAfterStyles=function(){var t,n,e,i,l=this._e;for(t=0;t<this._eL;t++)if(e=l[t],i=e.classList,e.style[this.plt.Css.transitionDuration]=e.style[this.plt.Css.transitionTimingFn]="",this._rv){if(this._bfAdd)for(n=0;n<this._bfAdd.length;n++)i.remove(this._bfAdd[n]);if(this._bfRm)for(n=0;n<this._bfRm.length;n++)i.add(this._bfRm[n]);if(this._bfSty)for(var o in this._bfSty)e.style[o]=""}else{if(this._afAdd)for(n=0;n<this._afAdd.length;n++)i.add(this._afAdd[n]);if(this._afRm)for(n=0;n<this._afRm.length;n++)i.remove(this._afRm[n]);if(this._afSty)for(var o in this._afSty)e.style[o]=this._afSty[o]}},t.prototype._willChg=function(t){var n,e,i=this._fx;if(t&&i){n=[];for(o=0;o<i.length;o++){var l=i[o].wc;"webkitTransform"===l?n.push("transform","-webkit-transform"):n.push(l)}e=n.join(",")}else e="";for(var o=0;o<this._eL;o++)this._e[o].style.willChange=e},t.prototype.progressStart=function(){this._clearAsync(),this._beforeAnimation(),this._progressStart()},t.prototype._progressStart=function(){for(var t=this._c,n=0;n<this._cL;n++)t[n]._progressStart();this._setTrans(0,!0),this._willChg(!0)},t.prototype.progressStep=function(t){t=Math.min(1,Math.max(0,t));for(var n=this._c,e=0;e<this._cL;e++)n[e].progressStep(t);this._rv&&(t=-1*t+1),this._progress(t)},t.prototype.progressEnd=function(t,n,e){void 0===e&&(e=-1),console.debug("Animation, progressEnd, shouldComplete",t,"currentStepValue",n),this._rv&&(n=-1*n+1);var i=t?1:0;Math.abs(n-i)<.05?e=0:e<0&&(e=this._dur),this._isAsync=e>30,this._progressEnd(t,i,e,this._isAsync),this._isAsync&&(this._asyncEnd(e,t),this.plt&&this.plt.raf(this._playToStep.bind(this,i)))},t.prototype._progressEnd=function(t,n,e,i){for(var l=this._c,o=0;o<this._cL;o++)l[o]._progressEnd(t,n,e,i);i?(this.isPlaying=!0,this.hasCompleted=!1,this._hasDur=!0,this._willChg(!0),this._setTrans(e,!1)):(this._progress(n),this._willChg(!1),this._setAfterStyles(),this._didFinish(t))},t.prototype.onFinish=function(t,n,e){return void 0===n&&(n=!1),void 0===e&&(e=!1),e&&(this._fFn=this._fOneFn=void 0),n?(this._fOneFn=this._fOneFn||[],this._fOneFn.push(t)):(this._fFn=this._fFn||[],this._fFn.push(t)),this},t.prototype._didFinishAll=function(t,n,e){for(var i=this._c,l=0;l<this._cL;l++)i[l]._didFinishAll(t,n,e);(n&&this._isAsync||e&&!this._isAsync)&&this._didFinish(t)},t.prototype._didFinish=function(t){if(this.isPlaying=!1,this.hasCompleted=t,this._fFn)for(n=0;n<this._fFn.length;n++)this._fFn[n](this);if(this._fOneFn){for(var n=0;n<this._fOneFn.length;n++)this._fOneFn[n](this);this._fOneFn.length=0}},t.prototype.reverse=function(t){void 0===t&&(t=!0);for(var n=this._c,e=0;e<this._cL;e++)n[e].reverse(t);return this._rv=t,this},t.prototype.destroy=function(){for(var t=this._c,n=0;n<this._cL;n++)t[n].destroy();this._clearAsync(),this.parent=this.plt=this._e=this._rdFn=this._wrFn=null,this._c&&(this._c.length=this._cL=0),this._fFn&&(this._fFn.length=0),this._fOneFn&&(this._fOneFn.length=0)},t.prototype._transEl=function(){for(var t,n=0;n<this._cL;n++)if(t=this._c[n]._transEl())return t;return this._twn&&this._hasDur&&this._eL?this._e[0]:null},t}(),Se={translateX:1,translateY:1,translateZ:1,scale:1,scaleX:1,scaleY:1,scaleZ:1,rotate:1,rotateX:1,rotateY:1,rotateZ:1,skewX:1,skewY:1,perspective:1},xe=/(^-?\d*\.?\d*)(.*)/,Oe=32,Pe=400,De=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Ie=function(t){function n(n,e,i,l){var o=t.call(this,n,null,l)||this;return o.enteringView=e,o.leavingView=i,o}return De(n,t),n.prototype.init=function(){},n.prototype.registerStart=function(t){this._trnsStart=t},n.prototype.start=function(){this._trnsStart&&this._trnsStart(),this._trnsStart=null,this.parent&&this.parent.start()},n.prototype.destroy=function(){t.prototype.destroy.call(this),this.parent=this.enteringView=this.leavingView=this._trnsStart=null},n}(Ee),Be=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Le=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Be(n,t),n.prototype.init=function(){var t=this;this.enteringView&&(this.enteringPage=new Ee(this.plt,this.enteringView.pageRef()),this.add(this.enteringPage.beforeAddClass("show-page")),this.beforeAddRead(function(){t.enteringView.readReady.emit()}),this.beforeAddWrite(function(){t.enteringView.writeReady.emit()}))},n.prototype.destroy=function(){t.prototype.destroy.call(this),this.enteringPage&&this.enteringPage.destroy(),this.enteringPage=null},n}(Ie),Ae=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Re="opacity",Me="translateX",je="show-back-button",Ne=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ae(n,t),n.prototype.init=function(){t.prototype.init.call(this);var n=this.plt,e=n.isRTL?"-99.5%":"99.5%",i=n.isRTL?"33%":"-33%",l=this.enteringView,o=this.leavingView,r=this.opts;this.duration(h(r.duration)?r.duration:500),this.easing(h(r.easing)?r.easing:"cubic-bezier(0.36,0.66,0.04,1)");var s="back"===r.direction,u=l&&l.hasNavbar(),a=o&&o.hasNavbar();if(l){var c=l.pageRef().nativeElement,p=new Ee(n,l.contentRef());if(p.element(c.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(p),s?p.fromTo(Me,i,"0%",!0).fromTo(Re,.8,1,!0):p.beforeClearStyles([Re]).fromTo(Me,e,"0%",!0),u){var d=c.querySelector("ion-navbar"),_=new Ee(n,d);this.add(_);var f=new Ee(n,d.querySelector("ion-title")),v=new Ee(n,d.querySelectorAll("ion-buttons,[menuToggle]")),m=new Ee(n,d.querySelector(".toolbar-background")),g=new Ee(n,d.querySelector(".back-button"));if(_.add(f).add(v).add(m).add(g),f.fromTo(Re,.01,1,!0),v.fromTo(Re,.01,1,!0),s)f.fromTo(Me,i,"0%",!0),l.enableBack()&&g.beforeAddClass(je).fromTo(Re,.01,1,!0);else if(f.fromTo(Me,e,"0%",!0),m.beforeClearStyles([Re]).fromTo(Me,e,"0%",!0),l.enableBack()){g.beforeAddClass(je).fromTo(Re,.01,1,!0);var y=new Ee(n,d.querySelector(".back-button-text"));y.fromTo(Me,n.isRTL?"-100px":"100px","0px"),_.add(y)}else g.beforeRemoveClass(je)}}if(o&&o.pageRef()){var b=o.pageRef().nativeElement,w=new Ee(n,o.contentRef());if(w.element(b.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(w),s?w.beforeClearStyles([Re]).fromTo(Me,"0%",n.isRTL?"-100%":"100%"):w.fromTo(Me,"0%",i).fromTo(Re,1,.8).afterClearStyles(["transform",Re]),a){var k=b.querySelector("ion-navbar"),C=new Ee(n,k),T=new Ee(n,k.querySelector("ion-title")),E=new Ee(n,k.querySelectorAll("ion-buttons,[menuToggle]")),S=new Ee(n,k.querySelector(".toolbar-background")),x=new Ee(n,k.querySelector(".back-button"));if(C.add(T).add(E).add(x).add(S),this.add(C),x.fromTo(Re,.99,0),T.fromTo(Re,.99,0),E.fromTo(Re,.99,0),s){T.fromTo(Me,"0%",n.isRTL?"-100%":"100%"),S.beforeClearStyles([Re]).fromTo(Me,"0%",n.isRTL?"-100%":"100%");var O=new Ee(n,k.querySelector(".back-button-text"));O.fromTo(Me,"0%",(n.isRTL?-300:300)+"px"),C.add(O)}else T.fromTo(Me,"0%",i).afterClearStyles(["transform"]),x.afterClearStyles([Re]),T.afterClearStyles([Re]),E.afterClearStyles([Re])}}},n}(Le),Fe=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Ve=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Fe(n,t),n.prototype.init=function(){t.prototype.init.call(this);var n=this.plt,e=this.enteringView,i=this.leavingView,l=this.opts,o="back"===l.direction;if(e&&(o?this.duration(h(l.duration)?l.duration:200).easing("cubic-bezier(0.47,0,0.745,0.715)"):(this.duration(h(l.duration)?l.duration:280).easing("cubic-bezier(0.36,0.66,0.04,1)"),this.enteringPage.fromTo("translateY","40px","0px",!0).fromTo("opacity",.01,1,!0)),e.hasNavbar())){var r=e.pageRef().nativeElement.querySelector("ion-navbar"),s=new Ee(n,r);this.add(s);var u=new Ee(n,r.querySelector(".back-button"));this.add(u),e.enableBack()?u.beforeAddClass("show-back-button"):u.beforeRemoveClass("show-back-button")}if(i&&o){this.duration(l.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var a=new Ee(n,i.pageRef());this.add(a.fromTo("translateY","0px","40px").fromTo("opacity",1,0))}},n}(Le),ze=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),qe=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return ze(n,t),n.prototype.init=function(){t.prototype.init.call(this);var n=this.plt,e=this.enteringView,i=this.leavingView,l=this.opts,o="back"===l.direction;if(e&&(o?(this.duration(h(l.duration)?l.duration:120).easing("cubic-bezier(0.47,0,0.745,0.715)"),this.enteringPage.beforeClearStyles(["scale"])):(this.duration(h(l.duration)?l.duration:280).easing("cubic-bezier(0,0,0.05,1)"),this.enteringPage.fromTo("scale",.95,1,!0).fromTo("opacity",.01,1,!0)),e.hasNavbar())){var r=e.pageRef().nativeElement.querySelector("ion-navbar"),s=new Ee(n,r);this.add(s);var u=new Ee(n,r.querySelector(".back-button"));this.add(u),e.enableBack()?u.beforeAddClass("show-back-button"):u.beforeRemoveClass("show-back-button")}if(i&&o){this.duration(l.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var a=new Ee(n,i.pageRef());this.add(a.fromTo("scale",1,.95).fromTo("opacity",.99,0))}},n}(Le),He=function(){function t(t,n,e){var i=this;this._config=t,this._plt=n,this._menuCtrl=e,this._disTime=0,this._scrollTime=0,this._title="",this._titleSrv=new ee.j(ee.b),this._rootNavs=new Map,this._didScroll=!1,this.viewDidLoad=new ie.m,this.viewWillEnter=new ie.m,this.viewDidEnter=new ie.m,this.viewWillLeave=new ie.m,this.viewDidLeave=new ie.m,this.viewWillUnload=new ie.m,n.registerBackButtonAction(this.goBack.bind(this)),this._disableScrollAssist=t.getBoolean("disableScrollAssist",!1);t.getBoolean("inputBlurring",!1)&&this._enableInputBlurring(),y(function(){var t=n.win();t.HWBackButton||(t.HWBackButton=function(){var t=i.goBack();return t&&t.catch(function(){return console.debug("hardware go back cancelled")}),t})}),t.setTransition("ios-transition",Ne),t.setTransition("md-transition",Ve),t.setTransition("wp-transition",qe)}return t.prototype.setTitle=function(t){t!==this._title&&(this._title=t,this._titleSrv.setTitle(t))},t.prototype.setElementClass=function(t,n){this._appRoot.setElementClass(t,n)},t.prototype.setEnabled=function(t,n,e){void 0===n&&(n=700),void 0===e&&(e=0),this._disTime=t?0:Date.now()+n,this._clickBlock&&(t?this._clickBlock.activate(!1,Ye,e):this._clickBlock.activate(!0,n+Ye,e))},t.prototype._setDisableScroll=function(t){this._disableScrollAssist&&this._appRoot._disableScroll(t)},t.prototype.isEnabled=function(){var t=this._disTime;return 0===t||t<Date.now()},t.prototype.setScrolling=function(){this._scrollTime=Date.now()+Ue,this._didScroll=!0},t.prototype.isScrolling=function(){var t=this._scrollTime;return 0!==t&&(!(t<Date.now())||(this._scrollTime=0,!1))},t.prototype.getActiveNav=function(){console.warn("(getActiveNav) is deprecated and will be removed in the next major release. Use getActiveNavs instead.");var t=this.getActiveNavs();return t&&t.length?t[0]:null},t.prototype.getActiveNavs=function(t){var n=this._appRoot._getPortal(2);if(n.length()>0)return A(n);if(!this._rootNavs||!this._rootNavs.size)return[];if(1===this._rootNavs.size)return A(this._rootNavs.values().next().value);if(t)return A(this._rootNavs.get(t));var e=[];return this._rootNavs.forEach(function(t){var n=A(t);e=e.concat(n)}),e},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(n){return t.push(n)}),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(n){t=t.concat(A(n))}),t},t.prototype.present=function(t,n,e){b(t.isOverlay,"presented view controller needs to be an overlay");var i=this._appRoot._getPortal(e);return t._setNav(i),n.direction=ge,n.animation||(n.animation=t.getTransitionName(ge)),t.setLeavingOpts({keyboardClose:n.keyboardClose,direction:me,animation:t.getTransitionName(me),ev:n.ev}),i.insertPages(-1,[t],n)},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)&&(console.debug("app, goBack exitApp"),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(1).length()>0)return Promise.resolve();var n=null,e=null;return this._rootNavs.forEach(function(i){t.getActiveNavs(i.id).map(function(t){return L(t)}).filter(function(t){return!!t}).forEach(function(t){var i=t.last();(t._isPortal||i&&t.length()>1&&(!e||i._ts>=e._ts))&&(e=i,n=t)})}),n?n.pop():void 0},t.prototype._enableInputBlurring=function(){console.debug("App: _enableInputBlurring");var t=!0,n=this,e=this._plt;e.registerListener(e.doc(),"focusin",function(){t=!0},{capture:!0,zone:!1,passive:!0}),e.registerListener(e.doc(),"touchend",function(i){if(n._didScroll)n._didScroll=!1;else{var l=n._plt.getActiveElement();if(l&&-1!==We.indexOf(l.tagName)){var o=i.target;o!==l&&(We.indexOf(o.tagName)>=0||o.classList.contains("input-cover")||(t=!1,e.timeout(function(){t||l.blur()},50)))}}},{capture:!1,zone:!1,passive:!0})},t.prototype.getNavByIdOrName=function(t){for(var n=0,e=Array.from(this._rootNavs.values());n<e.length;n++){var i=B(e[n],t);if(i)return i}return null},t=Object(le.__decorate)([Object(le.__param)(2,Object(ie.x)())],t)}(),We=["INPUT","TEXTAREA","ION-INPUT","ION-TEXTAREA"],Ue=100,Ye=64,$e=function(){function t(t,n,e,i){this._config=t,this._elementRef=n,this._renderer=e,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,n){this._renderer.setElementClass(this._elementRef.nativeElement,t,n)},t.prototype.setElementAttribute=function(t,n){this._renderer.setElementAttribute(this._elementRef.nativeElement,t,n)},t.prototype.setElementStyle=function(t,n){this._renderer.setElementStyle(this._elementRef.nativeElement,t,n)},t.prototype._setColor=function(t,n){n&&(this._componentName=n),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}(),Xe=function(){function t(t,n){this._app=t,this.links=n&&_(n.links)?Je(n.links):[]}return t.prototype.parse=function(t){return"/"===t.charAt(0)&&(t=t.substr(1)),t=t.split("?")[0].split("#")[0],N(this._app,t,this.links)},t.prototype.createSegmentFromName=function(t,n){var e=this.getLinkFromName(n);return e?this._createSegment(this._app,t,e,null):null},t.prototype.getLinkFromName=function(t){return this.links.find(function(n){return n.component===t||n.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,n,e){if(n){var i=Ke(this.links,n,e);if(i)return this._createSegment(this._app,t,i,e)}return null},t.prototype._createSegment=function(t,n,e,i){var l=e.segmentParts;if(h(i)){l=l.slice();var o=Object.keys(i),r=o.length;if(r)for(var s=0;s<l.length;s++)if(":"===l[s].charAt(0))for(var u=0;u<r;u++)if(l[s]===":"+o[u]){l[s]=encodeURIComponent(i[o[u]]);break}}var a=!0;return a=n.parent?n.parent&&n.parent.getAllChildNavs().length>1:t.getRootNavById(n.id)&&t.getRootNavs().length>1,{id:l.join("/"),name:e.name,component:e.component,loadChildren:e.loadChildren,data:i,defaultHistory:e.defaultHistory,navId:n.name||n.id,type:n.getType(),secondaryId:n.getSecondaryIdentifier(),requiresExplicitNavPrefix:a}},t}(),Ge=function(t,n){return!(!h(t)||!h(n))&&(":"===n.charAt(0)||t===n)},Ze=function(t,n){for(var e=null,i=0;i<n.segmentPartsLen;i++)":"===n.segmentParts[i].charAt(0)&&((e=e||{})[n.segmentParts[i].substring(1)]=decodeURIComponent(t[i]));return e},Ke=function(t,n,e){for(var i=null,l=-1,o=0;o<t.length;o++){var r=t[o];if(r.component===n){var s=0;if(e)for(var u=Object.keys(e),a=0;a<u.length;a++)h(r.dataKeys[u[a]])&&s++;else if(r.dataLen)continue;s>=l&&(i=r,l=s)}}return i},Je=function(t){for(var n=0,e=t.length;n<e;n++){var i=t[n];p(i.segment)&&(i.segment=i.name),i.dataKeys={},i.segmentParts=i.segment.split("/"),i.segmentPartsLen=i.segmentParts.length,i.staticLen=i.dataLen=0;for(var l=!0,o=0;o<i.segmentPartsLen;o++)":"===i.segmentParts[o].charAt(0)?(i.dataLen++,l=!1,i.dataKeys[i.segmentParts[o].substring(1)]=!0):l&&i.staticLen++}return t.sort(M)},Qe=/\s+|\?|\!|\$|\,|\.|\+|\"|\'|\*|\^|\||\/|\\|\[|\]|#|%|`|>|<|;|:|@|&|=/g,ti=new ie.p("USERLINKS"),ni=function(){function t(t,n,e,i,l){this._app=t,this._serializer=n,this._location=e,this._moduleLoader=i,this._baseCfr=l,this._history=[]}return t.prototype.init=function(){var t=this,n=z(this._location.path());console.debug("DeepLinker, init load: "+n),this._historyPush(n),this._location.subscribe(function(n){t._urlChange(z(n.url))})},t.prototype._urlChange=function(t){var n=this;if(!this._isCurrentUrl(t)){this._isBackUrl(t)?(console.debug("DeepLinker, browser urlChange, back to: "+t),this._historyPop()):(!1,console.debug("DeepLinker, browser urlChange, forward to: "+t),this._historyPush(t));var e=this._app.getActiveNavContainers();if(e&&e.length){if("/"===t){if(!h(this._indexAliasUrl))return void e.forEach(function(t){t.goToRoot({updateUrl:!1,isNavRoot:!0})});t=this._indexAliasUrl}this.getCurrentSegments(t).map(function(t){for(var n=0,i=e;n<i.length;n++){var l=function(t,n){for(;t;){if(t.id===n||t.name===n)return t;t=t.parent}return null}(i[n],t.navId);if(l)return{segment:t,navContainer:l}}}).filter(function(t){return!!t}).forEach(function(t){n._loadViewForSegment(t.navContainer,t.segment,function(){})})}}},t.prototype.getCurrentSegments=function(t){return t||(t=z(this._location.path())),this._serializer.parse(t)},t.prototype.navChange=function(t){if(t){for(var n=0,e=this._app.getActiveNavContainers();n<e.length;n++){var i=e[n];if(S(i)||i.isTransitioning())return}for(var l=[],o=0,r=this._app.getRootNavs();o<r.length;o++){var s=this.getSegmentsFromNav(r[o]);l=l.concat(s)}if((l=l.filter(function(t){return!!t})).length){var u=this._serializer.serialize(l);this._updateLocation(u,t)}}},t.prototype.getSegmentsFromNav=function(t){var n=this,e=[];return!function(t){return!!t&&!!t.push&&"nav"===t.getType()}(t)?x(t)&&e.push(this.getSegmentFromTab(t)):e.push(this.getSegmentFromNav(t)),t.getActiveChildNavs().forEach(function(t){e=e.concat(n.getSegmentsFromNav(t))}),e},t.prototype.getSegmentFromNav=function(t,n,e){if(!n){var i=t.getActive(!0);i&&(n=i.component,e=i.data)}return this._serializer.serializeComponent(t,n,e)},t.prototype.getSegmentFromTab=function(t,n,e){if(t&&t.parent){var i=t.parent,l=i.getActiveChildNavs();if(l&&l.length){var o=l[0].getActive(!0);return o&&(n=o.component,e=o.data),this._serializer.serializeComponent(i,n,e)}}},t.prototype._updateLocation=function(t,n){this._indexAliasUrl===t&&(t="/"),n===me&&this._isBackUrl(t)?(console.debug("DeepLinker, location.back(), url: '"+t+"'"),this._historyPop(),this._location.back()):this._isCurrentUrl(t)||(console.debug("DeepLinker, location.go('"+t+"')"),this._historyPush(t),this._location.go(t))},t.prototype.getComponentFromName=function(t){var n=this._serializer.getLinkFromName(t);return n?this.getNavLinkComponent(n):Promise.reject("invalid link: "+t)},t.prototype.getNavLinkComponent=function(t){return t.component?Promise.resolve(t.component):t.loadChildren?this._moduleLoader.load(t.loadChildren).then(function(n){return t.component=n.component,n.component}):Promise.reject("invalid link component: "+t.name)},t.prototype.resolveComponent=function(t){var n=this._moduleLoader.getComponentFactoryResolver(t);return n||(n=this._baseCfr),n.resolveComponentFactory(t)},t.prototype.createUrl=function(t,n,e,i){void 0===i&&(i=!0);var l=this._serializer.createSegmentFromName(t,n),o=this.getCurrentSegments();if(l)for(var r=0;r<o.length;r++)if(o[r].navId===t.name||o[r].navId===t.id){o[r]=l;var s=this._serializer.serialize(o);return i?this._location.prepareExternalUrl(s):s}return""},t.prototype.getSegmentByNavIdOrName=function(t,n){for(var e=z(this._location.path()),i=0,l=this._serializer.parse(e);i<l.length;i++){var o=l[i];if(o.navId===t||o.navId===n)return o}return null},t.prototype.initViews=function(t){var n=this,e=this._serializer.getLinkFromName(t.name);return this.getNavLinkComponent(e).then(function(e){t.component=e;var i=new ae(e,t.data);return i.id=t.id,_(t.defaultHistory)?E(n,t.defaultHistory).then(function(t){return t.push(i),t}):[i]})},t.prototype._isBackUrl=function(t){return t===this._history[this._history.length-2]},t.prototype._isCurrentUrl=function(t){return t===this._history[this._history.length-1]},t.prototype._historyPush=function(t){this._isCurrentUrl(t)||(this._history.push(t),this._history.length>30&&this._history.shift())},t.prototype._historyPop=function(){this._history.pop(),this._history.length||this._historyPush(this._location.path())},t.prototype._getTabSelector=function(t){return h(t.tabUrlPath)?t.tabUrlPath:h(t.tabTitle)?R(t.tabTitle):"tab-"+t.index},t.prototype._loadViewForSegment=function(t,n,e){if(!n)return e(!1,!1);if(S(t)||x(t)&&t.parent){var i=S(t)?t:t.parent,l=i._getSelectedTabIndex(n.secondaryId),o=i.getByIndex(l);return o._segment=n,i.select(o,{updateUrl:!1,animate:!1},!0),e(!1,!1)}for(var r=t,s=r.length()-1,u=s;u>=0;u--){var a=r.getByIndex(u);if(a&&(a.id===n.id||a.id===n.name))return u===s?e(!1,!1):r.popTo(a,{animate:!1,updateUrl:!1},e)}return r.setRoot(n.component||n.name,n.data,{id:n.id,animate:!1,updateUrl:!1},e)},t}(),ei=function(){function t(t){this.dom=t,this.writeTask=null,this.readTask=null}return t.prototype.read=function(t){var n=this;if(!this.readTask)return this.readTask=this.dom.read(function(e){n.readTask=null,t(e)})},t.prototype.write=function(t){var n=this;if(!this.writeTask)return this.writeTask=this.dom.write(function(e){n.writeTask=null,t(e)})},t.prototype.cancel=function(){var t=this.writeTask;t&&this.dom.cancel(t);var n=this.readTask;n&&this.dom.cancel(n),this.readTask=this.writeTask=null},t}(),ii=function(){function t(t){this.plt=t,this.r=[],this.w=[]}return t.prototype.debouncer=function(){return new ei(this)},t.prototype.read=function(t,n){var e=this;return n?t.timeoutId=this.plt.timeout(function(){e.r.push(t),e._queue()},n):(this.r.push(t),this._queue()),t},t.prototype.write=function(t,n){var e=this;return n?t.timeoutId=this.plt.timeout(function(){e.w.push(t),e._queue()},n):(this.w.push(t),this._queue()),t},t.prototype.cancel=function(t){t&&(t.timeoutId&&this.plt.cancelTimeout(t.timeoutId),m(this.r,t)||m(this.w,t))},t.prototype._queue=function(){var t=this;t.q||(t.q=!0,t.plt.raf(function(n){t._flush(n)}))},t.prototype._flush=function(t){var n;try{!function(t,n,e){for(var i;i=n.shift();)i(t);for(;i=e.shift();)i(t)}(t,this.r,this.w)}catch(t){n=t}if(this.q=!1,(this.r.length||this.w.length)&&this._queue(),n)throw n},t}(),li="goback-swipe",oi="menu-swipe",ri="item-swipe",si=-10,ui=20,ai={disable:[oi,li],disableScroll:!0},ci=function(){function t(t){this._app=t,this.id=1,this.requestedStart={},this.disabledGestures={},this.disabledScroll=new Set,this.capturedID=null}return t.prototype.createGesture=function(t){if(!t.name)throw new Error("name is undefined");return new hi(t.name,this.newID(),this,t.priority||0,!!t.disableScroll)},t.prototype.createBlocker=function(t){return void 0===t&&(t={}),new pi(this.newID(),this,t.disable,!!t.disableScroll)},t.prototype.newID=function(){var t=this.id;return this.id++,t},t.prototype.start=function(t,n,e){return this.canStart(t)?(this.requestedStart[n]=e,!0):(delete this.requestedStart[n],!1)},t.prototype.capture=function(t,n,e){if(!this.start(t,n,e))return!1;var i=this.requestedStart,l=-1e4;for(var o in i)l=Math.max(l,i[o]);return l===e?(this.capturedID=n,this.requestedStart={},console.debug(t+" captured!"),!0):(delete i[n],console.debug(t+" can not start because it is has lower priority"),!1)},t.prototype.release=function(t){delete this.requestedStart[t],this.capturedID&&t===this.capturedID&&(this.capturedID=null)},t.prototype.disableGesture=function(t,n){var e=this.disabledGestures[t];e||(e=new Set,this.disabledGestures[t]=e),e.add(n)},t.prototype.enableGesture=function(t,n){var e=this.disabledGestures[t];e&&e.delete(n)},t.prototype.disableScroll=function(t){var n=!this.isScrollDisabled();this.disabledScroll.add(t),this._app&&n&&this.isScrollDisabled()&&(console.debug("GestureController: Disabling scrolling"),this._app._setDisableScroll(!0))},t.prototype.enableScroll=function(t){var n=this.isScrollDisabled();this.disabledScroll.delete(t),this._app&&n&&!this.isScrollDisabled()&&(console.debug("GestureController: Enabling scrolling"),this._app._setDisableScroll(!1))},t.prototype.canStart=function(t){return this.capturedID?(console.debug(t+" can not start becuse gesture was already captured"),!1):!this.isDisabled(t)||(console.debug(t+" is disabled"),!1)},t.prototype.isCaptured=function(){return!!this.capturedID},t.prototype.isScrollDisabled=function(){return this.disabledScroll.size>0},t.prototype.isDisabled=function(t){var n=this.disabledGestures[t];return!!(n&&n.size>0)},t=Object(le.__decorate)([Object(le.__param)(0,Object(ie.o)(Object(ie.P)(function(){return He})))],t)}(),hi=function(){function t(t,n,e,i,l){this.name=t,this.id=n,this.controller=e,this.priority=i,this.disableScroll=l}return t.prototype.canStart=function(){return this.controller?this.controller.canStart(this.name):(b(!1,"delegate was destroyed"),!1)},t.prototype.start=function(){return this.controller?this.controller.start(this.name,this.id,this.priority):(b(!1,"delegate was destroyed"),!1)},t.prototype.capture=function(){if(!this.controller)return b(!1,"delegate was destroyed"),!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)):b(!1,"delegate was destroyed")},t.prototype.destroy=function(){this.release(),this.controller=null},t}(),pi=function(){function t(t,n,e,i){this.id=t,this.controller=n,this.disable=e,this.disableScroll=i,this.blocked=!1}return t.prototype.block=function(){var t=this;this.controller?(this.disable&&this.disable.forEach(function(n){t.controller.disableGesture(n,t.id)}),this.disableScroll&&this.controller.disableScroll(this.id),this.blocked=!0):b(!1,"delegate was destroyed")},t.prototype.unblock=function(){var t=this;this.controller?(this.disable&&this.disable.forEach(function(n){t.controller.enableGesture(n,t.id)}),this.disableScroll&&this.controller.enableScroll(this.id),this.blocked=!1):b(!1,"delegate was destroyed")},t.prototype.destroy=function(){this.unblock(),this.controller=null},t}(),di=function(){return function(){}}(),_i=function(){function t(t,n,e){this.direction=t,this.dirty=!1,this._angle=0,this._isPan=0;var i=e*(Math.PI/180);this.maxCosine=Math.cos(i),this.threshold=n*n}return t.prototype.start=function(t){this.startCoord=t,this._angle=0,this._isPan=0,this.dirty=!0},t.prototype.detect=function(t){if(!this.dirty)return!1;var n=t.x-this.startCoord.x,e=t.y-this.startCoord.y;if(n*n+e*e>=this.threshold){var i=Math.atan2(e,n),l="y"===this.direction?Math.sin(i):Math.cos(i);return this._angle=i,this._isPan=l>this.maxCosine?1:l<-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}(),fi=function(){function t(t,n,e,i,l,o){this.plt=t,this.ele=n,this.pointerDown=e,this.pointerMove=i,this.pointerUp=l,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,b(n,"element can not be null"),b(e,"pointerDown can not be null"),this.bindTouchEnd=this.handleTouchEnd.bind(this),this.bindMouseUp=this.handleMouseUp.bind(this),this.rmTouchStart=this.plt.registerListener(n,"touchstart",this.handleTouchStart.bind(this),o),this.rmMouseStart=this.plt.registerListener(n,"mousedown",this.handleMouseDown.bind(this),o)}return t.prototype.handleTouchStart=function(t){b(this.ele,"element can not be null"),b(this.pointerDown,"pointerDown can not be null"),this.lastTouchEvent=Date.now()+this.mouseWait,this.lastEventType=mi,this.pointerDown(t,mi)&&(!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){b(this.ele,"element can not be null"),b(this.pointerDown,"pointerDown can not be null"),this.lastTouchEvent>Date.now()?console.debug("mousedown event dropped because of previous touch"):(this.lastEventType=vi,this.pointerDown(t,vi)&&(!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,mi)},t.prototype.handleMouseUp=function(t){this.stopMouse(),this.pointerUp&&this.pointerUp(t,vi)},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}(),vi=1,mi=2,gi=function(){function t(t){this.plt=t,this.evts=[]}return t.prototype.pointerEvents=function(t){if(t.element&&t.pointerDown){var n=new fi(this.plt,t.element,t.pointerDown,t.pointerMove,t.pointerUp,{capture:t.capture,passive:t.passive,zone:t.zone});return this.evts.push(function(){return n.destroy()}),n}console.error("PointerEvents config is invalid")},t.prototype.listen=function(t,n,e,i){if(t){var l=this.plt.registerListener(t,n,e,i);return this.evts.push(l),l}},t.prototype.unlistenAll=function(){this.evts.forEach(function(t){t()}),this.evts.length=0},t.prototype.destroy=function(){this.unlistenAll(),this.evts=null},t}(),yi=function(){function t(t,n,e){void 0===e&&(e={}),this.plt=t,this.element=n,o(e,{threshold:20,maxAngle:40,direction:"x",zone:!0,capture:!1,passive:!1}),this.events=new gi(t),e.domController&&(this.debouncer=e.domController.debouncer()),this.gestute=e.gesture,this.direction=e.direction,this.eventsConfig={element:this.element,pointerDown:this.pointerDown.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerUp.bind(this),zone:e.zone,capture:e.capture,passive:e.passive},e.threshold>0&&(this.detector=new _i(e.direction,e.threshold,e.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 n=O(t);if(this.detector)this.detector.start(n);else if(!this.tryToCapture(t))return this.started=!1,this.captured=!1,this.gestute.release(),!1;return!0}},t.prototype.pointerMove=function(t){var n=this;if(b(!0===this.started,"started must be true"),this.captured)this.debouncer.write(function(){n.onDragMove(t)});else{b(this.detector,"detector has to be valid");var e=O(t);this.detector.detect(e)&&0!==this.detector.pan()&&(this.tryToCapture(t)||this.abort(t))}},t.prototype.pointerUp=function(t){b(this.started,"started failed"),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 b(!0===this.started,"started has be true"),b(!1===this.captured,"captured has be false"),!(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}(),bi=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),wi=function(t){function n(n,e,i){void 0===i&&(i={});var l=t.call(this,n,e,i)||this;return l.slide=null,l}return bi(n,t),n.prototype.getSlideBoundaries=function(t,n){return{min:0,max:this.getNativeElement().offsetWidth}},n.prototype.getElementStartPos=function(t,n){return 0},n.prototype.onDragStart=function(t){this.onSlideBeforeStart(t);var n=O(t)[this.direction];this.slide={min:0,max:0,pointerStartPos:n,pos:n,timestamp:Date.now(),elementStartPos:0,started:!0,delta:0,distance:0,velocity:0};var e=this.getSlideBoundaries(this.slide,t),i=e.max;this.slide.min=e.min,this.slide.max=i,this.slide.elementStartPos=this.getElementStartPos(this.slide,t),this.onSlideStart(this.slide,t)},n.prototype.onDragMove=function(t){var n=this.slide;b(n.min!==n.max,"slide data must be properly initialized");var e=O(t)[this.direction],l=Date.now(),o=(this.plt.isRTL?n.pos-e:e-n.pos)/(l-n.timestamp);n.pos=e,n.timestamp=l,n.distance=i(n.min,(this.plt.isRTL?n.pointerStartPos-e:e-n.pointerStartPos)+n.elementStartPos,n.max),n.velocity=o,n.delta=this.plt.isRTL?n.pointerStartPos-e:e-n.pointerStartPos,this.onSlide(n,t)},n.prototype.onDragEnd=function(t){this.onSlideEnd(this.slide,t),this.slide=null},n.prototype.onSlideBeforeStart=function(t){},n.prototype.onSlideStart=function(t,n){},n.prototype.onSlide=function(t,n){},n.prototype.onSlideEnd=function(t,n){},n}(yi),ki=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Ci=function(t){function n(n,e,i){void 0===i&&(i={});var l=this;return o(i,{edge:"start",maxEdgeStart:50}),(l=t.call(this,n,e,i)||this).setEdges(i.edge),l.maxEdgeStart=i.maxEdgeStart,l}return ki(n,t),n.prototype.setEdges=function(t){var n=this.plt.isRTL;this.edges=t.split(" ").map(function(t){switch(t){case"start":return n?"right":"left";case"end":return n?"left":"right";default:return t}})},n.prototype.canStart=function(t){var n=this,e=O(t);return this._d=this.getContainerDimensions(),this.edges.every(function(t){return n._checkEdge(t,e)})},n.prototype.getContainerDimensions=function(){var t=this.plt;return{left:0,top:0,width:t.width(),height:t.height()}},n.prototype._checkEdge=function(t,n){var e=this._d,i=this.maxEdgeStart;switch(t){case"left":return n.x<=e.left+i;case"right":return n.x>=e.width-i;case"top":return n.y<=e.top+i;case"bottom":return n.y>=e.height-i}return!1},n}(wi),Ti=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Ei=function(t){function n(n,e,i,l){var o=t.call(this,n,n.doc().body,{direction:"x",edge:"start",maxEdgeStart:75,threshold:5,zone:!1,domController:l,gesture:i.createGesture({name:li,priority:ui,disableScroll:!0})})||this;return o._nav=e,o}return Ti(n,t),n.prototype.canStart=function(n){return this._nav.canSwipeBack()&&t.prototype.canStart.call(this,n)},n.prototype.onSlideBeforeStart=function(t){this._nav.swipeBackStart()},n.prototype.onSlide=function(t,n){n.preventDefault(),n.stopPropagation();this._nav.swipeBackProgress(t.distance/t.max)},n.prototype.onSlideEnd=function(t,n){var e=t.velocity,i=t.distance/t.max,l=!g(e<0,Math.abs(t.velocity)>.4,Math.abs(t.delta)<.5*Math.abs(t.max));this._nav.swipeBackEnd(l,i,e)},n}(Ci),Si=function(t){function n(n,e,i,l,o,r,s,u,a,c,h,p,d){var _=t.call(this,i,o,s)||this;return _.parent=n,_._app=e,_.config=i,_.plt=l,_._zone=r,_._cfr=u,_._gestureCtrl=a,_._trnsCtrl=c,_._linker=h,_._domCtrl=p,_._errHandler=d,_._ids=-1,_._init=!1,_._queue=[],_._trnsId=null,_._trnsTm=!1,_._views=[],_._zIndexOffset=0,_.viewDidLoad=new ie.m,_.viewWillEnter=new ie.m,_.viewDidEnter=new ie.m,_.viewWillLeave=new ie.m,_.viewDidLeave=new ie.m,_.viewWillUnload=new ie.m,_._sbEnabled=i.getBoolean("swipeBackEnabled"),_._children=[],_.id="n"+ ++xi,_._destroyed=!1,_}return Object(le.__extends)(n,t),Object.defineProperty(n.prototype,"swipeBackEnabled",{get:function(){return this._sbEnabled},set:function(t){this._sbEnabled=f(t),this._swipeBackCheck()},enumerable:!0,configurable:!0}),n.prototype.push=function(t,n,e,i){return this._queueTrns({insertStart:-1,insertViews:[{page:t,params:n}],opts:e},i)},n.prototype.insert=function(t,n,e,i,l){return this._queueTrns({insertStart:t,insertViews:[{page:n,params:e}],opts:i},l)},n.prototype.insertPages=function(t,n,e,i){return this._queueTrns({insertStart:t,insertViews:n,opts:e},i)},n.prototype.pop=function(t,n){return this._queueTrns({removeStart:-1,removeCount:1,opts:t},n)},n.prototype.popTo=function(t,n,e){var i={removeStart:-1,removeCount:-1,opts:n};return k(t)?(i.removeView=t,i.removeStart=1):s(t)&&(i.removeStart=t+1),this._queueTrns(i,e)},n.prototype.popToRoot=function(t,n){return this._queueTrns({removeStart:1,removeCount:-1,opts:t},n)},n.prototype.popAll=function(){for(var t=[],n=this._views.length-1;n>=0;n--)t.push(this.pop(null));return Promise.all(t)},n.prototype.remove=function(t,n,e,i){return void 0===n&&(n=1),this._queueTrns({removeStart:t,removeCount:n,opts:e},i)},n.prototype.removeView=function(t,n,e){return this._queueTrns({removeView:t,removeStart:0,removeCount:1,opts:n},e)},n.prototype.setRoot=function(t,n,e,i){return this.setPages([{page:t,params:n}],e,i)},n.prototype.setPages=function(t,n,e){return p(n)&&(n={}),!0!==n.animate&&(n.animate=!1),this._queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:n},e)},n.prototype._queueTrns=function(t,n){var e=new Promise(function(n,e){t.resolve=n,t.reject=e});return t.done=n,t.insertViews&&0===t.insertViews.length&&(t.insertViews=void 0),this._queue.push(t),this._nextTrns(),e},n.prototype._success=function(t,n){null!==this._queue?(this._init=!0,this._trnsId=null,this.setTransitioning(!1),this._swipeBackCheck(),this._nextTrns(),n.done&&n.done(t.hasCompleted,t.requiresTransition,t.enteringName,t.leavingName,t.direction),n.resolve(t.hasCompleted)):this._fireError("nav controller was destroyed",n)},n.prototype._failed=function(t,n){null!==this._queue?(this._trnsId=null,this._queue.length=0,this.setTransitioning(!1),this._swipeBackCheck(),this._nextTrns(),this._fireError(t,n)):this._fireError("nav controller was destroyed",n)},n.prototype._fireError=function(t,n){n.done&&n.done(!1,!1,t),n.reject&&!this._destroyed?n.reject(t):n.resolve(!1)},n.prototype._nextTrns=function(){var t=this;if(this.isTransitioning())return!1;var n=this._queue.shift();if(!n)return!1;var e,i;return this._startTI(n).then(function(){return t._loadLazyLoading(n)}).then(function(){if(i=t.getActive(),e=t._getEnteringView(n,i),!i&&!e)throw"no views in the stack to be removed";e&&e._state===pe&&t._viewInit(e),n.requiresTransition=(n.enteringRequiresTransition||n.leavingRequiresTransition)&&e!==i}).then(function(){return t._viewTest(e,i,n)}).then(function(){return t._postViewInit(e,i,n)}).then(function(){return t._transition(e,i,n)}).then(function(e){return t._success(e,n)}).catch(function(e){return t._failed(e,n)}),!0},n.prototype._startTI=function(t){var n=this._views.length;if(h(t.removeView)){b(h(t.removeStart),"removeView needs removeStart"),b(h(t.removeCount),"removeView needs removeCount");var e=this.indexOf(t.removeView);if(e<0)return Promise.reject("removeView was not found");t.removeStart+=e}return h(t.removeStart)&&(t.removeStart<0&&(t.removeStart=n-1),t.removeCount<0&&(t.removeCount=n-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===n),t.insertViews&&((t.insertStart<0||t.insertStart>n)&&(t.insertStart=n),t.enteringRequiresTransition=t.insertStart===n),this.setTransitioning(!0),Promise.resolve()},n.prototype._loadLazyLoading=function(t){var n=this,e=t.insertViews;return e?(b(e.length>0,"length can not be zero"),E(this._linker,e).then(function(i){if(b(e.length===i.length,"lengths does not match"),0===(i=i.filter(function(t){return null!==t})).length)throw"invalid views to insert";for(var l=0;l<i.length;l++){var o=i[l],r=o._nav;if(r&&r!==n)throw"inserted view was already inserted";if(o._state===fe)throw"inserted view was already destroyed"}t.insertViews=i})):Promise.resolve()},n.prototype._getEnteringView=function(t,n){var e=t.insertViews;if(e)return e[e.length-1];var i=t.removeStart;if(h(i)){var l,o,r=this._views,s=i+t.removeCount;for(l=r.length-1;l>=0;l--)if(o=r[l],(l<i||l>=s)&&o!==n)return o}return null},n.prototype._postViewInit=function(t,n,e){var i=this;b(n||t,"Both leavingView and enteringView are null"),b(e.resolve,"resolve must be valid"),b(e.reject,"reject must be valid");var l,o,r,s=e.opts||{},u=e.insertViews,a=e.removeStart,c=e.removeCount;if(h(a)){for(b(a>=0,"removeStart can not be negative"),b(c>=0,"removeCount can not be negative"),r=[],o=0;o<c;o++)(l=this._views[o+a])&&l!==t&&l!==n&&r.push(l);s.direction=s.direction||me}var p=this._views.length+(u?u.length:0)-(c||0);if(b(p>=0,"final balance can not be negative"),0===p&&!this._isPortal)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.getNativeElement()),"navigation stack needs at least one root page";if(u){for(h(s.id)&&(t.id=s.id),o=0;o<u.length;o++)this._insertViewAt(l=u[o],e.insertStart+o);e.enteringRequiresTransition&&(s.direction=s.direction||ge)}if(r&&r.length>0)for(this._zone.run(function(){for(o=0;o<r.length;o++)i._willLeave(l=r[o],!0),i._didLeave(l),i._willUnload(l)}),o=0;o<r.length;o++)this._destroyView(r[o]);e.requiresTransition&&!s.animation&&(s.animation=h(e.removeStart)?(n||t).getTransitionName(s.direction):(t||n).getTransitionName(s.direction)),e.opts=s},n.prototype._viewInit=function(t){b(t,"enteringView must be non null"),b(t._state===pe,"enteringView state must be NEW");var n=ie.A.resolve([{provide:di,useValue:this},{provide:ae,useValue:t},{provide:ue,useValue:t.getNavParams()}]),e=this._linker.resolveComponent(t.component),i=ie.A.fromResolvedProviders(n,this._viewport.parentInjector);t.init(e.create(i,[])),t._state=de,this._preLoad(t)},n.prototype._viewAttachToDOM=function(t,n,e){if(b(t._state===de,"view state must be INITIALIZED"),b(n,"componentRef can not be null"),this._willLoad(t),e.insert(n.hostView,e.length),t._state=_e,t._cssClass){this._renderer.setElementClass(n.location.nativeElement,t._cssClass,!0)}n.changeDetectorRef.detectChanges(),this._zone.run(this._didLoad.bind(this,t))},n.prototype._viewTest=function(t,n,e){if(!e.requiresTransition)return Promise.resolve();var i=[];return n&&i.push(n._lifecycleTest("Leave")),t&&i.push(t._lifecycleTest("Enter")),0===i.length?Promise.resolve():Promise.all(i).then(function(t){if(t.some(function(t){return!1===t}))throw"canEnter/Leave returned false"}).catch(function(t){throw e.reject=null,t})},n.prototype._transition=function(t,n,e){var i=this;if(!e.requiresTransition)return Promise.resolve({hasCompleted:!0,requiresTransition:!1});var l=e.opts;this._trnsId=this._trnsCtrl.getRootTrnsId(this),null===this._trnsId&&(this._trnsId=this._trnsCtrl.nextId());var o=this._trnsCtrl.get(this._trnsId,t,n,{animation:l.animation,direction:l.direction,duration:!1===l.animate?0:l.duration,easing:l.easing,isRTL:this._config.plt.isRTL,ev:l.ev});this._sbTrns&&this._sbTrns.destroy(),this._sbTrns=null,o.isRoot()&&l.progressAnimation&&(this._sbTrns=o);var r=new Promise(function(t){return o.registerStart(t)}).then(function(){return i._transitionStart(o,t,n,l)});return t&&t._state===de&&this._viewAttachToDOM(t,t._cmp,this._viewport),o.hasChildren||o.start(),r},n.prototype._transitionStart=function(t,n,e,i){var l=this;b(this.isTransitioning(),"isTransitioning() has to be true"),this._trnsId=null,function(t,n,e,i,l){if(n){if(t._isPortal)return i===ge&&n._setZIndex(t._zIndexOffset+he,l),void he++;(e=e||t.getPrevious(n))&&h(e._zIndex)?i===me?n._setZIndex(e._zIndex-1,l):n._setZIndex(e._zIndex+1,l):n._setZIndex(ve+t._zIndexOffset,l)}}(this,n,e,i.direction,this._renderer),n&&n._domShow(!0,this._renderer),e&&e._domShow(!0,this._renderer),t.init();var o=!this._init&&1===this._views.length&&!this._isPortal,r=!1===this._config.get("animate");(o||r)&&(i.animate=!1),!1===i.animate&&t.duration(0),t.beforeAddRead(this._viewsWillLifecycles.bind(this,n,e));var s=t.getDuration(),u=new Promise(function(n){t.onFinish(n)});return t.isRoot()&&(s>Oi&&!1!==i.disableApp?this._app.setEnabled(!1,s+Di,i.minClickBlockDuration):console.debug("transition is running but app has not been disabled"),i.progressAnimation?t.progressStart():t.play()),u.then(function(){return l._zone.run(function(){return l._transitionFinish(t,i)})})},n.prototype._transitionFinish=function(t,n){var e,i,l=t.hasCompleted,o=t.enteringView,r=t.leavingView;return l?(o&&(e=o.name,this._didEnter(o)),r&&(i=r.name,this._didLeave(r)),this._cleanup(o)):this._cleanup(r),t.isRoot()&&(this._trnsCtrl.destroy(t.trnsId),this._app.setEnabled(!0),this.setTransitioning(!1),this.hasChildren()||!1===n.updateUrl||this._linker.navChange(n.direction),!1!==n.keyboardClose&&this.plt.focusOutActiveElement()),{hasCompleted:l,requiresTransition:!0,enteringName:e,leavingName:i,direction:n.direction}},n.prototype._viewsWillLifecycles=function(t,n){var e=this;(t||n)&&this._zone.run(function(){if(n){e._willLeave(n,!t||n.index>t.index)}t&&e._willEnter(t)})},n.prototype._insertViewAt=function(t,n){var e=this._views.indexOf(t);e>-1?(b(t._nav===this,"view is not part of the nav"),this._views.splice(n,0,this._views.splice(e,1)[0])):(b(!t._nav||this._isPortal&&t._nav===this,"nav is used"),t._setNav(this),this._ids++,t.id||(t.id=this.id+"-"+this._ids),this._views.splice(n,0,t))},n.prototype._removeView=function(t){b(t._state===_e||t._state===fe,"view state should be loaded or destroyed");var n=this._views,e=n.indexOf(t);b(e>-1,"view must be part of the stack"),e>=0&&n.splice(e,1)},n.prototype._destroyView=function(t){t._destroy(this._renderer),this._removeView(t)},n.prototype._cleanup=function(t){if(!this._destroyed){var n=this._views.indexOf(t),e=this._views,i=!1,l=void 0,o=void 0;for(o=e.length-1;o>=0;o--)l=e[o],o>n?(this._willUnload(l),this._destroyView(l)):o<n&&!this._isPortal&&l._domShow(!1,this._renderer),l._zIndex<=0&&(i=!0);if(!this._isPortal&&i)for(o=0;o<e.length;o++)(l=e[o])._setZIndex(l._zIndex+ve+1,this._renderer)}},n.prototype._preLoad=function(t){b(this.isTransitioning(),"nav controller should be transitioning"),t._preLoad()},n.prototype._willLoad=function(t){b(this.isTransitioning(),"nav controller should be transitioning");try{t._willLoad()}catch(t){this._errHandler&&this._errHandler.handleError(t)}},n.prototype._didLoad=function(t){b(this.isTransitioning(),"nav controller should be transitioning"),b(ie.w.isInAngularZone(),"callback should be zoned");try{t._didLoad(),this.viewDidLoad.emit(t),this._app.viewDidLoad.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},n.prototype._willEnter=function(t){b(this.isTransitioning(),"nav controller should be transitioning"),b(ie.w.isInAngularZone(),"callback should be zoned");try{t._willEnter(),this.viewWillEnter.emit(t),this._app.viewWillEnter.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},n.prototype._didEnter=function(t){b(this.isTransitioning(),"nav controller should be transitioning"),b(ie.w.isInAngularZone(),"callback should be zoned");try{t._didEnter(),this.viewDidEnter.emit(t),this._app.viewDidEnter.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},n.prototype._willLeave=function(t,n){b(this.isTransitioning(),"nav controller should be transitioning"),b(ie.w.isInAngularZone(),"callback should be zoned");try{t._willLeave(n),this.viewWillLeave.emit(t),this._app.viewWillLeave.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},n.prototype._didLeave=function(t){b(this.isTransitioning(),"nav controller should be transitioning"),b(ie.w.isInAngularZone(),"callback should be zoned");try{t._didLeave(),this.viewDidLeave.emit(t),this._app.viewDidLeave.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},n.prototype._willUnload=function(t){b(this.isTransitioning(),"nav controller should be transitioning"),b(ie.w.isInAngularZone(),"callback should be zoned");try{t._willUnload(),this.viewWillUnload.emit(t),this._app.viewWillUnload.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},n.prototype.hasChildren=function(){return this._children&&this._children.length>0},n.prototype.getActiveChildNavs=function(){return this._children},n.prototype.getAllChildNavs=function(){return this._children},n.prototype.registerChildNav=function(t){this._children.push(t)},n.prototype.unregisterChildNav=function(t){this._children=this._children.filter(function(n){return n!==t})},n.prototype.destroy=function(){for(var t,n=this._views,e=0;e<n.length;e++)(t=n[e])._willUnload(),t._destroy(this._renderer);this._sbGesture&&this._sbGesture.destroy(),this._sbTrns&&this._sbTrns.destroy(),this._queue=this._views=this._sbGesture=this._sbTrns=null,this.parent&&this.parent.unregisterChildNav?this.parent.unregisterChildNav(this):this._app&&this._app.unregisterRootNav(this),this._destroyed=!0},n.prototype.swipeBackStart=function(){if(!(this.isTransitioning()||this._queue.length>0)){this._queueTrns({removeStart:-1,removeCount:1,opts:{direction:me,progressAnimation:!0}},null)}},n.prototype.swipeBackProgress=function(t){this._sbTrns&&this._sbGesture&&(this._app.setEnabled(!1,Pi),this.setTransitioning(!0),this._sbTrns.progressStep(t))},n.prototype.swipeBackEnd=function(t,n,e){if(this._sbTrns&&this._sbGesture){var i=this._sbTrns.getDuration()/(Math.abs(e)+1);this._sbTrns.progressEnd(t,n,i)}},n.prototype._swipeBackCheck=function(){this.canSwipeBack()?(this._sbGesture||(this._sbGesture=new Ei(this.plt,this,this._gestureCtrl,this._domCtrl)),this._sbGesture.listen()):this._sbGesture&&this._sbGesture.unlisten()},n.prototype.canSwipeBack=function(){return this._sbEnabled&&!this._isPortal&&!this._children.length&&!this.isTransitioning()&&this._app.isEnabled()&&this.canGoBack()},n.prototype.canGoBack=function(){var t=this.getActive();return!(!t||!t.enableBack())},n.prototype.isTransitioning=function(){return this._trnsTm},n.prototype.setTransitioning=function(t){this._trnsTm=t},n.prototype.getActive=function(){return this._views[this._views.length-1]},n.prototype.isActive=function(t){return t===this.getActive()},n.prototype.getByIndex=function(t){return this._views[t]},n.prototype.getPrevious=function(t){t||(t=this.getActive());var n=this._views,e=n.indexOf(t);return e>0?n[e-1]:null},n.prototype.first=function(){return this._views[0]},n.prototype.last=function(){var t=this._views;return t[t.length-1]},n.prototype.indexOf=function(t){return this._views.indexOf(t)},n.prototype.length=function(){return this._views.length},n.prototype.getViews=function(){return this._views},n.prototype.getViewById=function(t){for(var n=0,e=this._views;n<e.length;n++){var i=e[n];if(i&&i.id===t)return i}return null},n.prototype.isSwipeBackEnabled=function(){return this._sbEnabled},n.prototype.dismissPageChangeViews=function(){for(var t=0,n=this._views;t<n.length;t++){var e=n[t];e.data&&e.data.dismissOnPageChange&&e.dismiss().catch(function(){})}},n.prototype.setViewport=function(t){this._viewport=t},n.prototype.resize=function(){var t=this.getActive();if(t){var n=t.getIONContent();n&&n.resize()}},n.prototype.goToRoot=function(t){return Promise.reject(new Error("goToRoot needs to be implemented by child class"))},n.prototype.getType=function(){return"nav"},n.prototype.getSecondaryIdentifier=function(){return null},n.prototype.getActiveChildNav=function(){return console.warn("(getActiveChildNav) is deprecated and will be removed in the next major release. Use getActiveChildNavs instead."),this._children[this._children.length-1]},n}($e),xi=-1,Oi=64,Pi=5e3,Di=2e3,Ii=function(){function t(t,n){this.plt=t,this._config=n,this._ids=0,this._trns={}}return t.prototype.getRootTrnsId=function(t){for(t=t.parent;t;){if(h(t._trnsId))return t._trnsId;t=t.parent}return null},t.prototype.nextId=function(){return this._ids++},t.prototype.get=function(t,n,e,i){var l=this._config.getTransition(i.animation);l||(l=this._config.getTransition("ios-transition"));var o=new l(this.plt,n,e,i);return o.trnsId=t,this._trns[t]?this._trns[t].add(o):this._trns[t]=o,o},t.prototype.destroy=function(t){var n=this._trns[t];n&&(n.destroy(),delete this._trns[t])},t}(),Bi=function(t){function n(n,e,i,l,o,r,s,u,a,c,h,p,d){var _=t.call(this,null,n,e,i,l,o,r,s,u,a,c,p,d)||this;return _._isPortal=!0,_._init=!0,_.setViewport(h),n.viewDidLeave.subscribe(function(t){t.isOverlay||_.dismissPageChangeViews()}),_}return Object(le.__extends)(n,t),Object.defineProperty(n.prototype,"_overlayPortal",{set:function(t){this._zIndexOffset=t||0},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this.destroy()},n.prototype.getType=function(){return"portal"},n.prototype.getSecondaryIdentifier=function(){return null},n=Object(le.__decorate)([Object(le.__param)(0,Object(ie.o)(Object(ie.P)(function(){return He}))),Object(le.__param)(9,Object(ie.x)())],n)}(Si),Li=new ie.p("USERROOT"),Ai=function(t){function n(n,e,i,l,o,r,s){var u=t.call(this,o,i,l,"app-root")||this;return u._userCmp=n,u._cfr=e,u._plt=r,s._appRoot=u,u._stopScrollPlugin=window.IonicStopScroll,u}return Object(le.__extends)(n,t),n.prototype.ngOnInit=function(){var t=this,n=this._cfr.resolveComponentFactory(this._userCmp),e=this._viewport.createComponent(n);this._renderer.setElementClass(e.location.nativeElement,"app-root",!0),e.changeDetectorRef.detectChanges(),this.setElementClass(this._config.get("mode"),!0);var i=this._plt.versions();this._plt.platforms().forEach(function(n){var e="platform-"+n;t.setElementClass(e,!0);var l=i[n];l&&(t.setElementClass(e+=l.major,!0),t.setElementClass(e+"_"+l.minor,!0))}),this._config.getBoolean("hoverCSS",!0)&&this.setElementClass("enable-hover",!0),this._plt.prepareReady()},n.prototype._getPortal=function(t){return 3===t?this._loadingPortal:4===t?this._toastPortal:2===t?this._modalPortal:this._overlayPortal},n.prototype._getActivePortal=function(){var t=this._overlayPortal,n=this._modalPortal,e=n.length()>0,i=t.length()>0;if(!e&&!i)return null;if(e&&i){var l=t.getActive().getZIndex(),o=n.getActive().getZIndex();return l>o?t:(b(o>l,"modal and default zIndex can not be equal"),n)}return e?n:i?t:void 0},n.prototype._disableScroll=function(t){var n=this;if(t)this.stopScroll().then(function(){n._tmr=n._plt.timeout(function(){console.debug("App Root: adding .disable-scroll"),n.setElementClass("disable-scroll",!0)},32)});else{var e=this._stopScrollPlugin;e&&e.cancel&&e.cancel(),clearTimeout(this._tmr),console.debug("App Root: removing .disable-scroll"),this.setElementClass("disable-scroll",!1)}},n.prototype.stopScroll=function(){var t=this;return this._stopScrollPlugin?new Promise(function(n){t._stopScrollPlugin.stop(function(){return n(!0)})}):Promise.resolve(!1)},n=Object(le.__decorate)([Object(le.__param)(0,Object(ie.o)(Li))],n)}($e),Ri=9,Mi=function(){function t(t,n,e,i,l,o){this._viewCtrl=t,this._elementRef=e,this.gestureBlocker=i.createBlocker(ai),this.d=l.data,this.mode=n.get("mode"),o.setElementClass(e.nativeElement,"action-sheet-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&o.setElementClass(e.nativeElement,t,!0)}),this.id=++ji,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(n){switch("string"==typeof n&&(n={text:n}),n.cssClass||(n.cssClass=""),n.role){case"cancel":return t.cancelButton=n,null;case"destructive":n.cssClass=(n.cssClass+" "||"")+"action-sheet-destructive";break;case"selected":n.cssClass=(n.cssClass+" "||"")+"action-sheet-selected"}return n}).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&&27===t.keyCode&&this._viewCtrl.isLast()&&(console.debug("actionsheet, escape button"),this.bdClick())},t.prototype.click=function(t){if(this.enabled){var n=!0;t.handler&&!1===t.handler()&&(n=!1),n&&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(){b(!1===this.gestureBlocker.blocked,"gesture blocker must be already unblocked"),this.d=this.cancelButton=null,this.gestureBlocker.destroy()},t}(),ji=-1,Ni=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Fi=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ni(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".action-sheet-wrapper"));n.fromTo("opacity",.01,.4),e.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(n).add(e)},n}(Ie),Vi=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ni(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".action-sheet-wrapper"));n.fromTo("opacity",.4,0),e.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(300).add(n).add(e)},n}(Ie),zi=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ni(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".action-sheet-wrapper"));n.fromTo("opacity",.01,.26),e.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(n).add(e)},n}(Ie),qi=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ni(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".action-sheet-wrapper"));n.fromTo("opacity",.26,0),e.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(n).add(e)},n}(Ie),Hi=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ni(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".action-sheet-wrapper"));n.fromTo("opacity",.01,.16),e.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(n).add(e)},n}(Ie),Wi=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ni(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".action-sheet-wrapper"));n.fromTo("opacity",.1,0),e.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(n).add(e)},n}(Ie),Ui=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Yi=function(t){function n(n,e,i){var l=this;return e.buttons=e.buttons||[],e.enableBackdropDismiss=!h(e.enableBackdropDismiss)||!!e.enableBackdropDismiss,l=t.call(this,Mi,e,null)||this,l._app=n,l.isOverlay=!0,i.setTransition("action-sheet-slide-in",Fi),i.setTransition("action-sheet-slide-out",Vi),i.setTransition("action-sheet-md-slide-in",zi),i.setTransition("action-sheet-md-slide-out",qi),i.setTransition("action-sheet-wp-slide-in",Hi),i.setTransition("action-sheet-wp-slide-out",Wi),l}return Ui(n,t),n.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("actionSheet"+("back"===t?"Leave":"Enter"))},n.prototype.setTitle=function(t){return this.data.title=t,this},n.prototype.setSubTitle=function(t){return this.data.subTitle=t,this},n.prototype.addButton=function(t){return this.data.buttons.push(t),this},n.prototype.present=function(t){return void 0===t&&(t={}),t.minClickBlockDuration=t.minClickBlockDuration||400,this._app.present(this,t)},n}(ae),$i=function(){function t(t,n){this._app=t,this.config=n}return t.prototype.create=function(t){return void 0===t&&(t={}),new Yi(this._app,t,this.config)},t}(),Xi=(e(50),function(){function t(t,n,e,i,l,o,r){this._viewCtrl=t,this._elementRef=n,this._renderer=o,this._plt=r,this.gestureBlocker=i.createBlocker(ai),this.d=l.data,this.mode=this.d.mode||e.get("mode"),this.keyboardResizes=e.getBoolean("keyboardResizes",!1),o.setElementClass(n.nativeElement,"alert-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&o.setElementClass(n.nativeElement,t,!0)}),this.id=++Gi,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,n=this.d;n.buttons=n.buttons.map(function(t){return"string"==typeof t?{text:t}:t}),n.inputs=n.inputs.map(function(n,e){return{type:n.type||"text",name:h(n.name)?n.name:e+"",placeholder:h(n.placeholder)?n.placeholder:"",value:h(n.value)?n.value:"",label:n.label,checked:!!n.checked,disabled:!!n.disabled,id:h(n.id)?n.id:"alert-input-"+t.id+"-"+e,handler:h(n.handler)?n.handler:null,min:h(n.min)?n.min:null,max:h(n.max)?n.max:null}});var e=[];n.inputs.forEach(function(t){e.indexOf(t.type)<0&&e.push(t.type)}),e.length>1&&(e.indexOf("checkbox")>-1||e.indexOf("radio")>-1)&&console.warn("Alert cannot mix input types: "+e.join("/")+". Please see alert docs for more info."),this.inputType=e.length?e[0]:null;var i=this.d.inputs.find(function(t){return t.checked});i&&(this.activeId=i.id);var l=this.d.inputs.length&&this.d.inputs.some(function(t){return!we.test(t.type)});!this.keyboardResizes&&l&&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(13===t.keyCode){if(this.lastClick+1e3<Date.now()){console.debug("alert, enter button");this.btnClick(this.d.buttons[this.d.buttons.length-1])}}else 27===t.keyCode&&(console.debug("alert, escape button"),this.bdClick())},t.prototype.btnClick=function(t){if(this.enabled){this.lastClick=Date.now();var n=!0;t.handler&&!1===t.handler(this.getValues())&&(n=!1),n&&this.dismiss(t.role)}},t.prototype.rbClick=function(t){this.enabled&&(this.d.inputs.forEach(function(n){n.checked=t===n}),this.activeId=t.id,t.handler&&t.handler(t))},t.prototype.cbClick=function(t){this.enabled&&(t.checked=!t.checked,t.handler&&t.handler(t))},t.prototype.bdClick=function(){if(this.enabled&&this.d.enableBackdropDismiss){var t=this.d.buttons.find(function(t){return"cancel"===t.role});t?this.btnClick(t):this.dismiss("backdrop")}},t.prototype.dismiss=function(t){return this._viewCtrl.dismiss(this.getValues(),t,{minClickBlockDuration:400})},t.prototype.getValues=function(){if("radio"===this.inputType){var t=this.d.inputs.find(function(t){return t.checked});return t?t.value:void 0}if("checkbox"===this.inputType)return this.d.inputs.filter(function(t){return t.checked}).map(function(t){return t.value});if(0!==this.d.inputs.length){var n={};return this.d.inputs.forEach(function(t){n[t.name]=t.value}),n}},t.prototype.ngOnDestroy=function(){b(!1===this.gestureBlocker.blocked,"gesture blocker must be already unblocked"),this.gestureBlocker.destroy()},t}()),Gi=-1,Zi=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Ki=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Zi(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".alert-wrapper"));e.fromTo("opacity",.01,1).fromTo("scale",1.1,1),n.fromTo("opacity",.01,.3),this.easing("ease-in-out").duration(200).add(n).add(e)},n}(Ie),Ji=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Zi(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".alert-wrapper"));e.fromTo("opacity",.99,0).fromTo("scale",1,.9),n.fromTo("opacity",.3,0),this.easing("ease-in-out").duration(200).add(n).add(e)},n}(Ie),Qi=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Zi(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".alert-wrapper"));e.fromTo("opacity",.01,1).fromTo("scale",1.1,1),n.fromTo("opacity",.01,.5),this.easing("ease-in-out").duration(200).add(n).add(e)},n}(Ie),tl=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Zi(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".alert-wrapper"));e.fromTo("opacity",.99,0).fromTo("scale",1,.9),n.fromTo("opacity",.5,0),this.easing("ease-in-out").duration(200).add(n).add(e)},n}(Ie),nl=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Zi(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".alert-wrapper"));e.fromTo("opacity",.01,1).fromTo("scale",1.3,1),n.fromTo("opacity",.01,.5),this.easing("cubic-bezier(0,0,0.05,1)").duration(200).add(n).add(e)},n}(Ie),el=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Zi(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".alert-wrapper"));e.fromTo("opacity",.99,0).fromTo("scale",1,1.3),n.fromTo("opacity",.5,0),this.easing("ease-out").duration(150).add(n).add(e)},n}(Ie),il=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),ll=function(t){function n(n,e,i){void 0===e&&(e={});var l=this;return e.inputs=e.inputs||[],e.buttons=e.buttons||[],e.enableBackdropDismiss=!h(e.enableBackdropDismiss)||!!e.enableBackdropDismiss,l=t.call(this,Xi,e,null)||this,l._app=n,l.isOverlay=!0,i.setTransition("alert-pop-in",Ki),i.setTransition("alert-pop-out",Ji),i.setTransition("alert-md-pop-in",Qi),i.setTransition("alert-md-pop-out",tl),i.setTransition("alert-wp-pop-in",nl),i.setTransition("alert-wp-pop-out",el),l}return il(n,t),n.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"alertLeave":"alertEnter")},n.prototype.setTitle=function(t){return this.data.title=t,this},n.prototype.setSubTitle=function(t){return this.data.subTitle=t,this},n.prototype.setMessage=function(t){return this.data.message=t,this},n.prototype.addInput=function(t){return this.data.inputs.push(t),this},n.prototype.addButton=function(t){return this.data.buttons.push(t),this},n.prototype.setCssClass=function(t){return this.data.cssClass=t,this},n.prototype.setMode=function(t){this.data.mode=t},n.prototype.present=function(t){return void 0===t&&(t={}),t.minClickBlockDuration=t.minClickBlockDuration||400,this._app.present(this,t)},n}(ae),ol=function(){function t(t,n){this._app=t,this.config=n}return t.prototype.create=function(t){return void 0===t&&(t={}),new ll(this._app,t,this.config)},t}(),rl=(e(51),function(){function t(t,n){this._elementRef=t,this._renderer=n}return t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.setElementClass=function(t,n){this._renderer.setElementClass(this._elementRef.nativeElement,t,n)},t}()),sl=function(t){function n(n,e,i,l){var o=t.call(this,e,i,l)||this;return o._role="button",o._style="default",o._mode=e.get("mode"),!1===e.get("hoverCSS")&&o.setElementClass("disable-hover",!0),n.trim().length>0&&o.setRole(n),o}return Object(le.__extends)(n,t),Object.defineProperty(n.prototype,"large",{set:function(t){this._attr("_size","large",t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"small",{set:function(t){this._attr("_size","small",t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"default",{set:function(t){this._attr("_size","default",t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"outline",{set:function(t){this._attr("_style","outline",t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"clear",{set:function(t){this._attr("_style","clear",t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"solid",{set:function(t){this._attr("_style","solid",t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"round",{set:function(t){this._attr("_shape","round",t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"block",{set:function(t){this._attr("_display","block",t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"full",{set:function(t){this._attr("_display","full",t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"strong",{set:function(t){this._attr("_decorator","strong",t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mode",{set:function(t){this._assignCss(!1),this._mode=t,this._assignCss(!0)},enumerable:!0,configurable:!0}),n.prototype._attr=function(t,n,e){"_style"===t&&this._updateColor(this._color,!1),this._setClass(this[t],!1),f(e)?(this[t]=n,this._setClass(n,!0)):(this[t]="_style"===t?"default":null,this._setClass(this[t],!0)),"_style"===t&&this._updateColor(this._color,!0)},Object.defineProperty(n.prototype,"color",{set:function(t){this._updateColor(this._color,!1),this._updateColor(t,!0),this._color=t},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._init=!0,this._assignCss(!0)},n.prototype.setRole=function(t){this._assignCss(!1),this._role=t,this._assignCss(!0)},n.prototype._assignCss=function(t){var n=this._role;n&&(this.setElementClass(n,t),this.setElementClass(n+"-"+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))},n.prototype._setClass=function(t,n){t&&this._init&&(t=t.toLocaleLowerCase(),this.setElementClass(this._role+"-"+t,n),this.setElementClass(this._role+"-"+t+"-"+this._mode,n))},n.prototype._updateColor=function(t,n){if(t&&this._init){var e=this._role,i=this._style;e+=null!==(i="bar-button"!==this._role&&"solid"===i?"default":i)&&""!==i&&"default"!==i?"-"+i.toLowerCase():"",null!==t&&""!==t&&this.setElementClass(e+"-"+this._mode+"-"+t,n)}},n=Object(le.__decorate)([Object(le.__param)(0,Object(ie.g)("ion-button"))],n)}($e),ul=e(3),al=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){m(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 n=this._inputs,e=n.indexOf(t)+1;if(e>0&&e<n.length){var i=n[e];if(i!==this._focused)return console.debug("tabFocus, next"),i.initFocus()}if((e=n.indexOf(this._focused))>0){var l=n[e-1];l&&(console.debug("tabFocus, previous"),l.initFocus())}},t.prototype.nextId=function(){return++this._ids},t}(),cl=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}(),hl=function(t){function n(n,e,i,o,r,s,u,a){var c=t.call(this,n,e,i,o)||this;return c._defaultValue=r,c._form=s,c._item=u,c._ngControl=a,c._isFocus=!1,c._disabled=!1,c._debouncer=new cl(0),c._init=!1,c._initModel=!1,c.ionFocus=new ie.m,c.ionChange=new ie.m,c.ionBlur=new ie.m,s&&s.register(c),c._value=l(c._defaultValue),u&&(b("lbl-"+u.id===u.labelId,"labelId was not calculated correctly"),c.id=o+"-"+u.registerInput(o),c._labelId=u.labelId,c._item.setElementClass("item-"+o,!0)),a&&(a.valueAccessor=c),c}return Object(le.__extends)(n,t),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._writeValue(t)&&(this.onChange(),this._fireIonChange())},enumerable:!0,configurable:!0}),n.prototype.setValue=function(t){this.value=t},n.prototype.setDisabledState=function(t){this._disabled=t=f(t),this._item&&this._item.setElementClass("item-"+this._componentName+"-disabled",t)},n.prototype.writeValue=function(t){this._writeValue(t)&&(this._initModel?this._fireIonChange():this._init&&(this._initModel=!0))},n.prototype._writeValue=function(t){if(b(ie.w.isInAngularZone(),"callback should be zoned"),c(t))return!1;var n=null===t?l(this._defaultValue):this._inputNormalize(t);return!(c(n)||!this._inputShouldChange(n))&&(console.debug("BaseInput: value changed:",n,this),this._value=n,this._init&&this._inputUpdated(),!0)},n.prototype._fireIonChange=function(){var t=this;this._init&&this._debouncer.debounce(function(){b(ie.w.isInAngularZone(),"IonChange: should be zoned"),t.ionChange.emit(t._inputChangeEvent()),t._initModel=!0})},n.prototype.registerOnChange=function(t){this._onChanged=t},n.prototype.registerOnTouched=function(t){this._onTouched=t},n.prototype._initialize=function(){this._init?b(!1,"input was already initilized"):(this._init=!0,h(this._value)&&this._inputUpdated())},n.prototype._fireFocus=function(){this._isFocus||(console.debug("BaseInput: focused:",this),this._form&&this._form.setAsFocused(this),this._setFocus(!0),this.ionFocus.emit(this))},n.prototype._fireBlur=function(){this._isFocus&&(console.debug("BaseInput: blurred:",this),this._form&&this._form.unsetAsFocused(this),this._setFocus(!1),this._fireTouched(),this.ionBlur.emit(this))},n.prototype._fireTouched=function(){this._onTouched&&this._onTouched()},n.prototype._setFocus=function(t){b(this._init,"component was not initialized"),b(ie.w.isInAngularZone(),"_fireFocus: should be zoned"),b(t!==this._isFocus,"bad internal state"),this._isFocus=t;var n=this._item;n&&(n.setElementClass("input-has-focus",t),n.setElementClass("item-input-has-focus",t)),this._inputUpdated()},n.prototype.onChange=function(){this._onChanged&&this._onChanged(this._inputNgModelEvent())},n.prototype.isFocus=function(){return this._isFocus},n.prototype.hasValue=function(){var t=this._value;return!!h(t)&&(!_(t)&&!r(t)||t.length>0)},n.prototype.focusNext=function(){this._form&&this._form.tabFocus(this)},n.prototype.ngOnDestroy=function(){b(this._init,"input was destroed without being initialized");var t=this._form;t&&t.deregister(this),this._init=!1},n.prototype.ngAfterContentInit=function(){this._initialize()},n.prototype.initFocus=function(){var t=this._elementRef.nativeElement.querySelector("button");t&&t.focus()},n.prototype._inputNormalize=function(t){return t},n.prototype._inputShouldChange=function(t){return this._value!==t},n.prototype._inputChangeEvent=function(){return this},n.prototype._inputNgModelEvent=function(){return this._value},n.prototype._inputUpdated=function(){b(this._init,"component should be initialized");var t=this._item;if(t){!function(t,n){n&&(t.setElementClass("ng-untouched",n.untouched),t.setElementClass("ng-touched",n.touched),t.setElementClass("ng-pristine",n.pristine),t.setElementClass("ng-dirty",n.dirty),t.setElementClass("ng-valid",n.valid),t.setElementClass("ng-invalid",!n.valid))}(t,this._ngControl);var n=this.hasValue();t.setElementClass("input-has-value",n),t.setElementClass("item-input-has-value",n)}},n}($e),pl=function(t){function n(n,e,i){var l=t.call(this,n,e,i,"icon")||this;return l._isActive=!0,l._name="",l._ios="",l._md="",l._css="",l._hidden=!1,l._iconMode=n.get("iconMode"),l}return Object(le.__extends)(n,t),n.prototype.ngOnDestroy=function(){this._css&&this.setElementClass(this._css,!1)},Object.defineProperty(n.prototype,"name",{get:function(){return this._name},set:function(t){this._name=/^md-|^ios-|^logo-/.test(t)?t:this._iconMode+"-"+t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ios",{get:function(){return this._ios},set:function(t){this._ios=t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"md",{get:function(){return this._md},set:function(t){this._md=t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isActive",{get:function(){return this._isActive},set:function(t){this._isActive=f(t),this.update()},enumerable:!0,configurable:!0}),n.prototype.update=function(){var t;if(!(this._hidden=null===(t=this._ios&&"ios"===this._iconMode?this._ios:this._md&&"md"===this._iconMode?this._md:this._name))){"ios"===t.split("-",2)[0]&&!this._isActive&&t.indexOf("logo-")<0&&t.indexOf("-outline")<0&&(t+="-outline");var n="ion-"+t;if(this._css!==n){this._css&&this.setElementClass(this._css,!1),this._css=n,this.setElementClass(n,!0);var e=t.replace("ios-","").replace("md-","").replace("-"," ");this.setElementAttribute("aria-label",e)}}},n}($e),dl=function(t){function n(n,e,i,l,o,r,s){var u=t.call(this,n,e,i,"label")||this;return u.type=""===l?"floating":""===o?"stacked":""===r?"fixed":""===s?"inset":null,u}return Object(le.__extends)(n,t),Object.defineProperty(n.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t,t&&this.setElementAttribute("id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){return this.getNativeElement().textContent||""},enumerable:!0,configurable:!0}),n=Object(le.__decorate)([Object(le.__param)(3,Object(ie.g)("floating")),Object(le.__param)(4,Object(ie.g)("stacked")),Object(le.__param)(5,Object(ie.g)("fixed")),Object(le.__param)(6,Object(ie.g)("inset"))],n)}($e),_l=function(){function t(t,n,e,i){this._plt=n,this._zone=e,this._dom=i,this.willShow=new ie.m,this.willHide=new ie.m,this.didShow=new ie.m,this.didHide=new ie.m,this.eventsAvailable=!1,this.focusOutline(t.get("focusOutline"));var l=n.win();l.Ionic&&l.Ionic.keyboardPlugin?this.listenV2(l):this.listenV1(l)}return t.prototype.listenV2=function(t){var n=this,e=this._plt;e.registerListener(t,"keyboardWillShow",function(t){n._zone.run(function(){n.willShow.emit(t.keyboardHeight)})},{zone:!1,passive:!0}),e.registerListener(t,"keyboardWillHide",function(){n._zone.run(function(){n.willHide.emit()})},{zone:!1,passive:!0}),e.registerListener(t,"keyboardDidShow",function(t){n._zone.run(function(){n.didShow.emit(t.keyboardHeight)})},{zone:!1,passive:!0}),e.registerListener(t,"keyboardDidHide",function(){n._zone.run(function(){n.didHide.emit()})},{zone:!1,passive:!0}),this.eventsAvailable=!0},t.prototype.listenV1=function(t){var n=this,e=this._plt;e.registerListener(t,"native.keyboardhide",function(){n.blurActiveInput(!0)},{zone:!1,passive:!0}),e.registerListener(t,"native.keyboardshow",function(){n.blurActiveInput(!1)},{zone:!1,passive:!0})},t.prototype.blurActiveInput=function(t){var n=this,e=this._plt;e.cancelTimeout(this._tmr),t&&(this._tmr=e.timeout(function(){n.isOpen()&&e.focusOutActiveElement()},80))},t.prototype.isOpen=function(){return this.hasFocusedTextInput()},t.prototype.onClose=function(t,n,e){function i(){console.debug("keyboard, isOpen: "+l.isOpen()),!l.isOpen()||o>e?l._plt.timeout(function(){l._zone.run(function(){console.debug("keyboard, closed"),t()})},400):l._plt.timeout(i,n),o++}void 0===n&&(n=fl),void 0===e&&(e=vl),console.debug("keyboard, onClose created");var l=this,o=0,r=null;return t||(r=new Promise(function(n){t=n})),l._plt.timeout(i,n),r},t.prototype.close=function(){var t=this;this._dom.read(function(){t.isOpen()&&(console.debug("keyboard, close()"),t._dom.write(function(){t._plt.focusOutActiveElement()}))})},t.prototype.focusOutline=function(t){function n(){r._dom.write(function(){s.doc().body.classList[a?"add":"remove"]("focus-outline")})}function e(){a=!1,i()}function i(){n(),l&&l(),o&&o(),a&&(l=s.registerListener(u,"mousedown",e,c),o=s.registerListener(u,"touchstart",e,c))}var l,o,r=this,s=r._plt,u=s.doc(),a=!1,c={passive:!0,zone:!1};if(!0===t)return a=!0,n();!1!==t&&s.registerListener(s.doc(),"keydown",function(t){a||t.keyCode!==Ri||(a=!0,i())},c)},t.prototype.hasFocusedTextInput=function(){var t=this._plt.getActiveElement();return!!D(t)&&t.parentElement.querySelector(":focus")===t},t.prototype.hideFormAccessoryBar=function(t){var n=this._plt.win();n&&n.Keyboard&&n.Keyboard.hideFormAccessoryBar&&n.Keyboard.hideFormAccessoryBar(t)},t}(),fl=150,vl=100,ml=function(){function t(t,n,e){this._app=t,this._plt=n,this._dom=e,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:e.write.bind(e)}}return t.prototype.init=function(t,n,e){b(t,"scroll-view, element can not be null"),this._el=t,this.initialized||(this.initialized=!0,this._js?this.enableJsScroll(n,e):this.enableNativeScrolling())},t.prototype.enableEvents=function(){this._eventsEnabled=!0},t.prototype.setScrolling=function(t,n){this.isScrolling?t?this.onScroll&&this.onScroll(n):(this.isScrolling=!1,this.onScrollEnd&&this.onScrollEnd(n)):t&&(this.isScrolling=!0,this.onScrollStart&&this.onScrollStart(n))},t.prototype.enableNativeScrolling=function(){if(b(this.onScrollStart,"onScrollStart is not defined"),b(this.onScroll,"onScroll is not defined"),b(this.onScrollEnd,"onScrollEnd is not defined"),this._js=!1,this._el){console.debug("ScrollView, enableNativeScrolling");var t=this,n=t.ev,e=[];t._lsn&&t._lsn(),t._lsn=t._plt.registerListener(t._el,"scroll",function(i){if(t._app.setScrolling(),t._eventsEnabled){if(n.timeStamp=i.timeStamp,n.timeStamp||(n.timeStamp=Date.now()),n.scrollTop=t.getTop(),n.scrollLeft=t.getLeft(),t.isScrolling||(n.startY=n.scrollTop,n.startX=n.scrollLeft,n.velocityY=n.velocityX=0,n.deltaY=n.deltaX=0,e.length=0),e.push(n.scrollTop,n.scrollLeft,n.timeStamp),e.length>3){n.deltaY=n.scrollTop-n.startY,n.deltaX=n.scrollLeft-n.startX;for(var l=e.length-1,o=l,r=n.timeStamp-100,s=l;s>0&&e[s]>r;s-=3)o=s;if(o!==l){var u=e[o-2]-e[l-2],a=e[o-1]-e[l-1],c=kl/(e[l]-e[o]);n.velocityY=u*c,n.velocityX=a*c,n.directionY=u>0?"up":"down",n.directionX=a>0?"left":"right"}}t.setScrolling(!0,n),t._dom.cancel(t._endTmr),t._endTmr=t._dom.read(function(){n.velocityY=n.velocityX=0,t.setScrolling(!1,n),t._endTmr=null},gl)}},Cl)}},t.prototype.enableJsScroll=function(t,n){function e(){s||(s=o.scrollHeight-o.parentElement.offsetHeight+t+n)}function i(t){u.timeStamp=t,console.debug("scroll-view, decelerate, velocity: "+u.velocityY),u.velocityY&&(u.velocityY*=wl,e(),l._t=Math.min(Math.max(l._t+u.velocityY,0),s),u.scrollTop=l._t,l.onScroll(u),l._dom.write(function(){l.setTop(l._t),l._t>0&&l._t<s&&Math.abs(u.velocityY)>bl?r=l._dom.read(function(t){i(t)}):(l.isScrolling=!1,u.velocityY=u.velocityX=0,l.onScrollEnd(u))}))}var l=this;l._js=!0;var o=l._el;if(o){console.debug("ScrollView, enableJsScroll");var r,s,u=l.ev,a=[],c=l._plt,h=c.registerListener(o,"touchstart",function(t){a.length=0,s=null,l._dom.cancel(r),a.push(O(t).y,t.timeStamp)},Cl),p=c.registerListener(o,"touchmove",function(t){if(a.length){u.timeStamp=t.timeStamp;var n=O(t).y;e(),l._t-=n-a[a.length-2],l._t=Math.min(Math.max(l._t,0),s),a.push(n,u.timeStamp),l.isScrolling||(u.startY=l._t,u.velocityY=u.deltaY=0,l.isScrolling=!0,l.onScrollStart(u)),l._dom.write(function(){l.setTop(l._t)})}},Cl),d=c.registerListener(o,"touchend",function(t){if(l._dom.cancel(r),!a.length&&l.isScrolling)return l.isScrolling=!1,u.velocityY=u.velocityX=0,void l.onScrollEnd(u);var n=O(t).y;a.push(n,t.timeStamp);for(var o=a.length-1,s=o,c=t.timeStamp-100,h=o;h>0&&a[h]>c;h-=2)s=h;s!==o?(u.velocityY=(a[s-1]-a[o-1])/(a[o]-a[s])*kl,Math.abs(u.velocityY)>yl&&(e(),r=l._dom.read(function(t){i(t)}))):(l.isScrolling=!1,u.velocityY=0,l.onScrollEnd(u));a.length=0},Cl);o.parentElement.classList.add("js-scroll"),l._lsn&&l._lsn(),l._lsn=function(){h(),p(),d(),o.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,n,e,i){function l(o){if(d++,!r._el||_||d>h)return r.setScrolling(!1,null),s.style[p]="",void i();var f=Math.min(1,(o-u)/e),v=--f*f*f+1;a!==n&&r.setTop(v*(n-a)+a),c!==t&&r.setLeft(Math.floor(v*(t-c)+c)),v<1?r._plt.raf(l):(_=!0,r.setScrolling(!1,null),s.style[p]="",i())}var o;void 0===i&&(o=new Promise(function(t){i=t}));var r=this,s=r._el;if(!s)return i(),o;if(e<32)return r.setTop(n),r.setLeft(t),i(),o;var u,a=s.scrollTop,c=s.scrollLeft,h=e/16+100,p=r._plt.Css.transform,d=0,_=!1;return r.setScrolling(!0,null),r.isScrolling=!0,r._dom.write(function(t){u=t,l(t)},16),o},t.prototype.scrollToTop=function(t){return this.scrollTo(0,0,t)},t.prototype.scrollToBottom=function(t){var n=0;return this._el&&(n=this._el.scrollHeight-this._el.clientHeight),this.scrollTo(0,n,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}(),gl=80,yl=4,bl=.12,wl=.97,kl=1e3/60,Cl={passive:!0,zone:!1},Tl=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(le.__extends)(n,t),n.prototype.subscribe=function(n,e,i){return this.onSubscribe(),t.prototype.subscribe.call(this,n,e,i)},n}(ie.m),El=function(t){function n(n,e,i,l,o,r,s,u,a,c){var h=t.call(this,n,l,o,"content")||this;h._plt=e,h._dom=i,h._app=r,h._keyboard=s,h._zone=u,h._scrollPadding=0,h._inputPolling=!1,h._hasRefresher=!1,h._imgs=[],h._scrollDownOnLoad=!1,h.ionScrollStart=new Tl,h.ionScroll=new Tl,h.ionScrollEnd=new Tl;var p=function(){return h._scroll.enableEvents()};for(h.ionScroll.onSubscribe=p,h.ionScrollStart.onSubscribe=p,h.ionScrollEnd.onSubscribe=p,h.statusbarPadding=n.getBoolean("statusbarPadding",!1),h._imgReqBfr=n.getNumber("imgRequestBuffer",1400),h._imgRndBfr=n.getNumber("imgRenderBuffer",400),h._imgVelMax=n.getNumber("imgVelocityMax",3),h._scroll=new ml(r,e,i);c;){if(S(c)){h._tabs=c;break}c=c.parent}return a?(h._viewCtrl=a,a._setIONContent(h),a._setIONContentRef(l),h._viewCtrlReadSub=a.readReady.subscribe(function(){h._viewCtrlReadSub.unsubscribe(),h._readDimensions()}),h._viewCtrlWriteSub=a.writeReady.subscribe(function(){h._viewCtrlWriteSub.unsubscribe(),h._writeDimensions()})):(i.read(h._readDimensions.bind(h)),i.write(h._writeDimensions.bind(h))),h}return Object(le.__extends)(n,t),Object.defineProperty(n.prototype,"contentHeight",{get:function(){return this._scroll.ev.contentHeight},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"contentWidth",{get:function(){return this._scroll.ev.contentWidth},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"scrollHeight",{get:function(){return this._scroll.ev.scrollHeight},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"scrollWidth",{get:function(){return this._scroll.ev.scrollWidth},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"scrollTop",{get:function(){return this._scroll.ev.scrollTop},set:function(t){this._scroll.setTop(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"scrollLeft",{get:function(){return this._scroll.ev.scrollLeft},set:function(t){this._scroll.setLeft(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isScrolling",{get:function(){return this._scroll.isScrolling},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"directionY",{get:function(){return this._scroll.ev.directionY},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"directionX",{get:function(){return this._scroll.ev.directionX},enumerable:!0,configurable:!0}),n.prototype.ngAfterViewInit=function(){var t=this;b(this.getFixedElement(),"fixed element was not found"),b(this.getScrollElement(),"scroll element was not found");var n=this._scroll;n.ev.fixedElement=this.getFixedElement(),n.ev.scrollElement=this.getScrollElement(),n.onScrollStart=function(n){t.ionScrollStart.emit(n)},n.onScroll=function(n){t.ionScroll.emit(n),t.imgsUpdate()},n.onScrollEnd=function(n){t.ionScrollEnd.emit(n),t.imgsUpdate()}},n.prototype.enableJsScroll=function(){this._scroll.enableJsScroll(this._cTop,this._cBottom)},n.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},n.prototype.getScrollElement=function(){return this._scrollContent.nativeElement},n.prototype.getFixedElement=function(){return this._fixedContent.nativeElement},n.prototype.onScrollElementTransitionEnd=function(t){this._plt.transitionEnd(this.getScrollElement(),t)},n.prototype.scrollTo=function(t,n,e,i){return void 0===e&&(e=300),console.debug("content, scrollTo started, y: "+n+", duration: "+e),this._scroll.scrollTo(t,n,e,i)},n.prototype.scrollToTop=function(t){return void 0===t&&(t=300),console.debug("content, scrollToTop, duration: "+t),this._scroll.scrollToTop(t)},n.prototype.scrollToBottom=function(t){return void 0===t&&(t=300),console.debug("content, scrollToBottom, duration: "+t),this._scroll.scrollToBottom(t)},Object.defineProperty(n.prototype,"fullscreen",{get:function(){return this._fullscreen},set:function(t){this._fullscreen=f(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"scrollDownOnLoad",{get:function(){return this._scrollDownOnLoad},set:function(t){this._scrollDownOnLoad=f(t)},enumerable:!0,configurable:!0}),n.prototype.addImg=function(t){this._imgs.push(t)},n.prototype.removeImg=function(t){m(this._imgs,t)},n.prototype.setScrollElementStyle=function(t,n){var e=this.getScrollElement();e&&this._dom.write(function(){e.style[t]=n})},n.prototype.getContentDimensions=function(){var t=this.getScrollElement(),n=t.parentElement;return{contentHeight:n.offsetHeight-this._cTop-this._cBottom,contentTop:this._cTop,contentBottom:this._cBottom,contentWidth:n.offsetWidth,contentLeft:n.offsetLeft,scrollHeight:t.scrollHeight,scrollTop:t.scrollTop,scrollWidth:t.scrollWidth,scrollLeft:t.scrollLeft}},n.prototype.addScrollPadding=function(t){if(b("number"==typeof this._scrollPadding,"_scrollPadding must be a number"),0===t&&(this._inputPolling=!1,this._scrollPadding=-1),t>this._scrollPadding){console.debug("content, addScrollPadding, newPadding: "+t+", this._scrollPadding: "+this._scrollPadding),this._scrollPadding=t;var n=this.getScrollElement();n&&this._dom.write(function(){n.style.paddingBottom=t>0?t+"px":""})}},n.prototype.clearScrollPaddingFocusOut=function(){var t=this;this._inputPolling||(console.debug("content, clearScrollPaddingFocusOut begin"),this._inputPolling=!0,this._keyboard.onClose(function(){console.debug("content, clearScrollPaddingFocusOut _keyboard.onClose"),t.addScrollPadding(0)},200,3e3))},n.prototype.resize=function(){this._dom.read(this._readDimensions.bind(this)),this._dom.write(this._writeDimensions.bind(this))},n.prototype._readDimensions=function(){var t,n=this._pTop,e=this._pRight,i=this._pBottom,l=this._pLeft,o=this._hdrHeight,r=this._ftrHeight,s=this._tabsPlacement,u=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 a=this.getNativeElement();if(a){for(var c,h,p=a.parentElement,d=p.children,_=d.length-1;_>=0;_--)"ION-CONTENT"===(h=(a=d[_]).tagName)?(t.contentElement=a,this._fullscreen&&(c=getComputedStyle(a),this._pTop=H(c.paddingTop),this._pBottom=H(c.paddingBottom),this._pRight=H(c.paddingRight),this._pLeft=H(c.paddingLeft))):"ION-HEADER"===h?(t.headerElement=a,this._hdrHeight=a.clientHeight):"ION-FOOTER"===h&&(t.footerElement=a,this._ftrHeight=a.clientHeight,this._footerEle=a);a=p;for(;a&&"ION-MODAL"!==a.tagName&&!a.classList.contains("tab-subpage");)"ION-TABS"===a.tagName&&(this._tabbarHeight=a.firstElementChild.clientHeight,null===this._tabsPlacement&&(this._tabsPlacement=a.getAttribute("tabsplacement"))),a=a.parentElement;this._tabs&&"top"===this._tabsPlacement&&(this._tTop=this._hdrHeight,u=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 f=this.getContentDimensions();t.scrollHeight=f.scrollHeight,t.scrollWidth=f.scrollWidth,t.contentHeight=f.contentHeight,t.contentWidth=f.contentWidth,t.contentTop=f.contentTop,t.contentBottom=f.contentBottom,this._dirty=n!==this._pTop||i!==this._pBottom||l!==this._pLeft||e!==this._pRight||o!==this._hdrHeight||r!==this._ftrHeight||s!==this._tabsPlacement||u!==this._tTop||this._cTop!==this.contentTop||this._cBottom!==this.contentBottom,this._scroll.init(this.getScrollElement(),this._cTop,this._cBottom),this.imgsUpdate()}else b(!1,"ele should be valid")}},n.prototype._writeDimensions=function(){if(this._dirty){var t=this.getScrollElement();if(t){var n=this.getFixedElement();if(n){if("bottom"===this._tabsPlacement&&this._cBottom>0&&this._footerEle){var e=this._cBottom-this._ftrHeight;b(e>=0,"footerPos has to be positive"),this._footerEle.style.bottom=W(e)}var i="marginTop",l="marginBottom",o=this._fTop,r=this._fBottom;this._fullscreen&&(b(this._pTop>=0,"_paddingTop has to be positive"),b(this._pBottom>=0,"_paddingBottom has to be positive"),i="paddingTop",l="paddingBottom"),this._cTop!==this.contentTop&&(b(this._cTop>=0,"contentTop has to be positive"),b(o>=0,"fixedTop has to be positive"),t.style[i]=W(this._cTop),n.style.marginTop=W(o),this.contentTop=this._cTop),this._cBottom!==this.contentBottom&&(b(this._cBottom>=0,"contentBottom has to be positive"),b(r>=0,"fixedBottom has to be positive"),t.style[l]=W(this._cBottom),n.style.marginBottom=W(r),this.contentBottom=this._cBottom),null!==this._tabsPlacement&&this._tabs&&("top"===this._tabsPlacement?this._tabs.setTabbarPosition(this._tTop,-1):(b("bottom"===this._tabsPlacement,"tabsPlacement should be bottom"),this._tabs.setTabbarPosition(-1,0))),this._scrollDownOnLoad&&(this.scrollToBottom(0),this._scrollDownOnLoad=!1)}else b(!1,"this._fixedEle should be valid")}else b(!1,"this.getScrollElement() should be valid")}else console.debug("Skipping writeDimensions")},n.prototype.imgsUpdate=function(){this._scroll.initialized&&this._imgs.length&&this.isImgsUpdatable()&&function(t,n,e,i,l,o){for(var r,s=n+e,u=[],a=[],c=0,h=t.length;c<h;c++){if(r=t[c],"up"===i){if(r.top<s&&r.bottom>n-o){r.canRequest=r.canRender=!0,u.push(r);continue}if(r.bottom<=n&&r.bottom>n-l){r.canRequest=!0,r.canRender=!1,a.push(r);continue}if(r.top>=s&&r.top<s+o){r.canRequest=r.canRender=!1;continue}}else{if(r.bottom>n&&r.top<s+o){r.canRequest=r.canRender=!0,u.push(r);continue}if(r.top>=s&&r.top<s+l){r.canRequest=!0,r.canRender=!1,a.push(r);continue}if(r.bottom<=n&&r.bottom>n-o){r.canRequest=r.canRender=!1;continue}}r.canRequest=r.canRender=!1,r.reset()}u.sort(q).forEach(function(t){return t.update()}),"up"===i?a.sort(q).reverse().forEach(function(t){return t.update()}):a.sort(q).forEach(function(t){return t.update()})}(this._imgs,this.scrollTop,this.contentHeight,this.directionY,this._imgReqBfr,this._imgRndBfr)},n.prototype.isImgsUpdatable=function(){return Math.abs(this._scroll.ev.velocityY)<this._imgVelMax},n=Object(le.__decorate)([Object(le.__param)(8,Object(ie.x)()),Object(le.__param)(9,Object(ie.x)())],n)}($e),Sl=function(){function t(t,n){this.plt=t,this.reorderList=n,this.selectedItemEle=null,this.events=new gi(t),this.events.pointerEvents({element:this.reorderList.getNativeElement(),pointerDown:this.onDragStart.bind(this),pointerMove:this.onDragMove.bind(this),pointerUp:this.onDragEnd.bind(this),zone:!1})}return t.prototype.onDragStart=function(t){if(this.selectedItemEle)return!1;var n=t.target;if("ION-REORDER"!==n.nodeName)return!1;var e=n.$ionComponent;if(!e)return console.error("ion-reorder does not contain $ionComponent"),!1;this.reorderList._reorderPrepare();var i=e.getReorderNode();return i?(t.preventDefault(),this.selectedItemEle=i,this.selectedItemHeight=i.offsetHeight,this.lastYcoord=-100,this.lastToIndex=U(i),this.windowHeight=this.plt.height()-xl,this.lastScrollPosition=this.reorderList._scrollContent(0),this.offset=O(t),this.offset.y+=this.lastScrollPosition,i.classList.add(Pl),this.reorderList._reorderStart(),!0):(console.error("reorder node not found"),!1)},t.prototype.onDragMove=function(t){var n=this.selectedItemEle;if(n){t.preventDefault();var e=O(t),i=e.y,l=this.scroll(i);if(Math.abs(i-this.lastYcoord)>30){var o=this.itemForCoord(e);if(o){var r=U(o);if(void 0!==r&&(r!==this.lastToIndex||this.emptyZone)){var s=U(n);this.lastToIndex=r,this.lastYcoord=i,this.emptyZone=!1,this.reorderList._reorderMove(s,r,this.selectedItemHeight)}}else this.emptyZone=!0}var u=Math.round(i-this.offset.y+l);n.style[this.plt.Css.transform]="translateY("+u+"px)"}},t.prototype.onDragEnd=function(t){var n=this,e=this.selectedItemEle;if(e){t&&(t.preventDefault(),t.stopPropagation());var i=this.lastToIndex,l=U(e),o=function(){n.selectedItemEle.style.transition="",n.selectedItemEle.classList.remove(Pl),n.selectedItemEle=null};i===l?(e.style.transition="transform 200ms ease-in-out",setTimeout(o,200)):o(),this.reorderList._reorderEmit(l,i)}},t.prototype.itemForCoord=function(t){return Y(this.plt.getElementFromPoint(this.offset.x+(this.reorderList._isStart===this.plt.isRTL?-100:100),t.y),this.reorderList.getNativeElement())},t.prototype.scroll=function(t){return t<xl?this.lastScrollPosition=this.reorderList._scrollContent(-Ol):t>this.windowHeight&&(this.lastScrollPosition=this.reorderList._scrollContent(Ol)),this.lastScrollPosition},t.prototype.destroy=function(){this.onDragEnd(null),this.events.destroy(),this.events=null,this.reorderList=null},t}(),xl=60,Ol=10,Pl="reorder-active",Dl=function(){function t(t,n){this.from=t,this.to=n}return t.prototype.applyTo=function(t){!function(t,n){var e=t[n.from];t.splice(n.from,1),t.splice(n.to,0,e)}(t,this)},t}(),Il=function(){function t(t,n,e,i,l,o){this._plt=t,this._dom=n,this._rendered=i,this._zone=l,this._content=o,this._enableReorder=!1,this._visibleReorder=!1,this._isStart=!1,this._lastToIndex=-1,this.ionItemReorder=new ie.m,this._element=e.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 n=this,e=f(t);!e&&this._reorderGesture?(this._reorderGesture.destroy(),this._reorderGesture=null,this._visibleReorder=!1,setTimeout(function(){return n._enableReorder=!1},400)):e&&!this._reorderGesture&&(console.debug("enableReorderItems"),this._reorderGesture=new Sl(this._plt,this),this._enableReorder=!0,this._dom.write(function(){n._zone.run(function(){n._visibleReorder=!0})},16))},enumerable:!0,configurable:!0}),t.prototype._reorderPrepare=function(){for(var t=this._element,n=t.children,e=0,i=n.length;e<i;e++){var l=n[e];l.$ionIndex=e,l.$ionReorderList=t}},t.prototype._reorderStart=function(){this.setElementClass("reorder-list-active",!0)},t.prototype._reorderEmit=function(t,n){var e=this;this._reorderReset(),t!==n&&this._zone.run(function(){var i=new Dl(t,n);e.ionItemReorder.emit(i)})},t.prototype._scrollContent=function(t){var n=this._content.scrollTop+t;return 0!==t&&this._content.scrollTo(0,n,0),n},t.prototype._reorderReset=function(){var t=this._element.children,n=t.length;this.setElementClass("reorder-list-active",!1);for(var e=this._plt.Css.transform,i=0;i<n;i++)t[i].style[e]="";this._lastToIndex=-1},t.prototype._reorderMove=function(t,n,e){-1===this._lastToIndex&&(this._lastToIndex=t);var i=this._lastToIndex;this._lastToIndex=n;var l=this._element.children,o=this._plt.Css.transform;if(n>=i)for(r=i;r<=n;r++)r!==t&&(l[r].style[o]=r>t?"translateY("+-e+"px)":"");if(n<=i)for(var r=n;r<=i;r++)r!==t&&(l[r].style[o]=r<t?"translateY("+e+"px)":"")},t.prototype.setElementClass=function(t,n){this._rendered.setElementClass(this._element,t,n)},t.prototype.getNativeElement=function(){return this._element},t=Object(le.__decorate)([Object(le.__param)(5,Object(ie.x)())],t)}(),Bl=function(t){function n(n,e,i,l,o){var r=t.call(this,e,i,l,"item")||this;return r._ids=-1,r._inputs=[],r._viewLabel=!0,r._name="item",r.labelId=null,r._setName(i),r._hasReorder=!!o,r.id=n.nextId().toString(),r.labelId="lbl-"+r.id,l.orgListen||(l.orgListen=l.listen,l.listen=function(t,n,e){return"click"===n&&t.setAttribute&&t.setAttribute("tappable",""),l.orgListen(t,n,e)}),r}return Object(le.__extends)(n,t),n.prototype.registerInput=function(t){return this._inputs.push(t),this.id+"-"+ ++this._ids},n.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)},n.prototype._updateColor=function(t,n){this._setColor(t,n=n||"item")},n.prototype._setName=function(t){var n=t.nativeElement.nodeName.replace("ION-","");"LIST-HEADER"!==n&&"ITEM-DIVIDER"!==n||(this._name=n)},n.prototype.getLabelText=function(){return this._label?this._label.text:""},Object.defineProperty(n.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(n.prototype,"viewLabel",{set:function(t){this._label||(this._label=t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_buttons",{set:function(t){t.forEach(function(t){t._size||t.setElementClass("item-button",!0)})},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_icons",{set:function(t){t.forEach(function(t){t.setElementClass("item-icon",!0)})},enumerable:!0,configurable:!0}),n=Object(le.__decorate)([Object(le.__param)(4,Object(ie.x)())],n)}($e),Ll=function(){function t(t){var n=this;t&&t.ready().then(function(){n._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}(),Al="picker-opt-selected",Rl=function(){function t(t,n,e,i,l,o,r){this._plt=n,this.elementRef=e,this._zone=i,this._haptic=l,this.y=0,this.pos=[],this.startY=null,this.ionChange=new ie.m,this.events=new gi(o),this.rotateFactor=t.getNumber("pickerRotateFactor",0),this.scaleFactor=t.getNumber("pickerScaleFactor",1),this.decelerateFunc=this.decelerate.bind(this),this.debouncer=r.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){console.debug("picker, pointerStart",t.type,this.startY),this._haptic.gestureSelectionStart(),t.preventDefault(),this._plt.cancelRaf(this.rafId),this.startY=O(t).y,this.velocity=0,this.pos.length=0,this.pos.push(this.startY,Date.now());for(var n=this.col.options,e=n.length-1,i=0,l=0;l<n.length;l++)n[l].disabled||(e=Math.min(e,l),i=Math.max(i,l));return this.minY=e*this.optHeight*-1,this.maxY=i*this.optHeight*-1,!0},t.prototype.pointerMove=function(t){var n=this;t.preventDefault(),t.stopPropagation();var e=O(t).y;this.pos.push(e,Date.now()),this.debouncer.write(function(){if(null!==n.startY){var t=n.y+(e-n.startY);t>n.minY?(t=Math.pow(t,.8),n.bounceFrom=t):t<n.maxY?(t+=Math.pow(n.maxY-t,.9),n.bounceFrom=t):n.bounceFrom=0,n.update(t,0,!1,!1);var i=Math.max(Math.abs(Math.round(t/n.optHeight)),0);i!==n.lastTempIndex&&(n._haptic.gestureSelectionChanged(),n.lastTempIndex=i)}})},t.prototype.pointerEnd=function(t){if(t.preventDefault(),this.debouncer.cancel(),null!==this.startY)if(console.debug("picker, pointerEnd",t.type),this.velocity=0,this.bounceFrom>0)this.update(this.minY,100,!0,!0);else if(this.bounceFrom<0)this.update(this.maxY,100,!0,!0);else{var n=O(t).y;this.pos.push(n,Date.now());for(var e=this.pos.length-1,l=e,o=Date.now()-100,r=e;r>0&&this.pos[r]>o;r-=2)l=r;if(l!==e){this.velocity=i(-60,(this.pos[l-1]-this.pos[e-1])/(this.pos[e]-this.pos[l])*(1e3/60),60)}if(Math.abs(n-this.startY)>3){this.update(this.y+(n-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):t<this.maxY&&(t=this.maxY,this.velocity=0);var n=t%this.optHeight!=0||Math.abs(this.velocity)>1;this.update(t,0,!0,!n),n&&(this.rafId=this._plt.raf(this.decelerateFunc))}else if(this.y%this.optHeight!=0){var e=Math.abs(this.y%this.optHeight);this.velocity=e>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,n){this.velocity||(t.preventDefault(),t.stopPropagation(),this.setSelected(n,150))},t.prototype.setSelected=function(t,n){var e=t>-1?t*this.optHeight*-1:0;this._plt.cancelRaf(this.rafId),this.velocity=0,this.update(e,n,!0,!0)},t.prototype.update=function(t,n,e,i){t=Math.round(t);var l,o,r,s,u,a,c,h,p,d,_=this.colEle.nativeElement.children,f=_.length,v=this.col.selectedIndex=Math.min(Math.max(Math.round(-t/this.optHeight),0),f-1),m=0===n?null:n+"ms",g="scale("+this.scaleFactor+")";for(l=0;l<f;l++)o=_[l],r=this.col.options[l],s=l*this.optHeight+t,u=!0,p="",0!==this.rotateFactor?(h=s*this.rotateFactor,Math.abs(h)>90?u=!1:(0,a=0,c=90,p="rotateX("+h+"deg) ")):(0,c=0,a=s,Math.abs(a)>170&&(u=!1)),d=v===l,u?(p+="translate3d(0px,"+a+"px,"+c+"px) ",1===this.scaleFactor||d||(p+=g)):p="translate3d(-9999px,0px,0px)",n!==r._dur&&(r._dur=n,o.style[this._plt.Css.transitionDuration]=m),p!==r._trans&&(r._trans=p,o.style[this._plt.Css.transform]=p),d!==r._selected&&(r._selected=d,d?o.classList.add(Al):o.classList.remove(Al));if(this.col.prevSelected=v,e&&(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 y=this.ionChange;y.observers.length>0&&this._zone.run(y.emit.bind(y,this.col.options[this.col.selectedIndex]))}},t.prototype.refresh=function(){for(var t=this.col.options.length-1,n=0,e=this.col.options,l=0;l<e.length;l++)e[l].disabled||(t=Math.min(t,l),n=Math.max(n,l));var o=i(t,this.col.selectedIndex,n);if(this.col.prevSelected!==o){var r=o*this.optHeight*-1;this._plt.cancelRaf(this.rafId),this.velocity=0,this.update(r,150,!0,!1)}},t}(),Ml=function(){function t(t,n,e,i,l,o){this._viewCtrl=t,this._elementRef=n,this._gestureBlocker=i.createBlocker(ai),this.d=l.data,this.mode=e.get("mode"),o.setElementClass(n.nativeElement,"picker-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){o.setElementClass(n.nativeElement,t,!0)}),this.id=++jl,this.lastClick=0}return t.prototype.ionViewWillLoad=function(){var t=this.d;t.buttons=t.buttons.map(function(t){return r(t)?{text:t}:(t.role&&(t.cssRole="picker-toolbar-"+t.role),t)}),t.columns=t.columns.map(function(t){return h(t.options)||(t.options=[]),t.selectedIndex=t.selectedIndex||0,t.options=t.options.map(function(t){var n={text:"",value:"",disabled:t.disabled};return h(t)&&(r(t)||s(t)?(n.text=t.toString(),n.value=t):(n.text=h(t.text)?t.text:t.value,n.value=h(t.value)?t.value:t.text)),n}),t})},t.prototype.ionViewDidLoad=function(){this.refresh()},t.prototype.ionViewWillEnter=function(){this._gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this._gestureBlocker.unblock()},t.prototype.refresh=function(){this._cols.forEach(function(t){return t.refresh()})},t.prototype._colChange=function(){this._viewCtrl.ionChange.emit(this.getSelected())},t.prototype._keyUp=function(t){if(this.enabled&&this._viewCtrl.isLast())if(13===t.keyCode){if(this.lastClick+1e3<Date.now()){console.debug("picker, enter button");this.btnClick(this.d.buttons[this.d.buttons.length-1])}}else 27===t.keyCode&&(console.debug("picker, escape button"),this.bdClick())},t.prototype.ionViewDidEnter=function(){var t=this._elementRef.nativeElement.querySelector("button");t&&t.focus(),this.enabled=!0},t.prototype.btnClick=function(t){if(this.enabled){this.lastClick=Date.now();var n=!0;t.handler&&!1===t.handler(this.getSelected())&&(n=!1),n&&this.dismiss(t.role)}},t.prototype.bdClick=function(){if(this.enabled&&this.d.enableBackdropDismiss){var t=this.d.buttons.find(function(t){return"cancel"===t.role});t?this.btnClick(t):this.dismiss("backdrop")}},t.prototype.dismiss=function(t){return this._viewCtrl.dismiss(this.getSelected(),t)},t.prototype.getSelected=function(){var t={};return this.d.columns.forEach(function(n,e){var i=n.options[n.selectedIndex];t[n.name]={text:i?i.text:null,value:i?i.value:null,columnIndex:e}}),t},t.prototype.ngOnDestroy=function(){b(!1===this._gestureBlocker.blocked,"gesture blocker must be already unblocked"),this._gestureBlocker.destroy()},t}(),jl=-1,Nl=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Fl=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Nl(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".picker-wrapper"));n.fromTo("opacity",.01,.26),e.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(n).add(e)},n}(Ie),Vl=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Nl(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".picker-wrapper"));n.fromTo("opacity",.26,0),e.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(n).add(e)},n}(Ie),zl=function(t){function n(n,e,i){void 0===e&&(e={});var l=this;return e||(e={}),e.columns=e.columns||[],e.buttons=e.buttons||[],e.enableBackdropDismiss=!h(e.enableBackdropDismiss)||Boolean(e.enableBackdropDismiss),l=t.call(this,Ml,e,null)||this,l._app=n,l.isOverlay=!0,l.ionChange=new ie.m,i.setTransition("picker-slide-in",Fl),i.setTransition("picker-slide-out",Vl),l}return Object(le.__extends)(n,t),n.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"pickerLeave":"pickerEnter")},n.prototype.addButton=function(t){this.data.buttons.push(t)},n.prototype.addColumn=function(t){this.data.columns.push(t)},n.prototype.getColumns=function(){return this.data.columns},n.prototype.getColumn=function(t){return this.getColumns().find(function(n){return n.name===t})},n.prototype.refresh=function(){b(this._cmp,"componentRef must be valid"),b(this._cmp.instance.refresh,"instance must implement refresh()"),this._cmp&&this._cmp.instance.refresh&&this._cmp.instance.refresh()},n.prototype.setCssClass=function(t){this.data.cssClass=t},n.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},n}(ae),ql=function(){function t(t,n){this._app=t,this.config=n}return t.prototype.create=function(t){return void 0===t&&(t={}),new zl(this._app,t,this.config)},t}(),Hl=(this&&this.__assign||Object,e(8),e(25),function(){return function(){}}()),Wl=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Ul=function(t){function n(n,e,i,l){var o=t.call(this,n,e.getNativeElement(),{maxAngle:20,threshold:5,zone:!1,domController:l,gesture:i.createGesture({name:ri,priority:si,disableScroll:!0})})||this;return o.list=e,o.preSelectedContainer=null,o.selectedContainer=null,o.openContainer=null,o}return Wl(n,t),n.prototype.canStart=function(t){if(this.selectedContainer)return!1;var n=function(t){var n=t.target.closest("ion-item-sliding");return n?n.$ionComponent:null}(t);if(!n)return this.closeOpened(),!1;n!==this.openContainer&&this.closeOpened();var e=O(t);return this.preSelectedContainer=n,this.firstCoordX=e.x,this.firstTimestamp=Date.now(),!0},n.prototype.onDragStart=function(t){t.preventDefault();var n=O(t);this.selectedContainer=this.openContainer=this.preSelectedContainer,this.selectedContainer.startSliding(n.x)},n.prototype.onDragMove=function(t){t.preventDefault(),this.selectedContainer.moveSliding(O(t).x)},n.prototype.onDragEnd=function(t){t.preventDefault();var n=O(t).x-this.firstCoordX,e=Date.now()-this.firstTimestamp;this.selectedContainer.endSliding(n/e),this.selectedContainer=null,this.preSelectedContainer=null},n.prototype.notCaptured=function(t){(function(t){return!!t.target.closest("ion-item-options>button")})(t)||this.closeOpened()},n.prototype.closeOpened=function(){return this.selectedContainer=null,!!this.openContainer&&(this.openContainer.close(),this.openContainer=null,!0)},n.prototype.destroy=function(){t.prototype.destroy.call(this),this.closeOpened(),this.list=null,this.preSelectedContainer=null,this.selectedContainer=null,this.openContainer=null},n}(yi),Yl=function(t){function n(n,e,i,l,o,r){var s=t.call(this,n,e,i,"list")||this;return s._plt=l,s._gestureCtrl=o,s._domCtrl=r,s._enableSliding=!0,s._containsSlidingItems=!1,s}return Object(le.__extends)(n,t),Object.defineProperty(n.prototype,"sliding",{get:function(){return this._enableSliding},set:function(t){this._enableSliding=f(t),this._updateSlidingState()},enumerable:!0,configurable:!0}),n.prototype.containsSlidingItem=function(t){this._containsSlidingItems=t,this._updateSlidingState()},n.prototype._updateSlidingState=function(){this._enableSliding&&this._containsSlidingItems?this._slidingGesture||(console.debug("enableSlidingItems"),this._slidingGesture=new Ul(this._plt,this,this._gestureCtrl,this._domCtrl),this._slidingGesture.listen()):(this._slidingGesture&&this._slidingGesture.destroy(),this._slidingGesture=null)},n.prototype.closeSlidingItems=function(){this._slidingGesture&&this._slidingGesture.closeOpened()},n.prototype.destroy=function(){this._slidingGesture&&this._slidingGesture.destroy()},n}($e);!function(t){t[t.Disabled=2]="Disabled",t[t.Enabled=4]="Enabled",t[t.Right=8]="Right",t[t.Left=16]="Left",t[t.SwipeRight=32]="SwipeRight",t[t.SwipeLeft=64]="SwipeLeft"}(ne||(ne={}));var $l=function(){function t(t){this.elementRef=t,t.nativeElement.$ionComponent=this}return t.prototype.getReorderNode=function(){return Y(this.elementRef.nativeElement,null)},t.prototype.onClick=function(t){t.preventDefault(),t.stopPropagation()},t}(),Xl=function(t){function n(n,e,i,l){var o=t.call(this,n,i,e,"list-header")||this;return o._id=l,o}return Object(le.__extends)(n,t),Object.defineProperty(n.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t,this.setElementAttribute("id",t)},enumerable:!0,configurable:!0}),n=Object(le.__decorate)([Object(le.__param)(3,Object(ie.g)("id"))],n)}($e),Gl=function(){function t(t,n,e,i,l,o){this._viewCtrl=t,this._config=n,b(l.data,"params data must be valid"),this.gestureBlocker=i.createBlocker(ai),this.d=l.data,o.setElementClass(e.nativeElement,"loading-"+n.get("mode"),!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&o.setElementClass(e.nativeElement,t,!0)}),this.id=++Zl}return t.prototype.ngOnInit=function(){c(this.d.spinner)&&(this.d.spinner=this._config.get("loadingSpinner",this._config.get("spinner","ios"))),this.showSpinner=a(this.d.spinner)&&"hide"!==this.d.spinner},t.prototype.ionViewWillEnter=function(){this.gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this.gestureBlocker.unblock()},t.prototype.ionViewDidEnter=function(){var t=this;this.d&&this.d.duration&&(this.durationTimeout=setTimeout(function(){return t.dismiss("backdrop")},this.d.duration))},t.prototype.keyUp=function(t){this._viewCtrl.isLast()&&27===t.keyCode&&this.bdClick()},t.prototype.bdClick=function(){this.d.enableBackdropDismiss&&this.dismiss("backdrop")},t.prototype.dismiss=function(t){return this.durationTimeout&&clearTimeout(this.durationTimeout),this._viewCtrl.dismiss(null,t)},t.prototype.ngOnDestroy=function(){b(!1===this.gestureBlocker.blocked,"gesture blocker must be already unblocked"),this.gestureBlocker.destroy()},t}(),Zl=-1,Kl=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Jl=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Kl(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".loading-wrapper"));e.fromTo("opacity",.01,1).fromTo("scale",1.1,1),n.fromTo("opacity",.01,.3),this.easing("ease-in-out").duration(200).add(n).add(e)},n}(Ie),Ql=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Kl(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".loading-wrapper"));e.fromTo("opacity",.99,0).fromTo("scale",1,.9),n.fromTo("opacity",.3,0),this.easing("ease-in-out").duration(200).add(n).add(e)},n}(Ie),to=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Kl(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".loading-wrapper"));e.fromTo("opacity",.01,1).fromTo("scale",1.1,1),n.fromTo("opacity",.01,.5),this.easing("ease-in-out").duration(200).add(n).add(e)},n}(Ie),no=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Kl(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".loading-wrapper"));e.fromTo("opacity",.99,0).fromTo("scale",1,.9),n.fromTo("opacity",.5,0),this.easing("ease-in-out").duration(200).add(n).add(e)},n}(Ie),eo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Kl(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".loading-wrapper"));e.fromTo("opacity",.01,1).fromTo("scale",1.3,1),n.fromTo("opacity",.01,.16),this.easing("cubic-bezier(0,0,0.05,1)").duration(200).add(n).add(e)},n}(Ie),io=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Kl(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".loading-wrapper"));e.fromTo("opacity",.99,0).fromTo("scale",1,1.3),n.fromTo("opacity",.16,0),this.easing("ease-out").duration(150).add(n).add(e)},n}(Ie),lo=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),oo=function(t){function n(n,e,i){void 0===e&&(e={});var l=this;return e.showBackdrop=!h(e.showBackdrop)||!!e.showBackdrop,e.enableBackdropDismiss=!!h(e.enableBackdropDismiss)&&!!e.enableBackdropDismiss,e.dismissOnPageChange=!!h(e.dismissOnPageChange)&&!!e.dismissOnPageChange,l=t.call(this,Gl,e,null)||this,l._app=n,l.isOverlay=!0,i.setTransition("loading-pop-in",Jl),i.setTransition("loading-pop-out",Ql),i.setTransition("loading-md-pop-in",to),i.setTransition("loading-md-pop-out",no),i.setTransition("loading-wp-pop-in",eo),i.setTransition("loading-wp-pop-out",io),l}return lo(n,t),n.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"loadingLeave":"loadingEnter")},n.prototype.setContent=function(t){return this.data.content=t,this},n.prototype.setSpinner=function(t){return this.data.spinner=t,this},n.prototype.setCssClass=function(t){return this.data.cssClass=t,this},n.prototype.setShowBackdrop=function(t){return this.data.showBackdrop=t,this},n.prototype.setDuration=function(t){return this.data.duration=t,this},n.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t,3)},n.prototype.dismissAll=function(){this._nav&&this._nav.popAll()},n}(ae),ro=function(){function t(t,n){this._app=t,this.config=n}return t.prototype.create=function(t){return void 0===t&&(t={}),new oo(this._app,t,this.config)},t}(),so=(e(60),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])}}(),function(){return function(){}}()),uo=function(t){function n(n,e,i,l,o,r,s,u,a,c,h,p,d,_){var f=t.call(this,e,i,l,o,r,s,u,a,c,h,p,d,_)||this;return f._hasInit=!1,n&&n._setContent(f),e?e.registerChildNav(f):n&&n.getNav()?(f.parent=n.getNav(),f.parent.registerChildNav(f)):i&&!i.getRootNavById(f.id)&&i.registerRootNav(f),f}return Object(le.__extends)(n,t),n,Object.defineProperty(n.prototype,"_vp",{set:function(t){this.setViewport(t)},enumerable:!0,configurable:!0}),n.prototype.ngAfterViewInit=function(){var t=this;this._hasInit=!0;var n=this._linker.getSegmentByNavIdOrName(this.id,this.name);if(n&&(n.component||n.loadChildren))return this._linker.initViews(n).then(function(n){return t.setPages(n,null,null)});if(this._root){var e=!n;return this.push(this._root,this.rootParams,{isNavRoot:this._app.getRootNavById(this.id)===this,updateUrl:e},null)}},Object.defineProperty(n.prototype,"root",{get:function(){return this._root},set:function(t){this._root=t,this._hasInit&&this.setRoot(t)},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this.destroy()},n.prototype.initPane=function(){return this._elementRef.nativeElement.hasAttribute("main")},n.prototype.paneChanged=function(t){t&&this.resize()},n.prototype.goToRoot=function(t){return this.setRoot(this._root,this.rootParams,t,null)},n.prototype.getType=function(){return"nav"},n.prototype.getSecondaryIdentifier=function(){return null},n=Object(le.__decorate)([Object(le.__param)(0,Object(ie.x)()),Object(le.__param)(1,Object(ie.x)()),Object(le.__param)(11,Object(ie.x)())],n)}(Si),ao=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),co=function(t){function n(n,e,i){return t.call(this,n,e,i,"toolbar")||this}return ao(n,t),n.prototype._setTitle=function(t){this._title=t},n.prototype.getTitleText=function(){return this._title&&this._title.getTitleText()||""},n}($e),ho=function(t){function n(n,e,i,l,o,r){var s=t.call(this,l,o,r)||this;return s._app=n,s.navCtrl=i,s._hidden=!1,s._hideBb=!1,e&&e._setNavbar(s),s._bbIcon=l.get("backButtonIcon"),s._sbPadding=l.getBoolean("statusbarPadding"),s._backText=l.get("backButtonText","Back"),s}return Object(le.__extends)(n,t),Object.defineProperty(n.prototype,"hideBackButton",{get:function(){return this._hideBb},set:function(t){this._hideBb=f(t)},enumerable:!0,configurable:!0}),n.prototype.backButtonClick=function(t){t.preventDefault(),t.stopPropagation(),this.navCtrl&&this.navCtrl.pop(null,null)},n.prototype.setBackButtonText=function(t){this._backText=t},n.prototype.didEnter=function(){try{this._app.setTitle(this.getTitleText())}catch(t){console.error(t)}},n.prototype.setHidden=function(t){this._hidden=t},n=Object(le.__decorate)([Object(le.__param)(1,Object(ie.x)()),Object(le.__param)(2,Object(ie.x)())],n)}(co),po=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),_o=function(){function t(t){this.ani=new Ee(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,n,e){var i=this.ani.onFinish(e,!0,!0).reverse(!t);n?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,n,e,i){var l=this,o=this.isOpening&&t;this.isOpening||t||(o=!0);var r=this.ani;r.onFinish(function(){l.isOpening=!1,i(o)},!0);var s=1-Math.min(Math.abs(e)/4,.7),u=r.getDuration()*s;r.progressEnd(t,n,u)},t.prototype.destroy=function(){this.ani.destroy(),this.ani=null},t}();ye.registerType("reveal",function(t){function n(n,e){var i=t.call(this,e)||this,l=n.width()*(n.isRightSide?-1:1)+"px",o=new Ee(e,n.getContentElement());return o.fromTo("translateX","0px",l),i.ani.add(o),i}return po(n,t),n}(_o));ye.registerType("push",function(t){function n(n,e){var i,l,o,r=t.call(this,e)||this,s=n.width();n.isRightSide?(i=-s+"px",l=s+"px",o="0px"):(i=s+"px",o="0px",l=-s+"px");var u=new Ee(e,n.getMenuElement());u.fromTo("translateX",l,o),r.ani.add(u);var a=new Ee(e,n.getContentElement());return a.fromTo("translateX","0px",i),r.ani.add(a),r}return po(n,t),n}(_o));ye.registerType("overlay",function(t){function n(n,e){var i,l,o=t.call(this,e)||this,r=n.width();n.isRightSide?(i=8+r+"px",l="0px"):(i=-(8+r)+"px",l="0px");var s=new Ee(e,n.getMenuElement());s.fromTo("translateX",i,l),o.ani.add(s);var u=new Ee(e,n.getBackdropElement());return u.fromTo("opacity",.01,.35),o.ani.add(u),o}return po(n,t),n}(_o));var fo,vo=function(){function t(t,n,e,i){this._app=t,this._component=n,this._config=e,this._deepLinker=i}return t.prototype.getImplementation=function(){throw new Error('Child class must implement "getImplementation" method')},t.prototype.present=function(t){var n=this;void 0===t&&(t={});return r(this._component)?this._deepLinker.getComponentFromName(this._component).then(function(e){return n._component=e,n.createAndPresentOverlay(t)}):this.createAndPresentOverlay(t)},t.prototype.dismiss=function(t,n,e){if(this.overlay)return this.overlay.dismiss(t,n,e)},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}(),mo=function(){function t(t){this._compiler=t}return t.prototype.load=function(t,n){return this._compiler instanceof ie.i?function(t,n){return e(26)(t).then(function(e){var i=e[n];if(!i)throw new Error("Module "+t+" does not export "+n);return i})}(t,n):function(t,n,i){return i||(i="default"),e(26)(n).then(function(e){var l=e[i];if(!l)throw new Error("Module "+n+" does not export "+i);return t.compileModuleAsync(l)})}(this._compiler,t,n)},t}(),go=new ie.p("LZYCMP"),yo=function(){function t(t,n){this._ngModuleLoader=t,this._injector=n,this._cfrMap=new Map,this._promiseMap=new Map}return t.prototype.load=function(t){var n=this;console.time("ModuleLoader, load: "+t+"'");var e=t.split(bo),i=this._promiseMap.get(t);return i||(i=this._ngModuleLoader.load(e[0],e[1]),this._promiseMap.set(t,i)),i.then(function(e){console.timeEnd("ModuleLoader, load: "+t+"'");var i=e.create(n._injector),l=i.injector.get(go);return n._cfrMap.set(l,i.componentFactoryResolver),{componentFactoryResolver:i.componentFactoryResolver,component:l}})},t.prototype.getComponentFactoryResolver=function(t){return this._cfrMap.get(t)},t}(),bo="#",wo=function(){function t(t,n,e,i,l,o,r){this._cfr=t,this._renderer=n,this._elementRef=e,this._navParams=i,this._viewCtrl=l,this.moduleLoader=r;var s=i.get("opts");b(s,"modal data must be valid"),this._gestureBlocker=o.createBlocker({disable:[oi,li]}),this._bdDismiss=s.enableBackdropDismiss,s.cssClass&&s.cssClass.split(" ").forEach(function(t){""!==t.trim()&&n.setElementClass(e.nativeElement,t,!0)})}return t.prototype.ionViewPreLoad=function(){var t=this._navParams.data.component;if(t){var n=this.moduleLoader.getComponentFactoryResolver(t);n||(n=this._cfr);var e=n.resolveComponentFactory(t),i=this._viewport.createComponent(e,this._viewport.length,this._viewport.parentInjector,[]);this._setCssClass(i,"ion-page"),this._setCssClass(i,"show-page"),this._viewCtrl._setInstance(i.instance),this._viewCtrl.willEnter.subscribe(this._viewWillEnter.bind(this)),this._viewCtrl.didLeave.subscribe(this._viewDidLeave.bind(this)),this._enabled=!0}else console.warn("modal's page was not defined")},t.prototype._viewWillEnter=function(){this._gestureBlocker.block()},t.prototype._viewDidLeave=function(){this._gestureBlocker.unblock()},t.prototype._setCssClass=function(t,n){this._renderer.setElementClass(t.location.nativeElement,n,!0)},t.prototype._bdClick=function(){if(this._enabled&&this._bdDismiss){return this._viewCtrl.dismiss(null,"backdrop",{minClickBlockDuration:400})}},t.prototype._keyUp=function(t){this._enabled&&this._viewCtrl.isLast()&&27===t.keyCode&&this._bdClick()},t.prototype.ngOnDestroy=function(){b(!1===this._gestureBlocker.blocked,"gesture blocker must be already unblocked"),this._gestureBlocker.destroy()},t}(),ko=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Co=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return ko(n,t),n.prototype.init=function(){t.prototype.init.call(this);var n=this.enteringView.pageRef().nativeElement,e=n.querySelector("ion-backdrop"),i=new Ee(this.plt,e),l=new Ee(this.plt,n.querySelector(".modal-wrapper"));l.beforeStyles({opacity:1}),l.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(l)},n}(Le),To=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return ko(n,t),n.prototype.init=function(){t.prototype.init.call(this);var n=this.leavingView.pageRef().nativeElement,e=new Ee(this.plt,n.querySelector("ion-backdrop")),i=n.querySelector(".modal-wrapper"),l=i.getBoundingClientRect(),o=new Ee(this.plt,i);o.fromTo("translateY","0px",this.plt.height()-l.top+"px"),e.fromTo("opacity",.4,0),this.element(this.leavingView.pageRef()).easing("ease-out").duration(250).add(e).add(o)},n}(Le),Eo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return ko(n,t),n.prototype.init=function(){t.prototype.init.call(this);var n=this.enteringView.pageRef().nativeElement,e=new Ee(this.plt,n.querySelector("ion-backdrop")),i=new Ee(this.plt,n.querySelector(".modal-wrapper"));e.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(e).add(i)},n}(Le),So=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return ko(n,t),n.prototype.init=function(){t.prototype.init.call(this);var n=this.leavingView.pageRef().nativeElement,e=new Ee(this.plt,n.querySelector("ion-backdrop")),i=new Ee(this.plt,n.querySelector(".modal-wrapper"));e.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(e)},n}(Le),xo=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Oo=function(t){function n(n,e,i,l,o){void 0===l&&(l={});var r=this;return i=i||{},i.component=e,l.showBackdrop=!h(l.showBackdrop)||!!l.showBackdrop,l.enableBackdropDismiss=!h(l.enableBackdropDismiss)||!!l.enableBackdropDismiss,i.opts=l,r=t.call(this,wo,i,null)||this,r._app=n,r._enterAnimation=l.enterAnimation,r._leaveAnimation=l.leaveAnimation,r.isOverlay=!0,o.setTransition("modal-slide-in",Co),o.setTransition("modal-slide-out",To),o.setTransition("modal-md-slide-in",Eo),o.setTransition("modal-md-slide-out",So),r}return xo(n,t),n.prototype.getTransitionName=function(t){var n;if("back"===t){if(this._leaveAnimation)return this._leaveAnimation;n="modalLeave"}else{if(this._enterAnimation)return this._enterAnimation;n="modalEnter"}return this._nav&&this._nav.config.get(n)},n.prototype.present=function(t){return void 0===t&&(t={}),t.minClickBlockDuration=t.minClickBlockDuration||400,this._app.present(this,t,2)},n}(ae),Po=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Do=function(t){function n(n,e,i,l,o,r){void 0===l&&(l={});var s=t.call(this,n,e,o,r)||this;return s.data=i,s.opts=l,s.isOverlay=!0,s}return Po(n,t),n.prototype.getImplementation=function(){return new Oo(this._app,this._component,this.data,this.opts,this._config)},n}(vo),Io=function(){function t(t,n,e){this._app=t,this.config=n,this.deepLinker=e}return t.prototype.create=function(t,n,e){return void 0===n&&(n={}),void 0===e&&(e={}),new Do(this._app,t,n,e,this.config,this.deepLinker)},t}(),Bo=(e(61),function(){function t(t){this._elementRef=t,this._selected=!1,this._disabled=!1,this.ionSelect=new ie.m}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=f(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=f(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return h(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}()),Lo=function(){function t(t,n,e,i,l,o,r,s){this._cfr=t,this._elementRef=n,this._renderer=e,this._config=i,this._navParams=l,this._viewCtrl=o,this.moduleLoader=s,this._gestureBlocker=r.createBlocker(ai),this.d=l.data.opts,e.setElementClass(n.nativeElement,"popover-"+i.get("mode"),!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&e.setElementClass(n.nativeElement,t,!0)}),this.id=++Ao}return t.prototype.ionViewPreLoad=function(){this._load(this._navParams.data.component)},t.prototype._load=function(t){if(t){var n=this.moduleLoader.getComponentFactoryResolver(t);n||(n=this._cfr);var e=n.resolveComponentFactory(t),i=this._viewport.createComponent(e,this._viewport.length,this._viewport.parentInjector,[]);this._viewCtrl._setInstance(i.instance),this._enabled=!0,this._viewCtrl.willEnter.subscribe(this._viewWillEnter.bind(this)),this._viewCtrl.didLeave.subscribe(this._viewDidLeave.bind(this))}},t.prototype._viewWillEnter=function(){this._gestureBlocker.block()},t.prototype._viewDidLeave=function(){this._gestureBlocker.unblock()},t.prototype._setCssClass=function(t,n){this._renderer.setElementClass(t.location.nativeElement,n,!0)},t.prototype._bdClick=function(){if(this._enabled&&this.d.enableBackdropDismiss)return this._viewCtrl.dismiss(null,"backdrop")},t.prototype._keyUp=function(t){this._enabled&&27===t.keyCode&&this._viewCtrl.isLast()&&this._bdClick()},t.prototype.ngOnDestroy=function(){b(!1===this._gestureBlocker.blocked,"gesture blocker must be already unblocked"),this._gestureBlocker.destroy()},t}(),Ao=-1,Ro=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Mo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ro(n,t),n.prototype.mdPositionView=function(t,n){var e="top",i="left",l=t.querySelector(".popover-wrapper"),o=t.querySelector(".popover-content"),r=o.getBoundingClientRect(),s=r.width,u=r.height,a=this.plt.width(),c=this.plt.height(),h=n&&n.target&&n.target.getBoundingClientRect(),p=h&&"top"in h?h.top:c/2-u/2,d=h&&h.height||0,_={top:p,left:h&&"left"in h?h.left:a/2-s/2};_.left<qo?_.left=qo:s+qo+_.left>a&&(_.left=a-s-qo,i="right"),p+d+u>c&&p-u>0?(_.top=p-u,t.className=t.className+" popover-bottom",e="bottom"):p+d+u>c&&(o.style.bottom=qo+"px"),o.style.top=_.top+"px",o.style.left=_.left+"px",o.style[this.plt.Css.transformOrigin]=e+" "+i,l.style.opacity="1"},n.prototype.iosPositionView=function(t,n){var e="top",i="left",l=t.querySelector(".popover-wrapper"),o=t.querySelector(".popover-content"),r=o.getBoundingClientRect(),s=r.width,u=r.height,a=this.plt.width(),c=this.plt.height(),h=n&&n.target&&n.target.getBoundingClientRect(),p=h&&"top"in h?h.top:c/2-u/2,d=h&&"left"in h?h.left:a/2,_=h&&h.width||0,f=h&&h.height||0,v=t.querySelector(".popover-arrow"),m=v.getBoundingClientRect(),g=m.width,y=m.height;h||(v.style.display="none");var b={top:p+f,left:d+_/2-g/2},w={top:p+f+(y-1),left:d+_/2-s/2},k=!1,C=!1;w.left<zo+25?(k=!0,w.left=zo):s+zo+w.left+25>a&&(C=!0,w.left=a-s-zo,i="right"),p+f+u>c&&p-u>0?(b.top=p-(y+1),w.top=p-u-(y-1),t.className=t.className+" popover-bottom",e="bottom"):p+f+u>c&&(o.style.bottom=zo+"%"),v.style.top=b.top+"px",v.style.left=b.left+"px",o.style.top=w.top+"px",o.style.left=w.left+"px",k&&(CSS.supports("left","constant(safe-area-inset-left)")?o.style.left="calc("+w.left+"px + constant(safe-area-inset-left)":CSS.supports("left","env(safe-area-inset-left)")&&(o.style.left="calc("+w.left+"px + env(safe-area-inset-left)")),C&&(CSS.supports("right","constant(safe-area-inset-right)")?o.style.left="calc("+w.left+"px - constant(safe-area-inset-right)":CSS.supports("right","env(safe-area-inset-right)")&&(o.style.left="calc("+w.left+"px - env(safe-area-inset-right)")),o.style[this.plt.Css.transformOrigin]=e+" "+i,l.style.opacity="1"},n}(Le),jo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ro(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".popover-wrapper"));e.fromTo("opacity",.01,1),n.fromTo("opacity",.01,.08),this.easing("ease").duration(100).add(n).add(e)},n.prototype.play=function(){var n=this;this.plt.raf(function(){n.iosPositionView(n.enteringView.pageRef().nativeElement,n.opts.ev),t.prototype.play.call(n)})},n}(Mo),No=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ro(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector("ion-backdrop")),e=new Ee(this.plt,t.querySelector(".popover-wrapper"));e.fromTo("opacity",.99,0),n.fromTo("opacity",.08,0),this.easing("ease").duration(500).add(n).add(e)},n}(Mo),Fo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ro(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector(".popover-content")),e=new Ee(this.plt,t.querySelector(".popover-viewport"));n.fromTo("scale",.001,1),e.fromTo("opacity",.01,1),this.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).add(n).add(e)},n.prototype.play=function(){var n=this;this.plt.raf(function(){n.mdPositionView(n.enteringView.pageRef().nativeElement,n.opts.ev),t.prototype.play.call(n)})},n}(Mo),Vo=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Ro(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,n=new Ee(this.plt,t.querySelector(".popover-wrapper"));n.fromTo("opacity",.99,0),this.easing("ease").duration(500).fromTo("opacity",.01,1).add(n)},n}(Mo),zo=2,qo=12,Ho=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Wo=function(t){function n(n,e,i,l,o){void 0===i&&(i={}),void 0===l&&(l={});var r=this;return l.showBackdrop=!h(l.showBackdrop)||!!l.showBackdrop,l.enableBackdropDismiss=!h(l.enableBackdropDismiss)||!!l.enableBackdropDismiss,i.component=e,i.opts=l,r=t.call(this,Lo,i,null)||this,r._app=n,r.isOverlay=!0,o.setTransition("popover-pop-in",jo),o.setTransition("popover-pop-out",No),o.setTransition("popover-md-pop-in",Fo),o.setTransition("popover-md-pop-out",Vo),r}return Ho(n,t),n.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"popoverLeave":"popoverEnter")},n.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},n}(ae),Uo=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),Yo=function(t){function n(n,e,i,l,o,r){void 0===l&&(l={});var s=t.call(this,n,e,o,r)||this;return s.data=i,s.opts=l,s.isOverlay=!0,s}return Uo(n,t),n.prototype.getImplementation=function(){return new Wo(this._app,this._component,this.data,this.opts,this._config)},n}(vo),$o=function(){function t(t,n,e){this._app=t,this.config=n,this._deepLinker=e}return t.prototype.create=function(t,n,e){return void 0===n&&(n={}),void 0===e&&(e={}),new Yo(this._app,t,n,e,this.config,this._deepLinker)},t}(),Xo=(e(62),function(){function t(t,n,e){this._renderer=t,this._elementRef=n,this._cd=e,this._disabled=!1,this._btns=[],this._ids=-1,this._init=!1,this.ionChange=new ie.m,this.id=++Go}return t,Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=f(t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this._btns.find(function(t){return t.checked});t&&this._setActive(t)},t.prototype.writeValue=function(t){console.debug("radio group, writeValue",t),this.value=t,this._init&&(this._update(),this.onTouched(),this.ionChange.emit(t)),this._init=!0},t.prototype.registerOnChange=function(t){var n=this;this._fn=t,this.onChange=function(e){console.debug("radio group, onChange",e),t(e),n.value=e,n._update(),n.onTouched(),n.ionChange.emit(e)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype._update=function(){var t=this,n=!1;this._btns.forEach(function(e){e.checked=v(t.value,e.value)&&!n,e.checked&&(t._setActive(e),n=!0)})},t.prototype._setActive=function(t){this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-activedescendant",t.id)},t.prototype.add=function(t){var n=this;return this._btns.push(t),t.ionSelect.subscribe(function(t){n.onChange(t)}),this.id+"-"+ ++this._ids},t.prototype.remove=function(t){var n=this._btns.indexOf(t);n>-1&&(t.value===this.value&&(this.value=null),this._btns.splice(n,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){console.debug("radio group, onChange w/out formControlName",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}()),Go=-1,Zo=function(t){function n(n,e,i,l,o,r){var s=t.call(this,e,i,l,"radio")||this;return s._form=n,s._item=o,s._group=r,s._checked=!1,s._disabled=!1,s._value=null,s.ionSelect=new ie.m,n.register(s),r&&(s.id="rb-"+r.add(s)),o&&(s.id="rb-"+o.registerInput("radio"),s._labelId="lbl-"+o.id,s._item.setElementClass("item-radio",!0)),s}return Object(le.__extends)(n,t),Object.defineProperty(n.prototype,"color",{set:function(t){this._setColor(t),this._item&&this._item._updateColor(t,"item-radio")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return p(this._value)?this.id:this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=f(t),this._item&&this._item.setElementClass("item-radio-checked",this._checked)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled||null!=this._group&&this._group.disabled},set:function(t){this._disabled=f(t),this._item&&this._item.setElementClass("item-radio-disabled",this._disabled)},enumerable:!0,configurable:!0}),n.prototype.initFocus=function(){this._elementRef.nativeElement.querySelector("button").focus()},n.prototype._click=function(t){console.debug("radio, select",this.id),t.preventDefault(),t.stopPropagation(),this.checked=!0,this.ionSelect.emit(this.value)},n.prototype.ngOnInit=function(){this._group&&h(this._group.value)&&(this.checked=v(this._group.value,this.value)),this._group&&this._group.disabled&&(this.disabled=this._group.disabled)},n.prototype.ngOnDestroy=function(){this._form.deregister(this),this._group&&this._group.remove(this)},n=Object(le.__decorate)([Object(le.__param)(4,Object(ie.x)()),Object(le.__param)(5,Object(ie.x)())],n)}($e),Ko=function(){function t(t,n){this.navParams=t,this.viewController=n}return Object.defineProperty(t.prototype,"value",{get:function(){var t=this.options.find(function(t){return t.checked});return t?t.value:void 0},set:function(t){var n=this.options.find(function(n){return n.value===t});n&&n.handler&&n.handler(),this.viewController.dismiss(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.options=this.navParams.data.options},t}(),Jo=function(t){function n(n,e,i,l,o,r,s){var u=t.call(this,i,l,o,"select",[],e,r,null)||this;return u._app=n,u.config=i,u.deepLinker=s,u._multi=!1,u._texts=[],u._text="",u._compareWith=v,u.cancelText="Cancel",u.okText="OK",u.selectOptions={},u.interface="",u.selectedText="",u.ionCancel=new ie.m,u}return Object(le.__extends)(n,t),n,Object.defineProperty(n.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}),n.prototype._click=function(t){t.preventDefault(),t.stopPropagation(),this.open(t)},n.prototype._keyup=function(){this.open()},n.prototype.getValues=function(){var t=Array.isArray(this._value)?this._value:[this._value];return b(this._multi||t.length<=1,"single only can have one value"),t},n.prototype.open=function(t){var n=this;if(!this.isFocus()&&!this._disabled){console.debug("select, open alert");var e=l(this.selectOptions);e.buttons=[{text:this.cancelText,role:"cancel",handler:function(){n.ionCancel.emit(n)}}],!e.title&&this._item&&(e.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 o;if("action-sheet"===this.interface){e.buttons=e.buttons.concat(i.map(function(t){return{role:t.selected?"selected":"",text:t.text,handler:function(){n.value=t.value,t.ionSelect.emit(t.value)}}}));var r="select-action-sheet";e.cssClass=r+=e.cssClass?" "+e.cssClass:"",o=new Yi(this._app,e,this.config)}else if("popover"===this.interface){var s=i.map(function(t){return{text:t.text,checked:t.selected,disabled:t.disabled,value:t.value,handler:function(){n.value=t.value,t.ionSelect.emit(t.value)}}}),u="select-popover";o=new Yo(this._app,Ko,{options:s},{cssClass:u+=e.cssClass?" "+e.cssClass:""},this.config,this.deepLinker),Object.defineProperty(t,"target",{value:t.currentTarget}),e.ev=t}else{this.interface="alert",e.inputs=this._options.map(function(t){return{type:n._multi?"checkbox":"radio",label:t.text,value:t.value,checked:t.selected,disabled:t.disabled,handler:function(n){n.checked&&t.ionSelect.emit(t.value)}}});var a="select-alert";o=new ll(this._app,e,this.config),a+=this._multi?" multiple-select-alert":" single-select-alert",o.setCssClass(a+=e.cssClass?" "+e.cssClass:""),o.addButton({text:this.okText,handler:function(t){return n.value=t}})}o.present(e),this._fireFocus(),o.onDidDismiss(function(){n._fireBlur(),n._overlay=void 0}),this._overlay=o}},n.prototype.close=function(){if(this._overlay&&this.isFocus())return this._overlay.dismiss()},Object.defineProperty(n.prototype,"multiple",{get:function(){return this._multi},set:function(t){this._multi=f(t)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"text",{get:function(){return this._multi?this._texts:this._texts.join()},enumerable:!0,configurable:!0}),Object.defineProperty(n.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}),n.prototype._inputShouldChange=function(t){return!function(t,n){return t===n||JSON.stringify(t)===JSON.stringify(n)}(this._value,t)},n.prototype._inputChangeEvent=function(){return this.value},n.prototype._updateText=function(){var t=this;this._texts.length=0,this._options&&this._options.forEach(function(n){n.selected=t.getValues().some(function(e){return t._compareWith(e,n.value)}),n.selected&&t._texts.push(n.text)}),this._text=this._texts.join(", ")},n.prototype._inputUpdated=function(){this._updateText(),t.prototype._inputUpdated.call(this)},n=Object(le.__decorate)([Object(le.__param)(5,Object(ie.x)())],n)}(hl),Qo=(Date.now(),function(t){function n(n,e,i){var l=t.call(this,n,e,i,"spinner")||this;return l._dur=null,l._paused=!1,l}return Object(le.__extends)(n,t),Object.defineProperty(n.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this.load()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"duration",{get:function(){return this._dur},set:function(t){this._dur=t,this.load()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"paused",{get:function(){return this._paused},set:function(t){this._paused=f(t)},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){this._init=!0,this.load()},n.prototype.load=function(){if(this._init){this._l=[],this._c=[];var t=this._name||this._config.get("spinner","ios"),n=tr[t];if(n){if(n.lines)for(var e=0,i=n.lines;e<i;e++)this._l.push(this._loadEle(n,e,i));else if(n.circles)for(var e=0,i=n.circles;e<i;e++)this._c.push(this._loadEle(n,e,i));this.setElementClass("spinner-"+t,!0),this.setElementClass("spinner-"+this._mode+"-"+t,!0)}}},n.prototype._loadEle=function(t,n,e){var i=this._dur||t.dur,l=t.fn(i,n,e);return l.style.animationDuration=i+"ms",l},n}($e)),tr={ios:{dur:1e3,lines:12,fn:function(t,n,e){var i="rotate("+(30*n+(n<6?180:-180))+"deg)",l=-(t-t/e*n)+"ms";return{y1:17,y2:29,style:{transform:i,webkitTransform:i,animationDelay:l,webkitAnimationDelay:l}}}},"ios-small":{dur:1e3,lines:12,fn:function(t,n,e){var i="rotate("+(30*n+(n<6?180:-180))+"deg)",l=-(t-t/e*n)+"ms";return{y1:12,y2:20,style:{transform:i,webkitTransform:i,animationDelay:l,webkitAnimationDelay:l}}}},bubbles:{dur:1e3,circles:9,fn:function(t,n,e){var i=-(t-t/e*n)+"ms";return{r:5,style:{top:9*Math.sin(2*Math.PI*n/e)+"px",left:9*Math.cos(2*Math.PI*n/e)+"px",animationDelay:i,webkitAnimationDelay:i}}}},circles:{dur:1e3,circles:8,fn:function(t,n,e){var i=-(t-t/e*n)+"ms";return{r:5,style:{top:9*Math.sin(2*Math.PI*n/e)+"px",left:9*Math.cos(2*Math.PI*n/e)+"px",animationDelay:i,webkitAnimationDelay:i}}}},crescent:{dur:750,circles:1,fn:function(){return{r:26,style:{}}}},dots:{dur:750,circles:3,fn:function(t,n){var e=-110*n+"ms";return{r:6,style:{left:9-9*n+"px",animationDelay:e,webkitAnimationDelay:e}}}}},nr=function(){function t(t,n,e,i,l){this._viewCtrl=t,this._config=n,this._elementRef=e,this.dismissTimeout=void 0,l.setElementClass(e.nativeElement,"toast-"+n.get("mode"),!0),this.d=i.data,this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&l.setElementClass(e.nativeElement,t,!0)}),this.id=++er,this.d.message&&(this.hdrId="toast-hdr-"+this.id)}return t.prototype.ngAfterViewInit=function(){var t=this;this.d.duration&&(this.dismissTimeout=setTimeout(function(){t.dismiss("backdrop")},this.d.duration)),this.enabled=!0},t.prototype.ionViewDidEnter=function(){var t=document.activeElement;t&&t.blur();var n=this._elementRef.nativeElement.querySelector("button");n&&n.focus()},t.prototype.cbClick=function(){this.enabled&&this.dismiss("close")},t.prototype.dismiss=function(t){return clearTimeout(this.dismissTimeout),this.dismissTimeout=void 0,this._viewCtrl.dismiss(null,t,{disableApp:!1})},t}(),er=-1,ir=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),lr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return ir(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=t.querySelector(".toast-wrapper"),e=new Ee(this.plt,n);if(this.enteringView.data&&this.enteringView.data.position===cr)e.fromTo("translateY","-100%","10px");else if(this.enteringView.data&&this.enteringView.data.position===hr){var i=Math.floor(t.clientHeight/2-n.clientHeight/2);n.style.top=i+"px",e.fromTo("opacity",.01,1)}else e.fromTo("translateY","100%","-10px");this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e)},n}(Ie),or=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return ir(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement.querySelector(".toast-wrapper"),n=new Ee(this.plt,t);this.leavingView.data&&this.leavingView.data.position===cr?n.fromTo("translateY","10px","-100%"):this.leavingView.data&&this.leavingView.data.position===hr?n.fromTo("opacity",.99,0):n.fromTo("translateY","-10px","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(300).add(n)},n}(Ie),rr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return ir(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=t.querySelector(".toast-wrapper"),e=new Ee(this.plt,n);if(this.enteringView.data&&this.enteringView.data.position===cr)e.fromTo("translateY","-100%","0%");else if(this.enteringView.data&&this.enteringView.data.position===hr){var i=Math.floor(t.clientHeight/2-n.clientHeight/2);n.style.top=i+"px",e.fromTo("opacity",.01,1)}else e.fromTo("translateY","100%","0%");this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e)},n}(Ie),sr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return ir(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement.querySelector(".toast-wrapper"),n=new Ee(this.plt,t);this.leavingView.data&&this.leavingView.data.position===cr?n.fromTo("translateY","0%","-100%"):this.leavingView.data&&this.leavingView.data.position===hr?n.fromTo("opacity",.99,0):n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(n)},n}(Ie),ur=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return ir(n,t),n.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,n=t.querySelector(".toast-wrapper"),e=new Ee(this.plt,n);if(this.enteringView.data&&this.enteringView.data.position===cr)e.fromTo("opacity",.01,1),e.fromTo("scale",1.3,1);else if(this.enteringView.data&&this.enteringView.data.position===hr){var i=Math.floor(t.clientHeight/2-n.clientHeight/2);n.style.top=i+"px",e.fromTo("opacity",.01,1),e.fromTo("scale",1.3,1)}else e.fromTo("opacity",.01,1),e.fromTo("scale",1.3,1);this.easing("cubic-bezier(0,0,0.05,1)").duration(200).add(e)},n}(Ie),ar=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return ir(n,t),n.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement.querySelector(".toast-wrapper"),n=new Ee(this.plt,t);n.fromTo("opacity",.99,0),n.fromTo("scale",1,1.3);this.easing("ease-out").duration(150).add(n)},n}(Ie),cr="top",hr="middle",pr=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function i(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),dr=function(t){function n(n,e,i){void 0===e&&(e={});var l=this;return e.dismissOnPageChange=!!h(e.dismissOnPageChange)&&!!e.dismissOnPageChange,l=t.call(this,nr,e,null)||this,l._app=n,e.position&&l.isValidPosition(e.position)||(e.position=vr),l.isOverlay=!0,i.setTransition("toast-slide-in",lr),i.setTransition("toast-slide-out",or),i.setTransition("toast-md-slide-in",rr),i.setTransition("toast-md-slide-out",sr),i.setTransition("toast-wp-slide-out",ar),i.setTransition("toast-wp-slide-in",ur),l}return pr(n,t),n.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("toast"+("back"===t?"Leave":"Enter"))},n.prototype.isValidPosition=function(t){return t===_r||t===fr||t===vr},n.prototype.setMessage=function(t){return this.data.message=t,this},n.prototype.setDuration=function(t){return this.data.duration=t,this},n.prototype.setPosition=function(t){return this.data.position=t,this},n.prototype.setCssClass=function(t){return this.data.cssClass=t,this},n.prototype.setShowCloseButton=function(t){return this.data.showCloseButton=t,this},n.prototype.present=function(t){return void 0===t&&(t={}),t.disableApp=!1,t.keyboardClose=!1,this._app.present(this,t,4)},n.prototype.dismissAll=function(){this._nav&&this._nav.popAll()},n}(ae),_r="top",fr="middle",vr="bottom",mr=function(){function t(t,n){this._app=t,this.config=n}return t.prototype.create=function(t){return void 0===t&&(t={}),new dr(this._app,t,this.config)},t}(),gr=(e(63),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])}}(),function(t){function n(n,e,i,l){var o=t.call(this,n,e,i,"header")||this;return l&&l._setHeader(o),o}return Object(le.__extends)(n,t),n=Object(le.__decorate)([Object(le.__param)(3,Object(ie.x)())],n)}($e)),yr=function(t){function n(n,e,i){var l=t.call(this,n,e,i)||this;return l._sbPadding=n.getBoolean("statusbarPadding"),l}return Object(le.__extends)(n,t),n}(co),br=function(t){function n(n,e,i,l,o){var r=t.call(this,n,e,i,"title")||this;return l&&l._setTitle(r),o&&o._setTitle(r),r}return Object(le.__extends)(n,t),n.prototype.getTitleText=function(){return this._elementRef.nativeElement.textContent},n=Object(le.__decorate)([Object(le.__param)(3,Object(ie.x)()),Object(le.__param)(4,Object(ie.x)()),Object(le.__param)(4,Object(ie.o)(Object(ie.P)(function(){return ho})))],n)}($e);!function(t){t[t.NoChanges=1]="NoChanges",t[t.ChangeDetection=2]="ChangeDetection",t[t.DomWrite=3]="DomWrite"}(fo||(fo={}));var wr=function(){function t(t,n,e){this.app=t,this.dom=e,this._queue=[],this._active=[],this.activatedDelay=kr,this.clearDelay=Cr,this._css=n.get("activatedClass","activated")}return t.prototype.clickAction=function(t,n,e){if(!Q(t,n)){this._scheduleClear(),this._queue.length=0;for(var i=0;i<this._active.length;i++)this._active[i].classList.remove(this._css);this._active.length=0,n&&n.parentNode&&(this._active.push(n),n.classList.add(this._css))}},t.prototype.downAction=function(t,n,e){var i=this;Q(t,n)||(this.unscheduleClear(),this.deactivate(!0),this._queue.push(n),this._activeDefer=this.dom.write(function(){i._activeDefer=null;for(var t,n=0;n<i._queue.length;n++)i._active.push(t=i._queue[n]),t.classList.add(i._css);i._queue.length=0},this.activatedDelay))},t.prototype.upAction=function(t,n,e){this._scheduleClear()},t.prototype._scheduleClear=function(){var t=this;this._clearDefer||(this._clearDefer=this.dom.write(function(){t.clearState(!0),t._clearDefer=null},this.clearDelay))},t.prototype.unscheduleClear=function(){this._clearDefer&&(this._clearDefer(),this._clearDefer=null)},t.prototype.clearState=function(t){var n=this;this.app.isEnabled()?this.deactivate(t):this.dom.write(function(){n.clearState(t)},600)},t.prototype.deactivate=function(t){this._clearDeferred(),this._queue.length=0;for(var n,e=0;e<this._active.length;e++)(n=this._active[e]).style[this.dom.plt.Css.transition]=t?"":"none",n.classList.remove(this._css);this._active.length=0},t.prototype._clearDeferred=function(){this._activeDefer&&(this._activeDefer(),this._activeDefer=null)},t}(),kr=80,Cr=80,Tr=function(){function t(t,n,e){this.dom=e,this.highlight=new wr(t,n,e)}return t.prototype.clickAction=function(t,n,e){this.highlight&&this.highlight.clickAction(t,n,e),this._clickAction(t,n,e)},t.prototype.downAction=function(t,n,e){this.highlight&&this.highlight.downAction(t,n,e),this._downAction(t,n,e)},t.prototype.upAction=function(t,n,e){this.highlight&&this.highlight.upAction(t,n,e),this._upAction(t,n,e)},t.prototype.clearState=function(t){this.highlight&&this.highlight.clearState(t)},t.prototype._downAction=function(t,n,e){if(!Q(t,n))for(var i=n.childElementCount;i--;){var l=n.children[i];if(l.classList.contains("button-effect")){var o=n.getBoundingClientRect();l.$top=o.top,l.$left=o.left,l.$width=o.width,l.$height=o.height;break}}},t.prototype._upAction=function(t,n,e){if(!P(6,e,O(t)))for(var i=n.childElementCount;i--;){var l=n.children[i];if(l.classList.contains("button-effect")){this.startRippleEffect(l,n,e);break}}},t.prototype._clickAction=function(t,n,e){},t.prototype.startRippleEffect=function(t,n,e){if(e){var i=e.x-t.$left,l=e.y-t.$top,o=2*Math.max(Math.abs(t.$width-i),i),r=2*Math.max(Math.abs(t.$height-l),l),s=Math.min(Math.max(Math.hypot(o,r),64),240);n.hasAttribute("ion-item")&&(s=Math.min(s,140)),i-=s/2,l-=s/2,i=Math.round(i),l=Math.round(l),s=Math.round(s);var u=this.dom.plt.Css;t.style.opacity="",t.style[u.transform]="translate3d("+i+"px, "+l+"px, 0px) scale(0.001)",t.style[u.transition]="";var a=Math.sqrt(t.$width+t.$height),c=Math.max(1600*Math.sqrt(a/Er)+.5,260),h=Math.round(.7*c),p=Math.round(c-h),d="translate3d("+i+"px, "+l+"px, 0px) scale(1)",_="transform "+(c=Math.round(c))+"ms,opacity "+h+"ms "+p+"ms";this.dom.write(function(){t.style.width=t.style.height=s+"px",t.style.opacity="0",t.style[u.transform]=d,t.style[u.transition]=_},16)}},t}(),Er=300,Sr=function(){function t(t,n,e,i,l){this.plt=n,this.app=i,this.gestureCtrl=l,this.disableClick=0,this.events=new gi(n);var o=t.get("activator");"ripple"===o?this.activator=new Tr(i,t,e):"highlight"===o&&(this.activator=new wr(i,t,e)),this.usePolyfill=t.getBoolean("tapPolyfill"),console.debug("Using usePolyfill:",this.usePolyfill);var r=n.doc();this.events.listen(r,"click",this.click.bind(this),{passive:!1,capture:!0}),this.pointerEvents=this.events.pointerEvents({element:r,pointerDown:this.pointerStart.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerEnd.bind(this),passive:!0}),this.pointerEvents.mouseWait=Dr}return t.prototype.pointerStart=function(t){return!this.startCoord&&(!!this.app.isEnabled()&&(this.lastTouchEnd=0,this.dispatchClick=!0,this.plt.doc()===t.target?(this.startCoord=O(t),!0):(this.activatableEle=tt(t.target),this.activatableEle?(this.startCoord=O(t),this.activator&&this.activator.downAction(t,this.activatableEle,this.startCoord),!0):(this.startCoord=null,!1))))},t.prototype.pointerMove=function(t){this.startCoord&&this.shouldCancelEvent(t)&&this.pointerCancel(t)},t.prototype.pointerEnd=function(t,n){var e=this;if(this.dispatchClick&&(y(function(){return e.lastTouchEnd=Date.now()}),this.startCoord)){if(this.activator&&t.target!==this.plt.doc()){var i=tt(t.target)||this.activatableEle;i&&this.activator.upAction(t,i,this.startCoord)}this.usePolyfill&&n===mi&&this.app.isEnabled()&&this.handleTapPolyfill(t),this.startCoord=null,this.activatableEle=null}},t.prototype.pointerCancel=function(t){console.debug("pointerCancel from "+t.type+" "+Date.now()),this.startCoord=null,this.activatableEle=null,this.dispatchClick=!1,this.activator&&this.activator.clearState(!1),this.pointerEvents.stop()},t.prototype.shouldCancelEvent=function(t){return this.app.isScrolling()||this.gestureCtrl.isCaptured()||P(Pr,this.startCoord,O(t))},t.prototype.click=function(t){var n=this;if(this.shouldCancelClick(t))return t.preventDefault(),void t.stopPropagation();if(this.activator&&this.plt.doc()!==t.target){var e=tt(t.target);e&&this.activator.clickAction(t,e,this.startCoord)}y(function(){return n.profileClickDelay(t)})},t.prototype.shouldCancelClick=function(t){if(this.usePolyfill){if(!t.isIonicTap&&this.isDisabledNativeClick())return console.debug("click prevent: nativeClick"),!0}else if(!this.dispatchClick)return console.debug("click prevent: tap-click"),!0;return this.app.isEnabled()?!!this.gestureCtrl.isCaptured()&&(console.debug("click prevent: tap-click (gesture is captured)"),!0):(console.debug("click prevent: appDisabled"),!0)},t.prototype.profileClickDelay=function(t){if(this.lastTouchEnd){var n=Date.now()-this.lastTouchEnd;n<100?console.debug("FAST click dispatched. Delay(ms):",n):console.warn("SLOW click dispatched. Delay(ms):",n,t),this.lastTouchEnd=null}else console.debug("Click dispatched. Unknown delay")},t.prototype.handleTapPolyfill=function(t){b(this.usePolyfill,"this code should not be used if tapPolyfill is disabled");var n=O(t);if(P(Pr,this.startCoord,n))console.debug("click from touch prevented by pointer moved");else if(this.disableClick=Date.now()+Dr,this.app.isScrolling())console.debug("click from touch prevented by scrolling "+Date.now());else{console.debug("create click from touch "+Date.now());var e=this.plt.doc().createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,this.plt.win(),1,0,0,n.x,n.y,!1,!1,!1,!1,0,null),e.isIonicTap=!0,t.target.dispatchEvent(e)}},t.prototype.isDisabledNativeClick=function(){return this.disableClick>Date.now()},t}(),xr=["A","BUTTON"],Or=["tappable","ion-button"],Pr=100,Dr=2500,Ir=window,Br=document,Lr=["","webkit","Moz","MS","ms","o"],Ar=Br.createElement("div"),Rr="function",Mr=Math.round,jr=Math.abs,Nr=Date.now,Fr=1,Vr="ontouchstart"in window,zr=void 0!==mt(window,"PointerEvent"),qr=Vr&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Hr=25,Wr=1,Ur=2,Yr=4,$r=8,Xr=1,Gr=2,Zr=4,Kr=8,Jr=16,Qr=Gr|Zr,ts=Kr|Jr,ns=Qr|ts,es=["x","y"],is=["clientX","clientY"];yt.prototype={handler:function(){},init:function(){this.evEl&&at(this.element,this.evEl,this.domHandler),this.evTarget&&at(this.target,this.evTarget,this.domHandler),this.evWin&&at(gt(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&ct(this.element,this.evEl,this.domHandler),this.evTarget&&ct(this.target,this.evTarget,this.domHandler),this.evWin&&ct(gt(this.element),this.evWin,this.domHandler)}};var ls={mousedown:Wr,mousemove:Ur,mouseup:Yr},os="mousedown",rs="mousemove mouseup";ot(xt,yt,{handler:function(t){var n=ls[t.type];n&Wr&&0===t.button&&(this.pressed=!0),n&Ur&&1!==t.which&&(n=Yr),this.pressed&&this.allow&&(n&Yr&&(this.pressed=!1),this.callback(this.manager,n,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var ss={pointerdown:Wr,pointermove:Ur,pointerup:Yr,pointercancel:$r,pointerout:$r},us={2:"touch",3:"pen",4:"mouse",5:"kinect"},as="pointerdown",cs="pointermove pointerup pointercancel";Ir.MSPointerEvent&&!Ir.PointerEvent&&(as="MSPointerDown",cs="MSPointerMove MSPointerUp MSPointerCancel"),ot(Ot,yt,{handler:function(t){var n=this.store,e=!1,i=t.type.toLowerCase().replace("ms",""),l=ss[i],o=us[t.pointerType]||t.pointerType,r="touch"==o,s=_t(n,t.pointerId,"pointerId");l&Wr&&(0===t.button||r)?s<0&&(n.push(t),s=n.length-1):l&(Yr|$r)&&(e=!0),s<0||(n[s]=t,this.callback(this.manager,l,{pointers:n,changedPointers:[t],pointerType:o,srcEvent:t}),e&&n.splice(s,1))}});var hs={touchstart:Wr,touchmove:Ur,touchend:Yr,touchcancel:$r},ps="touchstart",ds="touchstart touchmove touchend touchcancel";ot(Pt,yt,{handler:function(t){var n=hs[t.type];if(n===Wr&&(this.started=!0),this.started){var e=function(t,n){var e=ft(t.touches),i=ft(t.changedTouches);return n&(Yr|$r)&&(e=vt(e.concat(i),"identifier",!0)),[e,i]}.call(this,t,n);n&(Yr|$r)&&e[0].length-e[1].length==0&&(this.started=!1),this.callback(this.manager,n,{pointers:e[0],changedPointers:e[1],pointerType:"touch",srcEvent:t})}}});var _s={touchstart:Wr,touchmove:Ur,touchend:Yr,touchcancel:$r},fs="touchstart touchmove touchend touchcancel";ot(Dt,yt,{handler:function(t){var n=_s[t.type],e=function(t,n){var e=ft(t.touches),i=this.targetIds;if(n&(Wr|Ur)&&1===e.length)return i[e[0].identifier]=!0,[e,e];var l,o,r=ft(t.changedTouches),s=[],u=this.target;if(o=e.filter(function(t){return ht(t.target,u)}),n===Wr)for(l=0;l<o.length;)i[o[l].identifier]=!0,l++;for(l=0;l<r.length;)i[r[l].identifier]&&s.push(r[l]),n&(Yr|$r)&&delete i[r[l].identifier],l++;return s.length?[vt(o.concat(s),"identifier",!0),s]:void 0}.call(this,t,n);e&&this.callback(this.manager,n,{pointers:e[0],changedPointers:e[1],pointerType:"touch",srcEvent:t})}}),ot(It,yt,{handler:function(t,n,e){var i="mouse"==e.pointerType;if("touch"==e.pointerType)this.mouse.allow=!1;else if(i&&!this.mouse.allow)return;n&(Yr|$r)&&(this.mouse.allow=!0),this.callback(t,n,e)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var vs=mt(Ar.style,"touchAction"),ms=void 0!==vs,gs="auto",ys="manipulation",bs="none",ws="pan-x",ks="pan-y";Bt.prototype={set:function(t){"compute"==t&&(t=this.compute()),ms&&this.manager.element.style&&(this.manager.element.style[vs]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return lt(this.manager.recognizers,function(n){st(n.options.enable,[n])&&(t=t.concat(n.getTouchAction()))}),function(t){if(pt(t,bs))return bs;var n=pt(t,ws),e=pt(t,ks);return n&&e?bs:n||e?n?ws:ks:pt(t,ys)?ys:gs}(t.join(" "))},preventDefaults:function(t){if(!ms){var n=t.srcEvent,e=t.offsetDirection;if(this.manager.session.prevented)n.preventDefault();else{var i=this.actions,l=pt(i,bs),o=pt(i,ks),r=pt(i,ws);if(l){if(1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return}if(!r||!o)return l||o&&e&Qr||r&&e&ts?this.preventSrc(n):void 0}}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Cs=1,Ts=2,Es=4,Ss=8,xs=Ss,Os=16;Lt.prototype={defaults:{},set:function(t){return Object.assign(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(it(t,"recognizeWith",this))return this;var n=this.simultaneous;return t=Mt(t,this),n[t.id]||(n[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return it(t,"dropRecognizeWith",this)?this:(t=Mt(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(it(t,"requireFailure",this))return this;var n=this.requireFail;return t=Mt(t,this),-1===_t(n,t)&&(n.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(it(t,"dropRequireFailure",this))return this;t=Mt(t,this);var n=_t(this.requireFail,t);return n>-1&&this.requireFail.splice(n,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function n(n){e.manager.emit(n,t)}var e=this,i=this.state;i<Ss&&n(e.options.event+At(i)),n(e.options.event),t.additionalEvent&&n(t.additionalEvent),i>=Ss&&n(e.options.event+At(i))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Cs)))return!1;t++}return!0},recognize:function(t){var n=Object.assign({},t);if(!st(this.options.enable,[this,n]))return this.reset(),void(this.state=32);this.state&(xs|Os|32)&&(this.state=Cs),this.state=this.process(n),this.state&(Ts|Es|Ss|Os)&&this.tryEmit(n)},process:function(t){},getTouchAction:function(){},reset:function(){}},ot(jt,Lt,{defaults:{pointers:1},attrTest:function(t){var n=this.options.pointers;return 0===n||t.pointers.length===n},process:function(t){var n=this.state,e=t.eventType,i=n&(Ts|Es),l=this.attrTest(t);return i&&(e&$r||!l)?n|Os:i||l?e&Yr?n|Ss:n&Ts?n|Es:Ts:32}}),ot(Nt,jt,{defaults:{event:"pan",threshold:10,pointers:1,direction:ns},getTouchAction:function(){var t=this.options.direction,n=[];return t&Qr&&n.push(ks),t&ts&&n.push(ws),n},directionTest:function(t){var n=this.options,e=!0,i=t.distance,l=t.direction,o=t.deltaX,r=t.deltaY;return l&n.direction||(n.direction&Qr?(l=0===o?Xr:o<0?Gr:Zr,e=o!=this.pX,i=Math.abs(t.deltaX)):(l=0===r?Xr:r<0?Kr:Jr,e=r!=this.pY,i=Math.abs(t.deltaY))),t.direction=l,e&&i>n.threshold&&l&n.direction},attrTest:function(t){return jt.prototype.attrTest.call(this,t)&&(this.state&Ts||!(this.state&Ts)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var n=Rt(t.direction);n&&(t.additionalEvent=this.options.event+n),this._super.emit.call(this,t)}}),ot(Ft,jt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[bs]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Ts)},emit:function(t){if(1!==t.scale){t.additionalEvent=this.options.event+(t.scale<1?"in":"out")}this._super.emit.call(this,t)}}),ot(Vt,Lt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[gs]},process:function(t){var n=this.options,e=t.pointers.length===n.pointers,i=t.distance<n.threshold,l=t.deltaTime>n.time;if(this._input=t,!i||!e||t.eventType&(Yr|$r)&&!l)this.reset();else if(t.eventType&Wr)this.reset(),this._timer=et(function(){this.state=xs,this.tryEmit()},n.time,this);else if(t.eventType&Yr)return xs;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===xs&&(t&&t.eventType&Yr?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=Nr(),this.manager.emit(this.options.event,this._input)))}}),ot(zt,jt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[bs]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Ts)}}),ot(qt,jt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Qr|ts,pointers:1},getTouchAction:function(){return Nt.prototype.getTouchAction.call(this)},attrTest:function(t){var n,e=this.options.direction;return e&(Qr|ts)?n=t.overallVelocity:e&Qr?n=t.overallVelocityX:e&ts&&(n=t.overallVelocityY),this._super.attrTest.call(this,t)&&e&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&jr(n)>this.options.velocity&&t.eventType&Yr},emit:function(t){var n=Rt(t.offsetDirection);n&&this.manager.emit(this.options.event+n,t),this.manager.emit(this.options.event,t)}}),ot(Ht,Lt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[ys]},process:function(t){var n=this.options,e=t.pointers.length===n.pointers,i=t.distance<n.threshold,l=t.deltaTime<n.time;if(this.reset(),t.eventType&Wr&&0===this.count)return this.failTimeout();if(i&&l&&e){if(t.eventType!=Yr)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<n.interval,r=!this.pCenter||Et(this.pCenter,t.center)<n.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,r&&o?this.count+=1:this.count=1,this._input=t;if(0===this.count%n.taps)return this.hasRequireFailures()?(this._timer=et(function(){this.state=xs,this.tryEmit()},n.interval,this),Ts):xs}return 32},failTimeout:function(){return this._timer=et(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==xs&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});var Ps={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[zt,{enable:!1}],[Ft,{enable:!1},["rotate"]],[qt,{direction:Qr}],[Nt,{direction:Qr},["swipe"]],[Ht],[Ht,{event:"doubletap",taps:2},["tap"]],[Vt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};Ut.prototype={set:function(t){return Object.assign(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var n=this.session;if(!n.stopped){this.touchAction.preventDefaults(t);var e,i=this.recognizers,l=n.curRecognizer;(!l||l&&l.state&xs)&&(l=n.curRecognizer=null);for(var o=0;o<i.length;)e=i[o],2===n.stopped||l&&e!=l&&!e.canRecognizeWith(l)?e.reset():e.recognize(t),!l&&e.state&(Ts|Es|Ss)&&(l=n.curRecognizer=e),o++}},get:function(t){if(t instanceof Lt)return t;for(var n=this.recognizers,e=0;e<n.length;e++)if(n[e].options.event==t)return n[e];return null},add:function(t){if(it(t,"add",this))return this;var n=this.get(t.options.event);return n&&this.remove(n),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(it(t,"remove",this))return this;if(t=this.get(t)){var n=this.recognizers,e=_t(n,t);-1!==e&&(n.splice(e,1),this.touchAction.update())}return this},on:function(t,n){var e=this.handlers;return lt(dt(t),function(t){e[t]=e[t]||[],e[t].push(n)}),this},off:function(t,n){var e=this.handlers;return lt(dt(t),function(t){n?e[t]&&e[t].splice(_t(e[t],n),1):delete e[t]}),this},emit:function(t,n){this.options.domEvents&&function(t,n){var e=Br.createEvent("Event");e.initEvent(t,!0,!0),e.gesture=n,n.target.dispatchEvent(e)}(t,n);var e=this.handlers[t]&&this.handlers[t].slice();if(e&&e.length){n.type=t,n.preventDefault=function(){n.srcEvent.preventDefault()};for(var i=0;i<e.length;)e[i](n),i++}},destroy:function(){this.element&&Yt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},Object.assign(Wt,{INPUT_START:Wr,INPUT_MOVE:Ur,INPUT_END:Yr,INPUT_CANCEL:$r,STATE_POSSIBLE:Cs,STATE_BEGAN:Ts,STATE_CHANGED:Es,STATE_ENDED:Ss,STATE_RECOGNIZED:xs,STATE_CANCELLED:Os,STATE_FAILED:32,DIRECTION_NONE:Xr,DIRECTION_LEFT:Gr,DIRECTION_RIGHT:Zr,DIRECTION_UP:Kr,DIRECTION_DOWN:Jr,DIRECTION_HORIZONTAL:Qr,DIRECTION_VERTICAL:ts,DIRECTION_ALL:ns,Manager:Ut,Input:yt,TouchAction:Bt,TouchInput:Dt,MouseInput:xt,PointerEventInput:Ot,TouchMouseInput:It,SingleTouchInput:Pt,Recognizer:Lt,AttrRecognizer:jt,Tap:Ht,Pan:Nt,Swipe:qt,Pinch:Ft,Rotate:zt,Press:Vt,on:at,off:ct,each:lt,inherit:ot,bindFn:rt,prefixed:mt}),Ir.Hammer=Wt;var Ds=function(){function t(){this._channels=[]}return t.prototype.subscribe=function(t){for(var n=this,e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];this._channels[t]||(this._channels[t]=[]),e.forEach(function(e){n._channels[t].push(e)})},t.prototype.unsubscribe=function(t,n){void 0===n&&(n=null);var e=this._channels[t];if(!e)return!1;if(!n)return delete this._channels[t],!0;var i=e.indexOf(n);return!(i<0)&&(e.splice(i,1),e.length||delete this._channels[t],!0)},t.prototype.publish=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];var i=this._channels[t];if(!i)return null;var l=[];return i.forEach(function(t){l.push(t.apply(void 0,n))}),l},t}(),Is=(this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])}}(),{core:{settings:{mode:"md",keyboardHeight:290}},mobile:{},phablet:{isMatch:function(t){var n=Math.min(t.width(),t.height()),e=Math.max(t.width(),t.height());return n>390&&n<520&&e>620&&e<800}},tablet:{isMatch:function(t){var n=Math.min(t.width(),t.height()),e=Math.max(t.width(),t.height());return n>460&&n<820&&e>780&&e<1400}},android:{superset:"mobile",subsets:["phablet","tablet"],settings:{activator:function(t){if(t.testNavigatorPlatform("linux")){var n=t.matchUserAgentVersion(/Chrome\/(\d+).(\d+)?/);if(n)return parseInt(n.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:Z,inputCloning:Z,keyboardHeight:250,mode:"ios",statusbarPadding:G,swipeBackEnabled:Z,tapPolyfill:J,virtualScrollEventAssist:J,disableScrollAssist:Z,scrollAssist:Z,keyboardResizes:function(t){var n=t.win();return!(!n.Ionic||!0!==n.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(n,e){e.addEventListener("deviceready",function(){e.addEventListener("backbutton",function(n){t.zone.run(function(){t.backButton.emit(n)})}),e.addEventListener("pause",function(n){t.zone.run(function(){t.pause.emit(n)})}),e.addEventListener("resume",function(n){t.zone.run(function(){t.resume.emit(n)})}),t.exitApp=function(){n.navigator.app.exitApp()},t.triggerReady("cordova")})})}},isMatch:function(t){return G(t)}},electron:{superset:"core",initialize:function(t){t.prepareReady=function(){t.windowLoad(function(){t.triggerReady("electron")})}},isMatch:function(t){return function(t){return t.testUserAgent("Electron")}(t)}}}),Bs=new ie.p("PLTCONFIG"),Ls={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"},As={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"},Rs={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"},Ms=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Object(le.__extends)(n,t),n.prototype.buildHammer=function(t){var n=new window.Hammer(t);for(var e in this.overrides)n.get(e).set(this.overrides[e]);return n},n}(ee.g),js=e(2),Ns=function(){function t(t,n,e,i,l){this.plt=e,this.elementRef=i,this.renderer=l,this._showing=!1,t._clickBlock=this;(this.isEnabled=n.getBoolean("clickBlock",!0))&&this._setElementClass("click-block-enabled",!0)}return t.prototype.activate=function(t,n,e){void 0===n&&(n=100),void 0===e&&(e=0),this.isEnabled&&(this.plt.cancelTimeout(this._tmr),t&&(this._start=Date.now(),this._minEnd=this._start+(e||0),this._activate(!0)),this._tmr=this.plt.timeout(this._activate.bind(this,!1),n))},t.prototype._activate=function(t){if(this._showing!==t){if(!t){var n=Date.now();if(n<this._minEnd)return void(this._tmr=this.plt.timeout(this._activate.bind(this,!1),this._minEnd-n))}this._setElementClass("click-block-active",t),this._showing=t}},t.prototype._setElementClass=function(t,n){this.renderer.setElementClass(this.elementRef.nativeElement,t,n)},t=Object(le.__decorate)([Object(le.__param)(0,Object(ie.o)(Object(ie.P)(function(){return He})))],t)}(),Fs=function(){function t(){}return n=t,t.forRoot=function(t,e,i){return void 0===e&&(e=null),void 0===i&&(i=null),{ngModule:n,providers:[{provide:Li,useValue:t},{provide:se,useValue:e},{provide:ti,useValue:i},{provide:js.a,useValue:"/"},{provide:Bs,useFactory:Xt},{provide:Ce,useFactory:I,deps:[ee.b,Bs,ie.w]},{provide:re,useFactory:w,deps:[se,Ce]},{provide:ie.c,useFactory:Gt,deps:[re],multi:!0},{provide:ie.c,useFactory:$t,deps:[Ce,ii],multi:!0},{provide:ie.c,useFactory:nt,deps:[re,Ce,ii,He,ci],multi:!0},{provide:ie.c,useFactory:X,deps:[re,ti,yo,ie.w],multi:!0},{provide:ee.f,useClass:Ms},{provide:ie.a,useValue:t,multi:!0},$i,ol,He,ii,Ds,al,ci,Ll,_l,ro,js.e,ye,Io,mo,ql,$o,Sr,mr,Ii,{provide:yo,useFactory:$,deps:[mo,ie.q]},{provide:js.f,useFactory:Zt,deps:[js.q,[new ie.o(js.a),new ie.x],re]},{provide:Xe,useFactory:j,deps:[He,ti]},{provide:ni,useFactory:V,deps:[He,Xe,js.e,yo,ie.j]}]}},t;var n}(),Vs=function(){function t(){}return n=t,t.forChild=function(t){return{ngModule:n,providers:[{provide:go,useValue:t},{provide:ie.a,useValue:t,multi:!0}]}},t;var n}(),zs=function(){function t(){this.notifications="mute_1",this.rating=2,this.gender="f",this.gaming="n64",this.petAlertOpts={title:"Like Pets?",subTitle:"Select your favorite"},this.toppings=["bacon","xcheese"],this.petData=[{text:"Bird",value:"bird"},{text:"Cat",value:"cat"},{text:"Dog",value:"dog"},{text:"Honey Badger",value:"honeybadger"}],this.hairColorData=[{text:"Brown",value:"brown"},{text:"Blonde",value:"blonde"},{text:"Black",value:"black"},{text:"Red",value:"red"}],this.hairColor={text:"Brown",value:"brown"},this.skittlesData=[{text:"Red",value:"red"},{text:"Orange",value:"orange"},{text:"Yellow",value:"yellow"},{text:"Green",value:"green"},{text:"Purple",value:"purple"}],this.skittles=[{text:"Red",value:"red"},{text:"Purple",value:"purple"}],this.pets=["cat","dog"]}return t.prototype.compareFn=function(t,n){return t.value===n.value},t.prototype.monthChange=function(t){console.log("Month Change:",t)},t.prototype.yearChange=function(t){console.log("Year Change:",t)},t}(),qs=function(){return function(){this.root=zs}}(),Hs=function(){return function(){}}(),Ws=function(){return function(){}}(),Us=ie.Z({encapsulation:2,styles:[],data:{}}),Ys=ie.Z({encapsulation:2,styles:[],data:{}}),$s=ie.X("ion-action-sheet",Mi,function(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-action-sheet",[["role","dialog"]],[[1,"aria-labelledby",0],[1,"aria-describedby",0]],[["body","keyup"]],function(t,n,e){var i=!0;return"body:keyup"===n&&(i=!1!==ie._16(t,1).keyUp(e)&&i),i},on,Ys)),ie._0(1,180224,null,0,Mi,[ae,re,ie.k,ci,ue,ie.B],null,null)],null,function(t,n){t(n,0,0,ie._16(n,1).hdrId,ie._16(n,1).descId)})},{},{},[]),Xs=ie.Z({encapsulation:2,styles:[],data:{}}),Gs=ie.X("ion-alert",Xi,function(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-alert",[["role","dialog"]],[[1,"aria-labelledby",0],[1,"aria-describedby",0]],[["body","keyup"]],function(t,n,e){var i=!0;return"body:keyup"===n&&(i=!1!==ie._16(t,1).keyUp(e)&&i),i},vn,Xs)),ie._0(1,180224,null,0,Xi,[ae,ie.k,re,ci,ue,ie.B,Ce],null,null)],null,function(t,n){t(n,0,0,ie._16(n,1).hdrId,ie._16(n,1).descId)})},{},{},[]),Zs=ie.Z({encapsulation:2,styles:[],data:{}}),Ks=ie.X("ion-app",Ai,function(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-app",[],null,null,null,mn,Zs)),ie._0(1,114688,null,0,Ai,[Li,ie.j,ie.k,ie.B,re,Ce,He],null,null)],function(t,n){t(n,1,0)},null)},{color:"color",mode:"mode"},{},[]),Js=ie.Z({encapsulation:2,styles:[],data:{}}),Qs=ie.Z({encapsulation:2,styles:[],data:{}}),tu=ie.X("ion-loading",Gl,function(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-loading",[["role","dialog"]],null,[["body","keyup"]],function(t,n,e){var i=!0;return"body:keyup"===n&&(i=!1!==ie._16(t,1).keyUp(e)&&i),i},Cn,Qs)),ie._0(1,245760,null,0,Gl,[ae,re,ie.k,ci,ue,ie.B],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),nu=ie.Z({encapsulation:2,styles:[],data:{}}),eu=ie.X("ion-modal",wo,function(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-modal",[],null,[["body","keyup"]],function(t,n,e){var i=!0;return"body:keyup"===n&&(i=!1!==ie._16(t,1)._keyUp(e)&&i),i},Tn,nu)),ie._0(1,180224,null,0,wo,[ie.j,ie.B,ie.k,ue,ae,ci,yo],null,null)],null,null)},{},{},[]),iu=ie.Z({encapsulation:2,styles:[],data:{}}),lu=ie.Z({encapsulation:2,styles:[],data:{}}),ou=ie.X("ion-picker-cmp",Ml,function(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-picker-cmp",[["role","dialog"]],null,[["body","keyup"]],function(t,n,e){var i=!0;return"body:keyup"===n&&(i=!1!==ie._16(t,1)._keyUp(e)&&i),i},In,lu)),ie._0(1,180224,null,0,Ml,[ae,ie.k,re,ci,ue,ie.B],null,null)],null,null)},{},{},[]),ru=ie.Z({encapsulation:2,styles:[],data:{}}),su=ie.X("ion-popover",Lo,function(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-popover",[],null,[["body","keyup"]],function(t,n,e){var i=!0;return"body:keyup"===n&&(i=!1!==ie._16(t,1)._keyUp(e)&&i),i},Bn,ru)),ie._0(1,180224,null,0,Lo,[ie.j,ie.k,ie.B,re,ue,ae,ci,yo],null,null)],null,null)},{},{},[]),uu=ie.Z({encapsulation:2,styles:[],data:{}}),au=ie.Z({encapsulation:2,styles:[],data:{}}),cu=ie.Z({encapsulation:2,styles:[],data:{}}),hu=ie.Z({encapsulation:2,styles:[],data:{}}),pu=ie.X("ng-component",Ko,function(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ng-component",[],null,null,null,Fn,hu)),ie._0(1,114688,null,0,Ko,[ue,ae],null,null)],function(t,n){t(n,1,0)},null)},{},{},[]),du=ie.Z({encapsulation:2,styles:[],data:{}}),_u=ie.X("ion-toast",nr,function(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ion-toast",[["role","dialog"]],[[1,"aria-labelledby",0],[1,"aria-describedby",0]],null,null,qn,du)),ie._0(1,4243456,null,0,nr,[ae,re,ie.k,ue,ie.B],null,null)],null,function(t,n){t(n,0,0,ie._16(n,1).hdrId,ie._16(n,1).descId)})},{},{},[]),fu=ie.Z({encapsulation:2,styles:[],data:{}}),vu=ie.Z({encapsulation:2,styles:[],data:{}}),mu=ie.Z({encapsulation:2,styles:[],data:{}}),gu=ie.Z({encapsulation:2,styles:[],data:{}}),yu=ie.Z({encapsulation:2,styles:[],data:{}}),bu=ie.X("ng-component",zs,function(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ng-component",[],null,null,null,Jn,yu)),ie._0(1,49152,null,0,zs,[],null,null)],null,null)},{},{},[]),wu=ie.Z({encapsulation:2,styles:[],data:{}}),ku=ie.Z({encapsulation:2,styles:[],data:{}}),Cu=ie.X("ng-component",qs,function(t){return ie._22(0,[(t()(),ie._2(0,0,null,null,1,"ng-component",[],null,null,null,te,ku)),ie._0(1,49152,null,0,qs,[],null,null)],null,null)},{},{},[]),Tu=ie.Y(Ws,[Ai],function(t){return ie._13([ie._14(512,ie.j,ie.U,[[8,[$s,Gs,Ks,tu,eu,ou,su,pu,_u,bu,Cu]],[3,ie.j],ie.u]),ie._14(5120,ie.t,ie._12,[[3,ie.t]]),ie._14(4608,js.k,js.j,[ie.t]),ie._14(5120,ie.b,ie._3,[]),ie._14(5120,ie.r,ie._9,[]),ie._14(5120,ie.s,ie._10,[]),ie._14(4608,ee.c,ee.t,[js.c]),ie._14(6144,ie.F,null,[ee.c]),ie._14(4608,ee.f,Ms,[]),ie._14(5120,ee.d,function(t,n,e,i){return[new ee.l(t),new ee.p(n),new ee.o(e,i)]},[js.c,js.c,js.c,ee.f]),ie._14(4608,ee.e,ee.e,[ee.d,ie.w]),ie._14(135680,ee.n,ee.n,[js.c]),ie._14(4608,ee.m,ee.m,[ee.e,ee.n]),ie._14(6144,ie.D,null,[ee.m]),ie._14(6144,ee.q,null,[ee.n]),ie._14(4608,ie.I,ie.I,[ie.w]),ie._14(4608,ee.h,ee.h,[js.c]),ie._14(4608,ee.j,ee.j,[js.c]),ie._14(4608,ul.k,ul.k,[]),ie._14(4608,ul.c,ul.c,[]),ie._14(4608,$i,$i,[He,re]),ie._14(4608,ol,ol,[He,re]),ie._14(4608,Ds,Ds,[]),ie._14(4608,al,al,[]),ie._14(4608,Ll,Ll,[Ce]),ie._14(4608,_l,_l,[re,Ce,ie.w,ii]),ie._14(4608,ro,ro,[He,re]),ie._14(5120,js.f,Zt,[js.q,[2,js.a],re]),ie._14(4608,js.e,js.e,[js.f]),ie._14(5120,Xe,j,[He,ti]),ie._14(5120,ni,V,[He,Xe,js.e,yo,ie.j]),ie._14(4608,Io,Io,[He,re,ni]),ie._14(4608,ql,ql,[He,re]),ie._14(4608,$o,$o,[He,re,ni]),ie._14(4608,Sr,Sr,[re,Ce,ii,He,ci]),ie._14(4608,mr,mr,[He,re]),ie._14(4608,Ii,Ii,[Ce,re]),ie._14(512,js.b,js.b,[]),ie._14(1024,ie.l,ee.r,[]),ie._14(256,se,{},[]),ie._14(1024,Bs,Xt,[]),ie._14(1024,Ce,I,[ee.b,Bs,ie.w]),ie._14(1024,re,w,[se,Ce]),ie._14(512,ii,ii,[Ce]),ie._14(512,ye,ye,[]),ie._14(512,He,He,[re,Ce,[2,ye]]),ie._14(512,ci,ci,[He]),ie._14(256,ti,{links:[]},[]),ie._14(512,ie.i,ie.i,[]),ie._14(512,mo,mo,[ie.i]),ie._14(1024,yo,$,[mo,ie.q]),ie._14(1024,ie.c,function(t,n,e,i,l,o,r,s,u,a,c,h,p,d){return[ee.s(t,n),Gt(e),$t(i,l),nt(o,r,s,u,a),X(c,h,p,d)]},[[2,ee.i],[2,ie.v],re,Ce,ii,re,Ce,ii,He,ci,re,ti,yo,ie.w]),ie._14(512,ie.d,ie.d,[[2,ie.c]]),ie._14(131584,ie._1,ie._1,[ie.w,ie.V,ie.q,ie.l,ie.j,ie.d]),ie._14(2048,ie.f,null,[ie._1]),ie._14(512,ie.e,ie.e,[ie.f]),ie._14(512,ee.a,ee.a,[[3,ee.a]]),ie._14(512,ul.j,ul.j,[]),ie._14(512,ul.d,ul.d,[]),ie._14(512,ul.i,ul.i,[]),ie._14(512,Fs,Fs,[]),ie._14(512,Vs,Vs,[]),ie._14(512,Hs,Hs,[]),ie._14(512,Ws,Ws,[]),ie._14(256,go,zs,[]),ie._14(256,Li,qs,[]),ie._14(256,js.a,"/",[])])});Object(ie.O)(),Object(ee.k)().bootstrapModuleFactory(Tu)},50:function(t,n){},51:function(t,n){},60:function(t,n){},61:function(t,n){},62:function(t,n){},63:function(t,n){}},[27]);