text: webpackJsonp([0],{24:function(t,e){function n(t){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+t+"'.")})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id=24},26:function(t,e){function n(t){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+t+"'.")})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id=26},27:function(t,e,n){"use strict";function i(t,e,n){return Math.max(t,Math.min(e,n))}function o(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var i=arguments.length-1;i>=1;i--){var o=arguments[i];if(o)for(var r in o)o.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=o[r])}return t}function r(t){return"string"==typeof t}function s(t){return"number"==typeof t}function l(t){return"function"==typeof t}function a(t){return void 0!==t}function u(t){return void 0===t}function c(t){return void 0!==t&&null!==t}function p(t){return void 0===t||null===t}function h(t){return"object"==typeof t}function d(t){return Array.isArray(t)}function f(t){return"string"==typeof t?"true"===(t=t.toLowerCase().trim())||"on"===t||""===t:!!t}function _(t,e){return void 0===t||null===t||""===t?void 0===e||null===e||""===e:!0===t||"true"===t?!0===e||"true"===e:!1===t||"false"===t?!1===e||"false"===e:0===t||"0"===t?0===e||"0"===e:t==e}function v(t,e){var n=t.indexOf(e);return!!~n&&!!t.splice(n,1)}function g(t,e,n){return!e&&n||t&&e}function m(t){if(!0===tn)return t()}function y(t,e){if(!t&&!0===tn){var n="IONIC ASSERT: "+e;throw console.error(n),new Error(n)}}function b(t,e){var n=new en;n.init(t,e);var i=e.win();return i.Ionic=i.Ionic||{},i.Ionic.config=n,n}function w(t){return!!(t&&t._didLoad&&t._willUnload)}function S(t,e,n){return"function"==typeof e?Promise.resolve(new rn(e,n)):"string"==typeof e?t.getComponentFromName(e).then(function(t){var i=new rn(t,n);return i.id=e,i}):Promise.resolve(null)}function C(t,e,n){return e?w(e)?Promise.resolve(e):S(t,e,n):Promise.resolve(null)}function T(t,e){var n=[];if(d(e))for(var i=0;i<e.length;i++){var o=e[i];o&&n.push(w(o)?o:o.page?C(t,o.page,o.params):C(t,o,null))}return Promise.all(n)}function k(t){return!!t&&!!t.getSelected}function E(t){return!!t&&c(t._tabId)}function x(t){if(t){var e=t.changedTouches;if(e&&e.length>0){var n=e[0];return{x:n.clientX,y:n.clientY}}var i=t.pageX;if(void 0!==i)return{x:i,y:t.pageY}}return{x:0,y:0}}function P(t,e,n){if(e&&n){var i=e.x-n.x,o=e.y-n.y;return i*i+o*o>t*t}return!1}function O(t){return!!t&&("TEXTAREA"===t.tagName||"true"===t.contentEditable||"INPUT"===t.tagName&&!gn.test(t.type))}function I(t,e,n){var i=new yn;i.setDefault("core"),i.setPlatformConfigs(e),i.setZone(n);var o=t.documentElement;i.setDocument(t);var r=o.dir;i.setDir("rtl"===r?"rtl":"ltr",!r),i.setLang(o.lang,!1),i.setCssProps(o);var s=t.defaultView;return i.setWindow(s),i.setNavigatorPlatform(s.navigator.platform),i.setUserAgent(s.navigator.userAgent),i.setQueryParams(s.location.href),i.init(),s.Ionic=s.Ionic||{},s.Ionic.platform=i,i}function D(t,e){if(t.id===e||t.name===e)return t;for(var n=0,i=t.getAllChildNavs();n<i.length;n++){var o=D(i[n],e);if(o)return o}return null}function M(t){if(!t)return null;if(k(t))return M(t.parent);var e=t.length();return e>1||t._isPortal&&e>0?t:M(t.parent)}function A(t){var e=[],n=t.getActiveChildNavs();return n&&n.length?n.forEach(function(t){var n=A(t);e=e.concat(n)}):e.push(t),e}function L(t){for(t=(t=t.replace(Gn,"-")).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 R(t,e){return new qn(t,e)}function B(t,e){var n=Object.assign({},t);return n.type=e.getType(),n.navId=e.name||e.id,n.secondaryId=t.secondaryId,n}function z(t,e,n,i,o){var r=new $n(t,e,n,i,o);return r.init(),r}function N(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 j(t){return t.$ionIndex}function V(t,e){for(var n=0;t&&n<4;){if(void 0!==j(t))return e&&t.parentNode!==e?null:t;t=t.parentNode,n++}return null}function F(t,e){return new gr(t,e)}function q(t,e,n,i){return function(){!function(t){"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,500)}(function(){i.runOutsideAngular(function(){!function(t,e,n){if(!e||!e.links||!t.getBoolean("preloadModules"))return Promise.resolve();var i=e.links.filter(function(t){return!!t.loadChildren&&"off"!==t.priority}),o=i.filter(function(t){return"high"===t.priority}).map(function(t){return n.load(t.loadChildren)});Promise.all(o).then(function(){var t=i.filter(function(t){return"low"===t.priority}).map(function(t){return n.load(t.loadChildren)});return Promise.all(t)}).catch(function(t){console.error(t.message)})}(t,e,n)})})}}function Y(t){return Math.floor(t)}function H(t,e){if(t)if(t.length)for(var n=0;n<t.length;n++)H(t[n],e);else if(t.nodeType)for(var i=Object.keys(e),o=0;o<i.length;o++)t.style[i[o]]=e[i[o]]}function W(t,e){if(t)if(t.length)for(var n=0;n<t.length;n++)W(t[n],e);else t.nodeType&&(Array.isArray(e)?e.forEach(function(e){t.classList.add(e)}):t.classList.add(e))}function X(t,e){if(t)if(t.length)for(var n=0;n<t.length;n++)X(t[n],e);else t.nodeType&&(Array.isArray(e)?e.forEach(function(e){t.classList.remove(e)}):t.classList.remove(e))}function G(t){var e=0;if(t)for(;null!==(t=t.previousSibling);)1===t.nodeType&&e++;return e}function U(t,e){return t?t.querySelectorAll(e):[]}function $(t,e,n){if(t)for(var i=t.querySelectorAll(e),o=0;o<i.length;o++)n(i[o])}function Z(t,e){if(t){var n=t.style;n.webkitTransform=n.MsTransform=n.msTransform=n.transform=e}}function K(t,e){if(t){"string"!=typeof e&&(e+="ms");var n=t.style;n.webkitTransitionDuration=n.MsTransitionDuration=n.msTransitionDuration=n.transitionDuration=e}}function Q(t,e){try{var n=new(t.win().CustomEvent)("transitionend",{bubbles:!0,cancelable:!0});e.dispatchEvent(n)}catch(t){}}function J(t,e){if(t){var n=e.getElementBoundingClientRect(t),i=e.doc().body,o=e.win();return{top:n.top+(o.pageYOffset||t.scrollTop)-(t.clientTop||i.clientTop||0),left:n.left+(o.pageXOffset||t.scrollLeft)-(t.clientLeft||i.clientLeft||0)}}return null}function tt(t){for(var e=0;e<t._slides.length;e++)t._slides[e].swiperSlideOffset=et(t)?t._slides[e].offsetLeft:t._slides[e].offsetTop}function et(t){return"horizontal"===t.direction}function nt(t){return!!t&&$r.indexOf(t.tagName)>-1}function it(t){return-t._snapGrid[0]}function ot(t){return-t._snapGrid[t._snapGrid.length-1]}function rt(t,e,n){var i,o,r,s=t._rtl?-1:1;i=e.getAttribute("data-swiper-parallax")||"0",o=e.getAttribute("data-swiper-parallax-x"),r=e.getAttribute("data-swiper-parallax-y"),o||r?(o=o||"0",r=r||"0"):et(t)?(o=i,r="0"):(r=i,o="0"),Z(e,"translate3d("+(o=o.indexOf("%")>=0?parseInt(o,10)*n*s+"%":o*n*s+"px")+", "+(r=r.indexOf("%")>=0?parseInt(r,10)*n+"%":r*n+"px")+",0px)")}function st(t){$(t.container,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]",function(e){rt(t,e,t.progress)});for(var e=0;e<t._slides.length;e++){var n=t._slides[e];$(n,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]",function(){var e=Math.min(Math.max(n.progress,-1),1);rt(t,n,e)})}}function lt(t,e){void 0===e&&(e=t._translate||0);var n=ot(t)-it(t),i=t._isBeginning,o=t._isEnd;0===n?(t.progress=0,t._isBeginning=t._isEnd=!0):(t.progress=(e-it(t))/n,t._isBeginning=t.progress<=0,t._isEnd=t.progress>=1),t._zone.run(function(){t._isBeginning&&!i&&t.ionSlideReachStart.emit(),t._isEnd&&!o&&t.ionSlideReachEnd.emit(),t.watchSlidesProgress&&function(t,e){void 0===e&&(e=t._translate||0);if(0===t._slides.length)return;void 0===t._slides[0].swiperSlideOffset&&tt(t);var n=-e;t._rtl&&(n=e);X(t._slides,Zr.slideVisible);for(var i=0;i<t._slides.length;i++){var o=t._slides[i],r=(n+(t.centeredSlides?it(t):0)-o.swiperSlideOffset)/(o.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility){var s=-(n-o.swiperSlideOffset),l=s+t._slidesSizesGrid[i];(s>=0&&s<t._renderedSize||l>0&&l<=t._renderedSize||s<=0&&l>=t._renderedSize)&&t._slides[i].classList.add(Zr.slideVisible)}o.progress=t._rtl?-r:r}}(t,e),t.ionSlideProgress.emit(t.progress)})}function at(t,e){e?t.setAttribute("aria-disabled","true"):t.hasAttribute("aria-disabled")&&t.removeAttribute("aria-disabled")}function ut(t,e){e?t.setAttribute("aria-hidden","true"):t.hasAttribute("aria-hidden")&&t.removeAttribute("aria-hidden")}function ct(t){if(t.paginationType&&t._paginationContainer){var e="";if("bullets"===t.paginationType)for(var n=t.loop?Math.ceil((t._slides.length-2*t.loopedSlides)/t.slidesPerGroup):t._snapGrid.length,i=0;i<n;i++)e+=t.paginationBulletRender?t.paginationBulletRender(i,Zr.bullet):'<button class="'+Zr.bullet+'" aria-label="Go to slide '+(i+1)+'" data-slide-index="'+i+'"></button>';else"fraction"===t.paginationType?e='<span class="'+Zr.paginationCurrent+'"></span> / <span class="'+Zr.paginationTotal+'"></span>':"progress"===t.paginationType&&(e='<span class="'+Zr.paginationProgressbar+'"></span>');t._paginationContainer.innerHTML=e,t._bullets=t._paginationContainer.querySelectorAll("."+Zr.bullet)}}function pt(t){X(t._slides,[Zr.slideActive,Zr.slideNext,Zr.slidePrev,Zr.slideDuplicateActive,Zr.slideDuplicateNext,Zr.slideDuplicatePrev]);for(var e=0;e<t._slides.length;e++)ut(t._slides[e],!0);var n=t._slides[t._activeIndex];if(n){W(n,Zr.slideActive),ut(n,!1),t.loop&&W(n.classList.contains(Zr.slideDuplicate)?U(t._wrapper,"."+Zr.slide+":not(."+Zr.slideDuplicate+')[data-swiper-slide-index="'+t.realIndex+'"]'):U(t._wrapper,"."+Zr.slide+"."+Zr.slideDuplicate+'[data-swiper-slide-index="'+t.realIndex+'"]'),Zr.slideDuplicateActive);var i=n.nextElementSibling;t.loop&&!i&&(i=t._slides[0]),i&&i.classList.add(Zr.slideNext);var o=n.previousElementSibling;t.loop&&!o&&(o=t._slides[t._slides.length-1]),o&&o.classList.add(Zr.slidePrev),t.loop&&(W(i.classList.contains(Zr.slideDuplicate)?U(t._wrapper,"."+Zr.slide+":not(."+Zr.slideDuplicate+')[data-swiper-slide-index="'+i.getAttribute("data-swiper-slide-index")+'"]'):U(t._wrapper,"."+Zr.slide+"."+Zr.slideDuplicate+'[data-swiper-slide-index="'+i.getAttribute("data-swiper-slide-index")+'"]'),Zr.slideDuplicateNext),W(o.classList.contains(Zr.slideDuplicate)?U(t._wrapper,"."+Zr.slide+":not(."+Zr.slideDuplicate+')[data-swiper-slide-index="'+o.getAttribute("data-swiper-slide-index")+'"]'):U(t._wrapper,"."+Zr.slide+"."+Zr.slideDuplicate+'[data-swiper-slide-index="'+o.getAttribute("data-swiper-slide-index")+'"]'),Zr.slideDuplicatePrev)),t._paginationContainer&&function(t){var e,n=t.loop?Math.ceil((t._slides.length-2*t.loopedSlides)/t.slidesPerGroup):t._snapGrid.length;if(t.loop?((e=Math.ceil((t._activeIndex-t.loopedSlides)/t.slidesPerGroup))>t._slides.length-1-2*t.loopedSlides&&(e-=t._slides.length-2*t.loopedSlides),e>n-1&&(e-=n),e<0&&"bullets"!==t.paginationType&&(e=n+e)):e=void 0!==t._snapIndex?t._snapIndex:t._activeIndex||0,"bullets"===t.paginationType&&t._bullets)for(var i=e+(e<0?t._bullets.length:0),o=0;o<t._bullets.length;o++)o===i?W(t._bullets[o],Zr.bulletActive):X(t._bullets[o],Zr.bulletActive);if("fraction"===t.paginationType&&($(t._paginationContainer,"."+Zr.paginationCurrent,function(t){t.textContent=e+1}),$(t._paginationContainer,"."+Zr.paginationTotal,function(t){t.textContent=n})),"progress"===t.paginationType){var r=(e+1)/n,s=r,l=1;et(t)||(l=r,s=1),$(t._paginationContainer,"."+Zr.paginationProgressbar,function(e){Z(e,"translate3d(0,0,0) scaleX("+s+") scaleY("+l+")"),K(e,t.speed)})}}(t),t.loop||(t.prevButton&&(t._isBeginning?(t.prevButton.classList.add(Zr.buttonDisabled),at(t.prevButton,!0)):(t.prevButton.classList.remove(Zr.buttonDisabled),at(t.prevButton,!1))),t.nextButton&&(t._isEnd?(t.nextButton.classList.add(Zr.buttonDisabled),at(t.nextButton,!0)):(t.nextButton.classList.remove(Zr.buttonDisabled),at(t.nextButton,!1))))}}function ht(t){var e,n,i,o=t._rtl?t._translate:-t._translate;for(n=0;n<t._slidesGrid.length;n++)void 0!==t._slidesGrid[n+1]?o>=t._slidesGrid[n]&&o<t._slidesGrid[n+1]-(t._slidesGrid[n+1]-t._slidesGrid[n])/2?e=n:o>=t._slidesGrid[n]&&o<t._slidesGrid[n+1]&&(e=n+1):o>=t._slidesGrid[n]&&(e=n);(i=Math.floor(e/t.slidesPerGroup))>=t._snapGrid.length&&(i=t._snapGrid.length-1),e!==t._activeIndex&&(t._snapIndex=i,t._previousIndex=t._activeIndex,t._activeIndex=e,pt(t),dt(t))}function dt(t){var e=t._slides[t._activeIndex];e&&(t.realIndex=parseInt(e.getAttribute("data-swiper-slide-index")||t._activeIndex,10))}function ft(t){var e=t.win();return!!(e.cordova||e.PhoneGap||e.phonegap)}function _t(t){return t.testNavigatorPlatform("iphone|ipad|ipod")}function vt(t){return t.testUserAgent("Safari")}function gt(t){return _t(t)&&!function(t){return _t(t)&&!!t.win().webkit}(t)&&!vt(t)}function mt(t,e,n,i,o){var r=0,s=0;et(t)?r=t._rtl?-n:n:s=n,t.roundLengths&&(r=Y(r),s=Y(s)),t.virtualTranslate||Z(t._wrapper,"translate3d("+r+"px, "+s+"px, 0px)"),t._translate=et(t)?r:s;var l=ot(t)-it(t);(0===l?0:(n-it(t))/l)!==t.progress&&lt(t,n),i&&ht(t),"slide"!==t.effect&&Qr[t.effect]&&Qr[t.effect].setTranslate(t,e),t.parallax&&st(t),t.control&&Kr.setTranslate(t,e,t._translate,o,mt)}function yt(t,e,n,i){var o,r,s,l,a=e.win();return void 0===i&&(i="x"),t.virtualTranslate?t._rtl?-t._translate:t._translate:(s=e.getElementComputedStyle(n),a.WebKitCSSMatrix?((r=s.transform||s.webkitTransform).split(",").length>6&&(r=r.split(", ").map(function(t){return t.replace(",",".")}).join(", ")),l=new a.WebKitCSSMatrix("none"===r?"":r)):o=(l=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(r=a.WebKitCSSMatrix?l.m41:16===o.length?parseFloat(o[12]):parseFloat(o[4])),"y"===i&&(r=a.WebKitCSSMatrix?l.m42:16===o.length?parseFloat(o[13]):parseFloat(o[5])),t._rtl&&r&&(r=-r),r||0)}function bt(t,e,n,i){K(t._wrapper,n),"slide"!==t.effect&&Qr[t.effect]&&Qr[t.effect].setTransition(t,e,n),t.parallax&&function(t,e){void 0===e&&(e=t.speed),$(t.container,"[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]",function(t){var n=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),K(t,n)})}(t,n),t.control&&Kr.setTransition(t,e,n,i,bt)}function wt(t){if(t.targetTouches.length<2)return 1;var e=t.targetTouches[0].pageX,n=t.targetTouches[0].pageY,i=t.targetTouches[1].pageX,o=t.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-e,2)+Math.pow(o-n,2))}function St(t,e,n){var i=t._zoom;if(t.originalEvent=n,!t._supportGestures){if("touchstart"!==n.type||"touchstart"===n.type&&n.targetTouches.length<2)return;i.gesture.scaleStart=wt(n)}if(!i.gesture.slide&&(n.currentTarget&&n.currentTarget.classList.contains(Zr.slide)&&(i.gesture.slide=n.currentTarget),i.gesture.slide||(i.gesture.slide=t._slides[t._activeIndex]),i.gesture.image=i.gesture.slide.querySelector("img, svg, canvas, ion-img"),i.gesture.image)){if(i.gesture.imageWrap=i.gesture.image.closest("."+Zr.zoomContainer),!i.gesture.imageWrap)return void(i.gesture.image=void 0);i.gesture.zoomMax=parseInt(i.gesture.imageWrap.getAttribute("data-swiper-zoom")||t.zoomMax,10)}K(i.gesture.image,0),i.isScaling=!0}function Ct(t,e,n){var i=t._zoom;if(t.originalEvent=n,!t._supportGestures){if("touchmove"!==n.type||"touchmove"===n.type&&n.targetTouches.length<2)return;i.gesture.scaleMove=wt(n)}i.gesture.image&&(i.scale=t._supportGestures?n.scale*i.currentScale:i.gesture.scaleMove/i.gesture.scaleStart*i.currentScale,i.scale>i.gesture.zoomMax&&(i.scale=i.gesture.zoomMax-1+Math.pow(i.scale-i.gesture.zoomMax+1,.5)),i.scale<t.zoomMin&&(i.scale=t.zoomMin+1-Math.pow(t.zoomMin-i.scale+1,.5)),Z(i.gesture.image,"translate3d(0,0,0) scale("+i.scale+")"))}function Tt(t,e,n){var i=t._zoom;t.originalEvent=n,!t._supportGestures&&("touchend"!==n.type||"touchend"===n.type&&n.changedTouches.length<2)||i.gesture.image&&(i.scale=Math.max(Math.min(i.scale,i.gesture.zoomMax),t.zoomMin),K(i.gesture.image,t.speed),Z(i.gesture.image,"translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(i.gesture.slide=void 0))}function kt(t,e){Et(t);var n,i=t._zoom.unRegs,o={passive:"touchstart"===t._touchEvents.start,zone:!1},r=t._slides;if(t._supportGestures)for(l=0;l<r.length;l++)e.registerListener(n=r[l],"gesturestart",function(e){St(t,0,e)},o,i),e.registerListener(n,"gesturechange",function(e){Ct(t,0,e)},o,i),e.registerListener(n,"gestureend",function(e){Tt(t,0,e)},o,i);else if("touchstart"===t._touchEvents.start)for(l=0;l<r.length;l++)e.registerListener(n=r[l],t._touchEvents.start,function(e){St(t,0,e)},o,i),e.registerListener(n,t._touchEvents.move,function(e){Ct(t,0,e)},o,i),e.registerListener(n,t._touchEvents.end,function(e){Tt(t,0,e)},o,i);var s=t.ionSlideTouchStart.subscribe(function(n){!function(t,e,n){var i=t._zoom;t.originalEvent=n,i.gesture.image&&!i.image.isTouched&&(e.is("android")&&n.preventDefault(),i.image.isTouched=!0,i.image.touchesStart.x="touchstart"===n.type?n.targetTouches[0].pageX:n.pageX,i.image.touchesStart.y="touchstart"===n.type?n.targetTouches[0].pageY:n.pageY)}(t,e,n)});i.push(function(){s.unsubscribe()});for(var l=0;l<r.length;l++)(n=r[l]).querySelector("."+Zr.zoomContainer)&&e.registerListener(n,"s.touchEvents.move",function(n){!function(t,e,n){var i=t._zoom;if(t.originalEvent=n,i.gesture.image&&(t._allowClick=!1,i.image.isTouched&&i.gesture.slide)){i.image.isMoved||(i.image.width=i.gesture.image.offsetWidth,i.image.height=i.gesture.image.offsetHeight,i.image.startX=yt(t,e,i.gesture.imageWrap,"x")||0,i.image.startY=yt(t,e,i.gesture.imageWrap,"y")||0,i.gesture.slideWidth=i.gesture.slide.offsetWidth,i.gesture.slideHeight=i.gesture.slide.offsetHeight,K(i.gesture.imageWrap,0),t._rtl&&(i.image.startX=-i.image.startX,i.image.startY=-i.image.startY));var o=i.image.width*i.scale,r=i.image.height*i.scale;if(!(o<i.gesture.slideWidth&&r<i.gesture.slideHeight)){if(i.image.minX=Math.min(i.gesture.slideWidth/2-o/2,0),i.image.maxX=-i.image.minX,i.image.minY=Math.min(i.gesture.slideHeight/2-r/2,0),i.image.maxY=-i.image.minY,i.image.touchesCurrent.x="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,i.image.touchesCurrent.y="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY,!i.image.isMoved&&!i.isScaling){if(et(t)&&Math.floor(i.image.minX)===Math.floor(i.image.startX)&&i.image.touchesCurrent.x<i.image.touchesStart.x||Math.floor(i.image.maxX)===Math.floor(i.image.startX)&&i.image.touchesCurrent.x>i.image.touchesStart.x)return void(i.image.isTouched=!1);if(!et(t)&&Math.floor(i.image.minY)===Math.floor(i.image.startY)&&i.image.touchesCurrent.y<i.image.touchesStart.y||Math.floor(i.image.maxY)===Math.floor(i.image.startY)&&i.image.touchesCurrent.y>i.image.touchesStart.y)return void(i.image.isTouched=!1)}n.preventDefault(),n.stopPropagation(),i.image.isMoved=!0,i.image.currentX=i.image.touchesCurrent.x-i.image.touchesStart.x+i.image.startX,i.image.currentY=i.image.touchesCurrent.y-i.image.touchesStart.y+i.image.startY,i.image.currentX<i.image.minX&&(i.image.currentX=i.image.minX+1-Math.pow(i.image.minX-i.image.currentX+1,.8)),i.image.currentX>i.image.maxX&&(i.image.currentX=i.image.maxX-1+Math.pow(i.image.currentX-i.image.maxX+1,.8)),i.image.currentY<i.image.minY&&(i.image.currentY=i.image.minY+1-Math.pow(i.image.minY-i.image.currentY+1,.8)),i.image.currentY>i.image.maxY&&(i.image.currentY=i.image.maxY-1+Math.pow(i.image.currentY-i.image.maxY+1,.8)),i.velocity.prevPositionX||(i.velocity.prevPositionX=i.image.touchesCurrent.x),i.velocity.prevPositionY||(i.velocity.prevPositionY=i.image.touchesCurrent.y),i.velocity.prevTime||(i.velocity.prevTime=Date.now()),i.velocity.x=(i.image.touchesCurrent.x-i.velocity.prevPositionX)/(Date.now()-i.velocity.prevTime)/2,i.velocity.y=(i.image.touchesCurrent.y-i.velocity.prevPositionY)/(Date.now()-i.velocity.prevTime)/2,Math.abs(i.image.touchesCurrent.x-i.velocity.prevPositionX)<2&&(i.velocity.x=0),Math.abs(i.image.touchesCurrent.y-i.velocity.prevPositionY)<2&&(i.velocity.y=0),i.velocity.prevPositionX=i.image.touchesCurrent.x,i.velocity.prevPositionY=i.image.touchesCurrent.y,i.velocity.prevTime=Date.now(),Z(i.gesture.imageWrap,"translate3d("+i.image.currentX+"px, "+i.image.currentY+"px,0)")}}}(t,e,n)},o,i);var a=t.ionSlideTouchEnd.subscribe(function(){!function(t){var e=t._zoom;if(e.gesture.image){if(!e.image.isTouched||!e.image.isMoved)return e.image.isTouched=!1,void(e.image.isMoved=!1);e.image.isTouched=!1,e.image.isMoved=!1;var n=300,i=300,o=e.image.currentX+e.velocity.x*n,r=e.image.currentY+e.velocity.y*i;0!==e.velocity.x&&(n=Math.abs((o-e.image.currentX)/e.velocity.x)),0!==e.velocity.y&&(i=Math.abs((r-e.image.currentY)/e.velocity.y));var s=Math.max(n,i);e.image.currentX=o,e.image.currentY=r;var l=e.image.width*e.scale,a=e.image.height*e.scale;e.image.minX=Math.min(e.gesture.slideWidth/2-l/2,0),e.image.maxX=-e.image.minX,e.image.minY=Math.min(e.gesture.slideHeight/2-a/2,0),e.image.maxY=-e.image.minY,e.image.currentX=Math.max(Math.min(e.image.currentX,e.image.maxX),e.image.minX),e.image.currentY=Math.max(Math.min(e.image.currentY,e.image.maxY),e.image.minY),K(e.gesture.imageWrap,s),Z(e.gesture.imageWrap,"translate3d("+e.image.currentX+"px, "+e.image.currentY+"px,0)")}}(t)});i.push(function(){a.unsubscribe()});var u=t.ionSlideTouchEnd.subscribe(function(){!function(t){var e=t._zoom;e.gesture.slide&&t._previousIndex!==t._activeIndex&&(Z(e.gesture.image,"translate3d(0,0,0) scale(1)"),Z(e.gesture.imageWrap,"translate3d(0,0,0)"),e.gesture.slide=e.gesture.image=e.gesture.imageWrap=void 0,e.scale=e.currentScale=1)}(t)});if(i.push(function(){u.unsubscribe()}),t.zoomToggle){var c=t.ionSlideDoubleTap.subscribe(function(){!function(t,e){var n=t._zoom,i=t.originalEvent;if(n.gesture.slide||(n.gesture.slide=t.clickedSlide?t.clickedSlide:t._slides[t._activeIndex],n.gesture.image=n.gesture.slide.querySelector("img, svg, canvas, ion-img"),n.gesture.imageWrap=n.gesture.image&&n.gesture.image.closest("."+Zr.zoomContainer)),n.gesture.imageWrap){var o,r,s,l,a,u,c,p,h,d,f,_,v,g;if(void 0===n.image.touchesStart.x&&i?(o="touchend"===i.type?i.changedTouches[0].pageX:i.pageX,r="touchend"===i.type?i.changedTouches[0].pageY:i.pageY):(o=n.image.touchesStart.x,r=n.image.touchesStart.y),n.scale&&1!==n.scale)n.scale=n.currentScale=1,K(n.gesture.imageWrap,300),Z(n.gesture.imageWrap,"translate3d(0,0,0)"),K(n.gesture.image,300),Z(n.gesture.image,"translate3d(0,0,0) scale(1)"),n.gesture.slide=void 0;else{if(n.scale=n.currentScale=parseInt(n.gesture.imageWrap.getAttribute("data-swiper-zoom")||t.zoomMax,10),i){v=n.gesture.slide.offsetWidth,g=n.gesture.slide.offsetHeight;var m=J(n.gesture.slide,e);s=m.left+v/2-o,l=m.top+g/2-r,c=n.gesture.image.offsetWidth*n.scale,p=n.gesture.image.offsetHeight*n.scale,f=-(h=Math.min(v/2-c/2,0)),_=-(d=Math.min(g/2-p/2,0)),u=l*n.scale,(a=s*n.scale)<h&&(a=h),a>f&&(a=f),u<d&&(u=d),u>_&&(u=_)}else a=0,u=0;K(n.gesture.imageWrap,300),Z(n.gesture.imageWrap,"translate3d("+a+"px, "+u+"px,0)"),K(n.gesture.image,300),Z(n.gesture.image,"translate3d(0,0,0) scale("+n.scale+")")}}}(t,e)});i.push(function(){c.unsubscribe()})}}function Et(t){t._zoom.unRegs.forEach(function(t){t()}),t._zoom.unRegs.length=0}function xt(t,e){var n=t.autoplay,i=t._slides[t._activeIndex];i.hasAttribute("data-swiper-autoplay")&&(n=i.getAttribute("data-swiper-autoplay")||t.autoplay),t._autoplayTimeoutId=e.timeout(function(){t._zone.run(function(){t.loop?(Lt(t,e),Nt(t,e,!0,void 0,!0),t.ionSlideAutoplay.emit(t)):t._isEnd?t.autoplayStopOnLast?Ot(t):(Rt(t,e,0),t.ionSlideAutoplay.emit(t)):(Nt(t,e,!0,void 0,!0),t.ionSlideAutoplay.emit(t))})},n)}function Pt(t,e){return void 0===t._autoplayTimeoutId&&(!(!t.autoplay||t._autoplaying)&&(t._autoplaying=!0,t._zone.run(function(){t.ionSlideAutoplayStart.emit(t)}),void xt(t,e)))}function Ot(t){t._autoplayTimeoutId&&(t._autoplayTimeoutId&&clearTimeout(t._autoplayTimeoutId),t._autoplaying=!1,t._autoplayTimeoutId=void 0,t._zone.run(function(){t.ionSlideAutoplayStop.emit(t)}))}function It(t,e,n){t._autoplayPaused||(t._autoplayTimeoutId&&clearTimeout(t._autoplayTimeoutId),t._autoplayPaused=!0,0===n?(t._autoplayPaused=!1,xt(t,e)):e.transitionEnd(t._wrapper,function(){t&&(t._autoplayPaused=!1,t._autoplaying?xt(t,e):Ot(t))}))}function Dt(t){var e,n=[],i=0;if("auto"!==t.slidesPerView&&t.slidesPerView>1)for(e=0;e<Math.ceil(t.slidesPerView);e++){var o=t._activeIndex+e;if(o>t._slides.length)break;n.push(t._slides[o])}else n.push(t._slides[t._activeIndex]);for(e=0;e<n.length;e++)if(void 0!==n[e]){var r=n[e].offsetHeight;i=r>i?r:i}i&&(t._wrapper.style.height=i+"px")}function Mt(t,e){var n,i,o=t.container;if(n=void 0!==t.width?t.width:o.clientWidth,i=void 0!==t.renderedHeight?t.renderedHeight:o.clientHeight,!(0===n&&et(t)||0===i&&!et(t))){var r=e.getElementComputedStyle(o);n=n-parseInt(r.paddingLeft,10)-parseInt(r.paddingRight,10),i=i-parseInt(r.paddingTop,10)-parseInt(r.paddingBottom,10),t.renderedWidth=n,t.renderedHeight=i,t._renderedSize=et(t)?n:i}}function At(t,e){t._slides=t._wrapper.querySelectorAll("."+Zr.slide),t._snapGrid=[],t._slidesGrid=[],t._slidesSizesGrid=[];var n,i=t.spaceBetween,o=-t.slidesOffsetBefore,r=0,s=0;if(void 0!==t._renderedSize){"string"==typeof i&&i.indexOf("%")>=0&&(i=parseFloat(i.replace("%",""))/100*t._renderedSize),t._virtualSize=-i,t._rtl?H(t._slides,{marginLeft:"",marginTop:""}):H(t._slides,{marginRight:"",marginBottom:""});var l;t.slidesPerColumn>1&&(l=Math.floor(t._slides.length/t.slidesPerColumn)===t._slides.length/t.slidesPerColumn?t._slides.length:Math.ceil(t._slides.length/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(l=Math.max(l,t.slidesPerView*t.slidesPerColumn)));var a,u=t.slidesPerColumn,c=l/u,p=c-(t.slidesPerColumn*c-t._slides.length);for(n=0;n<t._slides.length;n++){a=0;var h=t._slides[n];if(t.slidesPerColumn>1){var d,f,_;"column"===t.slidesPerColumnFill?(_=n-(f=Math.floor(n/u))*u,(f>p||f===p&&_===u-1)&&++_>=u&&(_=0,f++),H(h,{"-webkit-box-ordinal-group":d=f+_*l/u,"-moz-box-ordinal-group":d,"-ms-flex-order":d,"-webkit-order":d,order:d})):f=n-(_=Math.floor(n/c))*c;var v=0!==_&&t.spaceBetween&&t.spaceBetween+"px",g={};et(t)?g.marginTop=v:g.marginLeft=v,H(h,g),h.setAttribute("data-swiper-column",f),h.setAttribute("data-swiper-row",_)}if("none"!==h.style.display){if("auto"===t.slidesPerView){var m=e.getElementComputedStyle(h);a=et(t)?h.offsetWidth+parseFloat(m.marginRight)+parseFloat(m.marginLeft):h.offsetHeight+parseFloat(m.marginTop)+parseFloat(m.marginBottom),t.roundLengths&&(a=Y(a))}else a=(t._renderedSize-(t.slidesPerView-1)*i)/t.slidesPerView,t.roundLengths&&(a=Y(a)),et(t)?t._slides[n].style.width=a+"px":t._slides[n].style.height=a+"px";t._slides[n].swiperSlideSize=a,t._slidesSizesGrid.push(a),t.centeredSlides?(o=o+a/2+r/2+i,0===n&&(o=o-t._renderedSize/2-i),Math.abs(o)<.001&&(o=0),s%t.slidesPerGroup==0&&t._snapGrid.push(o),t._slidesGrid.push(o)):(s%t.slidesPerGroup==0&&t._snapGrid.push(o),t._slidesGrid.push(o),o=o+a+i),t._virtualSize+=a+i,r=a,s++}}t._virtualSize=Math.max(t._virtualSize,t._renderedSize)+t.slidesOffsetAfter;var y;if(!t._rtl||"slide"!==t.effect&&"coverflow"!==t.effect||H(t._wrapper,{width:t._virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(et(t)?H(t._wrapper,{width:t._virtualSize+t.spaceBetween+"px"}):H(t._wrapper,{height:t._virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(t._virtualSize=(a+t.spaceBetween)*l,t._virtualSize=Math.ceil(t._virtualSize/t.slidesPerColumn)-t.spaceBetween,et(t)?H(t._wrapper,{width:t._virtualSize+t.spaceBetween+"px"}):H(t._wrapper,{height:t._virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){for(y=[],n=0;n<t._snapGrid.length;n++)t._snapGrid[n]<t._virtualSize+t._snapGrid[0]&&y.push(t._snapGrid[n]);t._snapGrid=y}if(!t.centeredSlides){for(y=[],n=0;n<t._snapGrid.length;n++)t._snapGrid[n]<=t._virtualSize-t._renderedSize&&y.push(t._snapGrid[n]);t._snapGrid=y,Math.floor(t._virtualSize-t._renderedSize)-Math.floor(t._snapGrid[t._snapGrid.length-1])>1&&t._snapGrid.push(t._virtualSize-t._renderedSize)}0===t._snapGrid.length&&(t._snapGrid=[0]),0!==t.spaceBetween&&(et(t)?t._rtl?H(t._slides,{marginLeft:i+"px"}):H(t._slides,{marginRight:i+"px"}):H(t._slides,{marginBottom:i+"px"})),t.watchSlidesProgress&&tt(t)}}function Lt(t,e){var n;t._activeIndex<t.loopedSlides?(n=t._slides.length-3*t.loopedSlides+t._activeIndex,Rt(t,e,n+=t.loopedSlides,0,!1,!0)):("auto"===t.slidesPerView&&t._activeIndex>=2*t.loopedSlides||t._activeIndex>t._slides.length-2*t.slidesPerView)&&(n=-t._slides.length+t._activeIndex+t.loopedSlides,Rt(t,e,n+=t.loopedSlides,0,!1,!0))}function Rt(t,e,n,i,o,r){void 0===o&&(o=!0),void 0===n&&(n=0),n<0&&(n=0),t._snapIndex=Math.floor(n/t.slidesPerGroup),t._snapIndex>=t._snapGrid.length&&(t._snapIndex=t._snapGrid.length-1);var s=-t._snapGrid[t._snapIndex];return t.autoplay&&t._autoplaying&&(r||!t.autoplayDisableOnInteraction?It(t,e,i):Ot(t)),lt(t,s),!(!t._allowSwipeToNext&&s<t._translate&&s<it(t))&&(!(!t._allowSwipeToPrev&&s>t._translate&&s>ot(t)&&(t._activeIndex||0)!==n)&&(void 0===i&&(i=t.speed),t._previousIndex=t._activeIndex||0,t._activeIndex=n,dt(t),t._rtl&&-s===t._translate||!t._rtl&&s===t._translate?(t.autoHeight&&Dt(t),pt(t),"slide"!==t.effect&&mt(t,e,s),!1):(pt(t),Bt(t,o),0===i?(mt(t,e,s),bt(t,e,0),zt(t,e,o)):(mt(t,e,s),bt(t,e,i),t._animating||(t._animating=!0,e.transitionEnd(t._wrapper,function(){t&&zt(t,e,o)}))),!0)))}function Bt(t,e){void 0===e&&(e=!0),t.autoHeight&&Dt(t),e&&t._zone.run(function(){t.ionSlideTransitionStart.emit(t),t._activeIndex!==t._previousIndex&&(t.ionSlideWillChange.emit(t),t._activeIndex>t._previousIndex?t.ionSlideNextStart.emit(t):t.ionSlidePrevStart.emit(t))})}function zt(t,e,n){void 0===n&&(n=!0),t._animating=!1,bt(t,e,0),n&&t._zone.run(function(){t.ionSlideTransitionEnd.emit(t),t._activeIndex!==t._previousIndex&&(t.ionSlideDidChange.emit(t),t._activeIndex>t._previousIndex?t.ionSlideNextEnd.emit(t):t.ionSlidePrevEnd.emit(t))})}function Nt(t,e,n,i,o){if(t.loop)return!t._animating&&(Lt(t,e),Rt(t,e,t._activeIndex+t.slidesPerGroup,i,n,o));var r=t._activeIndex+t.slidesPerGroup;return r<t._slides.length&&Rt(t,e,r,i,n,o)}function jt(t,e,n,i,o){if(t.loop)return!t._animating&&(Lt(t,e),Rt(t,e,t._activeIndex-1,i,n,o));return t._activeIndex-1>=0&&Rt(t,e,t._activeIndex-1,i,n,o)}function Vt(t,e){var n=t.target;if(!n.matches(e))if("string"==typeof e)n=n.closest(e);else if(e.nodeType){for(var i=n.parentElement;i;)if(i===e)return e;return}return n}function Ft(t,e,n){if(console.debug("ion-slide, onTouchStart: "+n.type),n.originalEvent&&(n=n.originalEvent),t.originalEvent=n,(cr="touchstart"===n.type)||!("which"in n)||3!==n.which)if(t.noSwiping&&Vt(n,"."+Zr.noSwiping))t._allowClick=!0;else if(!t.swipeHandler||Vt(n,t.swipeHandler)){var i=t._touches.currentX="touchstart"===n.type?n.targetTouches[0].pageX:n.pageX,o=t._touches.currentY="touchstart"===n.type?n.targetTouches[0].pageY:n.pageY;if(!(e.is("ios")&&t.iOSEdgeSwipeDetection&&i<=t.iOSEdgeSwipeThreshold)){if(tr=!0,er=!1,nr=!0,or=void 0,pr=void 0,t._touches.startX=i,t._touches.startY=o,ir=Date.now(),t._allowClick=!0,Mt(t,e),t.swipeDirection=void 0,t.threshold>0&&(lr=!1),"touchstart"!==n.type){var r=!0;nt(n.target)&&(r=!1),e.focusOutActiveElement(),r&&n.preventDefault()}t.ionSlideTouchStart.emit(n)}}}function qt(t,e,n){if(console.debug("ion-slide, onTouchMove: "+n.type),n.originalEvent&&(n=n.originalEvent),t.originalEvent=n,!cr||"mousemove"!==n.type){if(n.preventedByNestedSwiper)return t._touches.startX="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,void(t._touches.startY="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY);if(t.onlyExternal)return t._allowClick=!1,void(tr&&(t._touches.startX=t._touches.currentX="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,t._touches.startY=t._touches.currentY="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY,ir=Date.now()));if(cr&&t.touchReleaseOnEdges&&!t.loop)if(et(t)){if(t._touches.currentX<t._touches.startX&&t._translate<=ot(t)||t._touches.currentX>t._touches.startX&&t._translate>=it(t))return}else if(t._touches.currentY<t._touches.startY&&t._translate<=ot(t)||t._touches.currentY>t._touches.startY&&t._translate>=it(t))return;var i=e.getActiveElement();if(cr&&i&&n.target===i&&nt(n.target))return er=!0,void(t._allowClick=!1);if(!(n.targetTouches&&n.targetTouches.length>1)){if(t._touches.currentX="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,t._touches.currentY="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY,void 0===or){var o;et(t)&&t._touches.currentY===t._touches.startY||!et(t)&&t._touches.currentX===t._touches.startX?or=!1:(o=180*Math.atan2(Math.abs(t._touches.currentY-t._touches.startY),Math.abs(t._touches.currentX-t._touches.startX))/Math.PI,or=et(t)?o>t.touchAngle:90-o>t.touchAngle)}if(tr)if(or)tr=!1;else{t._allowClick=!1,t.ionSlideDrag.emit(t),n.preventDefault(),t.touchMoveStopPropagation&&n.stopPropagation(),er||(t.loop&&Lt(t,e),sr=function(t,e,n){return void 0===n&&(n=et(t)?"x":"y"),yt(t,e,t._wrapper,n)}(t,e),bt(t,e,0),t._animating&&Q(e,t._wrapper),t.autoplay&&t._autoplaying&&(t.autoplayDisableOnInteraction?Ot(t):It(t,e)),ur=!1),er=!0;var r=t._touches.diff=et(t)?t._touches.currentX-t._touches.startX:t._touches.currentY-t._touches.startY;r*=t.touchRatio,t._rtl&&(r=-r),t.swipeDirection=r>0?"prev":"next",rr=r+sr;var s=!0;if(r>0&&rr>it(t)?(s=!1,t.resistance&&(rr=it(t)-1+Math.pow(-it(t)+sr+r,t.resistanceRatio))):r<0&&rr<ot(t)&&(s=!1,t.resistance&&(rr=ot(t)+1-Math.pow(ot(t)-sr-r,t.resistanceRatio))),s&&(n.preventedByNestedSwiper=!0),!t._allowSwipeToNext&&"next"===t.swipeDirection&&rr<sr&&(rr=sr),!t._allowSwipeToPrev&&"prev"===t.swipeDirection&&rr>sr&&(rr=sr),t.threshold>0){if(!(Math.abs(r)>t.threshold||lr))return void(rr=sr);if(!lr)return lr=!0,t._touches.startX=t._touches.currentX,t._touches.startY=t._touches.currentY,rr=sr,void(t._touches.diff=et(t)?t._touches.currentX-t._touches.startX:t._touches.currentY-t._touches.startY)}t.followFinger&&((t.freeMode||t.watchSlidesProgress)&&ht(t),t.freeMode&&(0===ts.length&&ts.push({position:t._touches[et(t)?"startX":"startY"],time:ir}),ts.push({position:t._touches[et(t)?"currentX":"currentY"],time:(new Date).getTime()})),lt(t,rr),mt(t,e,rr))}}}}function Yt(t,e,n){if(console.debug("ion-slide, onTouchEnd: "+n.type),n.originalEvent&&(n=n.originalEvent),t.originalEvent=n,nr&&t.ionSlideTouchEnd.emit(n),nr=!1,tr){var i=Date.now(),o=i-ir;if(t._allowClick&&(!function(t,e,n){var i=Vt(n,"."+Zr.slide),o=-1;if(i)for(var r=0;r<t._slides.length;r++)if(t._slides[r]===i){o=r;break}if(!(i&&o>-1))return t.clickedSlide=void 0,void(t.clickedIndex=void 0);if(t.clickedSlide=i,t.clickedIndex=o,t.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t._activeIndex){var s,l=t.clickedIndex,a="auto"===t.slidesPerView?function(t){var e,n,i=1;if(t.centeredSlides){var o,r=t._slides[t._activeIndex].swiperSlideSize;for(e=t._activeIndex+1;e<t._slides.length;e++)t._slides[e]&&!o&&(i++,(r+=t._slides[e].swiperSlideSize)>t._renderedSize&&(o=!0));for(n=t._activeIndex-1;n>=0;n--)t._slides[n]&&!o&&(i++,(r+=t._slides[n].swiperSlideSize)>t._renderedSize&&(o=!0))}else for(e=t._activeIndex+1;e<t._slides.length;e++)t._slidesGrid[e]-t._slidesGrid[t._activeIndex]<t._renderedSize&&i++;return i}(t):t.slidesPerView;if(t.loop){if(t._animating)return;s=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?l<t.loopedSlides-a/2||l>t._slides.length-t.loopedSlides+a/2?(Lt(t,e),l=G(t._wrapper.querySelector("."+Zr.slide+'[data-swiper-slide-index="'+s+'"]:not(.'+Zr.slideDuplicate+")")),e.timeout(function(){Rt(t,e,l)})):Rt(t,e,l):l>t._slides.length-a?(Lt(t,e),l=G(t._wrapper.querySelector("."+Zr.slide+'[data-swiper-slide-index="'+s+'"]:not(.'+Zr.slideDuplicate+")")),e.timeout(function(){Rt(t,e,l)})):Rt(t,e,l)}else Rt(t,e,l)}}(t,e,n),t._zone.run(function(){t.ionSlideTap.emit(t),o<300&&i-Jr>300&&(ar&&e.cancelTimeout(ar),ar=e.timeout(function(){t&&t.paginationHide&&t._paginationContainer&&!n.target.classList.contains(Zr.bullet)&&t._paginationContainer.classList.toggle(Zr.paginationHidden)},300)),o<300&&i-Jr<300&&(ar&&clearTimeout(ar),t.ionSlideDoubleTap.emit(t))})),Jr=Date.now(),e.timeout(function(){t&&(t._allowClick=!0)}),tr&&er&&t.swipeDirection&&0!==t._touches.diff&&rr!==sr){tr=er=!1;var r;if(r=t.followFinger?t._rtl?t._translate:-t._translate:-rr,t.freeMode){if(r<-it(t))return void Rt(t,e,t._activeIndex);if(r>-ot(t))return void(t._slides.length<t._snapGrid.length?Rt(t,e,t._snapGrid.length-1):Rt(t,e,t._slides.length-1));if(t.freeModeMomentum){if(ts.length>1){var s=ts.pop(),l=ts.pop(),a=s.time-l.time;t.velocity=(s.position-l.position)/a,t.velocity=t.velocity/2,Math.abs(t.velocity)<t.freeModeMinimumVelocity&&(t.velocity=0),(a>150||(new Date).getTime()-s.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity=t.velocity*t.freeModeMomentumVelocityRatio,ts.length=0;var u=1e3*t.freeModeMomentumRatio,c=t._translate+t.velocity*u;t._rtl&&(c=-c);var p,h=!1,d=20*Math.abs(t.velocity)*t.freeModeMomentumBounceRatio;if(c<ot(t))t.freeModeMomentumBounce?(c+ot(t)<-d&&(c=ot(t)-d),p=ot(t),h=!0,ur=!0):c=ot(t);else if(c>it(t))t.freeModeMomentumBounce?(c-it(t)>d&&(c=it(t)+d),p=it(t),h=!0,ur=!0):c=it(t);else if(t.freeModeSticky){var f,_=0;for(_=0;_<t._snapGrid.length;_+=1)if(t._snapGrid[_]>-c){f=_;break}c=Math.abs(t._snapGrid[f]-c)<Math.abs(t._snapGrid[f-1]-c)||"next"===t.swipeDirection?t._snapGrid[f]:t._snapGrid[f-1],t._rtl||(c=-c)}if(0!==t.velocity)u=t._rtl?Math.abs((-c-t._translate)/t.velocity):Math.abs((c-t._translate)/t.velocity);else if(t.freeModeSticky)return void function(t,e,n,i){Rt(t,e,t._activeIndex,i,n,!0)}(t,e);t.freeModeMomentumBounce&&h?(lt(t,p),bt(t,e,u),mt(t,e,c),Bt(t),t._animating=!0,e.transitionEnd(t._wrapper,function(){t&&ur&&(bt(t,e,t.speed),mt(t,e,p),e.transitionEnd(t._wrapper,function(){t&&zt(t,e)}))})):t.velocity?(lt(t,c),bt(t,e,u),mt(t,e,c),Bt(t),t._animating||(t._animating=!0,e.transitionEnd(t._wrapper,function(){t&&zt(t,e)}))):lt(t,c),ht(t)}(!t.freeModeMomentum||o>=t.longSwipesMs)&&(lt(t),ht(t))}else{for(var v=0,g=t._slidesSizesGrid[0],m=0;m<t._slidesGrid.length;m+=t.slidesPerGroup)void 0!==t._slidesGrid[m+t.slidesPerGroup]?r>=t._slidesGrid[m]&&r<t._slidesGrid[m+t.slidesPerGroup]&&(v=m,g=t._slidesGrid[m+t.slidesPerGroup]-t._slidesGrid[m]):r>=t._slidesGrid[m]&&(v=m,g=t._slidesGrid[t._slidesGrid.length-1]-t._slidesGrid[t._slidesGrid.length-2]);var y=(r-t._slidesGrid[v])/g;if(o>t.longSwipesMs){if(!t.longSwipes)return void Rt(t,e,t._activeIndex);"next"===t.swipeDirection&&(y>=t.longSwipesRatio?Rt(t,e,v+t.slidesPerGroup):Rt(t,e,v)),"prev"===t.swipeDirection&&(y>1-t.longSwipesRatio?Rt(t,e,v+t.slidesPerGroup):Rt(t,e,v))}else{if(!t.shortSwipes)return void Rt(t,e,t._activeIndex);"next"===t.swipeDirection&&Rt(t,e,v+t.slidesPerGroup),"prev"===t.swipeDirection&&Rt(t,e,v)}}}else tr=er=!1}}function Ht(t,e){if(!e||!e.parentNode)return!0;if(!t)return!1;if(t.defaultPrevented)return!0;for(var n=t.target,i=0;i<4&&n;i++){if(n.hasAttribute("disable-activated"))return!0;n=n.parentElement}return!1}function Wt(t){for(var e=t,n=0;n<10&&e;n++){if(function(t){if(Os.indexOf(t.tagName)>-1)return!0;for(var e=0,n=Is.length;e<n;e++)if(t.hasAttribute&&t.hasAttribute(Is[e]))return!0;return!1}(e))return e;e=e.parentElement}return null}function Xt(t,e,n,i,o){return function(){return new Ps(t,e,n,i,o)}}function Gt(t,e,n){return setTimeout(Kt(t,n),e)}function Ut(t,e,n){return!!Array.isArray(t)&&($t(t,n[e],n),!0)}function $t(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function Zt(t,e,n){var i,o=e.prototype;(i=t.prototype=Object.create(o)).constructor=t,i._super=o,n&&Object.assign(i,n)}function Kt(t,e){return function(){return t.apply(e,arguments)}}function Qt(t,e){return typeof t==zs?t.apply(e?e[0]||void 0:void 0,e):t}function Jt(t,e){return void 0===t?e:t}function te(t,e,n){$t(oe(e),function(e){t.addEventListener(e,n,!1)})}function ee(t,e,n){$t(oe(e),function(e){t.removeEventListener(e,n,!1)})}function ne(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function ie(t,e){return t.indexOf(e)>-1}function oe(t){return t.trim().split(/\s+/g)}function re(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function se(t){return Array.prototype.slice.call(t,0)}function le(t,e,n){for(var i=[],o=[],r=0;r<t.length;){var s=e?t[r][e]:t[r];re(o,s)<0&&i.push(t[r]),o[r]=s,r++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]?1:0}):i.sort()),i}function ae(t,e){for(var n,i,o=e[0].toUpperCase()+e.slice(1),r=0;r<Rs.length;){if(n=Rs[r],(i=n?n+o:e)in t)return i;r++}}function ue(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}function ce(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){Qt(t.options.enable,[t])&&n.handler(e)},this.init()}function pe(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:Ns(t.pointers[n].clientX),clientY:Ns(t.pointers[n].clientY)},n++;return{timeStamp:Vs(),pointers:e,center:he(e),deltaX:t.deltaX,deltaY:t.deltaY}}function he(t){var e=t.length;if(1===e)return{x:Ns(t[0].clientX),y:Ns(t[0].clientY)};for(var n=0,i=0,o=0;o<e;)n+=t[o].clientX,i+=t[o].clientY,o++;return{x:Ns(n/e),y:Ns(i/e)}}function de(t,e,n){return{x:e/t||0,y:n/t||0}}function fe(t,e){return t===e?Zs:js(t)>=js(e)?t<0?Ks:Qs:e<0?Js:tl}function _e(t,e,n){n||(n=ol);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return Math.sqrt(i*i+o*o)}function ve(t,e,n){n||(n=ol);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return 180*Math.atan2(o,i)/Math.PI}function ge(t,e){this.evEl=ll,this.evWin=al,this.allow=!0,this.pressed=!1,ce.apply(this,arguments)}function me(){this.evEl=pl,this.evWin=hl,ce.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function ye(){this.evTarget=fl,this.evWin=_l,this.started=!1,ce.apply(this,arguments)}function be(t,e){this.evTarget=gl,this.targetIds={},ce.apply(this,arguments)}function we(){ce.apply(this,arguments);var t=Kt(this.handler,this);this.touch=new be(this.manager,t),this.mouse=new ge(this.manager,t)}function Se(t,e){this.manager=t,this.set(e)}function Ce(t){this.options=Object.assign({},this.defaults,t||{}),this.id=Fs++,this.manager=null,this.options.enable=Jt(this.options.enable,!0),this.state=kl,this.simultaneous={},this.requireFail=[]}function Te(t){return t&Il?"cancel":t&Pl?"end":t&xl?"move":t&El?"start":""}function ke(t){return t==tl?"down":t==Js?"up":t==Ks?"left":t==Qs?"right":""}function Ee(t,e){var n=e.manager;return n?n.get(t):t}function xe(){Ce.apply(this,arguments)}function Pe(){xe.apply(this,arguments),this.pX=null,this.pY=null}function Oe(){xe.apply(this,arguments)}function Ie(){Ce.apply(this,arguments),this._timer=null,this._input=null}function De(){xe.apply(this,arguments)}function Me(){xe.apply(this,arguments)}function Ae(){Ce.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Le(t,e){return e=e||{},e.recognizers=Jt(e.recognizers,Dl.preset),new Re(t,e)}function Re(t,e){this.options=Object.assign({},Dl,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=function(t){var e=t.options.inputClass;return new(e||(Ys?me:Hs?be:qs?we:ge))(t,function(t,e,n){var i=n.pointers.length,o=n.changedPointers.length,r=e&Xs&&i-o==0,s=e&(Us|$s)&&i-o==0;n.isFirst=!!r,n.isFinal=!!s,r&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,o=i.length;n.firstInput||(n.firstInput=pe(e)),o>1&&!n.firstMultiple?n.firstMultiple=pe(e):1===o&&(n.firstMultiple=!1);var r=n.firstInput,s=n.firstMultiple,l=s?s.center:r.center,a=e.center=he(i);e.timeStamp=Vs(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=ve(l,a),e.distance=_e(l,a),function(t,e){var n=e.center,i=t.offsetDelta||{},o=t.prevDelta||{},r=t.prevInput||{};e.eventType!==Xs&&r.eventType!==Us||(o=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=o.x+(n.x-i.x),e.deltaY=o.y+(n.y-i.y)}(n,e),e.offsetDirection=fe(e.deltaX,e.deltaY);var u=de(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=js(u.x)>js(u.y)?u.x:u.y,e.scale=s?function(t,e){return _e(e[0],e[1],rl)/_e(t[0],t[1],rl)}(s.pointers,i):1,e.rotation=s?function(t,e){return ve(e[1],e[0],rl)+ve(t[1],t[0],rl)}(s.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,o,r,s=t.lastInterval||e,l=e.timeStamp-s.timeStamp;if(e.eventType!=$s&&(l>Ws||void 0===s.velocity)){var a=e.deltaX-s.deltaX,u=e.deltaY-s.deltaY,c=de(l,a,u);i=c.x,o=c.y,n=js(c.x)>js(c.y)?c.x:c.y,r=fe(a,u),t.lastInterval=e}else n=s.velocity,i=s.velocityX,o=s.velocityY,r=s.direction;e.velocity=n,e.velocityX=i,e.velocityY=o,e.direction=r}(n,e);var c=t.element;ne(e.srcEvent.target,c)&&(c=e.srcEvent.target),e.target=c}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n})}(this),this.touchAction=new Se(this,this.options.touchAction),Be(this,!0),$t(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function Be(t,e){var n=t.element;n.style&&$t(t.options.cssProps,function(t,i){n.style[ae(n.style,i)]=e?t:""})}function ze(t,e){return function(){return function(t,e){var n=new Ml,i=t.win(),o=t.doc();return t.timeout(function(){i.addEventListener("online",function(t){n.publish("app:online",t)},!1),i.addEventListener("offline",function(t){n.publish("app:offline",t)},!1),i.addEventListener("orientationchange",function(t){n.publish("app:rotated",t)}),i.addEventListener("statusTap",function(){var n=o.elementFromPoint(t.width()/2,t.height()/2);if(n){var i=n.closest(".scroll-content");if(i){var r=i.style,s=new uo(null,t,e);s._el=i,r.WebkitBackfaceVisibility="hidden",r.WebkitTransform="translate3d(0,0,0)",e.write(function(){function e(){r.overflow="",r.WebkitBackfaceVisibility="",r.WebkitTransform=""}r.overflow="hidden";var n=t.timeout(function(){e()},400);s.scrollTo(0,0,300).then(function(){t.cancelTimeout(n),e()})})}}})},2e3),n}(t,e)}}function Ne(){return Al}function je(t){return function(){t.setModeConfig("ios",Rl),t.setModeConfig("md",Bl),t.setModeConfig("wp",zl)}}function Ve(t,e,n){return"path"===n.get("locationStrategy")?new jl.p(t,e):new jl.d(t,e)}function Fe(t){return Qe._23(2,[(t()(),Qe._2(0,0,null,null,1,"span",[["class","button-inner"]],null,null,null,null,null)),Qe._15(null,0),(t()(),Qe._2(2,0,null,null,0,"div",[["class","button-effect"]],null,null,null,null,null))],null,null)}function qe(t){return Qe._23(2,[(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,2,":svg:svg",[["viewBox","0 0 64 64"]],null,null,null,null,null)),Qe._0(1,278528,null,0,jl.l,[Qe.s,Qe.k,Qe.B],{ngStyle:[0,"ngStyle"]},null),(t()(),Qe._2(2,0,null,null,0,":svg:circle",[["transform","translate(32,32)"]],[[1,"r",0]],null,null,null,null))],function(t,e){t(e,1,0,e.context.$implicit.style)},function(t,e){t(e,2,0,e.context.$implicit.r)})})),Qe._0(1,802816,null,0,jl.h,[Qe.K,Qe.H,Qe.r],{ngForOf:[0,"ngForOf"]},null),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,2,":svg:svg",[["viewBox","0 0 64 64"]],null,null,null,null,null)),Qe._0(1,278528,null,0,jl.l,[Qe.s,Qe.k,Qe.B],{ngStyle:[0,"ngStyle"]},null),(t()(),Qe._2(2,0,null,null,0,":svg:line",[["transform","translate(32,32)"]],[[1,"y1",0],[1,"y2",0]],null,null,null,null))],function(t,e){t(e,1,0,e.context.$implicit.style)},function(t,e){t(e,2,0,e.context.$implicit.y1,e.context.$implicit.y2)})})),Qe._0(3,802816,null,0,jl.h,[Qe.K,Qe.H,Qe.r],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._c);t(e,3,0,n._l)},null)}function Ye(t){return Qe._23(0,[Qe._20(402653184,1,{colEle:0}),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"div",[["class","picker-prefix"]],[[4,"width",null]],null,null,null,null)),(t()(),Qe._22(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n.col.prefixWidth),t(e,1,0,n.col.prefix)})})),Qe._0(2,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),(t()(),Qe._2(3,0,[[1,0],["colEle",1]],null,2,"div",[["class","picker-opts"]],[[4,"max-width",null]],null,null,null,null)),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"button",[["class","picker-opt"],["disable-activated",""]],[[2,"picker-opt-disabled",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.optClick(n,t.context.index)&&i),i},null,null)),(t()(),Qe._22(1,null,["",""]))],null,function(t,e){t(e,0,0,e.context.$implicit.disabled),t(e,1,0,e.context.$implicit.text)})})),Qe._0(5,802816,null,0,jl.h,[Qe.K,Qe.H,Qe.r],{ngForOf:[0,"ngForOf"]},null),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"div",[["class","picker-suffix"]],[[4,"width",null]],null,null,null,null)),(t()(),Qe._22(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n.col.suffixWidth),t(e,1,0,n.col.suffix)})})),Qe._0(7,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.col.prefix);t(e,5,0,n.col.options);t(e,7,0,n.col.suffix)},function(t,e){t(e,3,0,e.component.col.optionsWidth)})}function He(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-icon",[["name","reorder"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Qe._0(1,147456,null,0,oo,[en,Qe.k,Qe.B],{name:[0,"name"]},null)],function(t,e){t(e,1,0,"reorder")},function(t,e){t(e,0,0,Qe._16(e,1)._hidden)})}function We(t){return Qe._23(2,[Qe._20(671088640,1,{viewLabel:0}),Qe._15(null,0),(t()(),Qe._2(2,0,null,null,8,"div",[["class","item-inner"]],null,null,null,null,null)),(t()(),Qe._2(3,0,null,null,4,"div",[["class","input-wrapper"]],null,null,null,null,null)),Qe._15(null,1),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,2,"ion-label",[],null,null,null,null,null)),Qe._0(1,16384,[[1,4]],0,ro,[en,Qe.k,Qe.B,[8,null],[8,null],[8,null],[8,null]],null,null),Qe._15(null,2)],null,null)})),Qe._0(6,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),Qe._15(null,3),Qe._15(null,4),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-reorder",[],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Qe._16(t,1).onClick(n)&&i),i},He,ca)),Qe._0(1,49152,null,0,zo,[Qe.k],null,null)],null,null)})),Qe._0(10,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),(t()(),Qe._2(11,0,null,null,0,"div",[["class","button-effect"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,6,0,n._viewLabel);t(e,10,0,n._hasReorder)},null)}function Xe(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,3,"div",[["class","radio-icon"]],[[2,"radio-checked",null]],null,null,null,null)),(t()(),Qe._22(-1,null,[" "])),(t()(),Qe._2(2,0,null,null,0,"div",[["class","radio-inner"]],null,null,null,null,null)),(t()(),Qe._22(-1,null,[" "])),(t()(),Qe._22(-1,null,[" "])),(t()(),Qe._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,Fe,Gl)),Qe._0(6,1097728,null,0,eo,[[8,"item-cover"],en,Qe.k,Qe.B],null,null),(t()(),Qe._22(-1,0,[" "]))],null,function(t,e){var n=e.component;t(e,0,0,n._checked);t(e,5,0,n.id,n._checked,n._labelId,n._disabled)})}function Ge(t){return Qe._23(2,[(t()(),Qe._2(0,0,null,null,1,"div",[["class","slide-zoom"]],null,null,null,null,null)),Qe._15(null,0)],null,null)}function Ue(t){return Qe._23(2,[(t()(),Qe._2(0,0,null,null,3,"div",[["class","swiper-container"]],[[1,"dir",0]],null,null,null,null)),(t()(),Qe._2(1,0,null,null,1,"div",[["class","swiper-wrapper"]],null,null,null,null,null)),Qe._15(null,0),(t()(),Qe._2(3,0,null,null,0,"div",[["class","swiper-pagination"]],[[2,"hide",null]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n._rtl?"rtl":null);t(e,3,0,!n.pager)})}function $e(t){return Qe._23(0,[Qe._20(402653184,1,{_vp:0}),(t()(),Qe._2(1,16777216,[[1,3],["viewport",1]],null,0,"div",[["nav-viewport",""]],null,null,null,null,null)),(t()(),Qe._2(2,0,null,null,0,"div",[["class","nav-decor"]],null,null,null,null,null))],null,null)}Object.defineProperty(e,"__esModule",{value:!0});var Ze,Ke=n(5),Qe=n(1),Je=n(0),tn=!0,en=function(){function t(){this._c={},this._s={},this._modes={},this._trns={}}return t.prototype.init=function(t,e){this._s=t&&h(t)&&!d(t)?t:{},this.plt=e},t.prototype.get=function(t,e){void 0===e&&(e=null);var n=this.plt;if(!a(this._c[t])){if(!a(t))throw"config key is not defined";var i=void 0,o=this._s[t],r=void 0,s=void 0,u=void 0,c=void 0,p=null;if(n){var h=n.getQueryParam("ionic"+t);if(a(h))return this._c[t]="true"===h||"false"!==h&&h;for(var d=n.platforms(),f=0,_=d.length;f<_;f++)this._s.platforms&&(p=this._s.platforms[d[f]])&&(a(p[t])&&(i=p[t]),(p=this.getModeConfig(p.mode))&&a(p[t])&&(r=p[t])),(p=n.getPlatformConfig(d[f]))&&p.settings&&(a(p.settings[t])&&(u=p.settings[t]),(p=this.getModeConfig(p.settings.mode))&&a(p[t])&&(c=p[t]))}(p=this.getModeConfig(this._s.mode))&&a(p[t])&&(s=p[t]),this._c[t]=a(i)?i:a(o)?o:a(r)?r:a(s)?s:a(u)?u:a(c)?c:null}var v=this._c[t];return l(v)&&(v=v(n)),null!==v?v:e},t.prototype.getBoolean=function(t,e){void 0===e&&(e=!1);var n=this.get(t);return null===n?e:"string"==typeof n?"true"===n:!!n},t.prototype.getNumber=function(t,e){void 0===e&&(e=NaN);var n=parseFloat(this.get(t));return isNaN(n)?e:n},t.prototype.set=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[0],i=t[1];switch(t.length){case 2:this._s[n]=i,delete this._c[n];break;case 3:this._s.platforms=this._s.platforms||{},this._s.platforms[n]=this._s.platforms[n]||{},this._s.platforms[n][i]=t[2],delete this._c[i]}return this},t.prototype.settings=function(t,e){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]=e,this._c={}}return this},t.prototype.setModeConfig=function(t,e){this._modes[t]=e},t.prototype.getModeConfig=function(t){return this._modes[t]||null},t.prototype.setTransition=function(t,e){this._trns[t]=e},t.prototype.getTransition=function(t){return this._trns[t]||null},t}(),nn=new Qe.p("USERCONFIG"),on=function(){function t(t){void 0===t&&(t={}),this.data=t}return t.prototype.get=function(t){return this.data[t]},t}(),rn=function(){function t(t,e,n){void 0===n&&(n=sn),this.component=t,this._isHidden=!1,this._state=an,this.willEnter=new Qe.m,this.didEnter=new Qe.m,this.willLeave=new Qe.m,this.didLeave=new Qe.m,this.willUnload=new Qe.m,this.readReady=new Qe.m,this.writeReady=new Qe.m,this.isOverlay=!1,this._emitter=new Qe.m,this.data=e instanceof on?e.data:c(e)?e:{},this._cssClass=n,this._ts=Date.now(),window.addEventListener("orientationchange",this.handleOrientationChange.bind(this))}return t.prototype.handleOrientationChange=function(){this.getContent()&&this.getContent().resize()},t.prototype.init=function(t){y(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,e,n){if(void 0===n&&(n={}),!this._nav)return y(this._state===pn,"ViewController does not have a valid _nav"),Promise.resolve(!1);this.isOverlay&&!n.minClickBlockDuration&&(n.minClickBlockDuration=400),this._dismissData=t,this._dismissRole=e;var i=Object.assign({},this._leavingOpts,n);return this._nav.removeView(this,i).then(function(){return t})},t.prototype.getNav=function(){return this._nav},t.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("pageTransition")},t.prototype.getNavParams=function(){return new on(this.data)},t.prototype.setLeavingOpts=function(t){this._leavingOpts=t},t.prototype.enableBack=function(){if(!this._nav)return!1;return!!this._nav.getPrevious(this)},Object.defineProperty(t.prototype,"name",{get:function(){return this.component?this.component.name:""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"index",{get:function(){return this._nav?this._nav.indexOf(this):-1},enumerable:!0,configurable:!0}),t.prototype.isFirst=function(){return!!this._nav&&this._nav.first()===this},t.prototype.isLast=function(){return!!this._nav&&this._nav.last()===this},t.prototype._domShow=function(t,e){if(this._cmp&&t===this._isHidden){this._isHidden=!t;var n=t?null:"";e.setElementAttribute(this.pageRef().nativeElement,"hidden",n)}},t.prototype.getZIndex=function(){return this._zIndex},t.prototype._setZIndex=function(t,e){if(t!==this._zIndex){this._zIndex=t;var n=this.pageRef();n&&e.setElementStyle(n.nativeElement,"z-index",t)}},t.prototype.pageRef=function(){return this._cmp&&this._cmp.location},t.prototype._setContent=function(t){this._cntDir=t},t.prototype.getContent=function(){return this._cntDir},t.prototype._setContentRef=function(t){this._cntRef=t},t.prototype.contentRef=function(){return this._cntRef},t.prototype._setIONContent=function(t){this._setContent(t),this._ionCntDir=t},t.prototype.getIONContent=function(){return this._ionCntDir},t.prototype._setIONContentRef=function(t){this._setContentRef(t),this._ionCntRef=t},t.prototype.getIONContentRef=function(){return this._ionCntRef},t.prototype._setHeader=function(t){this._hdrDir=t},t.prototype.getHeader=function(){return this._hdrDir},t.prototype._setFooter=function(t){this._ftrDir=t},t.prototype.getFooter=function(){return this._ftrDir},t.prototype._setNavbar=function(t){this._nb=t},t.prototype.getNavbar=function(){return this._nb},t.prototype.hasNavbar=function(){return!!this._nb},t.prototype.setBackButtonText=function(t){this._nb&&this._nb.setBackButtonText(t)},t.prototype.showBackButton=function(t){this._nb&&(this._nb.hideBackButton=!t)},t.prototype._preLoad=function(){y(this._state===un,"view state must be INITIALIZED"),this._lifecycle("PreLoad")},t.prototype._willLoad=function(){y(this._state===un,"view state must be INITIALIZED"),this._lifecycle("WillLoad")},t.prototype._didLoad=function(){y(this._state===cn,"view state must be ATTACHED"),this._lifecycle("DidLoad")},t.prototype._willEnter=function(){this.handleOrientationChange(),y(this._state===cn,"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(){y(this._state===cn,"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(y(this._state!==pn,"view state must be ATTACHED"),this._cmp){if(t){var e=this._cmp.location.nativeElement;t.setElementAttribute(e,"class",null),t.setElementAttribute(e,"style",null)}window.removeEventListener("orientationchange",this.handleOrientationChange.bind(this)),this._cmp.destroy()}this._nav=this._cmp=this.instance=this._cntDir=this._cntRef=this._leavingOpts=this._hdrDir=this._ftrDir=this._nb=this._onDidDismiss=this._onWillDismiss=null,this._state=pn},t.prototype._lifecycleTest=function(t){var e=this.instance,n="ionViewCan"+t;if(e&&e[n])try{var i=e[n]();return i instanceof Promise?i:Promise.resolve(!1!==i)}catch(t){return Promise.reject(this.name+" "+n+" error: "+t.message)}return Promise.resolve(!0)},t.prototype._lifecycle=function(t){var e=this.instance,n="ionView"+t;e&&e[n]&&e[n]()},t}(),sn="ion-page",ln=9999,an=1,un=2,cn=3,pn=4,hn=100,dn="back",fn="forward",_n=function(){function t(){this._menus=[]}return t.prototype.open=function(t){var e=this.get(t);if(e&&!this.isAnimating()){var n=this.getOpen();return n&&e!==n&&n.setOpen(!1,!1),e.open()}return Promise.resolve(!1)},t.prototype.close=function(t){var e;return(e=t?this.get(t):this.getOpen())?e.close():Promise.resolve(!1)},t.prototype.toggle=function(t){var e=this.get(t);if(e&&!this.isAnimating()){var n=this.getOpen();return n&&e!==n&&n.setOpen(!1,!1),e.toggle()}return Promise.resolve(!1)},t.prototype.enable=function(t,e){var n=this.get(e);if(n)return n.enable(t)},t.prototype.swipeEnable=function(t,e){var n=this.get(e);if(n)return n.swipeEnable(t)},t.prototype.isOpen=function(t){if(t){var e=this.get(t);return e&&e.isOpen||!1}return!!this.getOpen()},t.prototype.isEnabled=function(t){var e=this.get(t);return e&&e.enabled||!1},t.prototype.get=function(t){return"left"===t||"right"===t?this._menus.find(function(e){return e.side===t&&e.enabled})||this._menus.find(function(e){return e.side===t})||null:t?this._menus.find(function(e){return e.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){y(this._menus.indexOf(t)<0,"menu was already registered"),this._menus.push(t)},t.prototype._unregister=function(t){y(this._menus.indexOf(t)>=0,"menu is not registered"),v(this._menus,t)},t.prototype._setActiveMenu=function(t){y(t.enabled,"menu must be enabled"),y(this._menus.indexOf(t)>=0,"menu is not registered");var e=t.side;this._menus.filter(function(n){return n.side===e&&n!==t}).map(function(t){return t.enable(!1)})},t.registerType=function(t,e){vn[t]=e},t.create=function(t,e,n){return new vn[t](e,n)},t}(),vn={},gn=/^(radio|checkbox|range|file|submit|reset|color|image|button)$/i,mn=function(){function t(){this.data={}}return t.prototype.parseUrl=function(t){if(t){var e=t.indexOf("?");if(e>-1)for(var n=t.slice(e+1).split("&"),i=0;i<n.length;i++)if(n[i].indexOf("=")>0){var o=n[i].split("=");o.length>1&&(this.data[o[0].toLowerCase()]=o[1].split("#")[0])}}},t.prototype.get=function(t){return this.data[t.toLowerCase()]},t}(),yn=function(){function t(){var t=this;this._versions={},this._qp=new mn,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 Qe.m,this.pause=new Qe.m,this.resume=new Qe.m,this.resize=new Qe.m,this._readyPromise=new Promise(function(e){t._readyResolve=e}),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 e,n={},i=["webkitTransform","-webkit-transform","webkit-transform","transform"];for(e=0;e<i.length;e++)if(void 0!==t.style[i[e]]){n.transform=i[e];break}for(i=["webkitTransition","transition"],e=0;e<i.length;e++)if(void 0!==t.style[i[e]]){n.transition=i[e];break}var o=n.transition.indexOf("webkit")>-1;return n.transitionDuration=(o?"-webkit-":"")+"transition-duration",n.transitionTimingFn=(o?"-webkit-":"")+"transition-timing-function",n.transitionDelay=(o?"-webkit-":"")+"transition-delay",n.transitionEnd=(o?"webkitTransitionEnd ":"")+"transitionend",n.transformOrigin=(o?"-webkit-":"")+"transform-origin",n.animationDelay=o?"webkitAnimationDelay":"animationDelay",n}(t)},t.prototype.is=function(t){return this._platforms.indexOf(t)>-1},t.prototype.platforms=function(){return this._platforms},t.prototype.versions=function(){return this._versions},t.prototype.version=function(){for(var t in this._versions)if(this._versions[t])return this._versions[t];return{}},t.prototype.ready=function(){return this._readyPromise},t.prototype.triggerReady=function(t){var e=this;this.zone.run(function(){e._readyResolve(t)})},t.prototype.prepareReady=function(){function t(){e._doc.removeEventListener("DOMContentLoaded",t,!1),e._win.removeEventListener("load",t,!1),e.triggerReady("dom")}var e=this;"complete"===e._doc.readyState||"interactive"===e._doc.readyState?e.triggerReady("dom"):(e._doc.addEventListener("DOMContentLoaded",t,!1),e._win.addEventListener("load",t,!1))},t.prototype.setDir=function(t,e){this._dir=t,this.isRTL="rtl"===t,!1!==e&&this._doc.documentElement.setAttribute("dir",t)},t.prototype.dir=function(){return this._dir},t.prototype.setLang=function(t,e){this._lang=t,!1!==e&&this._doc.documentElement.setAttribute("lang",t)},t.prototype.lang=function(){return this._lang},t.prototype.exitApp=function(){},t.prototype.registerBackButtonAction=function(t,e){var n=this;void 0===e&&(e=0);var i={fn:t,priority:e};return this._bbActions.push(i),function(){v(n._bbActions,i)}},t.prototype.runBackButtonAction=function(){var t=null;this._bbActions.forEach(function(e){(!t||e.priority>=t.priority)&&(t=e)}),t&&t.fn&&t.fn()},t.prototype.setUserAgent=function(t){this._ua=t},t.prototype.setQueryParams=function(t){this._qp.parseUrl(t)},t.prototype.getQueryParam=function(t){return this._qp.get(t)},t.prototype.url=function(){return this._win.location.href},t.prototype.userAgent=function(){return this._ua||""},t.prototype.setNavigatorPlatform=function(t){this._nPlt=t},t.prototype.navigatorPlatform=function(){return this._nPlt||""},t.prototype.width=function(){return this._calcDim(),this._isPortrait?this._pW:this._lW},t.prototype.height=function(){return this._calcDim(),this._isPortrait?this._pH:this._lH},t.prototype.getElementComputedStyle=function(t,e){return this._win.getComputedStyle(t,e)},t.prototype.getElementFromPoint=function(t,e){return this._doc.elementFromPoint(t,e)},t.prototype.getElementBoundingClientRect=function(t){return t.getBoundingClientRect()},t.prototype.isPortrait=function(){return this._calcDim(),this._isPortrait},t.prototype.isLandscape=function(){return!this.isPortrait()},t.prototype._calcDim=function(){if(null===this._isPortrait||!1===this._isPortrait&&this._win.innerWidth<this._win.innerHeight){var t=this._win,e=t.innerWidth,n=t.innerHeight;t.screen.width>0&&t.screen.height>0&&(e<n?(this._pW<=e&&(console.debug("setting _isPortrait to true"),this._isPortrait=!0,this._pW=e),this._pH<=n&&(console.debug("setting _isPortrait to true"),this._isPortrait=!0,this._pH=n)):(this._lW!==e&&(console.debug("setting _isPortrait to false"),this._isPortrait=!1,this._lW=e),this._lH!==n&&(console.debug("setting _isPortrait to false"),this._isPortrait=!1,this._lH=n)))}},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,e){return this._win.__zone_symbol__setTimeout(t,e)},t.prototype.cancelTimeout=function(t){this._win.__zone_symbol__clearTimeout(t)},t.prototype.registerListener=function(t,e,n,i,o){var r,s=this._uiEvtOpts?{capture:!!i.capture,passive:!!i.passive}:!!i.capture;return!i.zone&&t.__zone_symbol__addEventListener?(t.__zone_symbol__addEventListener(e,n,s),r=function(){t.__zone_symbol__removeEventListener(e,n,s)}):(t.addEventListener(e,n,s),r=function(){t.removeEventListener(e,n,s)}),o&&o.push(r),r},t.prototype.transitionEnd=function(t,e,n){function i(){r.forEach(function(t){t()})}function o(n){t===n.target&&(i(),e(n))}void 0===n&&(n=!0);var r=[];return t&&(this.registerListener(t,"webkitTransitionEnd",o,{zone:n},r),this.registerListener(t,"transitionend",o,{zone:n},r)),i},t.prototype.windowLoad=function(t){var e,n=this._win,i=this._doc;"complete"===i.readyState?t(n,i):e=this.registerListener(n,"load",function(){e&&e(),t(n,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!!O(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 e=Object.defineProperty({},"passive",{get:function(){t._uiEvtOpts=!0}});this._win.addEventListener("optsTest",null,e)}catch(t){}this.timeout(function(){var e;t.registerListener(t._win,"resize",function(){clearTimeout(e),e=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,e){return t.toLowerCase().split(";").indexOf(e)>-1},t.prototype.testNavigatorPlatform=function(t){return new RegExp(t,"i").test(this._nPlt)},t.prototype.matchUserAgentVersion=function(t){if(this._ua&&t){var e=this._ua.match(t);if(e)return{major:e[1],minor:e[2]}}},t.prototype.testUserAgent=function(t){return!!this._ua&&this._ua.indexOf(t)>=0},t.prototype.isPlatformMatch=function(t,e,n){void 0===n&&(n=[]);var i=this._qp.get("ionicplatform");if(i)return this.testQuery(i,t);e=e||[t];for(var o=this._ua.toLowerCase(),r=0;r<e.length;r++)if(o.indexOf(e[r])>-1){for(var s=0;s<n.length;s++)if(o.indexOf(n[s])>-1)return!1;return!0}return!1},t.prototype.init=function(){this._initEvents();var t,e,n;for(var i in this._registry)(n=this.matchPlatform(i))&&(n.isEngine?e=n:(!t||n.depth>t.depth)&&(t=n));if(t||(t=new bn(this._registry,this._default)),t){e&&(e.child=t,t.parent=e,t=e);for(var o=t;o;)!function(t,e){var n=e.superset();if(n){var i=new bn(t,n);i.parent=e.parent,i.child=e,i.parent&&(i.parent.child=i),e.parent=i}}(this._registry,o),o=o.child;for(o=t.parent;o;)t=o,o=o.parent;for(o=t;o;){if(o.initialize(this),"iphone"===o.name&&"iPad"===this.navigatorPlatform())return this._platforms.push("tablet"),void this._platforms.push("ipad");this._platforms.push(o.name),this._versions[o.name]=o.version(this),o=o.child}}this._platforms.indexOf("mobile")>-1&&-1===this._platforms.indexOf("cordova")&&this._platforms.push("mobileweb")},t.prototype.matchPlatform=function(t){var e=new bn(this._registry,t).getRoot(this);if(e){e.depth=0;for(var n=e.child;n;)e.depth++,n=n.child}return e},t}(),bn=function(){function t(t,e){this.registry=t,this.c=t[e],this.name=e,this.isEngine=this.c.isEngine}return t.prototype.settings=function(){return this.c.settings||{}},t.prototype.superset=function(){return this.c.superset},t.prototype.isMatch=function(t){return this.c.isMatch&&this.c.isMatch(t)||!1},t.prototype.initialize=function(t){this.c.initialize&&this.c.initialize(t)},t.prototype.version=function(t){if(this.c.versionParser){var e=this.c.versionParser(t);if(e){var n=e.major+"."+e.minor;return{str:n,num:parseFloat(n),major:parseInt(e.major,10),minor:parseInt(e.minor,10)}}}},t.prototype.getRoot=function(e){if(this.isMatch(e)){var n=this.getSubsetParents(this.name);if(!n.length)return this;for(var i=null,o=null,r=0;r<n.length;r++)if(i=new t(this.registry,n[r]),i.child=this,o=i.getRoot(e))return this.parent=i,o}return null},t.prototype.getSubsetParents=function(t){var e=[],n=null;for(var i in this.registry)(n=this.registry[i]).subsets&&n.subsets.indexOf(t)>-1&&e.push(i);return e},t}(),wn=function(){function t(t,e,n){this._dur=null,this._es=null,this._rvEs=null,this.hasChildren=!1,this.isPlaying=!1,this.hasCompleted=!1,this.plt=t,this.element(e),this.opts=n}return t.prototype.element=function(t){if(t)if("string"==typeof t){t=this.plt.doc().querySelectorAll(t);for(e=0;e<t.length;e++)this._addEle(t[e])}else if(t.length)for(var e=0;e<t.length;e++)this._addEle(t[e]);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,e){return this._addProp("from",t,e),this},t.prototype.to=function(t,e,n){var i=this._addProp("to",t,e);return n&&this.afterClearStyles([i.trans?this.plt.Css.transform:t]),this},t.prototype.fromTo=function(t,e,n,i){return this.from(t,e).to(t,n,i)},t.prototype._getProp=function(t){return this._fx?this._fx.find(function(e){return e.name===t}):(this._fx=[],null)},t.prototype._addProp=function(t,e,n){var i=this._getProp(e);if(!i){var o=1===Sn[e];this._fx.push(i={name:e,trans:o,wc:o?this.plt.Css.transform:e})}var r={val:n,num:null,unit:""};if(i[t]=r,"string"==typeof n&&n.indexOf(" ")<0){var s=n.match(Cn),l=parseFloat(s[1]);isNaN(l)||(r.num=l),r.unit=s[0]!==s[2]?s[2]:""}else"number"==typeof n&&(r.num=n);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 e=0;e<t.length;e++)this._bfSty[t[e]]="";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 e=0;e<t.length;e++)this._afSty[t[e]]="";return this},t.prototype.play=function(t){var e=this;this.plt&&(this._isAsync=this._hasDuration(t),this._clearAsync(),this._playInit(t),this.plt.raf(function(){e.plt.raf(e._playDomInspect.bind(e,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)>Tn;for(var e=this._c,n=0;n<this._cL;n++)e[n]._playInit(t);this._hasDur&&(this._progress(0),this._willChg(!0))},t.prototype._playDomInspect=function(t){this._beforeAnimation();var e=this.getDuration(t);this._isAsync&&this._asyncEnd(e,!0),this._playProgress(t),this._isAsync&&this.plt&&this.plt.raf(this._playToStep.bind(this,1))},t.prototype._playProgress=function(t){for(var e=this._c,n=0;n<this._cL;n++)e[n]._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 e=this._c,n=0;n<this._cL;n++)e[n]._playToStep(t);this._hasDur&&this._progress(t)},t.prototype._asyncEnd=function(t,e){y(!this._unrgTrns,"_unrgTrns must be null"),y(!this._tm,"_tm must be null"),y(t>0,"duration can not be 0 in async animations");var n=this;n._unrgTrns=this.plt.transitionEnd(n._transEl(),function(){n._clearAsync(),n._playEnd(),n._didFinishAll(e,!0,!1)},!1),n._tm=n.plt.timeout(function(){console.debug("Animation onTransitionFallback, CSS onTransitionEnd did not fire!"),n._tm=void 0,n._clearAsync(),n._playEnd(e?1:0),n._didFinishAll(e,!0,!1)},t+kn)},t.prototype._playEnd=function(t){for(var e=this._c,n=0;n<this._cL;n++)e[n]._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)>Tn)return!0;for(var e=this._c,n=0;n<this._cL;n++)if(e[n]._hasDuration(t))return!0;return!1},t.prototype._hasDomReads=function(){if(this._rdFn&&this._rdFn.length)return!0;for(var t=this._c,e=0;e<this._cL;e++)if(t[e]._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 e,n=this._fx,i=this._eL;if(n&&i){this._rv&&(t=-1*t+1);var o,r,s="",l=this._e;for(o=0;o<n.length;o++){var a=n[o];if(a.from&&a.to){var u=a.from.num,c=a.to.num,p=u!==c;if(y(p||!this._isAsync,"in async animations to != from value"),p&&(this._twn=!0),0===t)e=a.from.val;else if(1===t)e=a.to.val;else if(p){var h=(c-u)*t+u,d=a.to.unit;"px"===d&&(h=Math.round(h)),e=h+d}if(null!==e){var f=a.name;if(a.trans)s+=f+"("+e+") ";else for(r=0;r<i;r++)l[r].style[f]=e}}}if(s.length){(!this._rv&&1!==t||this._rv&&0!==t)&&(s+="translateZ(0px)");var _=this.plt.Css.transform;for(o=0;o<l.length;o++)l[o].style[_]=s}}},t.prototype._setTrans=function(t,e){if(this._fx)for(var n,i=this._e,o=e?"linear":this.getEasing(),r=t+"ms",s=this.plt.Css,l=s.transition,a=s.transitionDuration,u=s.transitionTimingFn,c=0;c<this._eL;c++)n=i[c].style,t>0?(n[l]="",n[a]=r,o&&(n[u]=o)):n[l]="none"},t.prototype._beforeAnimation=function(){this._fireBeforeReadFunc(),this._fireBeforeWriteFunc(),this._setBeforeStyles()},t.prototype._setBeforeStyles=function(){var t,e,n=this._c;for(t=0;t<this._cL;t++)n[t]._setBeforeStyles();if(!this._rv){var i,o,r,s=this._bfAdd,l=this._bfRm;for(t=0;t<this._eL;t++){if(i=this._e[t],o=i.classList,s)for(e=0;e<s.length;e++)o.add(s[e]);if(l)for(e=0;e<l.length;e++)o.remove(l[e]);if(this._bfSty)for(r in this._bfSty)i.style[r]=this._bfSty[r]}}},t.prototype._fireBeforeReadFunc=function(){for(var t=this._c,e=0;e<this._cL;e++)t[e]._fireBeforeReadFunc();var n=this._rdFn;if(n)for(e=0;e<n.length;e++)n[e]()},t.prototype._fireBeforeWriteFunc=function(){for(var t=this._c,e=0;e<this._cL;e++)t[e]._fireBeforeWriteFunc();var n=this._wrFn;if(this._wrFn)for(e=0;e<n.length;e++)n[e]()},t.prototype._setAfterStyles=function(){var t,e,n,i,o=this._e;for(t=0;t<this._eL;t++)if(n=o[t],i=n.classList,n.style[this.plt.Css.transitionDuration]=n.style[this.plt.Css.transitionTimingFn]="",this._rv){if(this._bfAdd)for(e=0;e<this._bfAdd.length;e++)i.remove(this._bfAdd[e]);if(this._bfRm)for(e=0;e<this._bfRm.length;e++)i.add(this._bfRm[e]);if(this._bfSty)for(var r in this._bfSty)n.style[r]=""}else{if(this._afAdd)for(e=0;e<this._afAdd.length;e++)i.add(this._afAdd[e]);if(this._afRm)for(e=0;e<this._afRm.length;e++)i.remove(this._afRm[e]);if(this._afSty)for(var r in this._afSty)n.style[r]=this._afSty[r]}},t.prototype._willChg=function(t){var e,n,i=this._fx;if(t&&i){e=[];for(r=0;r<i.length;r++){var o=i[r].wc;"webkitTransform"===o?e.push("transform","-webkit-transform"):e.push(o)}n=e.join(",")}else n="";for(var r=0;r<this._eL;r++)this._e[r].style.willChange=n},t.prototype.progressStart=function(){this._clearAsync(),this._beforeAnimation(),this._progressStart()},t.prototype._progressStart=function(){for(var t=this._c,e=0;e<this._cL;e++)t[e]._progressStart();this._setTrans(0,!0),this._willChg(!0)},t.prototype.progressStep=function(t){t=Math.min(1,Math.max(0,t));for(var e=this._c,n=0;n<this._cL;n++)e[n].progressStep(t);this._rv&&(t=-1*t+1),this._progress(t)},t.prototype.progressEnd=function(t,e,n){void 0===n&&(n=-1),console.debug("Animation, progressEnd, shouldComplete",t,"currentStepValue",e),this._rv&&(e=-1*e+1);var i=t?1:0;Math.abs(e-i)<.05?n=0:n<0&&(n=this._dur),this._isAsync=n>30,this._progressEnd(t,i,n,this._isAsync),this._isAsync&&(this._asyncEnd(n,t),this.plt&&this.plt.raf(this._playToStep.bind(this,i)))},t.prototype._progressEnd=function(t,e,n,i){for(var o=this._c,r=0;r<this._cL;r++)o[r]._progressEnd(t,e,n,i);i?(this.isPlaying=!0,this.hasCompleted=!1,this._hasDur=!0,this._willChg(!0),this._setTrans(n,!1)):(this._progress(e),this._willChg(!1),this._setAfterStyles(),this._didFinish(t))},t.prototype.onFinish=function(t,e,n){return void 0===e&&(e=!1),void 0===n&&(n=!1),n&&(this._fFn=this._fOneFn=void 0),e?(this._fOneFn=this._fOneFn||[],this._fOneFn.push(t)):(this._fFn=this._fFn||[],this._fFn.push(t)),this},t.prototype._didFinishAll=function(t,e,n){for(var i=this._c,o=0;o<this._cL;o++)i[o]._didFinishAll(t,e,n);(e&&this._isAsync||n&&!this._isAsync)&&this._didFinish(t)},t.prototype._didFinish=function(t){if(this.isPlaying=!1,this.hasCompleted=t,this._fFn)for(e=0;e<this._fFn.length;e++)this._fFn[e](this);if(this._fOneFn){for(var e=0;e<this._fOneFn.length;e++)this._fOneFn[e](this);this._fOneFn.length=0}},t.prototype.reverse=function(t){void 0===t&&(t=!0);for(var e=this._c,n=0;n<this._cL;n++)e[n].reverse(t);return this._rv=t,this},t.prototype.destroy=function(){for(var t=this._c,e=0;e<this._cL;e++)t[e].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,e=0;e<this._cL;e++)if(t=this._c[e]._transEl())return t;return this._twn&&this._hasDur&&this._eL?this._e[0]:null},t}(),Sn={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},Cn=/(^-?\d*\.?\d*)(.*)/,Tn=32,kn=400,En=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),xn=function(t){function e(e,n,i,o){var r=t.call(this,e,null,o)||this;return r.enteringView=n,r.leavingView=i,r}return En(e,t),e.prototype.init=function(){},e.prototype.registerStart=function(t){this._trnsStart=t},e.prototype.start=function(){this._trnsStart&&this._trnsStart(),this._trnsStart=null,this.parent&&this.parent.start()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.parent=this.enteringView=this.leavingView=this._trnsStart=null},e}(wn),Pn=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),On=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Pn(e,t),e.prototype.init=function(){var t=this;this.enteringView&&(this.enteringPage=new wn(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()}))},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.enteringPage&&this.enteringPage.destroy(),this.enteringPage=null},e}(xn),In=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Dn="opacity",Mn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return In(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.plt,n=e.isRTL?"-99.5%":"99.5%",i=e.isRTL?"33%":"-33%",o=this.enteringView,r=this.leavingView,s=this.opts;this.duration(c(s.duration)?s.duration:500),this.easing(c(s.easing)?s.easing:"cubic-bezier(0.36,0.66,0.04,1)");var l="back"===s.direction,a=o&&o.hasNavbar(),u=r&&r.hasNavbar();if(o){var p=o.pageRef().nativeElement,h=new wn(e,o.contentRef());if(h.element(p.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(h),l?h.fromTo("translateX",i,"0%",!0).fromTo(Dn,.8,1,!0):h.beforeClearStyles([Dn]).fromTo("translateX",n,"0%",!0),a){var d=p.querySelector("ion-navbar"),f=new wn(e,d);this.add(f);var _=new wn(e,d.querySelector("ion-title")),v=new wn(e,d.querySelectorAll("ion-buttons,[menuToggle]")),g=new wn(e,d.querySelector(".toolbar-background")),m=new wn(e,d.querySelector(".back-button"));if(f.add(_).add(v).add(g).add(m),_.fromTo(Dn,.01,1,!0),v.fromTo(Dn,.01,1,!0),l)_.fromTo("translateX",i,"0%",!0),o.enableBack()&&m.beforeAddClass("show-back-button").fromTo(Dn,.01,1,!0);else if(_.fromTo("translateX",n,"0%",!0),g.beforeClearStyles([Dn]).fromTo("translateX",n,"0%",!0),o.enableBack()){m.beforeAddClass("show-back-button").fromTo(Dn,.01,1,!0);var y=new wn(e,d.querySelector(".back-button-text"));y.fromTo("translateX",e.isRTL?"-100px":"100px","0px"),f.add(y)}else m.beforeRemoveClass("show-back-button")}}if(r&&r.pageRef()){var b=r.pageRef().nativeElement,w=new wn(e,r.contentRef());if(w.element(b.querySelectorAll("ion-header > *:not(ion-navbar),ion-footer > *")),this.add(w),l?w.beforeClearStyles([Dn]).fromTo("translateX","0%",e.isRTL?"-100%":"100%"):w.fromTo("translateX","0%",i).fromTo(Dn,1,.8).afterClearStyles(["transform",Dn]),u){var S=b.querySelector("ion-navbar"),C=new wn(e,S),T=new wn(e,S.querySelector("ion-title")),k=new wn(e,S.querySelectorAll("ion-buttons,[menuToggle]")),E=new wn(e,S.querySelector(".toolbar-background")),x=new wn(e,S.querySelector(".back-button"));if(C.add(T).add(k).add(x).add(E),this.add(C),x.fromTo(Dn,.99,0),T.fromTo(Dn,.99,0),k.fromTo(Dn,.99,0),l){T.fromTo("translateX","0%",e.isRTL?"-100%":"100%"),E.beforeClearStyles([Dn]).fromTo("translateX","0%",e.isRTL?"-100%":"100%");var P=new wn(e,S.querySelector(".back-button-text"));P.fromTo("translateX","0%",(e.isRTL?-300:300)+"px"),C.add(P)}else T.fromTo("translateX","0%",i).afterClearStyles(["transform"]),x.afterClearStyles([Dn]),T.afterClearStyles([Dn]),k.afterClearStyles([Dn])}}},e}(On),An=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ln=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return An(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.plt,n=this.enteringView,i=this.leavingView,o=this.opts,r="back"===o.direction;if(n&&(r?this.duration(c(o.duration)?o.duration:200).easing("cubic-bezier(0.47,0,0.745,0.715)"):(this.duration(c(o.duration)?o.duration:280).easing("cubic-bezier(0.36,0.66,0.04,1)"),this.enteringPage.fromTo("translateY","40px","0px",!0).fromTo("opacity",.01,1,!0)),n.hasNavbar())){var s=n.pageRef().nativeElement.querySelector("ion-navbar"),l=new wn(e,s);this.add(l);var a=new wn(e,s.querySelector(".back-button"));this.add(a),n.enableBack()?a.beforeAddClass("show-back-button"):a.beforeRemoveClass("show-back-button")}if(i&&r){this.duration(o.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var u=new wn(e,i.pageRef());this.add(u.fromTo("translateY","0px","40px").fromTo("opacity",1,0))}},e}(On),Rn=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Bn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Rn(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.plt,n=this.enteringView,i=this.leavingView,o=this.opts,r="back"===o.direction;if(n&&(r?(this.duration(c(o.duration)?o.duration:120).easing("cubic-bezier(0.47,0,0.745,0.715)"),this.enteringPage.beforeClearStyles(["scale"])):(this.duration(c(o.duration)?o.duration:280).easing("cubic-bezier(0,0,0.05,1)"),this.enteringPage.fromTo("scale",.95,1,!0).fromTo("opacity",.01,1,!0)),n.hasNavbar())){var s=n.pageRef().nativeElement.querySelector("ion-navbar"),l=new wn(e,s);this.add(l);var a=new wn(e,s.querySelector(".back-button"));this.add(a),n.enableBack()?a.beforeAddClass("show-back-button"):a.beforeRemoveClass("show-back-button")}if(i&&r){this.duration(o.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var u=new wn(e,i.pageRef());this.add(u.fromTo("scale",1,.95).fromTo("opacity",.99,0))}},e}(On),zn=function(){function t(t,e,n){var i=this;this._config=t,this._plt=e,this._menuCtrl=n,this._disTime=0,this._scrollTime=0,this._title="",this._titleSrv=new Ke.j(Ke.b),this._rootNavs=new Map,this._didScroll=!1,this.viewDidLoad=new Qe.m,this.viewWillEnter=new Qe.m,this.viewDidEnter=new Qe.m,this.viewWillLeave=new Qe.m,this.viewDidLeave=new Qe.m,this.viewWillUnload=new Qe.m,e.registerBackButtonAction(this.goBack.bind(this)),this._disableScrollAssist=t.getBoolean("disableScrollAssist",!1);t.getBoolean("inputBlurring",!1)&&this._enableInputBlurring(),m(function(){var t=e.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",Mn),t.setTransition("md-transition",Ln),t.setTransition("wp-transition",Bn)}return t.prototype.setTitle=function(t){t!==this._title&&(this._title=t,this._titleSrv.setTitle(t))},t.prototype.setElementClass=function(t,e){this._appRoot.setElementClass(t,e)},t.prototype.setEnabled=function(t,e,n){void 0===e&&(e=700),void 0===n&&(n=0),this._disTime=t?0:Date.now()+e,this._clickBlock&&(t?this._clickBlock.activate(!1,Vn,n):this._clickBlock.activate(!0,e+Vn,n))},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()+jn,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 e=this._appRoot._getPortal(2);if(e.length()>0)return A(e);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 n=[];return this._rootNavs.forEach(function(t){var e=A(t);n=n.concat(e)}),n},t.prototype.getRootNav=function(){console.warn("(getRootNav) is deprecated and will be removed in the next major release. Use getRootNavById instead.");var t=this.getRootNavs();return 0===t.length?null:(t.length>1&&console.warn("(getRootNav) there are multiple root navs, use getRootNavs instead"),t[0])},t.prototype.getRootNavs=function(){var t=[];return this._rootNavs.forEach(function(e){return t.push(e)}),t},t.prototype.getRootNavById=function(t){return this._rootNavs.get(t)},t.prototype.registerRootNav=function(t){this._rootNavs.set(t.id,t)},t.prototype.unregisterRootNav=function(t){this._rootNavs.delete(t.id)},t.prototype.getActiveNavContainers=function(){var t=[];return this._rootNavs.forEach(function(e){t=t.concat(A(e))}),t},t.prototype.present=function(t,e,n){y(t.isOverlay,"presented view controller needs to be an overlay");var i=this._appRoot._getPortal(n);return t._setNav(i),e.direction=fn,e.animation||(e.animation=t.getTransitionName(fn)),t.setLeavingOpts({keyboardClose:e.keyboardClose,direction:dn,animation:t.getTransitionName(dn),ev:e.ev}),i.insertPages(-1,[t],e)},t.prototype.goBack=function(){if(this._menuCtrl&&this._menuCtrl.isOpen())return this._menuCtrl.close();var t=this.navPop();return t||this._config.getBoolean("navExitApp",!0)&&(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 e=null,n=null;return this._rootNavs.forEach(function(i){t.getActiveNavs(i.id).map(function(t){return M(t)}).filter(function(t){return!!t}).forEach(function(t){var i=t.last();(t._isPortal||i&&t.length()>1&&(!n||i._ts>=n._ts))&&(n=i,e=t)})}),e?e.pop():void 0},t.prototype._enableInputBlurring=function(){console.debug("App: _enableInputBlurring");var t=!0,e=this,n=this._plt;n.registerListener(n.doc(),"focusin",function(){t=!0},{capture:!0,zone:!1,passive:!0}),n.registerListener(n.doc(),"touchend",function(i){if(e._didScroll)e._didScroll=!1;else{var o=e._plt.getActiveElement();if(o&&-1!==Nn.indexOf(o.tagName)){var r=i.target;r!==o&&(Nn.indexOf(r.tagName)>=0||r.classList.contains("input-cover")||(t=!1,n.timeout(function(){t||o.blur()},50)))}}},{capture:!1,zone:!1,passive:!0})},t.prototype.getNavByIdOrName=function(t){for(var e=0,n=Array.from(this._rootNavs.values());e<n.length;e++){var i=D(n[e],t);if(i)return i}return null},t=Object(Je.__decorate)([Object(Je.__param)(2,Object(Qe.x)())],t)}(),Nn=["INPUT","TEXTAREA","ION-INPUT","ION-TEXTAREA"],jn=100,Vn=64,Fn=function(){function t(t,e,n,i){this._config=t,this._elementRef=e,this._renderer=n,this._componentName=i,i&&(this._setComponentName(),this._setMode(t.get("mode")))}return Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){this._setColor(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},set:function(t){this._setMode(t)},enumerable:!0,configurable:!0}),t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t.prototype.setElementAttribute=function(t,e){this._renderer.setElementAttribute(this._elementRef.nativeElement,t,e)},t.prototype.setElementStyle=function(t,e){this._renderer.setElementStyle(this._elementRef.nativeElement,t,e)},t.prototype._setColor=function(t,e){e&&(this._componentName=e),this._color&&this.setElementClass(this._componentName+"-"+this._mode+"-"+this._color,!1),t&&(this.setElementClass(this._componentName+"-"+this._mode+"-"+t,!0),this._color=t)},t.prototype._setMode=function(t){this._mode&&this.setElementClass(this._componentName+"-"+this._mode,!1),t&&(this.setElementClass(this._componentName+"-"+t,!0),this._setColor(null),this._mode=t,this._setColor(this._color))},t.prototype._setComponentName=function(){this.setElementClass(this._componentName,!0)},t.prototype.getElementRef=function(){return this._elementRef},t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t}(),qn=function(){function t(t,e){this._app=t,this.links=e&&d(e.links)?Xn(e.links):[]}return t.prototype.parse=function(t){return"/"===t.charAt(0)&&(t=t.substr(1)),t=t.split("?")[0].split("#")[0],function(t,e,n){return function(t,e){for(var n=[],i=0;i<e.length;i++)for(var o=function(t,e){if(t.navId){var n=e.getNavByIdOrName(t.navId);return n?[n]:[]}return e.getRootNavs()}(e[i].navGroup,t),r=0,s=e[i].segments;r<s.length;r++){var l=s[r];if(1===o.length)n.push(B(l,o[0])),o=o[0].getActiveChildNavs();else{if(!(o.length>1))break;n.push(B(l,o[o.length-1])),o=o[o.length-1].getActiveChildNavs()}}return n}(t,function(t,e){return function(t,e){for(var n=[],i=new Set,o=0,r=t;o<r.length;o++){for(var s=r[o],l=[],a=s.segmentPieces.concat([]),u=a.length;u>=0;u--){for(var c=!1,p=0;p<u;p++){for(var h=u-p-1,d=u,f=a.slice(h,d),_=0,v=e;_<v.length;_++){var g=v[_];if(!i.has(g.name)){var m=function(t,e){if(e.segmentPartsLen!==t.length)return null;for(var n=0;n<t.length;n++)if(!Yn(t[n],e.segmentParts[n]))return null;return{id:t.join("/"),name:e.name,component:e.component,loadChildren:e.loadChildren,data:Hn(t,e),defaultHistory:e.defaultHistory}}(f,g);if(m){u=h+1,i.add(g.name),c=!0,l.push(m);for(var y=h;y<d;y++)a[y]=null;break}}}if(c)break}!c&&a[u-1]&&l.push({id:null,name:null,secondaryId:a[u-1],component:null,loadChildren:null,data:null,defaultHistory:null})}for(var b=l.reverse(),u=0;u<b.length;u++)b[u].secondaryId&&!b[u].id&&u+1<=b.length-1&&(b[u+1].secondaryId=b[u].secondaryId,b[u]=null);var w=l.filter(function(t){return!!t});s.secondaryId&&l.length&&(w[0].secondaryId=s.secondaryId),n.push({navGroup:s,segments:w})}return n}(function(t){for(var e=t.split("/"),n=[],i=0;i<e.length;i++)0===i||"nav"!==e[i]&&"tabs"!==e[i]||n.push(i);n.push(e.length);for(var o=[],r=0,s=[],i=0;i<e.length;i++)i>=n[r]&&(o.push(s.join("/")),s=[],r++),s.push(e[i]);return o.push(s.join("/")),o}(t).map(function(t){var e=t.split("/");return"nav"===e[0]?{type:"nav",navId:e[1],niceId:e[1],secondaryId:null,segmentPieces:e.splice(2)}:"tabs"===e[0]?{type:"tabs",navId:e[1],niceId:e[1],secondaryId:e[2],segmentPieces:e.splice(3)}:{type:null,navId:null,niceId:null,secondaryId:null,segmentPieces:e}}),e)}(e,n))}(this._app,t,this.links)},t.prototype.createSegmentFromName=function(t,e){var n=this.getLinkFromName(e);return n?this._createSegment(this._app,t,n,null):null},t.prototype.getLinkFromName=function(t){return this.links.find(function(e){return e.component===t||e.name===t})},t.prototype.serialize=function(t){if(!t||!t.length)return"/";return t.map(function(t){return"tabs"===t.type?t.requiresExplicitNavPrefix?"/"+t.type+"/"+t.navId+"/"+t.secondaryId+"/"+t.id:"/"+t.secondaryId+"/"+t.id:t.requiresExplicitNavPrefix?"/"+t.type+"/"+t.navId+"/"+t.id:"/"+t.id}).join("")},t.prototype.serializeComponent=function(t,e,n){if(e){var i=Wn(this.links,e,n);if(i)return this._createSegment(this._app,t,i,n)}return null},t.prototype._createSegment=function(t,e,n,i){var o=n.segmentParts;if(c(i)){o=o.slice();var r=Object.keys(i),s=r.length;if(s)for(var l=0;l<o.length;l++)if(":"===o[l].charAt(0))for(var a=0;a<s;a++)if(o[l]===":"+r[a]){o[l]=encodeURIComponent(i[r[a]]);break}}var u=!0;return u=e.parent?e.parent&&e.parent.getAllChildNavs().length>1:t.getRootNavById(e.id)&&t.getRootNavs().length>1,{id:o.join("/"),name:n.name,component:n.component,loadChildren:n.loadChildren,data:i,defaultHistory:n.defaultHistory,navId:e.name||e.id,type:e.getType(),secondaryId:e.getSecondaryIdentifier(),requiresExplicitNavPrefix:u}},t}(),Yn=function(t,e){return!(!c(t)||!c(e))&&(":"===e.charAt(0)||t===e)},Hn=function(t,e){for(var n=null,i=0;i<e.segmentPartsLen;i++)":"===e.segmentParts[i].charAt(0)&&((n=n||{})[e.segmentParts[i].substring(1)]=decodeURIComponent(t[i]));return n},Wn=function(t,e,n){for(var i=null,o=-1,r=0;r<t.length;r++){var s=t[r];if(s.component===e){var l=0;if(n)for(var a=Object.keys(n),u=0;u<a.length;u++)c(s.dataKeys[a[u]])&&l++;else if(s.dataLen)continue;l>=o&&(i=s,o=l)}}return i},Xn=function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e];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 o=!0,r=0;r<i.segmentPartsLen;r++)":"===i.segmentParts[r].charAt(0)?(i.dataLen++,o=!1,i.dataKeys[i.segmentParts[r].substring(1)]=!0):o&&i.staticLen++}return t.sort(function(t,e){return t.segmentPartsLen>e.segmentPartsLen?-1:t.segmentPartsLen<e.segmentPartsLen?1:t.staticLen>e.staticLen?-1:t.staticLen<e.staticLen?1:t.dataLen<e.dataLen?-1:t.dataLen>e.dataLen?1:0})},Gn=/\s+|\?|\!|\$|\,|\.|\+|\"|\'|\*|\^|\||\/|\\|\[|\]|#|%|`|>|<|;|:|@|&|=/g,Un=new Qe.p("USERLINKS"),$n=function(){function t(t,e,n,i,o){this._app=t,this._serializer=e,this._location=n,this._moduleLoader=i,this._baseCfr=o,this._history=[]}return t.prototype.init=function(){var t=this,e=N(this._location.path());console.debug("DeepLinker, init load: "+e),this._historyPush(e),this._location.subscribe(function(e){t._urlChange(N(e.url))})},t.prototype._urlChange=function(t){var e=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 n=this._app.getActiveNavContainers();if(n&&n.length){if("/"===t){if(!c(this._indexAliasUrl))return void n.forEach(function(t){t.goToRoot({updateUrl:!1,isNavRoot:!0})});t=this._indexAliasUrl}this.getCurrentSegments(t).map(function(t){for(var e=0,i=n;e<i.length;e++){var o=function(t,e){for(;t;){if(t.id===e||t.name===e)return t;t=t.parent}return null}(i[e],t.navId);if(o)return{segment:t,navContainer:o}}}).filter(function(t){return!!t}).forEach(function(t){e._loadViewForSegment(t.navContainer,t.segment,function(){})})}}},t.prototype.getCurrentSegments=function(t){return t||(t=N(this._location.path())),this._serializer.parse(t)},t.prototype.navChange=function(t){if(t){for(var e=0,n=this._app.getActiveNavContainers();e<n.length;e++){var i=n[e];if(k(i)||i.isTransitioning())return}for(var o=[],r=0,s=this._app.getRootNavs();r<s.length;r++){var l=this.getSegmentsFromNav(s[r]);o=o.concat(l)}if((o=o.filter(function(t){return!!t})).length){var a=this._serializer.serialize(o);this._updateLocation(a,t)}}},t.prototype.getSegmentsFromNav=function(t){var e=this,n=[];return!function(t){return!!t&&!!t.push&&"nav"===t.getType()}(t)?E(t)&&n.push(this.getSegmentFromTab(t)):n.push(this.getSegmentFromNav(t)),t.getActiveChildNavs().forEach(function(t){n=n.concat(e.getSegmentsFromNav(t))}),n},t.prototype.getSegmentFromNav=function(t,e,n){if(!e){var i=t.getActive(!0);i&&(e=i.component,n=i.data)}return this._serializer.serializeComponent(t,e,n)},t.prototype.getSegmentFromTab=function(t,e,n){if(t&&t.parent){var i=t.parent,o=i.getActiveChildNavs();if(o&&o.length){var r=o[0].getActive(!0);return r&&(e=r.component,n=r.data),this._serializer.serializeComponent(i,e,n)}}},t.prototype._updateLocation=function(t,e){this._indexAliasUrl===t&&(t="/"),e===dn&&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 e=this._serializer.getLinkFromName(t);return e?this.getNavLinkComponent(e):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(e){return t.component=e.component,e.component}):Promise.reject("invalid link component: "+t.name)},t.prototype.resolveComponent=function(t){var e=this._moduleLoader.getComponentFactoryResolver(t);return e||(e=this._baseCfr),e.resolveComponentFactory(t)},t.prototype.createUrl=function(t,e,n,i){void 0===i&&(i=!0);var o=this._serializer.createSegmentFromName(t,e),r=this.getCurrentSegments();if(o)for(var s=0;s<r.length;s++)if(r[s].navId===t.name||r[s].navId===t.id){r[s]=o;var l=this._serializer.serialize(r);return i?this._location.prepareExternalUrl(l):l}return""},t.prototype.getSegmentByNavIdOrName=function(t,e){for(var n=N(this._location.path()),i=0,o=this._serializer.parse(n);i<o.length;i++){var r=o[i];if(r.navId===t||r.navId===e)return r}return null},t.prototype.initViews=function(t){var e=this,n=this._serializer.getLinkFromName(t.name);return this.getNavLinkComponent(n).then(function(n){t.component=n;var i=new rn(n,t.data);return i.id=t.id,d(t.defaultHistory)?T(e,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 c(t.tabUrlPath)?t.tabUrlPath:c(t.tabTitle)?L(t.tabTitle):"tab-"+t.index},t.prototype._loadViewForSegment=function(t,e,n){if(!e)return n(!1,!1);if(k(t)||E(t)&&t.parent){var i=k(t)?t:t.parent,o=i._getSelectedTabIndex(e.secondaryId),r=i.getByIndex(o);return r._segment=e,i.select(r,{updateUrl:!1,animate:!1},!0),n(!1,!1)}for(var s=t,l=s.length()-1,a=l;a>=0;a--){var u=s.getByIndex(a);if(u&&(u.id===e.id||u.id===e.name))return a===l?n(!1,!1):s.popTo(u,{animate:!1,updateUrl:!1},n)}return s.setRoot(e.component||e.name,e.data,{id:e.id,animate:!1,updateUrl:!1},n)},t}(),Zn=function(){function t(t){this.dom=t,this.writeTask=null,this.readTask=null}return t.prototype.read=function(t){var e=this;if(!this.readTask)return this.readTask=this.dom.read(function(n){e.readTask=null,t(n)})},t.prototype.write=function(t){var e=this;if(!this.writeTask)return this.writeTask=this.dom.write(function(n){e.writeTask=null,t(n)})},t.prototype.cancel=function(){var t=this.writeTask;t&&this.dom.cancel(t);var e=this.readTask;e&&this.dom.cancel(e),this.readTask=this.writeTask=null},t}(),Kn=function(){function t(t){this.plt=t,this.r=[],this.w=[]}return t.prototype.debouncer=function(){return new Zn(this)},t.prototype.read=function(t,e){var n=this;return e?t.timeoutId=this.plt.timeout(function(){n.r.push(t),n._queue()},e):(this.r.push(t),this._queue()),t},t.prototype.write=function(t,e){var n=this;return e?t.timeoutId=this.plt.timeout(function(){n.w.push(t),n._queue()},e):(this.w.push(t),this._queue()),t},t.prototype.cancel=function(t){t&&(t.timeoutId&&this.plt.cancelTimeout(t.timeoutId),v(this.r,t)||v(this.w,t))},t.prototype._queue=function(){var t=this;t.q||(t.q=!0,t.plt.raf(function(e){t._flush(e)}))},t.prototype._flush=function(t){var e;try{!function(t,e,n){for(var i;i=e.shift();)i(t);for(;i=n.shift();)i(t)}(t,this.r,this.w)}catch(t){e=t}if(this.q=!1,(this.r.length||this.w.length)&&this._queue(),e)throw e},t}(),Qn="goback-swipe",Jn="menu-swipe",ti="item-swipe",ei=-10,ni=20,ii={disable:[Jn,Qn],disableScroll:!0},oi=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 ri(t.name,this.newID(),this,t.priority||0,!!t.disableScroll)},t.prototype.createBlocker=function(t){return void 0===t&&(t={}),new si(this.newID(),this,t.disable,!!t.disableScroll)},t.prototype.newID=function(){var t=this.id;return this.id++,t},t.prototype.start=function(t,e,n){return this.canStart(t)?(this.requestedStart[e]=n,!0):(delete this.requestedStart[e],!1)},t.prototype.capture=function(t,e,n){if(!this.start(t,e,n))return!1;var i=this.requestedStart,o=-1e4;for(var r in i)o=Math.max(o,i[r]);return o===n?(this.capturedID=e,this.requestedStart={},console.debug(t+" captured!"),!0):(delete i[e],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,e){var n=this.disabledGestures[t];n||(n=new Set,this.disabledGestures[t]=n),n.add(e)},t.prototype.enableGesture=function(t,e){var n=this.disabledGestures[t];n&&n.delete(e)},t.prototype.disableScroll=function(t){var e=!this.isScrollDisabled();this.disabledScroll.add(t),this._app&&e&&this.isScrollDisabled()&&(console.debug("GestureController: Disabling scrolling"),this._app._setDisableScroll(!0))},t.prototype.enableScroll=function(t){var e=this.isScrollDisabled();this.disabledScroll.delete(t),this._app&&e&&!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 e=this.disabledGestures[t];return!!(e&&e.size>0)},t=Object(Je.__decorate)([Object(Je.__param)(0,Object(Qe.o)(Object(Qe.P)(function(){return zn})))],t)}(),ri=function(){function t(t,e,n,i,o){this.name=t,this.id=e,this.controller=n,this.priority=i,this.disableScroll=o}return t.prototype.canStart=function(){return this.controller?this.controller.canStart(this.name):(y(!1,"delegate was destroyed"),!1)},t.prototype.start=function(){return this.controller?this.controller.start(this.name,this.id,this.priority):(y(!1,"delegate was destroyed"),!1)},t.prototype.capture=function(){if(!this.controller)return y(!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)):y(!1,"delegate was destroyed")},t.prototype.destroy=function(){this.release(),this.controller=null},t}(),si=function(){function t(t,e,n,i){this.id=t,this.controller=e,this.disable=n,this.disableScroll=i,this.blocked=!1}return t.prototype.block=function(){var t=this;this.controller?(this.disable&&this.disable.forEach(function(e){t.controller.disableGesture(e,t.id)}),this.disableScroll&&this.controller.disableScroll(this.id),this.blocked=!0):y(!1,"delegate was destroyed")},t.prototype.unblock=function(){var t=this;this.controller?(this.disable&&this.disable.forEach(function(e){t.controller.enableGesture(e,t.id)}),this.disableScroll&&this.controller.enableScroll(this.id),this.blocked=!1):y(!1,"delegate was destroyed")},t.prototype.destroy=function(){this.unblock(),this.controller=null},t}(),li=function(){return function(){}}(),ai=function(){function t(t,e,n){this.direction=t,this.dirty=!1,this._angle=0,this._isPan=0;var i=n*(Math.PI/180);this.maxCosine=Math.cos(i),this.threshold=e*e}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 e=t.x-this.startCoord.x,n=t.y-this.startCoord.y;if(e*e+n*n>=this.threshold){var i=Math.atan2(n,e),o="y"===this.direction?Math.sin(i):Math.cos(i);return this._angle=i,this._isPan=o>this.maxCosine?1:o<-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}(),ui=function(){function t(t,e,n,i,o,r){this.plt=t,this.ele=e,this.pointerDown=n,this.pointerMove=i,this.pointerUp=o,this.option=r,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,y(e,"element can not be null"),y(n,"pointerDown can not be null"),this.bindTouchEnd=this.handleTouchEnd.bind(this),this.bindMouseUp=this.handleMouseUp.bind(this),this.rmTouchStart=this.plt.registerListener(e,"touchstart",this.handleTouchStart.bind(this),r),this.rmMouseStart=this.plt.registerListener(e,"mousedown",this.handleMouseDown.bind(this),r)}return t.prototype.handleTouchStart=function(t){y(this.ele,"element can not be null"),y(this.pointerDown,"pointerDown can not be null"),this.lastTouchEvent=Date.now()+this.mouseWait,this.lastEventType=pi,this.pointerDown(t,pi)&&(!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){y(this.ele,"element can not be null"),y(this.pointerDown,"pointerDown can not be null"),this.lastTouchEvent>Date.now()?console.debug("mousedown event dropped because of previous touch"):(this.lastEventType=ci,this.pointerDown(t,ci)&&(!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,pi)},t.prototype.handleMouseUp=function(t){this.stopMouse(),this.pointerUp&&this.pointerUp(t,ci)},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}(),ci=1,pi=2,hi=function(){function t(t){this.plt=t,this.evts=[]}return t.prototype.pointerEvents=function(t){if(t.element&&t.pointerDown){var e=new ui(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 e.destroy()}),e}console.error("PointerEvents config is invalid")},t.prototype.listen=function(t,e,n,i){if(t){var o=this.plt.registerListener(t,e,n,i);return this.evts.push(o),o}},t.prototype.unlistenAll=function(){this.evts.forEach(function(t){t()}),this.evts.length=0},t.prototype.destroy=function(){this.unlistenAll(),this.evts=null},t}(),di=function(){function t(t,e,n){void 0===n&&(n={}),this.plt=t,this.element=e,o(n,{threshold:20,maxAngle:40,direction:"x",zone:!0,capture:!1,passive:!1}),this.events=new hi(t),n.domController&&(this.debouncer=n.domController.debouncer()),this.gestute=n.gesture,this.direction=n.direction,this.eventsConfig={element:this.element,pointerDown:this.pointerDown.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerUp.bind(this),zone:n.zone,capture:n.capture,passive:n.passive},n.threshold>0&&(this.detector=new ai(n.direction,n.threshold,n.maxAngle))}return t.prototype.listen=function(){this.isListening||(this.pointerEvents=this.events.pointerEvents(this.eventsConfig),this.isListening=!0)},t.prototype.unlisten=function(){this.isListening&&(this.gestute&&this.gestute.release(),this.events.unlistenAll(),this.isListening=!1)},t.prototype.destroy=function(){this.gestute&&this.gestute.destroy(),this.gestute=null,this.unlisten(),this.events.destroy(),this.events=this.element=this.gestute=null},t.prototype.pointerDown=function(t){if(!this.started){if(!this.canStart(t))return!1;if(this.gestute&&(this.gestute.release(),!this.gestute.start()))return!1;this.started=!0,this.captured=!1;var e=x(t);if(this.detector)this.detector.start(e);else if(!this.tryToCapture(t))return this.started=!1,this.captured=!1,this.gestute.release(),!1;return!0}},t.prototype.pointerMove=function(t){var e=this;if(y(!0===this.started,"started must be true"),this.captured)this.debouncer.write(function(){e.onDragMove(t)});else{y(this.detector,"detector has to be valid");var n=x(t);this.detector.detect(n)&&0!==this.detector.pan()&&(this.tryToCapture(t)||this.abort(t))}},t.prototype.pointerUp=function(t){y(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 y(!0===this.started,"started has be true"),y(!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}(),fi=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),_i=function(t){function e(e,n,i){void 0===i&&(i={});var o=t.call(this,e,n,i)||this;return o.slide=null,o}return fi(e,t),e.prototype.getSlideBoundaries=function(t,e){return{min:0,max:this.getNativeElement().offsetWidth}},e.prototype.getElementStartPos=function(t,e){return 0},e.prototype.onDragStart=function(t){this.onSlideBeforeStart(t);var e=x(t)[this.direction];this.slide={min:0,max:0,pointerStartPos:e,pos:e,timestamp:Date.now(),elementStartPos:0,started:!0,delta:0,distance:0,velocity:0};var n=this.getSlideBoundaries(this.slide,t),i=n.max;this.slide.min=n.min,this.slide.max=i,this.slide.elementStartPos=this.getElementStartPos(this.slide,t),this.onSlideStart(this.slide,t)},e.prototype.onDragMove=function(t){var e=this.slide;y(e.min!==e.max,"slide data must be properly initialized");var n=x(t)[this.direction],o=Date.now(),r=(this.plt.isRTL?e.pos-n:n-e.pos)/(o-e.timestamp);e.pos=n,e.timestamp=o,e.distance=i(e.min,(this.plt.isRTL?e.pointerStartPos-n:n-e.pointerStartPos)+e.elementStartPos,e.max),e.velocity=r,e.delta=this.plt.isRTL?e.pointerStartPos-n:n-e.pointerStartPos,this.onSlide(e,t)},e.prototype.onDragEnd=function(t){this.onSlideEnd(this.slide,t),this.slide=null},e.prototype.onSlideBeforeStart=function(t){},e.prototype.onSlideStart=function(t,e){},e.prototype.onSlide=function(t,e){},e.prototype.onSlideEnd=function(t,e){},e}(di),vi=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),gi=function(t){function e(e,n,i){void 0===i&&(i={});var r=this;return o(i,{edge:"start",maxEdgeStart:50}),(r=t.call(this,e,n,i)||this).setEdges(i.edge),r.maxEdgeStart=i.maxEdgeStart,r}return vi(e,t),e.prototype.setEdges=function(t){var e=this.plt.isRTL;this.edges=t.split(" ").map(function(t){switch(t){case"start":return e?"right":"left";case"end":return e?"left":"right";default:return t}})},e.prototype.canStart=function(t){var e=this,n=x(t);return this._d=this.getContainerDimensions(),this.edges.every(function(t){return e._checkEdge(t,n)})},e.prototype.getContainerDimensions=function(){var t=this.plt;return{left:0,top:0,width:t.width(),height:t.height()}},e.prototype._checkEdge=function(t,e){var n=this._d,i=this.maxEdgeStart;switch(t){case"left":return e.x<=n.left+i;case"right":return e.x>=n.width-i;case"top":return e.y<=n.top+i;case"bottom":return e.y>=n.height-i}return!1},e}(_i),mi=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),yi=function(t){function e(e,n,i,o){var r=t.call(this,e,e.doc().body,{direction:"x",edge:"start",maxEdgeStart:75,threshold:5,zone:!1,domController:o,gesture:i.createGesture({name:Qn,priority:ni,disableScroll:!0})})||this;return r._nav=n,r}return mi(e,t),e.prototype.canStart=function(e){return this._nav.canSwipeBack()&&t.prototype.canStart.call(this,e)},e.prototype.onSlideBeforeStart=function(t){this._nav.swipeBackStart()},e.prototype.onSlide=function(t,e){e.preventDefault(),e.stopPropagation();this._nav.swipeBackProgress(t.distance/t.max)},e.prototype.onSlideEnd=function(t,e){var n=t.velocity,i=t.distance/t.max,o=!g(n<0,Math.abs(t.velocity)>.4,Math.abs(t.delta)<.5*Math.abs(t.max));this._nav.swipeBackEnd(o,i,n)},e}(gi),bi=function(t){function e(e,n,i,o,r,s,l,a,u,c,p,h,d){var f=t.call(this,i,r,l)||this;return f.parent=e,f._app=n,f.config=i,f.plt=o,f._zone=s,f._cfr=a,f._gestureCtrl=u,f._trnsCtrl=c,f._linker=p,f._domCtrl=h,f._errHandler=d,f._ids=-1,f._init=!1,f._queue=[],f._trnsId=null,f._trnsTm=!1,f._views=[],f._zIndexOffset=0,f.viewDidLoad=new Qe.m,f.viewWillEnter=new Qe.m,f.viewDidEnter=new Qe.m,f.viewWillLeave=new Qe.m,f.viewDidLeave=new Qe.m,f.viewWillUnload=new Qe.m,f._sbEnabled=i.getBoolean("swipeBackEnabled"),f._children=[],f.id="n"+ ++wi,f._destroyed=!1,f}return Object(Je.__extends)(e,t),Object.defineProperty(e.prototype,"swipeBackEnabled",{get:function(){return this._sbEnabled},set:function(t){this._sbEnabled=f(t),this._swipeBackCheck()},enumerable:!0,configurable:!0}),e.prototype.push=function(t,e,n,i){return this._queueTrns({insertStart:-1,insertViews:[{page:t,params:e}],opts:n},i)},e.prototype.insert=function(t,e,n,i,o){return this._queueTrns({insertStart:t,insertViews:[{page:e,params:n}],opts:i},o)},e.prototype.insertPages=function(t,e,n,i){return this._queueTrns({insertStart:t,insertViews:e,opts:n},i)},e.prototype.pop=function(t,e){return this._queueTrns({removeStart:-1,removeCount:1,opts:t},e)},e.prototype.popTo=function(t,e,n){var i={removeStart:-1,removeCount:-1,opts:e};return w(t)?(i.removeView=t,i.removeStart=1):s(t)&&(i.removeStart=t+1),this._queueTrns(i,n)},e.prototype.popToRoot=function(t,e){return this._queueTrns({removeStart:1,removeCount:-1,opts:t},e)},e.prototype.popAll=function(){for(var t=[],e=this._views.length-1;e>=0;e--)t.push(this.pop(null));return Promise.all(t)},e.prototype.remove=function(t,e,n,i){return void 0===e&&(e=1),this._queueTrns({removeStart:t,removeCount:e,opts:n},i)},e.prototype.removeView=function(t,e,n){return this._queueTrns({removeView:t,removeStart:0,removeCount:1,opts:e},n)},e.prototype.setRoot=function(t,e,n,i){return this.setPages([{page:t,params:e}],n,i)},e.prototype.setPages=function(t,e,n){return p(e)&&(e={}),!0!==e.animate&&(e.animate=!1),this._queueTrns({insertStart:0,insertViews:t,removeStart:0,removeCount:-1,opts:e},n)},e.prototype._queueTrns=function(t,e){var n=new Promise(function(e,n){t.resolve=e,t.reject=n});return t.done=e,t.insertViews&&0===t.insertViews.length&&(t.insertViews=void 0),this._queue.push(t),this._nextTrns(),n},e.prototype._success=function(t,e){null!==this._queue?(this._init=!0,this._trnsId=null,this.setTransitioning(!1),this._swipeBackCheck(),this._nextTrns(),e.done&&e.done(t.hasCompleted,t.requiresTransition,t.enteringName,t.leavingName,t.direction),e.resolve(t.hasCompleted)):this._fireError("nav controller was destroyed",e)},e.prototype._failed=function(t,e){null!==this._queue?(this._trnsId=null,this._queue.length=0,this.setTransitioning(!1),this._swipeBackCheck(),this._nextTrns(),this._fireError(t,e)):this._fireError("nav controller was destroyed",e)},e.prototype._fireError=function(t,e){e.done&&e.done(!1,!1,t),e.reject&&!this._destroyed?e.reject(t):e.resolve(!1)},e.prototype._nextTrns=function(){var t=this;if(this.isTransitioning())return!1;var e=this._queue.shift();if(!e)return!1;var n,i;return this._startTI(e).then(function(){return t._loadLazyLoading(e)}).then(function(){if(i=t.getActive(),n=t._getEnteringView(e,i),!i&&!n)throw"no views in the stack to be removed";n&&n._state===an&&t._viewInit(n),e.requiresTransition=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&n!==i}).then(function(){return t._viewTest(n,i,e)}).then(function(){return t._postViewInit(n,i,e)}).then(function(){return t._transition(n,i,e)}).then(function(n){return t._success(n,e)}).catch(function(n){return t._failed(n,e)}),!0},e.prototype._startTI=function(t){var e=this._views.length;if(c(t.removeView)){y(c(t.removeStart),"removeView needs removeStart"),y(c(t.removeCount),"removeView needs removeCount");var n=this.indexOf(t.removeView);if(n<0)return Promise.reject("removeView was not found");t.removeStart+=n}return c(t.removeStart)&&(t.removeStart<0&&(t.removeStart=e-1),t.removeCount<0&&(t.removeCount=e-t.removeStart),t.leavingRequiresTransition=t.removeCount>0&&t.removeStart+t.removeCount===e),t.insertViews&&((t.insertStart<0||t.insertStart>e)&&(t.insertStart=e),t.enteringRequiresTransition=t.insertStart===e),this.setTransitioning(!0),Promise.resolve()},e.prototype._loadLazyLoading=function(t){var e=this,n=t.insertViews;return n?(y(n.length>0,"length can not be zero"),T(this._linker,n).then(function(i){if(y(n.length===i.length,"lengths does not match"),0===(i=i.filter(function(t){return null!==t})).length)throw"invalid views to insert";for(var o=0;o<i.length;o++){var r=i[o],s=r._nav;if(s&&s!==e)throw"inserted view was already inserted";if(r._state===pn)throw"inserted view was already destroyed"}t.insertViews=i})):Promise.resolve()},e.prototype._getEnteringView=function(t,e){var n=t.insertViews;if(n)return n[n.length-1];var i=t.removeStart;if(c(i)){var o,r,s=this._views,l=i+t.removeCount;for(o=s.length-1;o>=0;o--)if(r=s[o],(o<i||o>=l)&&r!==e)return r}return null},e.prototype._postViewInit=function(t,e,n){var i=this;y(e||t,"Both leavingView and enteringView are null"),y(n.resolve,"resolve must be valid"),y(n.reject,"reject must be valid");var o,r,s,l=n.opts||{},a=n.insertViews,u=n.removeStart,p=n.removeCount;if(c(u)){for(y(u>=0,"removeStart can not be negative"),y(p>=0,"removeCount can not be negative"),s=[],r=0;r<p;r++)(o=this._views[r+u])&&o!==t&&o!==e&&s.push(o);l.direction=l.direction||dn}var h=this._views.length+(a?a.length:0)-(p||0);if(y(h>=0,"final balance can not be negative"),0===h&&!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(a){for(c(l.id)&&(t.id=l.id),r=0;r<a.length;r++)this._insertViewAt(o=a[r],n.insertStart+r);n.enteringRequiresTransition&&(l.direction=l.direction||fn)}if(s&&s.length>0)for(this._zone.run(function(){for(r=0;r<s.length;r++)i._willLeave(o=s[r],!0),i._didLeave(o),i._willUnload(o)}),r=0;r<s.length;r++)this._destroyView(s[r]);n.requiresTransition&&!l.animation&&(l.animation=c(n.removeStart)?(e||t).getTransitionName(l.direction):(t||e).getTransitionName(l.direction)),n.opts=l},e.prototype._viewInit=function(t){y(t,"enteringView must be non null"),y(t._state===an,"enteringView state must be NEW");var e=Qe.A.resolve([{provide:li,useValue:this},{provide:rn,useValue:t},{provide:on,useValue:t.getNavParams()}]),n=this._linker.resolveComponent(t.component),i=Qe.A.fromResolvedProviders(e,this._viewport.parentInjector);t.init(n.create(i,[])),t._state=un,this._preLoad(t)},e.prototype._viewAttachToDOM=function(t,e,n){if(y(t._state===un,"view state must be INITIALIZED"),y(e,"componentRef can not be null"),this._willLoad(t),n.insert(e.hostView,n.length),t._state=cn,t._cssClass){this._renderer.setElementClass(e.location.nativeElement,t._cssClass,!0)}e.changeDetectorRef.detectChanges(),this._zone.run(this._didLoad.bind(this,t))},e.prototype._viewTest=function(t,e,n){if(!n.requiresTransition)return Promise.resolve();var i=[];return e&&i.push(e._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 n.reject=null,t})},e.prototype._transition=function(t,e,n){var i=this;if(!n.requiresTransition)return Promise.resolve({hasCompleted:!0,requiresTransition:!1});var o=n.opts;this._trnsId=this._trnsCtrl.getRootTrnsId(this),null===this._trnsId&&(this._trnsId=this._trnsCtrl.nextId());var r=this._trnsCtrl.get(this._trnsId,t,e,{animation:o.animation,direction:o.direction,duration:!1===o.animate?0:o.duration,easing:o.easing,isRTL:this._config.plt.isRTL,ev:o.ev});this._sbTrns&&this._sbTrns.destroy(),this._sbTrns=null,r.isRoot()&&o.progressAnimation&&(this._sbTrns=r);var s=new Promise(function(t){return r.registerStart(t)}).then(function(){return i._transitionStart(r,t,e,o)});return t&&t._state===un&&this._viewAttachToDOM(t,t._cmp,this._viewport),r.hasChildren||r.start(),s},e.prototype._transitionStart=function(t,e,n,i){var o=this;y(this.isTransitioning(),"isTransitioning() has to be true"),this._trnsId=null,function(t,e,n,i,o){if(e){if(t._isPortal)return i===fn&&e._setZIndex(t._zIndexOffset+ln,o),void ln++;(n=n||t.getPrevious(e))&&c(n._zIndex)?i===dn?e._setZIndex(n._zIndex-1,o):e._setZIndex(n._zIndex+1,o):e._setZIndex(hn+t._zIndexOffset,o)}}(this,e,n,i.direction,this._renderer),e&&e._domShow(!0,this._renderer),n&&n._domShow(!0,this._renderer),t.init();var r=!this._init&&1===this._views.length&&!this._isPortal,s=!1===this._config.get("animate");(r||s)&&(i.animate=!1),!1===i.animate&&t.duration(0),t.beforeAddRead(this._viewsWillLifecycles.bind(this,e,n));var l=t.getDuration(),a=new Promise(function(e){t.onFinish(e)});return t.isRoot()&&(l>Si&&!1!==i.disableApp?this._app.setEnabled(!1,l+Ti,i.minClickBlockDuration):console.debug("transition is running but app has not been disabled"),i.progressAnimation?t.progressStart():t.play()),a.then(function(){return o._zone.run(function(){return o._transitionFinish(t,i)})})},e.prototype._transitionFinish=function(t,e){var n,i,o=t.hasCompleted,r=t.enteringView,s=t.leavingView;return o?(r&&(n=r.name,this._didEnter(r)),s&&(i=s.name,this._didLeave(s)),this._cleanup(r)):this._cleanup(s),t.isRoot()&&(this._trnsCtrl.destroy(t.trnsId),this._app.setEnabled(!0),this.setTransitioning(!1),this.hasChildren()||!1===e.updateUrl||this._linker.navChange(e.direction),!1!==e.keyboardClose&&this.plt.focusOutActiveElement()),{hasCompleted:o,requiresTransition:!0,enteringName:n,leavingName:i,direction:e.direction}},e.prototype._viewsWillLifecycles=function(t,e){var n=this;(t||e)&&this._zone.run(function(){if(e){n._willLeave(e,!t||e.index>t.index)}t&&n._willEnter(t)})},e.prototype._insertViewAt=function(t,e){var n=this._views.indexOf(t);n>-1?(y(t._nav===this,"view is not part of the nav"),this._views.splice(e,0,this._views.splice(n,1)[0])):(y(!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(e,0,t))},e.prototype._removeView=function(t){y(t._state===cn||t._state===pn,"view state should be loaded or destroyed");var e=this._views,n=e.indexOf(t);y(n>-1,"view must be part of the stack"),n>=0&&e.splice(n,1)},e.prototype._destroyView=function(t){t._destroy(this._renderer),this._removeView(t)},e.prototype._cleanup=function(t){if(!this._destroyed){var e=this._views.indexOf(t),n=this._views,i=!1,o=void 0,r=void 0;for(r=n.length-1;r>=0;r--)o=n[r],r>e?(this._willUnload(o),this._destroyView(o)):r<e&&!this._isPortal&&o._domShow(!1,this._renderer),o._zIndex<=0&&(i=!0);if(!this._isPortal&&i)for(r=0;r<n.length;r++)(o=n[r])._setZIndex(o._zIndex+hn+1,this._renderer)}},e.prototype._preLoad=function(t){y(this.isTransitioning(),"nav controller should be transitioning"),t._preLoad()},e.prototype._willLoad=function(t){y(this.isTransitioning(),"nav controller should be transitioning");try{t._willLoad()}catch(t){this._errHandler&&this._errHandler.handleError(t)}},e.prototype._didLoad=function(t){y(this.isTransitioning(),"nav controller should be transitioning"),y(Qe.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)}},e.prototype._willEnter=function(t){y(this.isTransitioning(),"nav controller should be transitioning"),y(Qe.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)}},e.prototype._didEnter=function(t){y(this.isTransitioning(),"nav controller should be transitioning"),y(Qe.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)}},e.prototype._willLeave=function(t,e){y(this.isTransitioning(),"nav controller should be transitioning"),y(Qe.w.isInAngularZone(),"callback should be zoned");try{t._willLeave(e),this.viewWillLeave.emit(t),this._app.viewWillLeave.emit(t)}catch(t){this._errHandler&&this._errHandler.handleError(t)}},e.prototype._didLeave=function(t){y(this.isTransitioning(),"nav controller should be transitioning"),y(Qe.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)}},e.prototype._willUnload=function(t){y(this.isTransitioning(),"nav controller should be transitioning"),y(Qe.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)}},e.prototype.hasChildren=function(){return this._children&&this._children.length>0},e.prototype.getActiveChildNavs=function(){return this._children},e.prototype.getAllChildNavs=function(){return this._children},e.prototype.registerChildNav=function(t){this._children.push(t)},e.prototype.unregisterChildNav=function(t){this._children=this._children.filter(function(e){return e!==t})},e.prototype.destroy=function(){for(var t,e=this._views,n=0;n<e.length;n++)(t=e[n])._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},e.prototype.swipeBackStart=function(){if(!(this.isTransitioning()||this._queue.length>0)){this._queueTrns({removeStart:-1,removeCount:1,opts:{direction:dn,progressAnimation:!0}},null)}},e.prototype.swipeBackProgress=function(t){this._sbTrns&&this._sbGesture&&(this._app.setEnabled(!1,Ci),this.setTransitioning(!0),this._sbTrns.progressStep(t))},e.prototype.swipeBackEnd=function(t,e,n){if(this._sbTrns&&this._sbGesture){var i=this._sbTrns.getDuration()/(Math.abs(n)+1);this._sbTrns.progressEnd(t,e,i)}},e.prototype._swipeBackCheck=function(){this.canSwipeBack()?(this._sbGesture||(this._sbGesture=new yi(this.plt,this,this._gestureCtrl,this._domCtrl)),this._sbGesture.listen()):this._sbGesture&&this._sbGesture.unlisten()},e.prototype.canSwipeBack=function(){return this._sbEnabled&&!this._isPortal&&!this._children.length&&!this.isTransitioning()&&this._app.isEnabled()&&this.canGoBack()},e.prototype.canGoBack=function(){var t=this.getActive();return!(!t||!t.enableBack())},e.prototype.isTransitioning=function(){return this._trnsTm},e.prototype.setTransitioning=function(t){this._trnsTm=t},e.prototype.getActive=function(){return this._views[this._views.length-1]},e.prototype.isActive=function(t){return t===this.getActive()},e.prototype.getByIndex=function(t){return this._views[t]},e.prototype.getPrevious=function(t){t||(t=this.getActive());var e=this._views,n=e.indexOf(t);return n>0?e[n-1]:null},e.prototype.first=function(){return this._views[0]},e.prototype.last=function(){var t=this._views;return t[t.length-1]},e.prototype.indexOf=function(t){return this._views.indexOf(t)},e.prototype.length=function(){return this._views.length},e.prototype.getViews=function(){return this._views},e.prototype.getViewById=function(t){for(var e=0,n=this._views;e<n.length;e++){var i=n[e];if(i&&i.id===t)return i}return null},e.prototype.isSwipeBackEnabled=function(){return this._sbEnabled},e.prototype.dismissPageChangeViews=function(){for(var t=0,e=this._views;t<e.length;t++){var n=e[t];n.data&&n.data.dismissOnPageChange&&n.dismiss().catch(function(){})}},e.prototype.setViewport=function(t){this._viewport=t},e.prototype.resize=function(){var t=this.getActive();if(t){var e=t.getIONContent();e&&e.resize()}},e.prototype.goToRoot=function(t){return Promise.reject(new Error("goToRoot needs to be implemented by child class"))},e.prototype.getType=function(){return"nav"},e.prototype.getSecondaryIdentifier=function(){return null},e.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]},e}(Fn),wi=-1,Si=64,Ci=5e3,Ti=2e3,ki=function(){function t(t,e){this.plt=t,this._config=e,this._ids=0,this._trns={}}return t.prototype.getRootTrnsId=function(t){for(t=t.parent;t;){if(c(t._trnsId))return t._trnsId;t=t.parent}return null},t.prototype.nextId=function(){return this._ids++},t.prototype.get=function(t,e,n,i){var o=this._config.getTransition(i.animation);o||(o=this._config.getTransition("ios-transition"));var r=new o(this.plt,e,n,i);return r.trnsId=t,this._trns[t]?this._trns[t].add(r):this._trns[t]=r,r},t.prototype.destroy=function(t){var e=this._trns[t];e&&(e.destroy(),delete this._trns[t])},t}(),Ei=function(t){function e(e,n,i,o,r,s,l,a,u,c,p,h,d){var f=t.call(this,null,e,n,i,o,r,s,l,a,u,c,h,d)||this;return f._isPortal=!0,f._init=!0,f.setViewport(p),e.viewDidLeave.subscribe(function(t){t.isOverlay||f.dismissPageChangeViews()}),f}return Object(Je.__extends)(e,t),Object.defineProperty(e.prototype,"_overlayPortal",{set:function(t){this._zIndexOffset=t||0},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.destroy()},e.prototype.getType=function(){return"portal"},e.prototype.getSecondaryIdentifier=function(){return null},e=Object(Je.__decorate)([Object(Je.__param)(0,Object(Qe.o)(Object(Qe.P)(function(){return zn}))),Object(Je.__param)(9,Object(Qe.x)())],e)}(bi),xi=new Qe.p("USERROOT"),Pi=function(t){function e(e,n,i,o,r,s,l){var a=t.call(this,r,i,o,"app-root")||this;return a._userCmp=e,a._cfr=n,a._plt=s,l._appRoot=a,a._stopScrollPlugin=window.IonicStopScroll,a}return Object(Je.__extends)(e,t),e.prototype.ngOnInit=function(){var t=this,e=this._cfr.resolveComponentFactory(this._userCmp),n=this._viewport.createComponent(e);this._renderer.setElementClass(n.location.nativeElement,"app-root",!0),n.changeDetectorRef.detectChanges(),this.setElementClass(this._config.get("mode"),!0);var i=this._plt.versions();this._plt.platforms().forEach(function(e){var n="platform-"+e;t.setElementClass(n,!0);var o=i[e];o&&(t.setElementClass(n+=o.major,!0),t.setElementClass(n+"_"+o.minor,!0))}),this._config.getBoolean("hoverCSS",!0)&&this.setElementClass("enable-hover",!0),this._plt.prepareReady()},e.prototype._getPortal=function(t){return 3===t?this._loadingPortal:4===t?this._toastPortal:2===t?this._modalPortal:this._overlayPortal},e.prototype._getActivePortal=function(){var t=this._overlayPortal,e=this._modalPortal,n=e.length()>0,i=t.length()>0;if(!n&&!i)return null;if(n&&i){var o=t.getActive().getZIndex(),r=e.getActive().getZIndex();return o>r?t:(y(r>o,"modal and default zIndex can not be equal"),e)}return n?e:i?t:void 0},e.prototype._disableScroll=function(t){var e=this;if(t)this.stopScroll().then(function(){e._tmr=e._plt.timeout(function(){console.debug("App Root: adding .disable-scroll"),e.setElementClass("disable-scroll",!0)},32)});else{var n=this._stopScrollPlugin;n&&n.cancel&&n.cancel(),clearTimeout(this._tmr),console.debug("App Root: removing .disable-scroll"),this.setElementClass("disable-scroll",!1)}},e.prototype.stopScroll=function(){var t=this;return this._stopScrollPlugin?new Promise(function(e){t._stopScrollPlugin.stop(function(){return e(!0)})}):Promise.resolve(!1)},e=Object(Je.__decorate)([Object(Je.__param)(0,Object(Qe.o)(xi))],e)}(Fn),Oi=9,Ii=function(){function t(t,e,n,i,o,r){this._viewCtrl=t,this._elementRef=n,this.gestureBlocker=i.createBlocker(ii),this.d=o.data,this.mode=e.get("mode"),r.setElementClass(n.nativeElement,"action-sheet-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&r.setElementClass(n.nativeElement,t,!0)}),this.id=++Di,this.d.title&&(this.hdrId="acst-hdr-"+this.id),this.d.subTitle&&(this.descId="acst-subhdr-"+this.id)}return t.prototype.ionViewDidLoad=function(){var t=this;this.d.buttons=this.d.buttons.map(function(e){switch("string"==typeof e&&(e={text:e}),e.cssClass||(e.cssClass=""),e.role){case"cancel":return t.cancelButton=e,null;case"destructive":e.cssClass=(e.cssClass+" "||"")+"action-sheet-destructive";break;case"selected":e.cssClass=(e.cssClass+" "||"")+"action-sheet-selected"}return e}).filter(function(t){return null!==t})},t.prototype.ionViewWillEnter=function(){this.gestureBlocker.block()},t.prototype.ionViewDidLeave=function(){this.gestureBlocker.unblock()},t.prototype.ionViewDidEnter=function(){var t=this._elementRef.nativeElement.querySelector("button");t&&t.focus(),this.enabled=!0},t.prototype.keyUp=function(t){this.enabled&&27===t.keyCode&&this._viewCtrl.isLast()&&(console.debug("actionsheet, escape button"),this.bdClick())},t.prototype.click=function(t){if(this.enabled){var e=!0;t.handler&&!1===t.handler()&&(e=!1),e&&this.dismiss(t.role)}},t.prototype.bdClick=function(){this.enabled&&this.d.enableBackdropDismiss&&(this.cancelButton?this.click(this.cancelButton):this.dismiss("backdrop"))},t.prototype.dismiss=function(t){return this._viewCtrl.dismiss(null,t,{minClickBlockDuration:400})},t.prototype.ngOnDestroy=function(){y(!1===this.gestureBlocker.blocked,"gesture blocker must be already unblocked"),this.d=this.cancelButton=null,this.gestureBlocker.destroy()},t}(),Di=-1,Mi=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ai=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Mi(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.4),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(xn),Li=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Mi(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.4,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(300).add(e).add(n)},e}(xn),Ri=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Mi(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.26),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(xn),Bi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Mi(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.26,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(xn),zi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Mi(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.01,.16),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(xn),Ni=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Mi(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".action-sheet-wrapper"));e.fromTo("opacity",.1,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(xn),ji=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Vi=function(t){function e(e,n,i){var o=this;return n.buttons=n.buttons||[],n.enableBackdropDismiss=!c(n.enableBackdropDismiss)||!!n.enableBackdropDismiss,o=t.call(this,Ii,n,null)||this,o._app=e,o.isOverlay=!0,i.setTransition("action-sheet-slide-in",Ai),i.setTransition("action-sheet-slide-out",Li),i.setTransition("action-sheet-md-slide-in",Ri),i.setTransition("action-sheet-md-slide-out",Bi),i.setTransition("action-sheet-wp-slide-in",zi),i.setTransition("action-sheet-wp-slide-out",Ni),o}return ji(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("actionSheet"+("back"===t?"Leave":"Enter"))},e.prototype.setTitle=function(t){return this.data.title=t,this},e.prototype.setSubTitle=function(t){return this.data.subTitle=t,this},e.prototype.addButton=function(t){return this.data.buttons.push(t),this},e.prototype.present=function(t){return void 0===t&&(t={}),t.minClickBlockDuration=t.minClickBlockDuration||400,this._app.present(this,t)},e}(rn),Fi=function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new Vi(this._app,t,this.config)},t}(),qi=(n(50),function(){function t(t,e,n,i,o,r,s){this._viewCtrl=t,this._elementRef=e,this._renderer=r,this._plt=s,this.gestureBlocker=i.createBlocker(ii),this.d=o.data,this.mode=this.d.mode||n.get("mode"),this.keyboardResizes=n.getBoolean("keyboardResizes",!1),r.setElementClass(e.nativeElement,"alert-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&r.setElementClass(e.nativeElement,t,!0)}),this.id=++Yi,this.descId="",this.hdrId="alert-hdr-"+this.id,this.subHdrId="alert-subhdr-"+this.id,this.msgId="alert-msg-"+this.id,this.activeId="",this.lastClick=0,this.d.message?this.descId=this.msgId:this.d.subTitle&&(this.descId=this.subHdrId),this.d.message||(this.d.message="")}return t.prototype.ionViewDidLoad=function(){var t=this,e=this.d;e.buttons=e.buttons.map(function(t){return"string"==typeof t?{text:t}:t}),e.inputs=e.inputs.map(function(e,n){return{type:e.type||"text",name:c(e.name)?e.name:n+"",placeholder:c(e.placeholder)?e.placeholder:"",value:c(e.value)?e.value:"",label:e.label,checked:!!e.checked,disabled:!!e.disabled,id:c(e.id)?e.id:"alert-input-"+t.id+"-"+n,handler:c(e.handler)?e.handler:null,min:c(e.min)?e.min:null,max:c(e.max)?e.max:null}});var n=[];e.inputs.forEach(function(t){n.indexOf(t.type)<0&&n.push(t.type)}),n.length>1&&(n.indexOf("checkbox")>-1||n.indexOf("radio")>-1)&&console.warn("Alert cannot mix input types: "+n.join("/")+". Please see alert docs for more info."),this.inputType=n.length?n[0]:null;var i=this.d.inputs.find(function(t){return t.checked});i&&(this.activeId=i.id);var o=this.d.inputs.length&&this.d.inputs.some(function(t){return!gn.test(t.type)});!this.keyboardResizes&&o&&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 e=!0;t.handler&&!1===t.handler(this.getValues())&&(e=!1),e&&this.dismiss(t.role)}},t.prototype.rbClick=function(t){this.enabled&&(this.d.inputs.forEach(function(e){e.checked=t===e}),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 e={};return this.d.inputs.forEach(function(t){e[t.name]=t.value}),e}},t.prototype.ngOnDestroy=function(){y(!1===this.gestureBlocker.blocked,"gesture blocker must be already unblocked"),this.gestureBlocker.destroy()},t}()),Yi=-1,Hi=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Wi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Hi(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.3),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(xn),Xi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Hi(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.3,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(xn),Gi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Hi(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.5),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(xn),Ui=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Hi(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.5,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(xn),$i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Hi(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.3,1),e.fromTo("opacity",.01,.5),this.easing("cubic-bezier(0,0,0.05,1)").duration(200).add(e).add(n)},e}(xn),Zi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Hi(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".alert-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,1.3),e.fromTo("opacity",.5,0),this.easing("ease-out").duration(150).add(e).add(n)},e}(xn),Ki=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Qi=function(t){function e(e,n,i){void 0===n&&(n={});var o=this;return n.inputs=n.inputs||[],n.buttons=n.buttons||[],n.enableBackdropDismiss=!c(n.enableBackdropDismiss)||!!n.enableBackdropDismiss,o=t.call(this,qi,n,null)||this,o._app=e,o.isOverlay=!0,i.setTransition("alert-pop-in",Wi),i.setTransition("alert-pop-out",Xi),i.setTransition("alert-md-pop-in",Gi),i.setTransition("alert-md-pop-out",Ui),i.setTransition("alert-wp-pop-in",$i),i.setTransition("alert-wp-pop-out",Zi),o}return Ki(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"alertLeave":"alertEnter")},e.prototype.setTitle=function(t){return this.data.title=t,this},e.prototype.setSubTitle=function(t){return this.data.subTitle=t,this},e.prototype.setMessage=function(t){return this.data.message=t,this},e.prototype.addInput=function(t){return this.data.inputs.push(t),this},e.prototype.addButton=function(t){return this.data.buttons.push(t),this},e.prototype.setCssClass=function(t){return this.data.cssClass=t,this},e.prototype.setMode=function(t){this.data.mode=t},e.prototype.present=function(t){return void 0===t&&(t={}),t.minClickBlockDuration=t.minClickBlockDuration||400,this._app.present(this,t)},e}(rn),Ji=function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new Qi(this._app,t,this.config)},t}(),to=(n(51),function(){function t(t,e){this._elementRef=t,this._renderer=e}return t.prototype.getNativeElement=function(){return this._elementRef.nativeElement},t.prototype.setElementClass=function(t,e){this._renderer.setElementClass(this._elementRef.nativeElement,t,e)},t}()),eo=function(t){function e(e,n,i,o){var r=t.call(this,n,i,o)||this;return r._role="button",r._style="default",r._mode=n.get("mode"),!1===n.get("hoverCSS")&&r.setElementClass("disable-hover",!0),e.trim().length>0&&r.setRole(e),r}return Object(Je.__extends)(e,t),Object.defineProperty(e.prototype,"large",{set:function(t){this._attr("_size","large",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"small",{set:function(t){this._attr("_size","small",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"default",{set:function(t){this._attr("_size","default",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outline",{set:function(t){this._attr("_style","outline",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clear",{set:function(t){this._attr("_style","clear",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"solid",{set:function(t){this._attr("_style","solid",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"round",{set:function(t){this._attr("_shape","round",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"block",{set:function(t){this._attr("_display","block",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"full",{set:function(t){this._attr("_display","full",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strong",{set:function(t){this._attr("_decorator","strong",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{set:function(t){this._assignCss(!1),this._mode=t,this._assignCss(!0)},enumerable:!0,configurable:!0}),e.prototype._attr=function(t,e,n){"_style"===t&&this._updateColor(this._color,!1),this._setClass(this[t],!1),f(n)?(this[t]=e,this._setClass(e,!0)):(this[t]="_style"===t?"default":null,this._setClass(this[t],!0)),"_style"===t&&this._updateColor(this._color,!0)},Object.defineProperty(e.prototype,"color",{set:function(t){this._updateColor(this._color,!1),this._updateColor(t,!0),this._color=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._init=!0,this._assignCss(!0)},e.prototype.setRole=function(t){this._assignCss(!1),this._role=t,this._assignCss(!0)},e.prototype._assignCss=function(t){var e=this._role;e&&(this.setElementClass(e,t),this.setElementClass(e+"-"+this._mode,t),this._setClass(this._style,t),this._setClass(this._shape,t),this._setClass(this._display,t),this._setClass(this._size,t),this._setClass(this._decorator,t),this._updateColor(this._color,t))},e.prototype._setClass=function(t,e){t&&this._init&&(t=t.toLocaleLowerCase(),this.setElementClass(this._role+"-"+t,e),this.setElementClass(this._role+"-"+t+"-"+this._mode,e))},e.prototype._updateColor=function(t,e){if(t&&this._init){var n=this._role,i=this._style;n+=null!==(i="bar-button"!==this._role&&"solid"===i?"default":i)&&""!==i&&"default"!==i?"-"+i.toLowerCase():"",null!==t&&""!==t&&this.setElementClass(n+"-"+this._mode+"-"+t,e)}},e=Object(Je.__decorate)([Object(Je.__param)(0,Object(Qe.g)("ion-button"))],e)}(Fn),no=n(3),io=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){v(this._inputs,t),this.unsetAsFocused(t)},t.prototype.setAsFocused=function(t){this._focused=t},t.prototype.unsetAsFocused=function(t){t===this._focused&&(this._focused=null)},t.prototype.tabFocus=function(t){var e=this._inputs,n=e.indexOf(t)+1;if(n>0&&n<e.length){var i=e[n];if(i!==this._focused)return console.debug("tabFocus, next"),i.initFocus()}if((n=e.indexOf(this._focused))>0){var o=e[n-1];o&&(console.debug("tabFocus, previous"),o.initFocus())}},t.prototype.nextId=function(){return++this._ids},t}(),oo=function(t){function e(e,n,i){var o=t.call(this,e,n,i,"icon")||this;return o._isActive=!0,o._name="",o._ios="",o._md="",o._css="",o._hidden=!1,o._iconMode=e.get("iconMode"),o}return Object(Je.__extends)(e,t),e.prototype.ngOnDestroy=function(){this._css&&this.setElementClass(this._css,!1)},Object.defineProperty(e.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(e.prototype,"ios",{get:function(){return this._ios},set:function(t){this._ios=t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"md",{get:function(){return this._md},set:function(t){this._md=t,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return this._isActive},set:function(t){this._isActive=f(t),this.update()},enumerable:!0,configurable:!0}),e.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 e="ion-"+t;if(this._css!==e){this._css&&this.setElementClass(this._css,!1),this._css=e,this.setElementClass(e,!0);var n=t.replace("ios-","").replace("md-","").replace("-"," ");this.setElementAttribute("aria-label",n)}}},e}(Fn),ro=function(t){function e(e,n,i,o,r,s,l){var a=t.call(this,e,n,i,"label")||this;return a.type=""===o?"floating":""===r?"stacked":""===s?"fixed":""===l?"inset":null,a}return Object(Je.__extends)(e,t),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t,t&&this.setElementAttribute("id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.getNativeElement().textContent||""},enumerable:!0,configurable:!0}),e=Object(Je.__decorate)([Object(Je.__param)(3,Object(Qe.g)("floating")),Object(Je.__param)(4,Object(Qe.g)("stacked")),Object(Je.__param)(5,Object(Qe.g)("fixed")),Object(Je.__param)(6,Object(Qe.g)("inset"))],e)}(Fn),so=function(){function t(t,e,n,i){this._plt=e,this._zone=n,this._dom=i,this.willShow=new Qe.m,this.willHide=new Qe.m,this.didShow=new Qe.m,this.didHide=new Qe.m,this.eventsAvailable=!1,this.focusOutline(t.get("focusOutline"));var o=e.win();o.Ionic&&o.Ionic.keyboardPlugin?this.listenV2(o):this.listenV1(o)}return t.prototype.listenV2=function(t){var e=this,n=this._plt;n.registerListener(t,"keyboardWillShow",function(t){e._zone.run(function(){e.willShow.emit(t.keyboardHeight)})},{zone:!1,passive:!0}),n.registerListener(t,"keyboardWillHide",function(){e._zone.run(function(){e.willHide.emit()})},{zone:!1,passive:!0}),n.registerListener(t,"keyboardDidShow",function(t){e._zone.run(function(){e.didShow.emit(t.keyboardHeight)})},{zone:!1,passive:!0}),n.registerListener(t,"keyboardDidHide",function(){e._zone.run(function(){e.didHide.emit()})},{zone:!1,passive:!0}),this.eventsAvailable=!0},t.prototype.listenV1=function(t){var e=this,n=this._plt;n.registerListener(t,"native.keyboardhide",function(){e.blurActiveInput(!0)},{zone:!1,passive:!0}),n.registerListener(t,"native.keyboardshow",function(){e.blurActiveInput(!1)},{zone:!1,passive:!0})},t.prototype.blurActiveInput=function(t){var e=this,n=this._plt;n.cancelTimeout(this._tmr),t&&(this._tmr=n.timeout(function(){e.isOpen()&&n.focusOutActiveElement()},80))},t.prototype.isOpen=function(){return this.hasFocusedTextInput()},t.prototype.onClose=function(t,e,n){function i(){console.debug("keyboard, isOpen: "+o.isOpen()),!o.isOpen()||r>n?o._plt.timeout(function(){o._zone.run(function(){console.debug("keyboard, closed"),t()})},400):o._plt.timeout(i,e),r++}void 0===e&&(e=lo),void 0===n&&(n=ao),console.debug("keyboard, onClose created");var o=this,r=0,s=null;return t||(s=new Promise(function(e){t=e})),o._plt.timeout(i,e),s},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 e(){s._dom.write(function(){l.doc().body.classList[u?"add":"remove"]("focus-outline")})}function n(){u=!1,i()}function i(){e(),o&&o(),r&&r(),u&&(o=l.registerListener(a,"mousedown",n,c),r=l.registerListener(a,"touchstart",n,c))}var o,r,s=this,l=s._plt,a=l.doc(),u=!1,c={passive:!0,zone:!1};if(!0===t)return u=!0,e();!1!==t&&l.registerListener(l.doc(),"keydown",function(t){u||t.keyCode!==Oi||(u=!0,i())},c)},t.prototype.hasFocusedTextInput=function(){var t=this._plt.getActiveElement();return!!O(t)&&t.parentElement.querySelector(":focus")===t},t.prototype.hideFormAccessoryBar=function(t){var e=this._plt.win();e&&e.Keyboard&&e.Keyboard.hideFormAccessoryBar&&e.Keyboard.hideFormAccessoryBar(t)},t}(),lo=150,ao=100,uo=function(){function t(t,e,n){this._app=t,this._plt=e,this._dom=n,this.isScrolling=!1,this.initialized=!1,this._eventsEnabled=!1,this._t=0,this._l=0,this.ev={timeStamp:0,scrollTop:0,scrollLeft:0,scrollHeight:0,scrollWidth:0,contentHeight:0,contentWidth:0,contentTop:0,contentBottom:0,startY:0,startX:0,deltaY:0,deltaX:0,velocityY:0,velocityX:0,directionY:"down",directionX:null,domWrite:n.write.bind(n)}}return t.prototype.init=function(t,e,n){y(t,"scroll-view, element can not be null"),this._el=t,this.initialized||(this.initialized=!0,this._js?this.enableJsScroll(e,n):this.enableNativeScrolling())},t.prototype.enableEvents=function(){this._eventsEnabled=!0},t.prototype.setScrolling=function(t,e){this.isScrolling?t?this.onScroll&&this.onScroll(e):(this.isScrolling=!1,this.onScrollEnd&&this.onScrollEnd(e)):t&&(this.isScrolling=!0,this.onScrollStart&&this.onScrollStart(e))},t.prototype.enableNativeScrolling=function(){if(y(this.onScrollStart,"onScrollStart is not defined"),y(this.onScroll,"onScroll is not defined"),y(this.onScrollEnd,"onScrollEnd is not defined"),this._js=!1,this._el){console.debug("ScrollView, enableNativeScrolling");var t=this,e=t.ev,n=[];t._lsn&&t._lsn(),t._lsn=t._plt.registerListener(t._el,"scroll",function(i){if(t._app.setScrolling(),t._eventsEnabled){if(e.timeStamp=i.timeStamp,e.timeStamp||(e.timeStamp=Date.now()),e.scrollTop=t.getTop(),e.scrollLeft=t.getLeft(),t.isScrolling||(e.startY=e.scrollTop,e.startX=e.scrollLeft,e.velocityY=e.velocityX=0,e.deltaY=e.deltaX=0,n.length=0),n.push(e.scrollTop,e.scrollLeft,e.timeStamp),n.length>3){e.deltaY=e.scrollTop-e.startY,e.deltaX=e.scrollLeft-e.startX;for(var o=n.length-1,r=o,s=e.timeStamp-100,l=o;l>0&&n[l]>s;l-=3)r=l;if(r!==o){var a=n[r-2]-n[o-2],u=n[r-1]-n[o-1],c=_o/(n[o]-n[r]);e.velocityY=a*c,e.velocityX=u*c,e.directionY=a>0?"up":"down",e.directionX=u>0?"left":"right"}}t.setScrolling(!0,e),t._dom.cancel(t._endTmr),t._endTmr=t._dom.read(function(){e.velocityY=e.velocityX=0,t.setScrolling(!1,e),t._endTmr=null},co)}},vo)}},t.prototype.enableJsScroll=function(t,e){function n(){l||(l=r.scrollHeight-r.parentElement.offsetHeight+t+e)}function i(t){a.timeStamp=t,console.debug("scroll-view, decelerate, velocity: "+a.velocityY),a.velocityY&&(a.velocityY*=fo,n(),o._t=Math.min(Math.max(o._t+a.velocityY,0),l),a.scrollTop=o._t,o.onScroll(a),o._dom.write(function(){o.setTop(o._t),o._t>0&&o._t<l&&Math.abs(a.velocityY)>ho?s=o._dom.read(function(t){i(t)}):(o.isScrolling=!1,a.velocityY=a.velocityX=0,o.onScrollEnd(a))}))}var o=this;o._js=!0;var r=o._el;if(r){console.debug("ScrollView, enableJsScroll");var s,l,a=o.ev,u=[],c=o._plt,p=c.registerListener(r,"touchstart",function(t){u.length=0,l=null,o._dom.cancel(s),u.push(x(t).y,t.timeStamp)},vo),h=c.registerListener(r,"touchmove",function(t){if(u.length){a.timeStamp=t.timeStamp;var e=x(t).y;n(),o._t-=e-u[u.length-2],o._t=Math.min(Math.max(o._t,0),l),u.push(e,a.timeStamp),o.isScrolling||(a.startY=o._t,a.velocityY=a.deltaY=0,o.isScrolling=!0,o.onScrollStart(a)),o._dom.write(function(){o.setTop(o._t)})}},vo),d=c.registerListener(r,"touchend",function(t){if(o._dom.cancel(s),!u.length&&o.isScrolling)return o.isScrolling=!1,a.velocityY=a.velocityX=0,void o.onScrollEnd(a);var e=x(t).y;u.push(e,t.timeStamp);for(var r=u.length-1,l=r,c=t.timeStamp-100,p=r;p>0&&u[p]>c;p-=2)l=p;l!==r?(a.velocityY=(u[l-1]-u[r-1])/(u[r]-u[l])*_o,Math.abs(a.velocityY)>po&&(n(),s=o._dom.read(function(t){i(t)}))):(o.isScrolling=!1,a.velocityY=0,o.onScrollEnd(a));u.length=0},vo);r.parentElement.classList.add("js-scroll"),o._lsn&&o._lsn(),o._lsn=function(){p(),h(),d(),r.parentElement.classList.remove("js-scroll")}}},t.prototype.getTop=function(){return this._js?this._t:this._t=this._el.scrollTop},t.prototype.getLeft=function(){return this._js?0:this._l=this._el.scrollLeft},t.prototype.setTop=function(t){this._t=t,this._js?this._el.style[this._plt.Css.transform]="translate3d("+-1*this._l+"px,"+-1*t+"px,0px)":this._el.scrollTop=t},t.prototype.setLeft=function(t){this._l=t,this._js?this._el.style[this._plt.Css.transform]="translate3d("+-1*t+"px,"+-1*this._t+"px,0px)":this._el.scrollLeft=t},t.prototype.scrollTo=function(t,e,n,i){function o(r){if(d++,!s._el||f||d>p)return s.setScrolling(!1,null),l.style[h]="",void i();var _=Math.min(1,(r-a)/n),v=--_*_*_+1;u!==e&&s.setTop(v*(e-u)+u),c!==t&&s.setLeft(Math.floor(v*(t-c)+c)),v<1?s._plt.raf(o):(f=!0,s.setScrolling(!1,null),l.style[h]="",i())}var r;void 0===i&&(r=new Promise(function(t){i=t}));var s=this,l=s._el;if(!l)return i(),r;if(n<32)return s.setTop(e),s.setLeft(t),i(),r;var a,u=l.scrollTop,c=l.scrollLeft,p=n/16+100,h=s._plt.Css.transform,d=0,f=!1;return s.setScrolling(!0,null),s.isScrolling=!0,s._dom.write(function(t){a=t,o(t)},16),r},t.prototype.scrollToTop=function(t){return this.scrollTo(0,0,t)},t.prototype.scrollToBottom=function(t){var e=0;return this._el&&(e=this._el.scrollHeight-this._el.clientHeight),this.scrollTo(0,e,t)},t.prototype.stop=function(){this.setScrolling(!1,null)},t.prototype.destroy=function(){this.stop(),this._endTmr&&this._dom.cancel(this._endTmr),this._lsn&&this._lsn();var t=this.ev;t.domWrite=t.contentElement=t.fixedElement=t.scrollElement=t.headerElement=null,this._lsn=this._el=this._dom=this.ev=t=null,this.onScrollStart=this.onScroll=this.onScrollEnd=null},t}(),co=80,po=4,ho=.12,fo=.97,_o=1e3/60,vo={passive:!0,zone:!1},go=function(){function t(t,e){this.plt=t,this.reorderList=e,this.selectedItemEle=null,this.events=new hi(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 e=t.target;if("ION-REORDER"!==e.nodeName)return!1;var n=e.$ionComponent;if(!n)return console.error("ion-reorder does not contain $ionComponent"),!1;this.reorderList._reorderPrepare();var i=n.getReorderNode();return i?(t.preventDefault(),this.selectedItemEle=i,this.selectedItemHeight=i.offsetHeight,this.lastYcoord=-100,this.lastToIndex=j(i),this.windowHeight=this.plt.height()-mo,this.lastScrollPosition=this.reorderList._scrollContent(0),this.offset=x(t),this.offset.y+=this.lastScrollPosition,i.classList.add(bo),this.reorderList._reorderStart(),!0):(console.error("reorder node not found"),!1)},t.prototype.onDragMove=function(t){var e=this.selectedItemEle;if(e){t.preventDefault();var n=x(t),i=n.y,o=this.scroll(i);if(Math.abs(i-this.lastYcoord)>30){var r=this.itemForCoord(n);if(r){var s=j(r);if(void 0!==s&&(s!==this.lastToIndex||this.emptyZone)){var l=j(e);this.lastToIndex=s,this.lastYcoord=i,this.emptyZone=!1,this.reorderList._reorderMove(l,s,this.selectedItemHeight)}}else this.emptyZone=!0}var a=Math.round(i-this.offset.y+o);e.style[this.plt.Css.transform]="translateY("+a+"px)"}},t.prototype.onDragEnd=function(t){var e=this,n=this.selectedItemEle;if(n){t&&(t.preventDefault(),t.stopPropagation());var i=this.lastToIndex,o=j(n),r=function(){e.selectedItemEle.style.transition="",e.selectedItemEle.classList.remove(bo),e.selectedItemEle=null};i===o?(n.style.transition="transform 200ms ease-in-out",setTimeout(r,200)):r(),this.reorderList._reorderEmit(o,i)}},t.prototype.itemForCoord=function(t){return V(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<mo?this.lastScrollPosition=this.reorderList._scrollContent(-yo):t>this.windowHeight&&(this.lastScrollPosition=this.reorderList._scrollContent(yo)),this.lastScrollPosition},t.prototype.destroy=function(){this.onDragEnd(null),this.events.destroy(),this.events=null,this.reorderList=null},t}(),mo=60,yo=10,bo="reorder-active",wo=function(){function t(t,e){this.from=t,this.to=e}return t.prototype.applyTo=function(t){!function(t,e){var n=t[e.from];t.splice(e.from,1),t.splice(e.to,0,n)}(t,this)},t}(),So=function(){function t(t,e,n,i,o,r){this._plt=t,this._dom=e,this._rendered=i,this._zone=o,this._content=r,this._enableReorder=!1,this._visibleReorder=!1,this._isStart=!1,this._lastToIndex=-1,this.ionItemReorder=new Qe.m,this._element=n.nativeElement}return Object.defineProperty(t.prototype,"side",{set:function(t){this._isStart="start"===t},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._element=null,this._reorderGesture&&this._reorderGesture.destroy()},Object.defineProperty(t.prototype,"reorder",{get:function(){return this._enableReorder},set:function(t){var e=this,n=f(t);!n&&this._reorderGesture?(this._reorderGesture.destroy(),this._reorderGesture=null,this._visibleReorder=!1,setTimeout(function(){return e._enableReorder=!1},400)):n&&!this._reorderGesture&&(console.debug("enableReorderItems"),this._reorderGesture=new go(this._plt,this),this._enableReorder=!0,this._dom.write(function(){e._zone.run(function(){e._visibleReorder=!0})},16))},enumerable:!0,configurable:!0}),t.prototype._reorderPrepare=function(){for(var t=this._element,e=t.children,n=0,i=e.length;n<i;n++){var o=e[n];o.$ionIndex=n,o.$ionReorderList=t}},t.prototype._reorderStart=function(){this.setElementClass("reorder-list-active",!0)},t.prototype._reorderEmit=function(t,e){var n=this;this._reorderReset(),t!==e&&this._zone.run(function(){var i=new wo(t,e);n.ionItemReorder.emit(i)})},t.prototype._scrollContent=function(t){var e=this._content.scrollTop+t;return 0!==t&&this._content.scrollTo(0,e,0),e},t.prototype._reorderReset=function(){var t=this._element.children,e=t.length;this.setElementClass("reorder-list-active",!1);for(var n=this._plt.Css.transform,i=0;i<e;i++)t[i].style[n]="";this._lastToIndex=-1},t.prototype._reorderMove=function(t,e,n){-1===this._lastToIndex&&(this._lastToIndex=t);var i=this._lastToIndex;this._lastToIndex=e;var o=this._element.children,r=this._plt.Css.transform;if(e>=i)for(s=i;s<=e;s++)s!==t&&(o[s].style[r]=s>t?"translateY("+-n+"px)":"");if(e<=i)for(var s=e;s<=i;s++)s!==t&&(o[s].style[r]=s<t?"translateY("+n+"px)":"")},t.prototype.setElementClass=function(t,e){this._rendered.setElementClass(this._element,t,e)},t.prototype.getNativeElement=function(){return this._element},t=Object(Je.__decorate)([Object(Je.__param)(5,Object(Qe.x)())],t)}(),Co=function(t){function e(e,n,i,o,r){var s=t.call(this,n,i,o,"item")||this;return s._ids=-1,s._inputs=[],s._viewLabel=!0,s._name="item",s.labelId=null,s._setName(i),s._hasReorder=!!r,s.id=e.nextId().toString(),s.labelId="lbl-"+s.id,o.orgListen||(o.orgListen=o.listen,o.listen=function(t,e,n){return"click"===e&&t.setAttribute&&t.setAttribute("tappable",""),o.orgListen(t,e,n)}),s}return Object(Je.__extends)(e,t),e.prototype.registerInput=function(t){return this._inputs.push(t),this.id+"-"+ ++this._ids},e.prototype.ngAfterContentInit=function(){if(this._viewLabel&&this._inputs.length){var t=this.getLabelText().trim();this._viewLabel=t.length>0}this._inputs.length>1&&this.setElementClass("item-multiple-inputs",!0)},e.prototype._updateColor=function(t,e){this._setColor(t,e=e||"item")},e.prototype._setName=function(t){var e=t.nativeElement.nodeName.replace("ION-","");"LIST-HEADER"!==e&&"ITEM-DIVIDER"!==e||(this._name=e)},e.prototype.getLabelText=function(){return this._label?this._label.text:""},Object.defineProperty(e.prototype,"contentLabel",{set:function(t){t&&(this._label=t,t.id=this.labelId,t.type&&this.setElementClass("item-label-"+t.type,!0),this._viewLabel=!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewLabel",{set:function(t){this._label||(this._label=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_buttons",{set:function(t){t.forEach(function(t){t._size||t.setElementClass("item-button",!0)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_icons",{set:function(t){t.forEach(function(t){t.setElementClass("item-icon",!0)})},enumerable:!0,configurable:!0}),e=Object(Je.__decorate)([Object(Je.__param)(4,Object(Qe.x)())],e)}(Fn),To=function(){function t(t){var e=this;t&&t.ready().then(function(){e._p=t.win().TapticEngine})}return t.prototype.available=function(){return!!this._p},t.prototype.selection=function(){this._p&&this._p.selection()},t.prototype.gestureSelectionStart=function(){this._p&&this._p.gestureSelectionStart()},t.prototype.gestureSelectionChanged=function(){this._p&&this._p.gestureSelectionChanged()},t.prototype.gestureSelectionEnd=function(){this._p&&this._p.gestureSelectionEnd()},t.prototype.notification=function(t){this._p&&this._p.notification(t)},t.prototype.impact=function(t){this._p&&this._p.impact(t)},t}(),ko=function(){function t(t,e,n,i,o,r,s){this._plt=e,this.elementRef=n,this._zone=i,this._haptic=o,this.y=0,this.pos=[],this.startY=null,this.ionChange=new Qe.m,this.events=new hi(r),this.rotateFactor=t.getNumber("pickerRotateFactor",0),this.scaleFactor=t.getNumber("pickerScaleFactor",1),this.decelerateFunc=this.decelerate.bind(this),this.debouncer=s.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=x(t).y,this.velocity=0,this.pos.length=0,this.pos.push(this.startY,Date.now());for(var e=this.col.options,n=e.length-1,i=0,o=0;o<e.length;o++)e[o].disabled||(n=Math.min(n,o),i=Math.max(i,o));return this.minY=n*this.optHeight*-1,this.maxY=i*this.optHeight*-1,!0},t.prototype.pointerMove=function(t){var e=this;t.preventDefault(),t.stopPropagation();var n=x(t).y;this.pos.push(n,Date.now()),this.debouncer.write(function(){if(null!==e.startY){var t=e.y+(n-e.startY);t>e.minY?(t=Math.pow(t,.8),e.bounceFrom=t):t<e.maxY?(t+=Math.pow(e.maxY-t,.9),e.bounceFrom=t):e.bounceFrom=0,e.update(t,0,!1,!1);var i=Math.max(Math.abs(Math.round(t/e.optHeight)),0);i!==e.lastTempIndex&&(e._haptic.gestureSelectionChanged(),e.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 e=x(t).y;this.pos.push(e,Date.now());for(var n=this.pos.length-1,o=n,r=Date.now()-100,s=n;s>0&&this.pos[s]>r;s-=2)o=s;if(o!==n){this.velocity=i(-60,(this.pos[o-1]-this.pos[n-1])/(this.pos[n]-this.pos[o])*(1e3/60),60)}if(Math.abs(e-this.startY)>3){this.update(this.y+(e-this.startY),0,!0,!0)}this.startY=null,this.decelerate()}},t.prototype.decelerate=function(){var t=0;if(isNaN(this.y)||!this.optHeight)this.update(t,0,!0,!0),this._haptic.gestureSelectionEnd();else if(Math.abs(this.velocity)>0){this.velocity*=.97,this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1),(t=Math.round(this.y-this.velocity))>this.minY?(t=this.minY,this.velocity=0):t<this.maxY&&(t=this.maxY,this.velocity=0);var e=t%this.optHeight!=0||Math.abs(this.velocity)>1;this.update(t,0,!0,!e),e&&(this.rafId=this._plt.raf(this.decelerateFunc))}else if(this.y%this.optHeight!=0){var n=Math.abs(this.y%this.optHeight);this.velocity=n>this.optHeight/2?1:-1,this._haptic.gestureSelectionEnd(),this.decelerate()}var i=Math.max(Math.abs(Math.round(t/this.optHeight)),0);i!==this.lastTempIndex&&this._haptic.gestureSelectionChanged(),this.lastTempIndex=i},t.prototype.optClick=function(t,e){this.velocity||(t.preventDefault(),t.stopPropagation(),this.setSelected(e,150))},t.prototype.setSelected=function(t,e){var n=t>-1?t*this.optHeight*-1:0;this._plt.cancelRaf(this.rafId),this.velocity=0,this.update(n,e,!0,!0)},t.prototype.update=function(t,e,n,i){t=Math.round(t);var o,r,s,l,a,u,c,p,h,d,f=this.colEle.nativeElement.children,_=f.length,v=this.col.selectedIndex=Math.min(Math.max(Math.round(-t/this.optHeight),0),_-1),g=0===e?null:e+"ms",m="scale("+this.scaleFactor+")";for(o=0;o<_;o++)r=f[o],s=this.col.options[o],l=o*this.optHeight+t,a=!0,h="",0!==this.rotateFactor?(p=l*this.rotateFactor,Math.abs(p)>90?a=!1:(0,u=0,c=90,h="rotateX("+p+"deg) ")):(0,c=0,u=l,Math.abs(u)>170&&(a=!1)),d=v===o,a?(h+="translate3d(0px,"+u+"px,"+c+"px) ",1===this.scaleFactor||d||(h+=m)):h="translate3d(-9999px,0px,0px)",e!==s._dur&&(s._dur=e,r.style[this._plt.Css.transitionDuration]=g),h!==s._trans&&(s._trans=h,r.style[this._plt.Css.transform]=h),d!==s._selected&&(s._selected=d,d?r.classList.add("picker-opt-selected"):r.classList.remove("picker-opt-selected"));if(this.col.prevSelected=v,n&&(this.y=t),i)if(void 0===this.lastIndex)this.lastIndex=this.col.selectedIndex;else if(this.lastIndex!==this.col.selectedIndex){this.lastIndex=this.col.selectedIndex;var 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,e=0,n=this.col.options,o=0;o<n.length;o++)n[o].disabled||(t=Math.min(t,o),e=Math.max(e,o));var r=i(t,this.col.selectedIndex,e);if(this.col.prevSelected!==r){var s=r*this.optHeight*-1;this._plt.cancelRaf(this.rafId),this.velocity=0,this.update(s,150,!0,!1)}},t}(),Eo=function(){function t(t,e,n,i,o,r){this._viewCtrl=t,this._elementRef=e,this._gestureBlocker=i.createBlocker(ii),this.d=o.data,this.mode=n.get("mode"),r.setElementClass(e.nativeElement,"picker-"+this.mode,!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){r.setElementClass(e.nativeElement,t,!0)}),this.id=++xo,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 c(t.options)||(t.options=[]),t.selectedIndex=t.selectedIndex||0,t.options=t.options.map(function(t){var e={text:"",value:"",disabled:t.disabled};return c(t)&&(r(t)||s(t)?(e.text=t.toString(),e.value=t):(e.text=c(t.text)?t.text:t.value,e.value=c(t.value)?t.value:t.text)),e}),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 e=!0;t.handler&&!1===t.handler(this.getSelected())&&(e=!1),e&&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(e,n){var i=e.options[e.selectedIndex];t[e.name]={text:i?i.text:null,value:i?i.value:null,columnIndex:n}}),t},t.prototype.ngOnDestroy=function(){y(!1===this._gestureBlocker.blocked,"gesture blocker must be already unblocked"),this._gestureBlocker.destroy()},t}(),xo=-1,Po=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Oo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Po(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".picker-wrapper"));e.fromTo("opacity",.01,.26),n.fromTo("translateY","100%","0%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(e).add(n)},e}(xn),Io=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Po(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".picker-wrapper"));e.fromTo("opacity",.26,0),n.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e).add(n)},e}(xn),Do=function(t){function e(e,n,i){void 0===n&&(n={});var o=this;return n||(n={}),n.columns=n.columns||[],n.buttons=n.buttons||[],n.enableBackdropDismiss=!c(n.enableBackdropDismiss)||Boolean(n.enableBackdropDismiss),o=t.call(this,Eo,n,null)||this,o._app=e,o.isOverlay=!0,o.ionChange=new Qe.m,i.setTransition("picker-slide-in",Oo),i.setTransition("picker-slide-out",Io),o}return Object(Je.__extends)(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"pickerLeave":"pickerEnter")},e.prototype.addButton=function(t){this.data.buttons.push(t)},e.prototype.addColumn=function(t){this.data.columns.push(t)},e.prototype.getColumns=function(){return this.data.columns},e.prototype.getColumn=function(t){return this.getColumns().find(function(e){return e.name===t})},e.prototype.refresh=function(){y(this._cmp,"componentRef must be valid"),y(this._cmp.instance.refresh,"instance must implement refresh()"),this._cmp&&this._cmp.instance.refresh&&this._cmp.instance.refresh()},e.prototype.setCssClass=function(t){this.data.cssClass=t},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e}(rn),Mo=function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new Do(this._app,t,this.config)},t}(),Ao=(this&&this.__assign||Object,n(8),n(25),function(){return function(){}}()),Lo=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ro=function(t){function e(e,n,i,o){var r=t.call(this,e,n.getNativeElement(),{maxAngle:20,threshold:5,zone:!1,domController:o,gesture:i.createGesture({name:ti,priority:ei,disableScroll:!0})})||this;return r.list=n,r.preSelectedContainer=null,r.selectedContainer=null,r.openContainer=null,r}return Lo(e,t),e.prototype.canStart=function(t){if(this.selectedContainer)return!1;var e=function(t){var e=t.target.closest("ion-item-sliding");return e?e.$ionComponent:null}(t);if(!e)return this.closeOpened(),!1;e!==this.openContainer&&this.closeOpened();var n=x(t);return this.preSelectedContainer=e,this.firstCoordX=n.x,this.firstTimestamp=Date.now(),!0},e.prototype.onDragStart=function(t){t.preventDefault();var e=x(t);this.selectedContainer=this.openContainer=this.preSelectedContainer,this.selectedContainer.startSliding(e.x)},e.prototype.onDragMove=function(t){t.preventDefault(),this.selectedContainer.moveSliding(x(t).x)},e.prototype.onDragEnd=function(t){t.preventDefault();var e=x(t).x-this.firstCoordX,n=Date.now()-this.firstTimestamp;this.selectedContainer.endSliding(e/n),this.selectedContainer=null,this.preSelectedContainer=null},e.prototype.notCaptured=function(t){(function(t){return!!t.target.closest("ion-item-options>button")})(t)||this.closeOpened()},e.prototype.closeOpened=function(){return this.selectedContainer=null,!!this.openContainer&&(this.openContainer.close(),this.openContainer=null,!0)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.closeOpened(),this.list=null,this.preSelectedContainer=null,this.selectedContainer=null,this.openContainer=null},e}(di),Bo=function(t){function e(e,n,i,o,r,s){var l=t.call(this,e,n,i,"list")||this;return l._plt=o,l._gestureCtrl=r,l._domCtrl=s,l._enableSliding=!0,l._containsSlidingItems=!1,l}return Object(Je.__extends)(e,t),Object.defineProperty(e.prototype,"sliding",{get:function(){return this._enableSliding},set:function(t){this._enableSliding=f(t),this._updateSlidingState()},enumerable:!0,configurable:!0}),e.prototype.containsSlidingItem=function(t){this._containsSlidingItems=t,this._updateSlidingState()},e.prototype._updateSlidingState=function(){this._enableSliding&&this._containsSlidingItems?this._slidingGesture||(console.debug("enableSlidingItems"),this._slidingGesture=new Ro(this._plt,this,this._gestureCtrl,this._domCtrl),this._slidingGesture.listen()):(this._slidingGesture&&this._slidingGesture.destroy(),this._slidingGesture=null)},e.prototype.closeSlidingItems=function(){this._slidingGesture&&this._slidingGesture.closeOpened()},e.prototype.destroy=function(){this._slidingGesture&&this._slidingGesture.destroy()},e}(Fn);!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"}(Ze||(Ze={}));var zo=function(){function t(t){this.elementRef=t,t.nativeElement.$ionComponent=this}return t.prototype.getReorderNode=function(){return V(this.elementRef.nativeElement,null)},t.prototype.onClick=function(t){t.preventDefault(),t.stopPropagation()},t}(),No=function(){function t(t,e,n,i,o,r){this._viewCtrl=t,this._config=e,y(o.data,"params data must be valid"),this.gestureBlocker=i.createBlocker(ii),this.d=o.data,r.setElementClass(n.nativeElement,"loading-"+e.get("mode"),!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&r.setElementClass(n.nativeElement,t,!0)}),this.id=++jo}return t.prototype.ngOnInit=function(){u(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(){y(!1===this.gestureBlocker.blocked,"gesture blocker must be already unblocked"),this.gestureBlocker.destroy()},t}(),jo=-1,Vo=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Fo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vo(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.3),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(xn),qo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vo(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.3,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(xn),Yo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vo(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.1,1),e.fromTo("opacity",.01,.5),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(xn),Ho=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vo(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,.9),e.fromTo("opacity",.5,0),this.easing("ease-in-out").duration(200).add(e).add(n)},e}(xn),Wo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vo(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.01,1).fromTo("scale",1.3,1),e.fromTo("opacity",.01,.16),this.easing("cubic-bezier(0,0,0.05,1)").duration(200).add(e).add(n)},e}(xn),Xo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vo(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".loading-wrapper"));n.fromTo("opacity",.99,0).fromTo("scale",1,1.3),e.fromTo("opacity",.16,0),this.easing("ease-out").duration(150).add(e).add(n)},e}(xn),Go=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Uo=function(t){function e(e,n,i){void 0===n&&(n={});var o=this;return n.showBackdrop=!c(n.showBackdrop)||!!n.showBackdrop,n.enableBackdropDismiss=!!c(n.enableBackdropDismiss)&&!!n.enableBackdropDismiss,n.dismissOnPageChange=!!c(n.dismissOnPageChange)&&!!n.dismissOnPageChange,o=t.call(this,No,n,null)||this,o._app=e,o.isOverlay=!0,i.setTransition("loading-pop-in",Fo),i.setTransition("loading-pop-out",qo),i.setTransition("loading-md-pop-in",Yo),i.setTransition("loading-md-pop-out",Ho),i.setTransition("loading-wp-pop-in",Wo),i.setTransition("loading-wp-pop-out",Xo),o}return Go(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"loadingLeave":"loadingEnter")},e.prototype.setContent=function(t){return this.data.content=t,this},e.prototype.setSpinner=function(t){return this.data.spinner=t,this},e.prototype.setCssClass=function(t){return this.data.cssClass=t,this},e.prototype.setShowBackdrop=function(t){return this.data.showBackdrop=t,this},e.prototype.setDuration=function(t){return this.data.duration=t,this},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t,3)},e.prototype.dismissAll=function(){this._nav&&this._nav.popAll()},e}(rn),$o=function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new Uo(this._app,t,this.config)},t}(),Zo=(n(60),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}(),function(){return function(){}}()),Ko=function(t){function e(e,n,i,o,r,s,l,a,u,c,p,h,d,f){var _=t.call(this,n,i,o,r,s,l,a,u,c,p,h,d,f)||this;return _._hasInit=!1,e&&e._setContent(_),n?n.registerChildNav(_):e&&e.getNav()?(_.parent=e.getNav(),_.parent.registerChildNav(_)):i&&!i.getRootNavById(_.id)&&i.registerRootNav(_),_}return Object(Je.__extends)(e,t),e,Object.defineProperty(e.prototype,"_vp",{set:function(t){this.setViewport(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var t=this;this._hasInit=!0;var e=this._linker.getSegmentByNavIdOrName(this.id,this.name);if(e&&(e.component||e.loadChildren))return this._linker.initViews(e).then(function(e){return t.setPages(e,null,null)});if(this._root){var n=!e;return this.push(this._root,this.rootParams,{isNavRoot:this._app.getRootNavById(this.id)===this,updateUrl:n},null)}},Object.defineProperty(e.prototype,"root",{get:function(){return this._root},set:function(t){this._root=t,this._hasInit&&this.setRoot(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.destroy()},e.prototype.initPane=function(){return this._elementRef.nativeElement.hasAttribute("main")},e.prototype.paneChanged=function(t){t&&this.resize()},e.prototype.goToRoot=function(t){return this.setRoot(this._root,this.rootParams,t,null)},e.prototype.getType=function(){return"nav"},e.prototype.getSecondaryIdentifier=function(){return null},e=Object(Je.__decorate)([Object(Je.__param)(0,Object(Qe.x)()),Object(Je.__param)(1,Object(Qe.x)()),Object(Je.__param)(11,Object(Qe.x)())],e)}(bi),Qo=(this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}(),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Jo=function(){function t(t){this.ani=new wn(t),this.ani.easing("cubic-bezier(0.0, 0.0, 0.2, 1)").easingReverse("cubic-bezier(0.4, 0.0, 0.6, 1)").duration(280)}return t.prototype.setOpen=function(t,e,n){var i=this.ani.onFinish(n,!0,!0).reverse(!t);e?i.play():i.syncPlay()},t.prototype.setProgressStart=function(t){this.isOpening=!t,this.ani.reverse(t).progressStart()},t.prototype.setProgessStep=function(t){this.ani.progressStep(t)},t.prototype.setProgressEnd=function(t,e,n,i){var o=this,r=this.isOpening&&t;this.isOpening||t||(r=!0);var s=this.ani;s.onFinish(function(){o.isOpening=!1,i(r)},!0);var l=1-Math.min(Math.abs(n)/4,.7),a=s.getDuration()*l;s.progressEnd(t,e,a)},t.prototype.destroy=function(){this.ani.destroy(),this.ani=null},t}();_n.registerType("reveal",function(t){function e(e,n){var i=t.call(this,n)||this,o=e.width()*(e.isRightSide?-1:1)+"px",r=new wn(n,e.getContentElement());return r.fromTo("translateX","0px",o),i.ani.add(r),i}return Qo(e,t),e}(Jo));_n.registerType("push",function(t){function e(e,n){var i,o,r,s=t.call(this,n)||this,l=e.width();e.isRightSide?(i=-l+"px",o=l+"px",r="0px"):(i=l+"px",r="0px",o=-l+"px");var a=new wn(n,e.getMenuElement());a.fromTo("translateX",o,r),s.ani.add(a);var u=new wn(n,e.getContentElement());return u.fromTo("translateX","0px",i),s.ani.add(u),s}return Qo(e,t),e}(Jo));_n.registerType("overlay",function(t){function e(e,n){var i,o,r=t.call(this,n)||this,s=e.width();e.isRightSide?(i=8+s+"px",o="0px"):(i=-(8+s)+"px",o="0px");var l=new wn(n,e.getMenuElement());l.fromTo("translateX",i,o),r.ani.add(l);var a=new wn(n,e.getBackdropElement());return a.fromTo("opacity",.01,.35),r.ani.add(a),r}return Qo(e,t),e}(Jo));var tr,er,nr,ir,or,rr,sr,lr,ar,ur,cr,pr,hr,dr,fr=function(){function t(t,e,n,i){this._app=t,this._component=e,this._config=n,this._deepLinker=i}return t.prototype.getImplementation=function(){throw new Error('Child class must implement "getImplementation" method')},t.prototype.present=function(t){var e=this;void 0===t&&(t={});return r(this._component)?this._deepLinker.getComponentFromName(this._component).then(function(n){return e._component=n,e.createAndPresentOverlay(t)}):this.createAndPresentOverlay(t)},t.prototype.dismiss=function(t,e,n){if(this.overlay)return this.overlay.dismiss(t,e,n)},t.prototype.onDidDismiss=function(t){this._onDidDismiss=t,this.overlay&&this.overlay.onDidDismiss(this._onDidDismiss)},t.prototype.createAndPresentOverlay=function(t){return this.overlay=this.getImplementation(),this.overlay.onWillDismiss(this._onWillDismiss),this.overlay.onDidDismiss(this._onDidDismiss),this.overlay.present(t)},t.prototype.onWillDismiss=function(t){this._onWillDismiss=t,this.overlay&&this.overlay.onWillDismiss(this._onWillDismiss)},t}(),_r=function(){function t(t){this._compiler=t}return t.prototype.load=function(t,e){return this._compiler instanceof Qe.i?function(t,e){return n(26)(t).then(function(n){var i=n[e];if(!i)throw new Error("Module "+t+" does not export "+e);return i})}(t,e):function(t,e,i){return i||(i="default"),n(26)(e).then(function(n){var o=n[i];if(!o)throw new Error("Module "+e+" does not export "+i);return t.compileModuleAsync(o)})}(this._compiler,t,e)},t}(),vr=new Qe.p("LZYCMP"),gr=function(){function t(t,e){this._ngModuleLoader=t,this._injector=e,this._cfrMap=new Map,this._promiseMap=new Map}return t.prototype.load=function(t){var e=this;console.time("ModuleLoader, load: "+t+"'");var n=t.split(mr),i=this._promiseMap.get(t);return i||(i=this._ngModuleLoader.load(n[0],n[1]),this._promiseMap.set(t,i)),i.then(function(n){console.timeEnd("ModuleLoader, load: "+t+"'");var i=n.create(e._injector),o=i.injector.get(vr);return e._cfrMap.set(o,i.componentFactoryResolver),{componentFactoryResolver:i.componentFactoryResolver,component:o}})},t.prototype.getComponentFactoryResolver=function(t){return this._cfrMap.get(t)},t}(),mr="#",yr=function(){function t(t,e,n,i,o,r,s){this._cfr=t,this._renderer=e,this._elementRef=n,this._navParams=i,this._viewCtrl=o,this.moduleLoader=s;var l=i.get("opts");y(l,"modal data must be valid"),this._gestureBlocker=r.createBlocker({disable:[Jn,Qn]}),this._bdDismiss=l.enableBackdropDismiss,l.cssClass&&l.cssClass.split(" ").forEach(function(t){""!==t.trim()&&e.setElementClass(n.nativeElement,t,!0)})}return t.prototype.ionViewPreLoad=function(){var t=this._navParams.data.component;if(t){var e=this.moduleLoader.getComponentFactoryResolver(t);e||(e=this._cfr);var n=e.resolveComponentFactory(t),i=this._viewport.createComponent(n,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,e){this._renderer.setElementClass(t.location.nativeElement,e,!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(){y(!1===this._gestureBlocker.blocked,"gesture blocker must be already unblocked"),this._gestureBlocker.destroy()},t}(),br=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),wr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return br(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView.pageRef().nativeElement,n=e.querySelector("ion-backdrop"),i=new wn(this.plt,n),o=new wn(this.plt,e.querySelector(".modal-wrapper"));o.beforeStyles({opacity:1}),o.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(o)},e}(On),Sr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return br(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.leavingView.pageRef().nativeElement,n=new wn(this.plt,e.querySelector("ion-backdrop")),i=e.querySelector(".modal-wrapper"),o=i.getBoundingClientRect(),r=new wn(this.plt,i);r.fromTo("translateY","0px",this.plt.height()-o.top+"px"),n.fromTo("opacity",.4,0),this.element(this.leavingView.pageRef()).easing("ease-out").duration(250).add(n).add(r)},e}(On),Cr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return br(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.enteringView.pageRef().nativeElement,n=new wn(this.plt,e.querySelector("ion-backdrop")),i=new wn(this.plt,e.querySelector(".modal-wrapper"));n.fromTo("opacity",.01,.4),i.fromTo("translateY","40px","0px"),i.fromTo("opacity",.01,1);this.element(this.enteringView.pageRef()).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).add(n).add(i)},e}(On),Tr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return br(e,t),e.prototype.init=function(){t.prototype.init.call(this);var e=this.leavingView.pageRef().nativeElement,n=new wn(this.plt,e.querySelector("ion-backdrop")),i=new wn(this.plt,e.querySelector(".modal-wrapper"));n.fromTo("opacity",.4,0),i.fromTo("translateY","0px","40px"),i.fromTo("opacity",.99,0),this.element(this.leavingView.pageRef()).duration(200).easing("cubic-bezier(0.47,0,0.745,0.715)").add(i).add(n)},e}(On),kr=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Er=function(t){function e(e,n,i,o,r){void 0===o&&(o={});var s=this;return i=i||{},i.component=n,o.showBackdrop=!c(o.showBackdrop)||!!o.showBackdrop,o.enableBackdropDismiss=!c(o.enableBackdropDismiss)||!!o.enableBackdropDismiss,i.opts=o,s=t.call(this,yr,i,null)||this,s._app=e,s._enterAnimation=o.enterAnimation,s._leaveAnimation=o.leaveAnimation,s.isOverlay=!0,r.setTransition("modal-slide-in",wr),r.setTransition("modal-slide-out",Sr),r.setTransition("modal-md-slide-in",Cr),r.setTransition("modal-md-slide-out",Tr),s}return kr(e,t),e.prototype.getTransitionName=function(t){var e;if("back"===t){if(this._leaveAnimation)return this._leaveAnimation;e="modalLeave"}else{if(this._enterAnimation)return this._enterAnimation;e="modalEnter"}return this._nav&&this._nav.config.get(e)},e.prototype.present=function(t){return void 0===t&&(t={}),t.minClickBlockDuration=t.minClickBlockDuration||400,this._app.present(this,t,2)},e}(rn),xr=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Pr=function(t){function e(e,n,i,o,r,s){void 0===o&&(o={});var l=t.call(this,e,n,r,s)||this;return l.data=i,l.opts=o,l.isOverlay=!0,l}return xr(e,t),e.prototype.getImplementation=function(){return new Er(this._app,this._component,this.data,this.opts,this._config)},e}(fr),Or=function(){function t(t,e,n){this._app=t,this.config=e,this.deepLinker=n}return t.prototype.create=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),new Pr(this._app,t,e,n,this.config,this.deepLinker)},t}(),Ir=(n(61),function(){function t(t,e,n,i,o,r,s,l){this._cfr=t,this._elementRef=e,this._renderer=n,this._config=i,this._navParams=o,this._viewCtrl=r,this.moduleLoader=l,this._gestureBlocker=s.createBlocker(ii),this.d=o.data.opts,n.setElementClass(e.nativeElement,"popover-"+i.get("mode"),!0),this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&n.setElementClass(e.nativeElement,t,!0)}),this.id=++Dr}return t.prototype.ionViewPreLoad=function(){this._load(this._navParams.data.component)},t.prototype._load=function(t){if(t){var e=this.moduleLoader.getComponentFactoryResolver(t);e||(e=this._cfr);var n=e.resolveComponentFactory(t),i=this._viewport.createComponent(n,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,e){this._renderer.setElementClass(t.location.nativeElement,e,!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(){y(!1===this._gestureBlocker.blocked,"gesture blocker must be already unblocked"),this._gestureBlocker.destroy()},t}()),Dr=-1,Mr=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ar=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Mr(e,t),e.prototype.mdPositionView=function(t,e){var n="top",i="left",o=t.querySelector(".popover-wrapper"),r=t.querySelector(".popover-content"),s=r.getBoundingClientRect(),l=s.width,a=s.height,u=this.plt.width(),c=this.plt.height(),p=e&&e.target&&e.target.getBoundingClientRect(),h=p&&"top"in p?p.top:c/2-a/2,d=p&&p.height||0,f={top:h,left:p&&"left"in p?p.left:u/2-l/2};f.left<jr?f.left=jr:l+jr+f.left>u&&(f.left=u-l-jr,i="right"),h+d+a>c&&h-a>0?(f.top=h-a,t.className=t.className+" popover-bottom",n="bottom"):h+d+a>c&&(r.style.bottom=jr+"px"),r.style.top=f.top+"px",r.style.left=f.left+"px",r.style[this.plt.Css.transformOrigin]=n+" "+i,o.style.opacity="1"},e.prototype.iosPositionView=function(t,e){var n="top",i="left",o=t.querySelector(".popover-wrapper"),r=t.querySelector(".popover-content"),s=r.getBoundingClientRect(),l=s.width,a=s.height,u=this.plt.width(),c=this.plt.height(),p=e&&e.target&&e.target.getBoundingClientRect(),h=p&&"top"in p?p.top:c/2-a/2,d=p&&"left"in p?p.left:u/2,f=p&&p.width||0,_=p&&p.height||0,v=t.querySelector(".popover-arrow"),g=v.getBoundingClientRect(),m=g.width,y=g.height;p||(v.style.display="none");var b={top:h+_,left:d+f/2-m/2},w={top:h+_+(y-1),left:d+f/2-l/2},S=!1,C=!1;w.left<Nr+25?(S=!0,w.left=Nr):l+Nr+w.left+25>u&&(C=!0,w.left=u-l-Nr,i="right"),h+_+a>c&&h-a>0?(b.top=h-(y+1),w.top=h-a-(y-1),t.className=t.className+" popover-bottom",n="bottom"):h+_+a>c&&(r.style.bottom=Nr+"%"),v.style.top=b.top+"px",v.style.left=b.left+"px",r.style.top=w.top+"px",r.style.left=w.left+"px",S&&(CSS.supports("left","constant(safe-area-inset-left)")?r.style.left="calc("+w.left+"px + constant(safe-area-inset-left)":CSS.supports("left","env(safe-area-inset-left)")&&(r.style.left="calc("+w.left+"px + env(safe-area-inset-left)")),C&&(CSS.supports("right","constant(safe-area-inset-right)")?r.style.left="calc("+w.left+"px - constant(safe-area-inset-right)":CSS.supports("right","env(safe-area-inset-right)")&&(r.style.left="calc("+w.left+"px - env(safe-area-inset-right)")),r.style[this.plt.Css.transformOrigin]=n+" "+i,o.style.opacity="1"},e}(On),Lr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Mr(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".popover-wrapper"));n.fromTo("opacity",.01,1),e.fromTo("opacity",.01,.08),this.easing("ease").duration(100).add(e).add(n)},e.prototype.play=function(){var e=this;this.plt.raf(function(){e.iosPositionView(e.enteringView.pageRef().nativeElement,e.opts.ev),t.prototype.play.call(e)})},e}(Ar),Rr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Mr(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector("ion-backdrop")),n=new wn(this.plt,t.querySelector(".popover-wrapper"));n.fromTo("opacity",.99,0),e.fromTo("opacity",.08,0),this.easing("ease").duration(500).add(e).add(n)},e}(Ar),Br=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Mr(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector(".popover-content")),n=new wn(this.plt,t.querySelector(".popover-viewport"));e.fromTo("scale",.001,1),n.fromTo("opacity",.01,1),this.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).add(e).add(n)},e.prototype.play=function(){var e=this;this.plt.raf(function(){e.mdPositionView(e.enteringView.pageRef().nativeElement,e.opts.ev),t.prototype.play.call(e)})},e}(Ar),zr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Mr(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement,e=new wn(this.plt,t.querySelector(".popover-wrapper"));e.fromTo("opacity",.99,0),this.easing("ease").duration(500).fromTo("opacity",.01,1).add(e)},e}(Ar),Nr=2,jr=12,Vr=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Fr=function(t){function e(e,n,i,o,r){void 0===i&&(i={}),void 0===o&&(o={});var s=this;return o.showBackdrop=!c(o.showBackdrop)||!!o.showBackdrop,o.enableBackdropDismiss=!c(o.enableBackdropDismiss)||!!o.enableBackdropDismiss,i.component=n,i.opts=o,s=t.call(this,Ir,i,null)||this,s._app=e,s.isOverlay=!0,r.setTransition("popover-pop-in",Lr),r.setTransition("popover-pop-out",Rr),r.setTransition("popover-md-pop-in",Br),r.setTransition("popover-md-pop-out",zr),s}return Vr(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("back"===t?"popoverLeave":"popoverEnter")},e.prototype.present=function(t){return void 0===t&&(t={}),this._app.present(this,t)},e}(rn),qr=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Yr=function(t){function e(e,n,i,o,r,s){void 0===o&&(o={});var l=t.call(this,e,n,r,s)||this;return l.data=i,l.opts=o,l.isOverlay=!0,l}return qr(e,t),e.prototype.getImplementation=function(){return new Fr(this._app,this._component,this.data,this.opts,this._config)},e}(fr),Hr=function(){function t(t,e,n){this._app=t,this.config=e,this._deepLinker=n}return t.prototype.create=function(t,e,n){return void 0===e&&(e={}),void 0===n&&(n={}),new Yr(this._app,t,e,n,this.config,this._deepLinker)},t}(),Wr=(n(62),function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._cd=n,this._disabled=!1,this._btns=[],this._ids=-1,this._init=!1,this.ionChange=new Qe.m,this.id=++Xr}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 e=this;this._fn=t,this.onChange=function(n){console.debug("radio group, onChange",n),t(n),e.value=n,e._update(),e.onTouched(),e.ionChange.emit(n)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype._update=function(){var t=this,e=!1;this._btns.forEach(function(n){n.checked=_(t.value,n.value)&&!e,n.checked&&(t._setActive(n),e=!0)})},t.prototype._setActive=function(t){this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-activedescendant",t.id)},t.prototype.add=function(t){var e=this;return this._btns.push(t),t.ionSelect.subscribe(function(t){e.onChange(t)}),this.id+"-"+ ++this._ids},t.prototype.remove=function(t){var e=this._btns.indexOf(t);e>-1&&(t.value===this.value&&(this.value=null),this._btns.splice(e,1))},Object.defineProperty(t.prototype,"_header",{set:function(t){t&&(t.id||(t.id="rg-hdr-"+this.id),this._renderer.setElementAttribute(this._elementRef.nativeElement,"aria-describedby",t.id))},enumerable:!0,configurable:!0}),t.prototype.onChange=function(t){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}()),Xr=-1,Gr=function(t){function e(e,n,i,o,r,s){var l=t.call(this,n,i,o,"radio")||this;return l._form=e,l._item=r,l._group=s,l._checked=!1,l._disabled=!1,l._value=null,l.ionSelect=new Qe.m,e.register(l),s&&(l.id="rb-"+s.add(l)),r&&(l.id="rb-"+r.registerInput("radio"),l._labelId="lbl-"+r.id,l._item.setElementClass("item-radio",!0)),l}return Object(Je.__extends)(e,t),Object.defineProperty(e.prototype,"color",{set:function(t){this._setColor(t),this._item&&this._item._updateColor(t,"item-radio")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return p(this._value)?this.id:this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.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}),e.prototype.initFocus=function(){this._elementRef.nativeElement.querySelector("button").focus()},e.prototype._click=function(t){console.debug("radio, select",this.id),t.preventDefault(),t.stopPropagation(),this.checked=!0,this.ionSelect.emit(this.value)},e.prototype.ngOnInit=function(){this._group&&c(this._group.value)&&(this.checked=_(this._group.value,this.value)),this._group&&this._group.disabled&&(this.disabled=this._group.disabled)},e.prototype.ngOnDestroy=function(){this._form.deregister(this),this._group&&this._group.remove(this)},e=Object(Je.__decorate)([Object(Je.__param)(4,Object(Qe.x)()),Object(Je.__param)(5,Object(Qe.x)())],e)}(Fn),Ur=function(){function t(t,e){this.navParams=t,this.viewController=e}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 e=this.options.find(function(e){return e.value===t});e&&e.handler&&e.handler(),this.viewController.dismiss(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.options=this.navParams.data.options},t}(),$r=["INPUT","SELECT","TEXTAREA","BUTTON","VIDEO"],Zr={noSwiping:"swiper-no-swiping",containerModifier:"swiper-container-",slide:"swiper-slide",slideActive:"swiper-slide-active",slideDuplicateActive:"swiper-slide-duplicate-active",slideVisible:"swiper-slide-visible",slideDuplicate:"swiper-slide-duplicate",slideNext:"swiper-slide-next",slideDuplicateNext:"swiper-slide-duplicate-next",slidePrev:"swiper-slide-prev",slideDuplicatePrev:"swiper-slide-duplicate-prev",wrapper:"swiper-wrapper",bullet:"swiper-pagination-bullet",bulletActive:"swiper-pagination-bullet-active",buttonDisabled:"swiper-button-disabled",paginationCurrent:"swiper-pagination-current",paginationTotal:"swiper-pagination-total",paginationHidden:"swiper-pagination-hidden",paginationProgressbar:"swiper-pagination-progressbar",paginationClickable:"swiper-pagination-clickable",paginationModifier:"swiper-pagination-",lazyLoading:"swiper-lazy",lazyStatusLoading:"swiper-lazy-loading",lazyStatusLoaded:"swiper-lazy-loaded",lazyPreloader:"swiper-lazy-preloader",notification:"swiper-notification",preloader:"preloader",zoomContainer:"swiper-zoom-container"},Kr={LinearSpline:function(t,e,n,i){this.x=n,this.y=i,this.lastIndex=n.length-1;var o,r;this.interpolate=function(t){return t?(r=s(this.x,t),o=r-1,(t-this.x[o])*(this.y[r]-this.y[o])/(this.x[r]-this.x[o])+this.y[o]):0};var s=function(){var t,e,n;return function(i,o){for(e=-1,t=i.length;t-e>1;)i[n=t+e>>1]<=o?e=n:t=n;return t}}()},getInterpolateFunction:function(t,e,n){t._spline||(t._spline=t.loop?new Kr.LinearSpline(t,e,t._slidesGrid,n._slidesGrid):new Kr.LinearSpline(t,e,t._snapGrid,n._snapGrid))},setTranslate:function(t,e,n,i,o){function r(i){n=i._rtl&&et(i)?-t._translate:t._translate,"slide"===t.controlBy&&(Kr.getInterpolateFunction(t,e,i),l=-t._spline.interpolate(-n)),l&&"container"!==t.controlBy||(s=(ot(i)-it(i))/(ot(t)-it(t)),l=(n-it(t))*s+it(i)),t.controlInverse&&(l=ot(i)-l),lt(i,l),o(i,e,l,!1,t),ht(i)}var s,l,a=t.control;if(Array.isArray(a))for(var u=0;u<a.length;u++)a[u]!==i&&r(a[u]);else i!==a&&r(a)},setTransition:function(t,e,n,i,o){function r(i){o(i,e,n,t),0!==n&&(Bt(i),e.transitionEnd(i._wrapper,function(){l&&(i.loop&&"slide"===t.controlBy&&Lt(i,e),zt(i,e))}))}var s,l=t.control;if(Array.isArray(l))for(s=0;s<l.length;s++)l[s]!==i&&r(l[s]);else i!==l&&r(l)}},Qr={fade:{setTranslate:function(t){for(var e=0;e<t._slides.length;e++){var n=t._slides[e],i=-n.swiperSlideOffset;t.virtualTranslate||(i-=t._translate);var o=0;et(t)||(o=i,i=0);var r=t.fade.crossFade?Math.max(1-Math.abs(n.progress),0):1+Math.min(Math.max(n.progress,-1),0);n.style.opacity=r,Z(n,"translate3d("+i+"px, "+o+"px, 0px)")}},setTransition:function(t,e,n){for(var i=t._slides,o=0;o<i.length;o++)K(i[o],n);if(t.virtualTranslate&&0!==n)for(var r=!1,s=0;s<i.length;s++)e.transitionEnd(i[s],function(){!r&&t&&(r=!0,t._animating=!1,Q(e,t._wrapper))})}},flip:{setTranslate:function(t,e){for(var n=0;n<t._slides.length;n++){var i=t._slides[n],o=i.progress;t.flip.limitRotation&&(o=Math.max(Math.min(i.progress,1),-1));var r=-180*o,s=0,l=-i.swiperSlideOffset,a=0;if(et(t)?t._rtl&&(r=-r):(a=l,l=0,s=-r,r=0),i.style.zIndex=-Math.abs(Math.round(o))+t._slides.length,t.flip.slideShadows){var u=i.querySelector(et(t)?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),c=i.querySelector(et(t)?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");u||((u=e.doc().createElement("div")).className="swiper-slide-shadow-"+(et(t)?"left":"top"),i.appendChild(u)),c||((c=e.doc().createElement("div")).className="swiper-slide-shadow-"+(et(t)?"right":"bottom"),i.appendChild(c)),u&&(u.style.opacity=Math.max(-o,0)),c&&(c.style.opacity=Math.max(o,0))}Z(i,"translate3d("+l+"px, "+a+"px, 0px) rotateX("+s+"deg) rotateY("+r+"deg)")}},setTransition:function(t,e,n){for(var i=0;i<t._slides.length;i++){var o=t._slides[i];K(o,n),$(o,".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left",function(t){K(t,n)})}if(t.virtualTranslate&&0!==n){var r=!1;e.transitionEnd(t._slides[t._activeIndex],function(n){!r&&t&&n.target.classList.contains(Zr.slideActive)&&(r=!0,t._animating=!1,Q(e,t._wrapper))})}}},cube:{setTranslate:function(t,e){var n,i=0;t.cube.shadow&&(et(t)?((n=t._wrapper.querySelector(".swiper-cube-shadow"))||((n=e.doc().createElement("div")).className="swiper-cube-shadow",t._wrapper.appendChild(n)),n.style.height=t.renderedWidth+"px"):(n=t.container.querySelector(".swiper-cube-shadow"))||((n=e.doc().createElement("div")).className="swiper-cube-shadow",t._wrapper.appendChild(n)));for(var o=0;o<t._slides.length;o++){var r=t._slides[o],s=90*o,l=Math.floor(s/360);t._rtl&&(s=-s,l=Math.floor(-s/360));var a=Math.max(Math.min(r.progress,1),-1),u=0,c=0,p=0;o%4==0?(u=4*-l*t._renderedSize,p=0):(o-1)%4==0?(u=0,p=4*-l*t._renderedSize):(o-2)%4==0?(u=t._renderedSize+4*l*t._renderedSize,p=t._renderedSize):(o-3)%4==0&&(u=-t._renderedSize,p=3*t._renderedSize+4*t._renderedSize*l),t._rtl&&(u=-u),et(t)||(c=u,u=0);var h="rotateX("+(et(t)?0:-s)+"deg) rotateY("+(et(t)?s:0)+"deg) translate3d("+u+"px, "+c+"px, "+p+"px)";if(a<=1&&a>-1&&(i=90*o+90*a,t._rtl&&(i=90*-o-90*a)),Z(r,h),t.cube.slideShadows){var d=r.querySelector(et(t)?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),f=r.querySelector(et(t)?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");d||((d=e.doc().createElement("div")).className="swiper-slide-shadow-"+(et(t)?"left":"top"),r.appendChild(d)),f||((f=e.doc().createElement("div")).className="swiper-slide-shadow-"+(et(t)?"right":"bottom"),r.appendChild(f)),d&&(d.style.opacity=Math.max(-a,0)),f&&(f.style.opacity=Math.max(a,0))}}if(t._wrapper.style.transformOrigin=t._wrapper.style.webkitTransformOrigin="50% 50% -"+t._renderedSize/2+"px",t.cube.shadow)if(et(t))Z(n,"translate3d(0px, "+(t.renderedWidth/2+t.cube.shadowOffset)+"px, "+-t.renderedWidth/2+"px) rotateX(90deg) rotateZ(0deg) scale("+t.cube.shadowScale+")");else{var _=Math.abs(i)-90*Math.floor(Math.abs(i)/90),v=1.5-(Math.sin(2*_*Math.PI/360)/2+Math.cos(2*_*Math.PI/360)/2),g=t.cube.shadowScale/v;Z(n,"scale3d("+t.cube.shadowScale+", 1, "+g+") translate3d(0px, "+(t.renderedHeight/2+t.cube.shadowOffset)+"px, "+-t.renderedHeight/2/g+"px) rotateX(-90deg)")}var m=vt(e)||gt(e)?-t._renderedSize/2:0;Z(t._wrapper,"translate3d(0px,0,"+m+"px) rotateX("+(et(t)?0:i)+"deg) rotateY("+(et(t)?-i:0)+"deg)")},setTransition:function(t,e,n){for(var i=0;i<t._slides.length;i++){var o=t._slides[i];K(o,n),$(o,".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left",function(t){K(t,n)})}t.cube.shadow&&!et(t)&&$(t.container,".swiper-cube-shadow",function(t){K(t,n)})}},coverflow:{setTranslate:function(t,e){for(var n=t._translate,i=et(t)?t.renderedWidth/2-n:t.renderedHeight/2-n,o=et(t)?t.coverflow.rotate:-t.coverflow.rotate,r=t.coverflow.depth,s=0,l=t._slides.length;s<l;s++){var a=t._slides[s],u=t._slidesSizesGrid[s],c=(i-a.swiperSlideOffset-u/2)/u*t.coverflow.modifier,p=et(t)?o*c:0,h=et(t)?0:o*c,d=-r*Math.abs(c),f=et(t)?0:t.coverflow.stretch*c,_=et(t)?t.coverflow.stretch*c:0;Math.abs(_)<.001&&(_=0),Math.abs(f)<.001&&(f=0),Math.abs(d)<.001&&(d=0),Math.abs(p)<.001&&(p=0),Math.abs(h)<.001&&(h=0);if(Z(a,"translate3d("+_+"px,"+f+"px,"+d+"px)  rotateX("+h+"deg) rotateY("+p+"deg)"),a.style.zIndex=1-Math.abs(Math.round(c)),t.coverflow.slideShadows){var v=a.querySelector(et(t)?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),g=a.querySelector(et(t)?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");v||((v=e.doc().createElement("div")).className="swiper-slide-shadow-"+(et(t)?"left":"top"),a.appendChild(v)),g||((g=e.doc().createElement("div")).className="swiper-slide-shadow-"+(et(t)?"right":"bottom"),a.appendChild(g)),v&&(v.style.opacity=c>0?c:0),g&&(g.style.opacity=-c>0?-c:0)}}},setTransition:function(t,e,n){for(var i=0;i<t._slides.length;i++){var o=t._slides[i];K(o,n),$(o,".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left",function(t){K(t,n)})}}}},Jr=Date.now(),ts=[],es=function(t){function e(e,n,i,o,r,s){var l=t.call(this,e,r,s,"slides")||this;if(l._plt=n,l._control=null,l._effectName="slide",l._direction="horizontal",l._initialSlide=0,l._isLoop=!1,l._pager=!1,l._paginationType="bullets",l.paginationBulletRender=null,l._isParallax=!1,l._speedMs=300,l._isZoom=!1,l.virtualTranslate=!1,l.roundLengths=!1,l._spaceBetween=0,l._slidesPerView=1,l._centeredSlides=!1,l.slidesPerColumn=1,l.slidesPerColumnFill="column",l.slidesPerGroup=1,l.slidesOffsetBefore=0,l.slidesOffsetAfter=0,l.autoplayDisableOnInteraction=!0,l.autoplayStopOnLast=!1,l.freeMode=!1,l.freeModeMomentum=!0,l.freeModeMomentumRatio=1,l.freeModeMomentumBounce=!0,l.freeModeMomentumBounceRatio=1,l.freeModeMomentumVelocityRatio=1,l.freeModeSticky=!1,l.freeModeMinimumVelocity=.02,l.autoHeight=!1,l.setWrapperSize=!1,l.zoomMax=3,l.zoomMin=1,l.zoomToggle=!0,l.touchRatio=1,l.touchAngle=45,l.simulateTouch=!0,l.shortSwipes=!0,l.longSwipes=!0,l.longSwipesRatio=.5,l.longSwipesMs=300,l.followFinger=!0,l.onlyExternal=!1,l.threshold=0,l.touchMoveStopPropagation=!0,l.touchReleaseOnEdges=!1,l.iOSEdgeSwipeDetection=!1,l.iOSEdgeSwipeThreshold=20,l.paginationClickable=!1,l.paginationHide=!1,l.resistance=!0,l.resistanceRatio=.85,l.watchSlidesProgress=!1,l.watchSlidesVisibility=!1,l.preventClicks=!0,l.preventClicksPropagation=!0,l.slideToClickedSlide=!1,l.loopAdditionalSlides=0,l.loopedSlides=null,l.swipeHandler=null,l.noSwiping=!0,l.runCallbacksOnInit=!0,l.controlBy="slide",l.controlInverse=!1,l.keyboardControl=!0,l.coverflow={rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},l.flip={slideShadows:!0,limitRotation:!0},l.cube={slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},l.fade={crossFade:!1},l.prevSlideMessage="Previous slide",l.nextSlideMessage="Next slide",l.firstSlideMessage="This is the first slide",l.lastSlideMessage="This is the last slide",l.ionSlideWillChange=new Qe.m,l.ionSlideDidChange=new Qe.m,l.ionSlideDrag=new Qe.m,l.ionSlideReachStart=new Qe.m,l.ionSlideReachEnd=new Qe.m,l.ionSlideAutoplay=new Qe.m,l.ionSlideAutoplayStart=new Qe.m,l.ionSlideAutoplayStop=new Qe.m,l.ionSlideNextStart=new Qe.m,l.ionSlidePrevStart=new Qe.m,l.ionSlideNextEnd=new Qe.m,l.ionSlidePrevEnd=new Qe.m,l.ionSlideTap=new Qe.m,l.ionSlideDoubleTap=new Qe.m,l.ionSlideProgress=new Qe.m,l.ionSlideTransitionStart=new Qe.m,l.ionSlideTransitionEnd=new Qe.m,l.ionSlideTouchStart=new Qe.m,l.ionSlideTouchEnd=new Qe.m,l._unregs=[],l._allowSwipeToNext=!0,l._allowSwipeToPrev=!0,l._zone=i,l.id=++ns,l.slideId="slides-"+l.id,l.setElementClass(l.slideId,!0),o)var a=o.readReady.subscribe(function(){a.unsubscribe(),l._initSlides()});return l}return Object(Je.__extends)(e,t),n=e,Object.defineProperty(e.prototype,"autoplay",{get:function(){return this._autoplayMs},set:function(t){this._autoplayMs=parseInt(t,10)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this._control},set:function(t){(t instanceof n||Array.isArray(t))&&(this._control=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"effect",{get:function(){return this._effectName},set:function(t){Qr[t]&&(this._effectName=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"direction",{get:function(){return this._direction},set:function(t){"horizontal"!==t&&"vertical"!==t||(this._direction=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"initialSlide",{get:function(){return this._initialSlide},set:function(t){this._initialSlide=parseInt(t,10)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loop",{get:function(){return this._isLoop},set:function(t){this._isLoop=f(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pager",{get:function(){return this._pager},set:function(t){this._pager=f(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{set:function(t){this._rtl="rtl"===t.toLowerCase()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paginationType",{get:function(){return this._paginationType},set:function(t){"bullets"!==t&&"fraction"!==t&&"progress"!==t||(this._paginationType=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parallax",{get:function(){return this._isParallax},set:function(t){this._isParallax=f(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"speed",{get:function(){return this._speedMs},set:function(t){this._speedMs=parseInt(t,10)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"zoom",{get:function(){return this._isZoom},set:function(t){this._isZoom=f(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"spaceBetween",{get:function(){return this._spaceBetween},set:function(t){this._spaceBetween=parseInt(t,10)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"slidesPerView",{get:function(){return this._slidesPerView},set:function(t){this._slidesPerView="auto"===t?"auto":parseFloat(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"centeredSlides",{get:function(){return this._centeredSlides},set:function(t){this._centeredSlides=f(t)},enumerable:!0,configurable:!0}),e.prototype._initSlides=function(){if(!this._init){console.debug("ion-slides, init");var t=this,e=t._plt;t.container=this.getNativeElement().children[0],function(t,e){if(t._classNames=[],t.container){t.container.swiper=t;var n=Zr.containerModifier;t._classNames.push(n+t.direction),t.freeMode&&t._classNames.push(n+"free-mode"),t.autoHeight&&t._classNames.push(n+"autoheight"),(t.parallax||t.watchSlidesVisibility)&&(t.watchSlidesProgress=!0),t.touchReleaseOnEdges&&(t.resistanceRatio=0);var i=t.effect;["cube","coverflow","flip"].indexOf(i)>=0&&(t.watchSlidesProgress=!0,t._classNames.push(n+"3d")),"slide"!==i&&t._classNames.push(n+i),"cube"===i&&(t.resistanceRatio=0,t.slidesPerView=1,t.slidesPerColumn=1,t.slidesPerGroup=1,t.centeredSlides=!1,t.spaceBetween=0,t.virtualTranslate=!0,t.setWrapperSize=!1),"fade"!==i&&"flip"!==i||(t.slidesPerView=1,t.slidesPerColumn=1,t.slidesPerGroup=1,t.watchSlidesProgress=!0,t.spaceBetween=0,t.setWrapperSize=!1,t.virtualTranslate=!0),t._wrapper=t.container.querySelector("."+Zr.wrapper),t.paginationType&&(t._paginationContainer=t.container.querySelector(".swiper-pagination"),"bullets"===t.paginationType&&t._paginationContainer.classList.add(Zr.paginationModifier+"clickable"),t._paginationContainer.classList.add(Zr.paginationModifier+t.paginationType)),t._rtl=et(t)&&("rtl"===t.container.dir.toLowerCase()||"rtl"===t.container.style.direction),t._rtl&&t._classNames.push(n+"rtl"),t.slidesPerColumn>1&&t._classNames.push(n+"multirow"),e.is("android")&&t._classNames.push(n+"android"),t._classNames.forEach(function(e){t.container.classList.add(e)}),t._translate=0,t.progress=0,t.velocity=0,t._autoplayTimeoutId=void 0,t._autoplaying=!1,t._autoplayPaused=!1,t._allowClick=!0,t._animating=!1,t._touches={startX:0,startY:0,currentX:0,currentY:0,diff:0},t.loop&&function(t){$(t._wrapper,"."+Zr.slide+"."+Zr.slideDuplicate,function(t){t.parentElement.removeChild(t)});var e=t._wrapper.querySelectorAll("."+Zr.slide);"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=e.length),t.loopedSlides=parseInt(t.loopedSlides||t.slidesPerView,10),t.loopedSlides=t.loopedSlides+t.loopAdditionalSlides,t.loopedSlides>e.length&&(t.loopedSlides=e.length);for(var n=[],i=[],o=0;o<e.length;o++){var r=e[o];o<t.loopedSlides&&i.push(r),o<e.length&&o>=e.length-t.loopedSlides&&n.push(r),r.setAttribute("data-swiper-slide-index",o)}for(o=0;o<i.length;o++){var s=i[o].cloneNode(!0);W(s,Zr.slideDuplicate),t._wrapper.appendChild(s)}for(o=n.length-1;o>=0;o--){var l=n[o].cloneNode(!0);W(l,Zr.slideDuplicate),t._wrapper.insertBefore(l,t._wrapper.firstElementChild)}}(t),Mt(t,e),At(t,e),ct(t),"slide"!==i&&Qr[i]&&(t.loop||lt(t),Qr[i].setTranslate(t,e)),t.loop?Rt(t,e,t.initialSlide+t.loopedSlides,0,t.runCallbacksOnInit):(Rt(t,e,t.initialSlide,0,t.runCallbacksOnInit),0===t.initialSlide&&st(t)),t.autoplay&&Pt(t,e)}}(t,e),this._unregs.push(function(t,e){var n=e.win(),i=e.doc();t._supportTouch=!!("ontouchstart"in n||n.DocumentTouch&&i instanceof n.DocumentTouch),t._touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},n.navigator.pointerEnabled?t._touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:n.navigator.msPointerEnabled&&(t._touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),t._touchEvents={start:t._supportTouch||!t.simulateTouch?"touchstart":t._touchEventsDesktop.start,move:t._supportTouch||!t.simulateTouch?"touchmove":t._touchEventsDesktop.move,end:t._supportTouch||!t.simulateTouch?"touchend":t._touchEventsDesktop.end},(n.navigator.pointerEnabled||n.navigator.msPointerEnabled)&&("container"===t.touchEventsTarget?t.container:t._wrapper).classList.add("swiper-wp8-"+t.direction);var o=[],r="container"===t.touchEventsTarget?t.container:t._wrapper;t._supportTouch&&(e.registerListener(r,t._touchEvents.start,function(n){Ft(t,e,n)},{passive:!0,zone:!1},o),e.registerListener(r,t._touchEvents.move,function(n){qt(t,e,n)},{zone:!1},o),e.registerListener(r,t._touchEvents.end,function(n){Yt(t,e,n)},{passive:!0,zone:!1},o)),(t.simulateTouch&&!e.is("ios")&&!e.is("android")||t.simulateTouch&&!t._supportTouch&&e.is("ios")||e.getQueryParam("ionicPlatform"))&&(e.registerListener(r,"mousedown",function(n){Ft(t,e,n)},{zone:!1},o),e.registerListener(r,"mousemove",function(n){qt(t,e,n)},{zone:!1},o),e.registerListener(r,"mouseup",function(n){Yt(t,e,n)},{zone:!1},o));var s=e.resize.subscribe(function(){return function(t,e,n){hr&&(e.cancelTimeout(hr),hr=null),hr=e.timeout(function(){return function(t,e,n){hr=null;var i=t._allowSwipeToPrev,o=t._allowSwipeToNext;if(t._allowSwipeToPrev=t._allowSwipeToNext=!0,Mt(t,e),At(t,e),("auto"===t.slidesPerView||t.freeMode||n)&&ct(t),t._spline&&(t._spline=void 0),t.freeMode){var r=Math.min(Math.max(t._translate,ot(t)),it(t));mt(t,e,r),ht(t),pt(t),t.autoHeight&&Dt(t)}else pt(t),("auto"===t.slidesPerView||t.slidesPerView>1)&&t._isEnd&&!t.centeredSlides?Rt(t,e,t._slides.length-1,0,!1,!0):Rt(t,e,t._activeIndex,0,!1,!0);t._allowSwipeToPrev=i,t._allowSwipeToNext=o}(t,e,n)},200)}(t,e,!1)});return t.nextButton&&e.registerListener(t.nextButton,"click",function(n){!function(t,e,i){n.preventDefault(),(!t._isEnd||t.loop)&&Nt(t,e)}(t,e)},{zone:!1},o),t.prevButton&&e.registerListener(t.prevButton,"click",function(n){!function(t,e,i){n.preventDefault(),(!t._isBeginning||t.loop)&&jt(t,e)}(t,e)},{zone:!1},o),t.paginationType&&e.registerListener(t._paginationContainer,"click",function(n){!function(t,e,n){var i=n.target.getAttribute("data-slide-index");if(i){var o=parseInt(i,10);n.preventDefault(),t.loop&&(o+=t.loopedSlides),Rt(t,e,o)}}(t,e,n)},{zone:!1},o),(t.preventClicks||t.preventClicksPropagation)&&e.registerListener(r,"click",function(e){!function(t,e){t._allowClick||(t.preventClicks&&e.preventDefault(),t.preventClicksPropagation&&t._animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}(t,e)},{zone:!1,capture:!0},o),function(){s.unsubscribe(),o.forEach(function(t){t()}),o=null}}(t,e)),this.zoom&&this._unregs.push(function(t,e){return t._supportGestures="ongesturestart"in e.win(),t._zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:t.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},unRegs:[]},kt(t,e),function(){Et(t)}}(t,e)),this.keyboardControl&&t.enableKeyboardControl(!0),this._init=!0}},e.prototype.ngAfterContentInit=function(){var t=this;this._plt.timeout(function(){t._initSlides()},300)},e.prototype.update=function(t){var e=this;void 0===t&&(t=300),this._init&&(this._plt.cancelTimeout(this._tmr),this._tmr=this._plt.timeout(function(){!function(t,e,n){function i(){o=Math.min(Math.max(t._translate,ot(t)),it(t)),mt(t,e,o),ht(t),pt(t)}if(t){Mt(t,e),At(t,e),lt(t),ct(t),pt(t),t.zoom&&kt(t,e);var o;n?(t._spline&&(t._spline=void 0),t.freeMode?(i(),t.autoHeight&&Dt(t)):(("auto"===t.slidesPerView||t.slidesPerView>1)&&t._isEnd&&!t.centeredSlides?Rt(t,e,t._slides.length-1,0,!1,!0):Rt(t,e,t._activeIndex,0,!1,!0))||i()):t.autoHeight&&Dt(t)}}(e,e._plt),e.length()>10&&(e.paginationType=void 0)},t))},e.prototype.resize=function(){},e.prototype.slideTo=function(t,e,n){Rt(this,this._plt,t,e,n)},e.prototype.slideNext=function(t,e){Nt(this,this._plt,e,t,!0)},e.prototype.slidePrev=function(t,e){jt(this,this._plt,e,t,!0)},e.prototype.getActiveIndex=function(){return this._activeIndex},e.prototype.getPreviousIndex=function(){return this._previousIndex},e.prototype.length=function(){return this._slides.length},e.prototype.isEnd=function(){return this._isEnd},e.prototype.isBeginning=function(){return this._isBeginning},e.prototype.startAutoplay=function(){Pt(this,this._plt)},e.prototype.stopAutoplay=function(){Ot(this)},e.prototype.lockSwipeToNext=function(t){this._allowSwipeToNext=!t},e.prototype.lockSwipeToPrev=function(t){this._allowSwipeToPrev=!t},e.prototype.lockSwipes=function(t){this._allowSwipeToNext=this._allowSwipeToPrev=!t},e.prototype.enableKeyboardControl=function(t){!function(t,e,n){n&&!t._keyboardUnReg?t._keyboardUnReg=e.registerListener(e.doc(),"keydown",function(n){!function(t,e,n){var i=e.win(),o=n.keyCode||n.charCode;if(!t._allowSwipeToNext&&(et(t)&&39===o||!et(t)&&40===o))return!1;if(!t._allowSwipeToPrev&&(et(t)&&37===o||!et(t)&&38===o))return!1;if(!(n.shiftKey||n.altKey||n.ctrlKey||n.metaKey)){var r=e.getActiveElement();if(!r||!r.nodeName||"input"!==r.nodeName.toLowerCase()&&"textarea"!==r.nodeName.toLowerCase()){if(37===o||39===o||38===o||40===o){var s=!1;if(t.container.closest("."+Zr.slide)&&!t.container.closest("."+Zr.slideActive))return;var l={left:i.pageXOffset,top:i.pageYOffset},a=e.width(),u=e.height(),c=J(t.container,e);t._rtl&&(c.left=c.left-t.container.scrollLeft);for(var p=[[c.left,c.top],[c.left+t.renderedWidth,c.top],[c.left,c.top+t.renderedHeight],[c.left+t.renderedWidth,c.top+t.renderedHeight]],h=0;h<p.length;h++){var d=p[h];d[0]>=l.left&&d[0]<=l.left+a&&d[1]>=l.top&&d[1]<=l.top+u&&(s=!0)}if(!s)return}et(t)?(37!==o&&39!==o||(n.preventDefault?n.preventDefault():n.returnValue=!1),(39===o&&!t._rtl||37===o&&t._rtl)&&Nt(t,e),(37===o&&!t._rtl||39===o&&t._rtl)&&jt(t,e)):(38!==o&&40!==o||(n.preventDefault?n.preventDefault():n.returnValue=!1),40===o&&Nt(t,e),38===o&&jt(t,e))}}}(t,e,n)},{zone:!1}):!n&&t._keyboardUnReg&&t._keyboardUnReg()}(this,this._plt,t)},e.prototype.ngOnDestroy=function(){this._init=!1,this._unregs.forEach(function(t){t()}),this._unregs.length=0,function(t){Ot(t),t.loop&&function(t){if($(t._wrapper,"."+Zr.slide+"."+Zr.slideDuplicate,function(t){t.parentElement.removeChild(t)}),t._slides)for(var e=0;e<t._slides.length;e++)t._slides[e].removeAttribute("data-swiper-slide-index")}(t),function(t){if(t.container&&t._wrapper){if(t.container&&(X(t.container,t._classNames),t.container.removeAttribute("style")),t._wrapper.removeAttribute("style"),t._slides&&t._slides.length){X(t._slides,[Zr.slideVisible,Zr.slideActive,Zr.slideNext,Zr.slidePrev]);for(var e=0;e<t._slides.length;e++){var n=t._slides[e];n.removeAttribute("style"),n.removeAttribute("data-swiper-column"),n.removeAttribute("data-swiper-row")}}X(t._bullets,Zr.bulletActive),X(t.prevButton,Zr.buttonDisabled),X(t.nextButton,Zr.buttonDisabled)}}(t)}(this),this.enableKeyboardControl(!1)},e=n=Object(Je.__decorate)([Object(Je.__param)(3,Object(Qe.x)())],e);var n}(Fn),ns=-1,is=function(){function t(t,e,n){this._slides=n,e.setElementClass(t.nativeElement,"swiper-slide",!0),n.update(10)}return t.prototype.ngOnDestroy=function(){this._slides.update(10)},t}(),os=function(t){function e(e,n,i){var o=t.call(this,e,n,i,"spinner")||this;return o._dur=null,o._paused=!1,o}return Object(Je.__extends)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this.load()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this._dur},set:function(t){this._dur=t,this.load()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paused",{get:function(){return this._paused},set:function(t){this._paused=f(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._init=!0,this.load()},e.prototype.load=function(){if(this._init){this._l=[],this._c=[];var t=this._name||this._config.get("spinner","ios"),e=rs[t];if(e){if(e.lines)for(var n=0,i=e.lines;n<i;n++)this._l.push(this._loadEle(e,n,i));else if(e.circles)for(var n=0,i=e.circles;n<i;n++)this._c.push(this._loadEle(e,n,i));this.setElementClass("spinner-"+t,!0),this.setElementClass("spinner-"+this._mode+"-"+t,!0)}}},e.prototype._loadEle=function(t,e,n){var i=this._dur||t.dur,o=t.fn(i,e,n);return o.style.animationDuration=i+"ms",o},e}(Fn),rs={ios:{dur:1e3,lines:12,fn:function(t,e,n){var i="rotate("+(30*e+(e<6?180:-180))+"deg)",o=-(t-t/n*e)+"ms";return{y1:17,y2:29,style:{transform:i,webkitTransform:i,animationDelay:o,webkitAnimationDelay:o}}}},"ios-small":{dur:1e3,lines:12,fn:function(t,e,n){var i="rotate("+(30*e+(e<6?180:-180))+"deg)",o=-(t-t/n*e)+"ms";return{y1:12,y2:20,style:{transform:i,webkitTransform:i,animationDelay:o,webkitAnimationDelay:o}}}},bubbles:{dur:1e3,circles:9,fn:function(t,e,n){var i=-(t-t/n*e)+"ms";return{r:5,style:{top:9*Math.sin(2*Math.PI*e/n)+"px",left:9*Math.cos(2*Math.PI*e/n)+"px",animationDelay:i,webkitAnimationDelay:i}}}},circles:{dur:1e3,circles:8,fn:function(t,e,n){var i=-(t-t/n*e)+"ms";return{r:5,style:{top:9*Math.sin(2*Math.PI*e/n)+"px",left:9*Math.cos(2*Math.PI*e/n)+"px",animationDelay:i,webkitAnimationDelay:i}}}},crescent:{dur:750,circles:1,fn:function(){return{r:26,style:{}}}},dots:{dur:750,circles:3,fn:function(t,e){var n=-110*e+"ms";return{r:6,style:{left:9-9*e+"px",animationDelay:n,webkitAnimationDelay:n}}}}},ss=function(){function t(t,e,n,i,o){this._viewCtrl=t,this._config=e,this._elementRef=n,this.dismissTimeout=void 0,o.setElementClass(n.nativeElement,"toast-"+e.get("mode"),!0),this.d=i.data,this.d.cssClass&&this.d.cssClass.split(" ").forEach(function(t){""!==t.trim()&&o.setElementClass(n.nativeElement,t,!0)}),this.id=++ls,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 e=this._elementRef.nativeElement.querySelector("button");e&&e.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}(),ls=-1,as=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),us=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return as(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=t.querySelector(".toast-wrapper"),n=new wn(this.plt,e);if(this.enteringView.data&&this.enteringView.data.position===_s)n.fromTo("translateY","-100%","10px");else if(this.enteringView.data&&this.enteringView.data.position===vs){var i=Math.floor(t.clientHeight/2-e.clientHeight/2);e.style.top=i+"px",n.fromTo("opacity",.01,1)}else n.fromTo("translateY","100%","-10px");this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(n)},e}(xn),cs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return as(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement.querySelector(".toast-wrapper"),e=new wn(this.plt,t);this.leavingView.data&&this.leavingView.data.position===_s?e.fromTo("translateY","10px","-100%"):this.leavingView.data&&this.leavingView.data.position===vs?e.fromTo("opacity",.99,0):e.fromTo("translateY","-10px","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(300).add(e)},e}(xn),ps=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return as(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=t.querySelector(".toast-wrapper"),n=new wn(this.plt,e);if(this.enteringView.data&&this.enteringView.data.position===_s)n.fromTo("translateY","-100%","0%");else if(this.enteringView.data&&this.enteringView.data.position===vs){var i=Math.floor(t.clientHeight/2-e.clientHeight/2);e.style.top=i+"px",n.fromTo("opacity",.01,1)}else n.fromTo("translateY","100%","0%");this.easing("cubic-bezier(.36,.66,.04,1)").duration(400).add(n)},e}(xn),hs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return as(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement.querySelector(".toast-wrapper"),e=new wn(this.plt,t);this.leavingView.data&&this.leavingView.data.position===_s?e.fromTo("translateY","0%","-100%"):this.leavingView.data&&this.leavingView.data.position===vs?e.fromTo("opacity",.99,0):e.fromTo("translateY","0%","100%"),this.easing("cubic-bezier(.36,.66,.04,1)").duration(450).add(e)},e}(xn),ds=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return as(e,t),e.prototype.init=function(){var t=this.enteringView.pageRef().nativeElement,e=t.querySelector(".toast-wrapper"),n=new wn(this.plt,e);if(this.enteringView.data&&this.enteringView.data.position===_s)n.fromTo("opacity",.01,1),n.fromTo("scale",1.3,1);else if(this.enteringView.data&&this.enteringView.data.position===vs){var i=Math.floor(t.clientHeight/2-e.clientHeight/2);e.style.top=i+"px",n.fromTo("opacity",.01,1),n.fromTo("scale",1.3,1)}else n.fromTo("opacity",.01,1),n.fromTo("scale",1.3,1);this.easing("cubic-bezier(0,0,0.05,1)").duration(200).add(n)},e}(xn),fs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return as(e,t),e.prototype.init=function(){var t=this.leavingView.pageRef().nativeElement.querySelector(".toast-wrapper"),e=new wn(this.plt,t);e.fromTo("opacity",.99,0),e.fromTo("scale",1,1.3);this.easing("ease-out").duration(150).add(e)},e}(xn),_s="top",vs="middle",gs=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ms=function(t){function e(e,n,i){void 0===n&&(n={});var o=this;return n.dismissOnPageChange=!!c(n.dismissOnPageChange)&&!!n.dismissOnPageChange,o=t.call(this,ss,n,null)||this,o._app=e,n.position&&o.isValidPosition(n.position)||(n.position=ws),o.isOverlay=!0,i.setTransition("toast-slide-in",us),i.setTransition("toast-slide-out",cs),i.setTransition("toast-md-slide-in",ps),i.setTransition("toast-md-slide-out",hs),i.setTransition("toast-wp-slide-out",fs),i.setTransition("toast-wp-slide-in",ds),o}return gs(e,t),e.prototype.getTransitionName=function(t){return this._nav&&this._nav.config.get("toast"+("back"===t?"Leave":"Enter"))},e.prototype.isValidPosition=function(t){return t===ys||t===bs||t===ws},e.prototype.setMessage=function(t){return this.data.message=t,this},e.prototype.setDuration=function(t){return this.data.duration=t,this},e.prototype.setPosition=function(t){return this.data.position=t,this},e.prototype.setCssClass=function(t){return this.data.cssClass=t,this},e.prototype.setShowCloseButton=function(t){return this.data.showCloseButton=t,this},e.prototype.present=function(t){return void 0===t&&(t={}),t.disableApp=!1,t.keyboardClose=!1,this._app.present(this,t,4)},e.prototype.dismissAll=function(){this._nav&&this._nav.popAll()},e}(rn),ys="top",bs="middle",ws="bottom",Ss=function(){function t(t,e){this._app=t,this.config=e}return t.prototype.create=function(t){return void 0===t&&(t={}),new ms(this._app,t,this.config)},t}();n(63),this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}();!function(t){t[t.NoChanges=1]="NoChanges",t[t.ChangeDetection=2]="ChangeDetection",t[t.DomWrite=3]="DomWrite"}(dr||(dr={}));var Cs=function(){function t(t,e,n){this.app=t,this.dom=n,this._queue=[],this._active=[],this.activatedDelay=Ts,this.clearDelay=ks,this._css=e.get("activatedClass","activated")}return t.prototype.clickAction=function(t,e,n){if(!Ht(t,e)){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,e&&e.parentNode&&(this._active.push(e),e.classList.add(this._css))}},t.prototype.downAction=function(t,e,n){var i=this;Ht(t,e)||(this.unscheduleClear(),this.deactivate(!0),this._queue.push(e),this._activeDefer=this.dom.write(function(){i._activeDefer=null;for(var t,e=0;e<i._queue.length;e++)i._active.push(t=i._queue[e]),t.classList.add(i._css);i._queue.length=0},this.activatedDelay))},t.prototype.upAction=function(t,e,n){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 e=this;this.app.isEnabled()?this.deactivate(t):this.dom.write(function(){e.clearState(t)},600)},t.prototype.deactivate=function(t){this._clearDeferred(),this._queue.length=0;for(var e,n=0;n<this._active.length;n++)(e=this._active[n]).style[this.dom.plt.Css.transition]=t?"":"none",e.classList.remove(this._css);this._active.length=0},t.prototype._clearDeferred=function(){this._activeDefer&&(this._activeDefer(),this._activeDefer=null)},t}(),Ts=80,ks=80,Es=function(){function t(t,e,n){this.dom=n,this.highlight=new Cs(t,e,n)}return t.prototype.clickAction=function(t,e,n){this.highlight&&this.highlight.clickAction(t,e,n),this._clickAction(t,e,n)},t.prototype.downAction=function(t,e,n){this.highlight&&this.highlight.downAction(t,e,n),this._downAction(t,e,n)},t.prototype.upAction=function(t,e,n){this.highlight&&this.highlight.upAction(t,e,n),this._upAction(t,e,n)},t.prototype.clearState=function(t){this.highlight&&this.highlight.clearState(t)},t.prototype._downAction=function(t,e,n){if(!Ht(t,e))for(var i=e.childElementCount;i--;){var o=e.children[i];if(o.classList.contains("button-effect")){var r=e.getBoundingClientRect();o.$top=r.top,o.$left=r.left,o.$width=r.width,o.$height=r.height;break}}},t.prototype._upAction=function(t,e,n){if(!P(6,n,x(t)))for(var i=e.childElementCount;i--;){var o=e.children[i];if(o.classList.contains("button-effect")){this.startRippleEffect(o,e,n);break}}},t.prototype._clickAction=function(t,e,n){},t.prototype.startRippleEffect=function(t,e,n){if(n){var i=n.x-t.$left,o=n.y-t.$top,r=2*Math.max(Math.abs(t.$width-i),i),s=2*Math.max(Math.abs(t.$height-o),o),l=Math.min(Math.max(Math.hypot(r,s),64),240);e.hasAttribute("ion-item")&&(l=Math.min(l,140)),i-=l/2,o-=l/2,i=Math.round(i),o=Math.round(o),l=Math.round(l);var a=this.dom.plt.Css;t.style.opacity="",t.style[a.transform]="translate3d("+i+"px, "+o+"px, 0px) scale(0.001)",t.style[a.transition]="";var u=Math.sqrt(t.$width+t.$height),c=Math.max(1600*Math.sqrt(u/xs)+.5,260),p=Math.round(.7*c),h=Math.round(c-p),d="translate3d("+i+"px, "+o+"px, 0px) scale(1)",f="transform "+(c=Math.round(c))+"ms,opacity "+p+"ms "+h+"ms";this.dom.write(function(){t.style.width=t.style.height=l+"px",t.style.opacity="0",t.style[a.transform]=d,t.style[a.transition]=f},16)}},t}(),xs=300,Ps=function(){function t(t,e,n,i,o){this.plt=e,this.app=i,this.gestureCtrl=o,this.disableClick=0,this.events=new hi(e);var r=t.get("activator");"ripple"===r?this.activator=new Es(i,t,n):"highlight"===r&&(this.activator=new Cs(i,t,n)),this.usePolyfill=t.getBoolean("tapPolyfill"),console.debug("Using usePolyfill:",this.usePolyfill);var s=e.doc();this.events.listen(s,"click",this.click.bind(this),{passive:!1,capture:!0}),this.pointerEvents=this.events.pointerEvents({element:s,pointerDown:this.pointerStart.bind(this),pointerMove:this.pointerMove.bind(this),pointerUp:this.pointerEnd.bind(this),passive:!0}),this.pointerEvents.mouseWait=Ms}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=x(t),!0):(this.activatableEle=Wt(t.target),this.activatableEle?(this.startCoord=x(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,e){var n=this;if(this.dispatchClick&&(m(function(){return n.lastTouchEnd=Date.now()}),this.startCoord)){if(this.activator&&t.target!==this.plt.doc()){var i=Wt(t.target)||this.activatableEle;i&&this.activator.upAction(t,i,this.startCoord)}this.usePolyfill&&e===pi&&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(Ds,this.startCoord,x(t))},t.prototype.click=function(t){var e=this;if(this.shouldCancelClick(t))return t.preventDefault(),void t.stopPropagation();if(this.activator&&this.plt.doc()!==t.target){var n=Wt(t.target);n&&this.activator.clickAction(t,n,this.startCoord)}m(function(){return e.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 e=Date.now()-this.lastTouchEnd;e<100?console.debug("FAST click dispatched. Delay(ms):",e):console.warn("SLOW click dispatched. Delay(ms):",e,t),this.lastTouchEnd=null}else console.debug("Click dispatched. Unknown delay")},t.prototype.handleTapPolyfill=function(t){y(this.usePolyfill,"this code should not be used if tapPolyfill is disabled");var e=x(t);if(P(Ds,this.startCoord,e))console.debug("click from touch prevented by pointer moved");else if(this.disableClick=Date.now()+Ms,this.app.isScrolling())console.debug("click from touch prevented by scrolling "+Date.now());else{console.debug("create click from touch "+Date.now());var n=this.plt.doc().createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,this.plt.win(),1,0,0,e.x,e.y,!1,!1,!1,!1,0,null),n.isIonicTap=!0,t.target.dispatchEvent(n)}},t.prototype.isDisabledNativeClick=function(){return this.disableClick>Date.now()},t}(),Os=["A","BUTTON"],Is=["tappable","ion-button"],Ds=100,Ms=2500,As=window,Ls=document,Rs=["","webkit","Moz","MS","ms","o"],Bs=Ls.createElement("div"),zs="function",Ns=Math.round,js=Math.abs,Vs=Date.now,Fs=1,qs="ontouchstart"in window,Ys=void 0!==ae(window,"PointerEvent"),Hs=qs&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Ws=25,Xs=1,Gs=2,Us=4,$s=8,Zs=1,Ks=2,Qs=4,Js=8,tl=16,el=Ks|Qs,nl=Js|tl,il=el|nl,ol=["x","y"],rl=["clientX","clientY"];ce.prototype={handler:function(){},init:function(){this.evEl&&te(this.element,this.evEl,this.domHandler),this.evTarget&&te(this.target,this.evTarget,this.domHandler),this.evWin&&te(ue(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&ee(this.element,this.evEl,this.domHandler),this.evTarget&&ee(this.target,this.evTarget,this.domHandler),this.evWin&&ee(ue(this.element),this.evWin,this.domHandler)}};var sl={mousedown:Xs,mousemove:Gs,mouseup:Us},ll="mousedown",al="mousemove mouseup";Zt(ge,ce,{handler:function(t){var e=sl[t.type];e&Xs&&0===t.button&&(this.pressed=!0),e&Gs&&1!==t.which&&(e=Us),this.pressed&&this.allow&&(e&Us&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var ul={pointerdown:Xs,pointermove:Gs,pointerup:Us,pointercancel:$s,pointerout:$s},cl={2:"touch",3:"pen",4:"mouse",5:"kinect"},pl="pointerdown",hl="pointermove pointerup pointercancel";As.MSPointerEvent&&!As.PointerEvent&&(pl="MSPointerDown",hl="MSPointerMove MSPointerUp MSPointerCancel"),Zt(me,ce,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),o=ul[i],r=cl[t.pointerType]||t.pointerType,s="touch"==r,l=re(e,t.pointerId,"pointerId");o&Xs&&(0===t.button||s)?l<0&&(e.push(t),l=e.length-1):o&(Us|$s)&&(n=!0),l<0||(e[l]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),n&&e.splice(l,1))}});var dl={touchstart:Xs,touchmove:Gs,touchend:Us,touchcancel:$s},fl="touchstart",_l="touchstart touchmove touchend touchcancel";Zt(ye,ce,{handler:function(t){var e=dl[t.type];if(e===Xs&&(this.started=!0),this.started){var n=function(t,e){var n=se(t.touches),i=se(t.changedTouches);return e&(Us|$s)&&(n=le(n.concat(i),"identifier",!0)),[n,i]}.call(this,t,e);e&(Us|$s)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var vl={touchstart:Xs,touchmove:Gs,touchend:Us,touchcancel:$s},gl="touchstart touchmove touchend touchcancel";Zt(be,ce,{handler:function(t){var e=vl[t.type],n=function(t,e){var n=se(t.touches),i=this.targetIds;if(e&(Xs|Gs)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,s=se(t.changedTouches),l=[],a=this.target;if(r=n.filter(function(t){return ne(t.target,a)}),e===Xs)for(o=0;o<r.length;)i[r[o].identifier]=!0,o++;for(o=0;o<s.length;)i[s[o].identifier]&&l.push(s[o]),e&(Us|$s)&&delete i[s[o].identifier],o++;return l.length?[le(r.concat(l),"identifier",!0),l]:void 0}.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}),Zt(we,ce,{handler:function(t,e,n){var i="mouse"==n.pointerType;if("touch"==n.pointerType)this.mouse.allow=!1;else if(i&&!this.mouse.allow)return;e&(Us|$s)&&(this.mouse.allow=!0),this.callback(t,e,n)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ml=ae(Bs.style,"touchAction"),yl=void 0!==ml,bl="auto",wl="manipulation",Sl="none",Cl="pan-x",Tl="pan-y";Se.prototype={set:function(t){"compute"==t&&(t=this.compute()),yl&&this.manager.element.style&&(this.manager.element.style[ml]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return $t(this.manager.recognizers,function(e){Qt(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(ie(t,Sl))return Sl;var e=ie(t,Cl),n=ie(t,Tl);return e&&n?Sl:e||n?e?Cl:Tl:ie(t,wl)?wl:bl}(t.join(" "))},preventDefaults:function(t){if(!yl){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,o=ie(i,Sl),r=ie(i,Tl),s=ie(i,Cl);if(o){if(1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return}if(!s||!r)return o||r&&n&el||s&&n&nl?this.preventSrc(e):void 0}}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var kl=1,El=2,xl=4,Pl=8,Ol=Pl,Il=16;Ce.prototype={defaults:{},set:function(t){return Object.assign(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(Ut(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=Ee(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return Ut(t,"dropRecognizeWith",this)?this:(t=Ee(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(Ut(t,"requireFailure",this))return this;var e=this.requireFail;return t=Ee(t,this),-1===re(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(Ut(t,"dropRequireFailure",this))return this;t=Ee(t,this);var e=re(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(e,t)}var n=this,i=this.state;i<Pl&&e(n.options.event+Te(i)),e(n.options.event),t.additionalEvent&&e(t.additionalEvent),i>=Pl&&e(n.options.event+Te(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|kl)))return!1;t++}return!0},recognize:function(t){var e=Object.assign({},t);if(!Qt(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(Ol|Il|32)&&(this.state=kl),this.state=this.process(e),this.state&(El|xl|Pl|Il)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},Zt(xe,Ce,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(El|xl),o=this.attrTest(t);return i&&(n&$s||!o)?e|Il:i||o?n&Us?e|Pl:e&El?e|xl:El:32}}),Zt(Pe,xe,{defaults:{event:"pan",threshold:10,pointers:1,direction:il},getTouchAction:function(){var t=this.options.direction,e=[];return t&el&&e.push(Tl),t&nl&&e.push(Cl),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,o=t.direction,r=t.deltaX,s=t.deltaY;return o&e.direction||(e.direction&el?(o=0===r?Zs:r<0?Ks:Qs,n=r!=this.pX,i=Math.abs(t.deltaX)):(o=0===s?Zs:s<0?Js:tl,n=s!=this.pY,i=Math.abs(t.deltaY))),t.direction=o,n&&i>e.threshold&&o&e.direction},attrTest:function(t){return xe.prototype.attrTest.call(this,t)&&(this.state&El||!(this.state&El)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=ke(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),Zt(Oe,xe,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Sl]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&El)},emit:function(t){if(1!==t.scale){t.additionalEvent=this.options.event+(t.scale<1?"in":"out")}this._super.emit.call(this,t)}}),Zt(Ie,Ce,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[bl]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(Us|$s)&&!o)this.reset();else if(t.eventType&Xs)this.reset(),this._timer=Gt(function(){this.state=Ol,this.tryEmit()},e.time,this);else if(t.eventType&Us)return Ol;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Ol&&(t&&t.eventType&Us?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=Vs(),this.manager.emit(this.options.event,this._input)))}}),Zt(De,xe,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Sl]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&El)}}),Zt(Me,xe,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:el|nl,pointers:1},getTouchAction:function(){return Pe.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(el|nl)?e=t.overallVelocity:n&el?e=t.overallVelocityX:n&nl&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&js(e)>this.options.velocity&&t.eventType&Us},emit:function(t){var e=ke(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),Zt(Ae,Ce,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[wl]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&Xs&&0===this.count)return this.failTimeout();if(i&&o&&n){if(t.eventType!=Us)return this.failTimeout();var r=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||_e(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,s&&r?this.count+=1:this.count=1,this._input=t;if(0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=Gt(function(){this.state=Ol,this.tryEmit()},e.interval,this),El):Ol}return 32},failTimeout:function(){return this._timer=Gt(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Ol&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});var Dl={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[De,{enable:!1}],[Oe,{enable:!1},["rotate"]],[Me,{direction:el}],[Pe,{direction:el},["swipe"]],[Ae],[Ae,{event:"doubletap",taps:2},["tap"]],[Ie]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};Re.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 e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var n,i=this.recognizers,o=e.curRecognizer;(!o||o&&o.state&Ol)&&(o=e.curRecognizer=null);for(var r=0;r<i.length;)n=i[r],2===e.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(t),!o&&n.state&(El|xl|Pl)&&(o=e.curRecognizer=n),r++}},get:function(t){if(t instanceof Ce)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(Ut(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(Ut(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=re(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){var n=this.handlers;return $t(oe(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this},off:function(t,e){var n=this.handlers;return $t(oe(t),function(t){e?n[t]&&n[t].splice(re(n[t],e),1):delete n[t]}),this},emit:function(t,e){this.options.domEvents&&function(t,e){var n=Ls.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&Be(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},Object.assign(Le,{INPUT_START:Xs,INPUT_MOVE:Gs,INPUT_END:Us,INPUT_CANCEL:$s,STATE_POSSIBLE:kl,STATE_BEGAN:El,STATE_CHANGED:xl,STATE_ENDED:Pl,STATE_RECOGNIZED:Ol,STATE_CANCELLED:Il,STATE_FAILED:32,DIRECTION_NONE:Zs,DIRECTION_LEFT:Ks,DIRECTION_RIGHT:Qs,DIRECTION_UP:Js,DIRECTION_DOWN:tl,DIRECTION_HORIZONTAL:el,DIRECTION_VERTICAL:nl,DIRECTION_ALL:il,Manager:Re,Input:ce,TouchAction:Se,TouchInput:be,MouseInput:ge,PointerEventInput:me,TouchMouseInput:we,SingleTouchInput:ye,Recognizer:Ce,AttrRecognizer:xe,Tap:Ae,Pan:Pe,Swipe:Me,Pinch:Oe,Rotate:De,Press:Ie,on:te,off:ee,each:$t,inherit:Zt,bindFn:Kt,prefixed:ae}),As.Hammer=Le;var Ml=function(){function t(){this._channels=[]}return t.prototype.subscribe=function(t){for(var e=this,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];this._channels[t]||(this._channels[t]=[]),n.forEach(function(n){e._channels[t].push(n)})},t.prototype.unsubscribe=function(t,e){void 0===e&&(e=null);var n=this._channels[t];if(!n)return!1;if(!e)return delete this._channels[t],!0;var i=n.indexOf(e);return!(i<0)&&(n.splice(i,1),n.length||delete this._channels[t],!0)},t.prototype.publish=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=this._channels[t];if(!i)return null;var o=[];return i.forEach(function(t){o.push(t.apply(void 0,e))}),o},t}(),Al=(this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}}(),{core:{settings:{mode:"md",keyboardHeight:290}},mobile:{},phablet:{isMatch:function(t){var e=Math.min(t.width(),t.height()),n=Math.max(t.width(),t.height());return e>390&&e<520&&n>620&&n<800}},tablet:{isMatch:function(t){var e=Math.min(t.width(),t.height()),n=Math.max(t.width(),t.height());return e>460&&e<820&&n>780&&n<1400}},android:{superset:"mobile",subsets:["phablet","tablet"],settings:{activator:function(t){if(t.testNavigatorPlatform("linux")){var e=t.matchUserAgentVersion(/Chrome\/(\d+).(\d+)?/);if(e)return parseInt(e.major,10)<36||t.version().major<5?"none":"ripple";if(t.version().major<5)return"none"}return"ripple"},autoFocusAssist:"immediate",inputCloning:!0,scrollAssist:!0,hoverCSS:!1,keyboardHeight:300,mode:"md"},isMatch:function(t){return t.isPlatformMatch("android",["android","silk"],["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/Android (\d+).(\d+)?/)}},ios:{superset:"mobile",subsets:["ipad","iphone"],settings:{autoFocusAssist:"delay",hideCaretOnScroll:!0,hoverCSS:!1,inputBlurring:_t,inputCloning:_t,keyboardHeight:250,mode:"ios",statusbarPadding:ft,swipeBackEnabled:_t,tapPolyfill:gt,virtualScrollEventAssist:gt,disableScrollAssist:_t,scrollAssist:_t,keyboardResizes:function(t){var e=t.win();return!(!e.Ionic||!0!==e.Ionic.keyboardResizes)}},isMatch:function(t){return t.isPlatformMatch("ios",["iphone","ipad","ipod"],["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/OS (\d+)_(\d+)?/)}},ipad:{superset:"tablet",settings:{keyboardHeight:500},isMatch:function(t){return t.isPlatformMatch("ipad")}},iphone:{subsets:["phablet"],isMatch:function(t){return t.isPlatformMatch("iphone")}},windows:{superset:"mobile",subsets:["phablet","tablet"],settings:{mode:"wp",autoFocusAssist:"immediate",hoverCSS:!1},isMatch:function(t){return t.isPlatformMatch("windows",["windows phone"])},versionParser:function(t){return t.matchUserAgentVersion(/Windows Phone (\d+).(\d+)?/)}},cordova:{isEngine:!0,initialize:function(t){t.prepareReady=function(){t.windowLoad(function(e,n){n.addEventListener("deviceready",function(){n.addEventListener("backbutton",function(e){t.zone.run(function(){t.backButton.emit(e)})}),n.addEventListener("pause",function(e){t.zone.run(function(){t.pause.emit(e)})}),n.addEventListener("resume",function(e){t.zone.run(function(){t.resume.emit(e)})}),t.exitApp=function(){e.navigator.app.exitApp()},t.triggerReady("cordova")})})}},isMatch:function(t){return ft(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)}}}),Ll=new Qe.p("PLTCONFIG"),Rl={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"},Bl={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"},zl={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"},Nl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Je.__extends)(e,t),e.prototype.buildHammer=function(t){var e=new window.Hammer(t);for(var n in this.overrides)e.get(n).set(this.overrides[n]);return e},e}(Ke.g),jl=n(2),Vl=function(){function t(t,e,n,i,o){this.plt=n,this.elementRef=i,this.renderer=o,this._showing=!1,t._clickBlock=this;(this.isEnabled=e.getBoolean("clickBlock",!0))&&this._setElementClass("click-block-enabled",!0)}return t.prototype.activate=function(t,e,n){void 0===e&&(e=100),void 0===n&&(n=0),this.isEnabled&&(this.plt.cancelTimeout(this._tmr),t&&(this._start=Date.now(),this._minEnd=this._start+(n||0),this._activate(!0)),this._tmr=this.plt.timeout(this._activate.bind(this,!1),e))},t.prototype._activate=function(t){if(this._showing!==t){if(!t){var e=Date.now();if(e<this._minEnd)return void(this._tmr=this.plt.timeout(this._activate.bind(this,!1),this._minEnd-e))}this._setElementClass("click-block-active",t),this._showing=t}},t.prototype._setElementClass=function(t,e){this.renderer.setElementClass(this.elementRef.nativeElement,t,e)},t=Object(Je.__decorate)([Object(Je.__param)(0,Object(Qe.o)(Object(Qe.P)(function(){return zn})))],t)}(),Fl=function(){function t(){}return e=t,t.forRoot=function(t,n,i){return void 0===n&&(n=null),void 0===i&&(i=null),{ngModule:e,providers:[{provide:xi,useValue:t},{provide:nn,useValue:n},{provide:Un,useValue:i},{provide:jl.a,useValue:"/"},{provide:Ll,useFactory:Ne},{provide:yn,useFactory:I,deps:[Ke.b,Ll,Qe.w]},{provide:en,useFactory:b,deps:[nn,yn]},{provide:Qe.c,useFactory:je,deps:[en],multi:!0},{provide:Qe.c,useFactory:ze,deps:[yn,Kn],multi:!0},{provide:Qe.c,useFactory:Xt,deps:[en,yn,Kn,zn,oi],multi:!0},{provide:Qe.c,useFactory:q,deps:[en,Un,gr,Qe.w],multi:!0},{provide:Ke.f,useClass:Nl},{provide:Qe.a,useValue:t,multi:!0},Fi,Ji,zn,Kn,Ml,io,oi,To,so,$o,jl.e,_n,Or,_r,Mo,Hr,Ps,Ss,ki,{provide:gr,useFactory:F,deps:[_r,Qe.q]},{provide:jl.f,useFactory:Ve,deps:[jl.q,[new Qe.o(jl.a),new Qe.x],en]},{provide:qn,useFactory:R,deps:[zn,Un]},{provide:$n,useFactory:z,deps:[zn,qn,jl.e,gr,Qe.j]}]}},t;var e}(),ql=function(){function t(){}return e=t,t.forChild=function(t){return{ngModule:e,providers:[{provide:vr,useValue:t},{provide:Qe.a,useValue:t,multi:!0}]}},t;var e}(),Yl=function(){return function(){}}(),Hl=function(){return function(){this.root=Yl}}(),Wl=function(){return function(){}}(),Xl=function(){return function(){}}(),Gl=Qe.Z({encapsulation:2,styles:[],data:{}}),Ul=Qe.Z({encapsulation:2,styles:[],data:{}}),$l=Qe.X("ion-action-sheet",Ii,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-action-sheet",[["role","dialog"]],[[1,"aria-labelledby",0],[1,"aria-describedby",0]],[["body","keyup"]],function(t,e,n){var i=!0;return"body:keyup"===e&&(i=!1!==Qe._16(t,1).keyUp(n)&&i),i},function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.bdClick()&&i),i},null,null)),Qe._0(1,16384,null,0,to,[Qe.k,Qe.B],null,null),(t()(),Qe._2(2,0,null,null,10,"div",[["class","action-sheet-wrapper"]],null,null,null,null,null)),(t()(),Qe._2(3,0,null,null,9,"div",[["class","action-sheet-container"]],null,null,null,null,null)),(t()(),Qe._2(4,0,null,null,6,"div",[["class","action-sheet-group"]],null,null,null,null,null)),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"div",[["class","action-sheet-title"]],[[8,"id",0]],null,null,null,null)),(t()(),Qe._22(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,Qe._5(1,"",n.hdrId,"")),t(e,1,0,n.d.title)})})),Qe._0(6,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"div",[["class","action-sheet-sub-title"]],[[8,"id",0]],null,null,null,null)),(t()(),Qe._22(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,Qe._5(1,"",n.descId,"")),t(e,1,0,n.d.subTitle)})})),Qe._0(8,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,5,"button",[["class","disable-hover"],["ion-button","action-sheet-button"]],[[1,"icon-start",0]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.click(t.context.$implicit)&&i),i},Fe,Gl)),Qe._0(1,278528,null,0,jl.g,[Qe.r,Qe.s,Qe.k,Qe.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Qe._0(2,1097728,null,0,eo,[[8,"action-sheet-button"],en,Qe.k,Qe.B],null,null),(t()(),Qe.W(16777216,null,0,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-icon",[["class","action-sheet-icon"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Qe._0(1,147456,null,0,oo,[en,Qe.k,Qe.B],{name:[0,"name"]},null)],function(t,e){t(e,1,0,e.parent.context.$implicit.icon)},function(t,e){t(e,0,0,Qe._16(e,1)._hidden)})})),Qe._0(4,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),(t()(),Qe._22(5,0,["",""]))],function(t,e){t(e,1,0,"disable-hover",e.context.$implicit.cssClass),t(e,4,0,e.context.$implicit.icon)},function(t,e){t(e,0,0,e.context.$implicit.icon?"":null),t(e,5,0,e.context.$implicit.text)})})),Qe._0(10,802816,null,0,jl.h,[Qe.K,Qe.H,Qe.r],{ngForOf:[0,"ngForOf"]},null),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,6,"div",[["class","action-sheet-group action-sheet-group-cancel"]],null,null,null,null,null)),(t()(),Qe._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,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==o.click(o.cancelButton)&&i),i},Fe,Gl)),Qe._0(2,278528,null,0,jl.g,[Qe.r,Qe.s,Qe.k,Qe.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Qe._0(3,1097728,null,0,eo,[[8,"action-sheet-button"],en,Qe.k,Qe.B],null,null),(t()(),Qe.W(16777216,null,0,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-icon",[["class","action-sheet-icon"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Qe._0(1,147456,null,0,oo,[en,Qe.k,Qe.B],{name:[0,"name"]},null)],function(t,e){t(e,1,0,e.component.cancelButton.icon)},function(t,e){t(e,0,0,Qe._16(e,1)._hidden)})})),Qe._0(5,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),(t()(),Qe._22(6,0,["",""]))],function(t,e){var n=e.component;t(e,2,0,"action-sheet-cancel disable-hover",n.cancelButton.cssClass),t(e,5,0,n.cancelButton.icon)},function(t,e){var n=e.component;t(e,1,0,n.cancelButton.icon?"":null),t(e,6,0,n.cancelButton.text)})})),Qe._0(12,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,6,0,n.d.title),t(e,8,0,n.d.subTitle),t(e,10,0,n.d.buttons),t(e,12,0,n.cancelButton)},function(t,e){t(e,0,0,!e.component.d.enableBackdropDismiss)})},Ul)),Qe._0(1,180224,null,0,Ii,[rn,en,Qe.k,oi,on,Qe.B],null,null)],null,function(t,e){t(e,0,0,Qe._16(e,1).hdrId,Qe._16(e,1).descId)})},{},{},[]),Zl=Qe.Z({encapsulation:2,styles:[],data:{}}),Kl=Qe.X("ion-alert",qi,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-alert",[["role","dialog"]],[[1,"aria-labelledby",0],[1,"aria-describedby",0]],[["body","keyup"]],function(t,e,n){var i=!0;return"body:keyup"===e&&(i=!1!==Qe._16(t,1).keyUp(n)&&i),i},function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.bdClick()&&i),i},null,null)),Qe._0(1,16384,null,0,to,[Qe.k,Qe.B],null,null),(t()(),Qe._2(2,0,null,null,13,"div",[["class","alert-wrapper"]],null,null,null,null,null)),(t()(),Qe._2(3,0,null,null,4,"div",[["class","alert-head"]],null,null,null,null,null)),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,0,"h2",[["class","alert-title"]],[[8,"id",0],[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,Qe._5(1,"",n.hdrId,""),n.d.title)})})),Qe._0(5,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,0,"h3",[["class","alert-sub-title"]],[[8,"id",0],[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,Qe._5(1,"",n.subHdrId,""),n.d.subTitle)})})),Qe._0(7,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),(t()(),Qe._2(8,0,null,null,0,"div",[["class","alert-message"]],[[8,"id",0],[8,"innerHTML",1]],null,null,null,null)),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,7,"div",[],null,null,null,null,null)),Qe._0(1,16384,null,0,jl.m,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._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()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._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,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.rbClick(t.context.$implicit)&&i),i},Fe,Gl)),Qe._0(1,1097728,null,0,eo,[[8,"alert-radio-button"],en,Qe.k,Qe.B],null,null),(t()(),Qe._2(2,0,null,0,1,"div",[["class","alert-radio-icon"]],null,null,null,null,null)),(t()(),Qe._2(3,0,null,null,0,"div",[["class","alert-radio-inner"]],null,null,null,null,null)),(t()(),Qe._2(4,0,null,0,1,"div",[["class","alert-radio-label"]],null,null,null,null,null)),(t()(),Qe._22(5,null,["",""]))],null,function(t,e){t(e,0,0,e.context.$implicit.checked,e.context.$implicit.disabled,e.context.$implicit.id),t(e,5,0,e.context.$implicit.label)})})),Qe._0(2,802816,null,0,jl.h,[Qe.K,Qe.H,Qe.r],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.d.inputs)},function(t,e){var n=e.component;t(e,0,0,n.hdrId,n.activeId)})})),Qe._0(3,278528,null,0,jl.n,[Qe.K,Qe.H,jl.m],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,2,"div",[["class","alert-checkbox-group"]],null,null,null,null,null)),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._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,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.cbClick(t.context.$implicit)&&i),i},Fe,Gl)),Qe._0(1,1097728,null,0,eo,[[8,"alert-checkbox-button"],en,Qe.k,Qe.B],null,null),(t()(),Qe._2(2,0,null,0,1,"div",[["class","alert-checkbox-icon"]],null,null,null,null,null)),(t()(),Qe._2(3,0,null,null,0,"div",[["class","alert-checkbox-inner"]],null,null,null,null,null)),(t()(),Qe._2(4,0,null,0,1,"div",[["class","alert-checkbox-label"]],null,null,null,null,null)),(t()(),Qe._22(5,null,["",""]))],null,function(t,e){t(e,0,0,e.context.$implicit.checked,e.context.$implicit.id,e.context.$implicit.disabled),t(e,5,0,e.context.$implicit.label)})})),Qe._0(2,802816,null,0,jl.h,[Qe.K,Qe.H,Qe.r],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.d.inputs)},null)})),Qe._0(5,278528,null,0,jl.n,[Qe.K,Qe.H,jl.m],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,2,"div",[["class","alert-input-group"]],null,null,null,null,null)),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,6,"div",[["class","alert-input-wrapper"]],null,null,null,null,null)),(t()(),Qe._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,e,n){var i=!0;return"input"===e&&(i=!1!==Qe._16(t,2)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==Qe._16(t,2).onTouched()&&i),"compositionstart"===e&&(i=!1!==Qe._16(t,2)._compositionStart()&&i),"compositionend"===e&&(i=!1!==Qe._16(t,2)._compositionEnd(n.target.value)&&i),"ngModelChange"===e&&(i=!1!==(t.context.$implicit.value=n)&&i),i},null,null)),Qe._0(2,16384,null,0,no.b,[Qe.C,Qe.k,[2,no.a]],null,null),Qe._19(1024,null,no.e,function(t){return[t]},[no.b]),Qe._0(4,671744,null,0,no.h,[[8,null],[8,null],[8,null],[2,no.e]],{model:[0,"model"]},{update:"ngModelChange"}),Qe._19(2048,null,no.f,null,[no.h]),Qe._0(6,16384,null,0,no.g,[no.f],null,null)],function(t,e){t(e,4,0,e.context.$implicit.value)},function(t,e){t(e,1,1,[e.context.$implicit.placeholder,e.context.$implicit.type,e.context.$implicit.min,e.context.$implicit.max,e.context.$implicit.id,Qe._16(e,6).ngClassUntouched,Qe._16(e,6).ngClassTouched,Qe._16(e,6).ngClassPristine,Qe._16(e,6).ngClassDirty,Qe._16(e,6).ngClassValid,Qe._16(e,6).ngClassInvalid,Qe._16(e,6).ngClassPending])})})),Qe._0(2,802816,null,0,jl.h,[Qe.K,Qe.H,Qe.r],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.d.inputs)},null)})),Qe._0(7,16384,null,0,jl.o,[Qe.K,Qe.H,jl.m],null,null)],function(t,e){t(e,1,0,e.component.inputType),t(e,3,0,"radio"),t(e,5,0,"checkbox")},null)})),Qe._0(10,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),(t()(),Qe._2(11,0,null,null,4,"div",[["class","alert-button-group"]],null,null,null,null,null)),Qe._0(12,278528,null,0,jl.g,[Qe.r,Qe.s,Qe.k,Qe.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Qe._18(13,{"alert-button-group-vertical":0}),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,3,"button",[["ion-button","alert-button"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.btnClick(t.context.$implicit)&&i),i},Fe,Gl)),Qe._0(1,278528,null,0,jl.g,[Qe.r,Qe.s,Qe.k,Qe.B],{ngClass:[0,"ngClass"]},null),Qe._0(2,1097728,null,0,eo,[[8,"alert-button"],en,Qe.k,Qe.B],null,null),(t()(),Qe._22(3,0,["",""]))],function(t,e){t(e,1,0,e.context.$implicit.cssClass)},function(t,e){t(e,3,0,e.context.$implicit.text)})})),Qe._0(15,802816,null,0,jl.h,[Qe.K,Qe.H,Qe.r],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,5,0,n.d.title),t(e,7,0,n.d.subTitle),t(e,10,0,n.d.inputs.length),t(e,12,0,"alert-button-group",t(e,13,0,n.d.buttons.length>2)),t(e,15,0,n.d.buttons)},function(t,e){var n=e.component;t(e,0,0,!n.d.enableBackdropDismiss),t(e,8,0,Qe._5(1,"",n.msgId,""),n.d.message)})},Zl)),Qe._0(1,180224,null,0,qi,[rn,Qe.k,en,oi,on,Qe.B,yn],null,null)],null,function(t,e){t(e,0,0,Qe._16(e,1).hdrId,Qe._16(e,1).descId)})},{},{},[]),Ql=Qe.Z({encapsulation:2,styles:[],data:{}}),Jl=Qe.X("ion-app",Pi,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-app",[],null,null,null,function(t){return Qe._23(0,[Qe._20(402653184,1,{_viewport:0}),Qe._20(402653184,2,{_modalPortal:0}),Qe._20(402653184,3,{_overlayPortal:0}),Qe._20(402653184,4,{_loadingPortal:0}),Qe._20(402653184,5,{_toastPortal:0}),(t()(),Qe._2(5,16777216,[[1,3],["viewport",1]],null,0,"div",[["app-viewport",""]],null,null,null,null,null)),(t()(),Qe._2(6,16777216,[["modalPortal",1]],null,1,"div",[["overlay-portal",""]],null,null,null,null,null)),Qe._0(7,147456,[[2,4]],0,Ei,[zn,en,yn,Qe.k,Qe.w,Qe.B,Qe.j,oi,ki,[2,$n],Qe.K,Kn,Qe.l],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),Qe._2(8,16777216,[["overlayPortal",1]],null,1,"div",[["overlay-portal",""]],null,null,null,null,null)),Qe._0(9,147456,[[3,4]],0,Ei,[zn,en,yn,Qe.k,Qe.w,Qe.B,Qe.j,oi,ki,[2,$n],Qe.K,Kn,Qe.l],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),Qe._2(10,16777216,[["loadingPortal",1]],null,1,"div",[["class","loading-portal"],["overlay-portal",""]],null,null,null,null,null)),Qe._0(11,147456,[[4,4]],0,Ei,[zn,en,yn,Qe.k,Qe.w,Qe.B,Qe.j,oi,ki,[2,$n],Qe.K,Kn,Qe.l],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),Qe._2(12,16777216,[["toastPortal",1]],null,1,"div",[["class","toast-portal"]],null,null,null,null,null)),Qe._0(13,147456,[[5,4]],0,Ei,[zn,en,yn,Qe.k,Qe.w,Qe.B,Qe.j,oi,ki,[2,$n],Qe.K,Kn,Qe.l],{_overlayPortal:[0,"_overlayPortal"]},null),(t()(),Qe._2(14,0,null,null,1,"div",[["class","click-block"]],null,null,null,null,null)),Qe._0(15,16384,null,0,Vl,[zn,en,yn,Qe.k,Qe.B],null,null)],function(t,e){t(e,7,0,""),t(e,9,0,""),t(e,11,0,""),t(e,13,0,1e4)},null)},Ql)),Qe._0(1,114688,null,0,Pi,[xi,Qe.j,Qe.k,Qe.B,en,yn,zn],null,null)],function(t,e){t(e,1,0)},null)},{color:"color",mode:"mode"},{},[]),ta=Qe.Z({encapsulation:2,styles:[],data:{}}),ea=Qe.Z({encapsulation:2,styles:[],data:{}}),na=Qe.X("ion-loading",No,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-loading",[["role","dialog"]],null,[["body","keyup"]],function(t,e,n){var i=!0;return"body:keyup"===e&&(i=!1!==Qe._16(t,1).keyUp(n)&&i),i},function(t){return Qe._23(0,[(t()(),Qe._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,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.bdClick()&&i),i},null,null)),Qe._0(1,16384,null,0,to,[Qe.k,Qe.B],null,null),(t()(),Qe._2(2,0,null,null,4,"div",[["class","loading-wrapper"]],null,null,null,null,null)),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,2,"div",[["class","loading-spinner"]],null,null,null,null,null)),(t()(),Qe._2(1,0,null,null,1,"ion-spinner",[],[[2,"spinner-paused",null]],null,null,qe,ta)),Qe._0(2,114688,null,0,os,[en,Qe.k,Qe.B],{name:[0,"name"]},null)],function(t,e){t(e,2,0,e.component.d.spinner)},function(t,e){t(e,1,0,Qe._16(e,2)._paused)})})),Qe._0(4,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,0,"div",[["class","loading-content"]],[[8,"innerHTML",1]],null,null,null,null))],null,function(t,e){t(e,0,0,e.component.d.content)})})),Qe._0(6,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,4,0,n.showSpinner),t(e,6,0,n.d.content)},function(t,e){var n=e.component;t(e,0,0,!n.d.showBackdrop,!n.d.enableBackdropDismiss)})},ea)),Qe._0(1,245760,null,0,No,[rn,en,Qe.k,oi,on,Qe.B],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),ia=Qe.Z({encapsulation:2,styles:[],data:{}}),oa=Qe.X("ion-modal",yr,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-modal",[],null,[["body","keyup"]],function(t,e,n){var i=!0;return"body:keyup"===e&&(i=!1!==Qe._16(t,1)._keyUp(n)&&i),i},function(t){return Qe._23(0,[Qe._20(402653184,1,{_viewport:0}),(t()(),Qe._2(1,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[2,"backdrop-no-tappable",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component._bdClick()&&i),i},null,null)),Qe._0(2,16384,null,0,to,[Qe.k,Qe.B],null,null),(t()(),Qe._2(3,0,null,null,1,"div",[["class","modal-wrapper"]],null,null,null,null,null)),(t()(),Qe._2(4,16777216,[[1,3],["viewport",1]],null,0,"div",[["nav-viewport",""]],null,null,null,null,null))],null,function(t,e){t(e,1,0,!e.component._bdDismiss)})},ia)),Qe._0(1,180224,null,0,yr,[Qe.j,Qe.B,Qe.k,on,rn,oi,gr],null,null)],null,null)},{},{},[]),ra=Qe.Z({encapsulation:2,styles:[],data:{}}),sa=Qe.Z({encapsulation:2,styles:[],data:{}}),la=Qe.X("ion-picker-cmp",Eo,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-picker-cmp",[["role","dialog"]],null,[["body","keyup"]],function(t,e,n){var i=!0;return"body:keyup"===e&&(i=!1!==Qe._16(t,1)._keyUp(n)&&i),i},function(t){return Qe._23(0,[Qe._20(671088640,1,{_cols:1}),(t()(),Qe._22(-1,null,["\n    "])),(t()(),Qe._2(2,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.bdClick()&&i),i},null,null)),Qe._0(3,16384,null,0,to,[Qe.k,Qe.B],null,null),(t()(),Qe._22(-1,null,["\n    "])),(t()(),Qe._2(5,0,null,null,17,"div",[["class","picker-wrapper"]],null,null,null,null,null)),(t()(),Qe._22(-1,null,["\n      "])),(t()(),Qe._2(7,0,null,null,4,"div",[["class","picker-toolbar"]],null,null,null,null,null)),(t()(),Qe._22(-1,null,["\n        "])),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,7,"div",[["class","picker-toolbar-button"]],null,null,null,null,null)),Qe._0(1,278528,null,0,jl.g,[Qe.r,Qe.s,Qe.k,Qe.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),Qe._22(-1,null,["\n          "])),(t()(),Qe._2(3,0,null,null,3,"button",[["class","picker-button"],["clear",""],["ion-button",""]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.btnClick(t.context.$implicit)&&i),i},Fe,Gl)),Qe._0(4,278528,null,0,jl.g,[Qe.r,Qe.s,Qe.k,Qe.B],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Qe._0(5,1097728,null,0,eo,[[8,""],en,Qe.k,Qe.B],{clear:[0,"clear"]},null),(t()(),Qe._22(6,0,["\n            ","\n          "])),(t()(),Qe._22(-1,null,["\n        "]))],function(t,e){t(e,1,0,"picker-toolbar-button",e.context.$implicit.cssRole),t(e,4,0,"picker-button",e.context.$implicit.cssClass),t(e,5,0,"")},function(t,e){t(e,6,0,e.context.$implicit.text)})})),Qe._0(10,802816,null,0,jl.h,[Qe.K,Qe.H,Qe.r],{ngForOf:[0,"ngForOf"]},null),(t()(),Qe._22(-1,null,["\n      "])),(t()(),Qe._22(-1,null,["\n      "])),(t()(),Qe._2(13,0,null,null,8,"div",[["class","picker-columns"]],null,null,null,null,null)),(t()(),Qe._22(-1,null,["\n        "])),(t()(),Qe._2(15,0,null,null,0,"div",[["class","picker-above-highlight"]],null,null,null,null,null)),(t()(),Qe._22(-1,null,["\n        "])),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._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,e,n){var i=!0;return"ionChange"===e&&(i=!1!==t.component._colChange(n)&&i),i},Ye,ra)),Qe._0(1,4374528,[[1,4]],0,ko,[en,yn,Qe.k,Qe.w,To,yn,Kn],{col:[0,"col"]},{ionChange:"ionChange"})],function(t,e){t(e,1,0,e.context.$implicit)},function(t,e){t(e,0,0,Qe._16(e,1).col.columnWidth,"left"==Qe._16(e,1).col.align,"right"==Qe._16(e,1).col.align)})})),Qe._0(18,802816,null,0,jl.h,[Qe.K,Qe.H,Qe.r],{ngForOf:[0,"ngForOf"]},null),(t()(),Qe._22(-1,null,["\n        "])),(t()(),Qe._2(20,0,null,null,0,"div",[["class","picker-below-highlight"]],null,null,null,null,null)),(t()(),Qe._22(-1,null,["\n      "])),(t()(),Qe._22(-1,null,["\n    "])),(t()(),Qe._22(-1,null,["\n  "]))],function(t,e){var n=e.component;t(e,10,0,n.d.buttons),t(e,18,0,n.d.columns)},null)},sa)),Qe._0(1,180224,null,0,Eo,[rn,Qe.k,en,oi,on,Qe.B],null,null)],null,null)},{},{},[]),aa=Qe.Z({encapsulation:2,styles:[],data:{}}),ua=Qe.X("ion-popover",Ir,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-popover",[],null,[["body","keyup"]],function(t,e,n){var i=!0;return"body:keyup"===e&&(i=!1!==Qe._16(t,1)._keyUp(n)&&i),i},function(t){return Qe._23(0,[Qe._20(402653184,1,{_viewport:0}),(t()(),Qe._2(1,0,null,null,1,"ion-backdrop",[["disable-activated",""],["role","presentation"],["tappable",""]],[[8,"hidden",0]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component._bdClick()&&i),i},null,null)),Qe._0(2,16384,null,0,to,[Qe.k,Qe.B],null,null),(t()(),Qe._2(3,0,null,null,4,"div",[["class","popover-wrapper"]],null,null,null,null,null)),(t()(),Qe._2(4,0,null,null,0,"div",[["class","popover-arrow"]],null,null,null,null,null)),(t()(),Qe._2(5,0,null,null,2,"div",[["class","popover-content"]],null,null,null,null,null)),(t()(),Qe._2(6,0,null,null,1,"div",[["class","popover-viewport"]],null,null,null,null,null)),(t()(),Qe._2(7,16777216,[[1,3],["viewport",1]],null,0,"div",[["nav-viewport",""]],null,null,null,null,null))],null,function(t,e){t(e,1,0,!e.component.d.showBackdrop)})},aa)),Qe._0(1,180224,null,0,Ir,[Qe.j,Qe.k,Qe.B,en,on,rn,oi,gr],null,null)],null,null)},{},{},[]),ca=Qe.Z({encapsulation:2,styles:[],data:{}}),pa=Qe.Z({encapsulation:2,styles:[],data:{}}),ha=Qe.Z({encapsulation:2,styles:[],data:{}}),da=Qe.Z({encapsulation:2,styles:[],data:{}}),fa=Qe.X("ng-component",Ur,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ng-component",[],null,null,null,function(t){return Qe._23(0,[(t()(),Qe._22(-1,null,["\n    "])),(t()(),Qe._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,e,n){var i=!0;return"ngModelChange"===e&&(i=!1!==(t.component.value=n)&&i),i},null,null)),Qe._0(2,1064960,null,1,Wr,[Qe.B,Qe.k,Qe.h],null,null),Qe._20(335544320,1,{_header:0}),Qe._19(1024,null,no.e,function(t){return[t]},[Wr]),Qe._0(5,671744,null,0,no.h,[[8,null],[8,null],[8,null],[2,no.e]],{model:[0,"model"]},{update:"ngModelChange"}),Qe._19(2048,null,no.f,null,[no.h]),Qe._0(7,16384,null,0,no.g,[no.f],null,null),Qe._0(8,16384,null,0,Bo,[en,Qe.k,Qe.B,yn,oi,Kn],null,null),(t()(),Qe._22(-1,null,["\n      "])),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,13,"ion-item",[["class","item item-block"]],null,null,null,We,pa)),Qe._0(1,1097728,null,3,Co,[io,en,Qe.k,Qe.B,[2,So]],null,null),Qe._20(335544320,2,{contentLabel:0}),Qe._20(603979776,3,{_buttons:1}),Qe._20(603979776,4,{_icons:1}),Qe._0(5,16384,null,0,Ao,[],null,null),(t()(),Qe._22(-1,2,["\n        "])),(t()(),Qe._2(7,0,null,1,2,"ion-label",[],null,null,null,null,null)),Qe._0(8,16384,[[2,4]],0,ro,[en,Qe.k,Qe.B,[8,null],[8,null],[8,null],[8,null]],null,null),(t()(),Qe._22(9,null,["",""])),(t()(),Qe._22(-1,2,["\n        "])),(t()(),Qe._2(11,0,null,4,1,"ion-radio",[],[[2,"radio-disabled",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==Qe._16(t,12)._click(n)&&i),i},Xe,ha)),Qe._0(12,245760,null,0,Gr,[io,en,Qe.k,Qe.B,[2,Co],[2,Wr]],{value:[0,"value"],checked:[1,"checked"],disabled:[2,"disabled"]},null),(t()(),Qe._22(-1,2,["\n      "]))],function(t,e){t(e,12,0,e.context.$implicit.value,e.context.$implicit.checked,e.context.$implicit.disabled)},function(t,e){t(e,9,0,e.context.$implicit.text),t(e,11,0,Qe._16(e,12)._disabled)})})),Qe._0(11,802816,null,0,jl.h,[Qe.K,Qe.H,Qe.r],{ngForOf:[0,"ngForOf"]},null),(t()(),Qe._22(-1,null,["\n    "])),(t()(),Qe._22(-1,null,["\n  "]))],function(t,e){var n=e.component;t(e,5,0,n.value),t(e,11,0,n.options)},function(t,e){t(e,1,0,Qe._16(e,7).ngClassUntouched,Qe._16(e,7).ngClassTouched,Qe._16(e,7).ngClassPristine,Qe._16(e,7).ngClassDirty,Qe._16(e,7).ngClassValid,Qe._16(e,7).ngClassInvalid,Qe._16(e,7).ngClassPending)})},da)),Qe._0(1,114688,null,0,Ur,[on,rn],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),_a=Qe.Z({encapsulation:2,styles:[],data:{}}),va=Qe.X("ion-toast",ss,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ion-toast",[["role","dialog"]],[[1,"aria-labelledby",0],[1,"aria-describedby",0]],null,null,function(t){return Qe._23(0,[(t()(),Qe._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()(),Qe._22(-1,null,[" "])),(t()(),Qe._2(2,0,null,null,7,"div",[["class","toast-container"]],null,null,null,null,null)),(t()(),Qe._22(-1,null,[" "])),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"div",[["class","toast-message"]],[[8,"id",0]],null,null,null,null)),(t()(),Qe._22(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,Qe._5(1,"",n.hdrId,"")),t(e,1,0,n.d.message)})})),Qe._0(5,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),(t()(),Qe._22(-1,null,[" "])),(t()(),Qe.W(16777216,null,null,1,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,2,"button",[["class","toast-button"],["clear",""],["ion-button",""]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.cbClick()&&i),i},Fe,Gl)),Qe._0(1,1097728,null,0,eo,[[8,""],en,Qe.k,Qe.B],{clear:[0,"clear"]},null),(t()(),Qe._22(2,0,[" "," "]))],function(t,e){t(e,1,0,"")},function(t,e){t(e,2,0,e.component.d.closeButtonText||"Close")})})),Qe._0(8,16384,null,0,jl.i,[Qe.K,Qe.H],{ngIf:[0,"ngIf"]},null),(t()(),Qe._22(-1,null,[" "])),(t()(),Qe._22(-1,null,[" "]))],function(t,e){var n=e.component;t(e,5,0,n.d.message),t(e,8,0,n.d.showCloseButton)},function(t,e){var n=e.component;t(e,0,0,"bottom"===n.d.position,"middle"===n.d.position,"top"===n.d.position)})},_a)),Qe._0(1,4243456,null,0,ss,[rn,en,Qe.k,on,Qe.B],null,null)],null,function(t,e){t(e,0,0,Qe._16(e,1).hdrId,Qe._16(e,1).descId)})},{},{},[]),ga=Qe.Z({encapsulation:2,styles:[],data:{}}),ma=Qe.Z({encapsulation:2,styles:[],data:{}}),ya=Qe.Z({encapsulation:2,styles:[],data:{}}),ba=Qe.X("ng-component",Yl,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ng-component",[],null,null,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,6,"ion-slides",[["loop","true"],["style","background-color: black"]],null,null,null,Ue,ma)),Qe._0(1,1228800,null,0,es,[en,yn,Qe.w,[2,rn],Qe.k,Qe.B],{loop:[0,"loop"]},null),(t()(),Qe._22(-1,0,["\n  "])),(t()(),Qe.W(16777216,null,0,2,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,4,"ion-slide",[],null,null,null,Ge,ga)),Qe._0(1,180224,null,0,is,[Qe.k,Qe.B,es],null,null),(t()(),Qe._22(-1,0,["\n    "])),(t()(),Qe._2(3,0,null,0,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),Qe._22(-1,0,["\n  "]))],null,function(t,e){t(e,3,0,Qe._5(1,"./assets/slide",e.context.$implicit,".jpeg"))})})),Qe._0(4,802816,null,0,jl.h,[Qe.K,Qe.H,Qe.r],{ngForOf:[0,"ngForOf"]},null),Qe._17(5,5),(t()(),Qe._22(-1,0,["\n"])),(t()(),Qe._22(-1,null,["\n"]))],function(t,e){t(e,1,0,"true"),t(e,4,0,t(e,5,0,1,2,3,4,5))},null)},ya)),Qe._0(1,49152,null,0,Yl,[],null,null)],null,null)},{},{},[]),wa=Qe.Z({encapsulation:2,styles:[],data:{}}),Sa=Qe.Z({encapsulation:2,styles:[],data:{}}),Ca=Qe.X("ng-component",Hl,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,1,"ng-component",[],null,null,null,function(t){return Qe._23(0,[(t()(),Qe._2(0,0,null,null,2,"ion-nav",[],null,null,null,$e,wa)),Qe._19(6144,null,Zo,null,[Ko]),Qe._0(2,4374528,null,0,Ko,[[2,rn],[2,li],zn,en,yn,Qe.k,Qe.w,Qe.B,Qe.j,oi,ki,[2,$n],Kn,Qe.l],{root:[0,"root"]},null)],function(t,e){t(e,2,0,e.component.root)},null)},Sa)),Qe._0(1,49152,null,0,Hl,[],null,null)],null,null)},{},{},[]),Ta=Qe.Y(Xl,[Pi],function(t){return Qe._13([Qe._14(512,Qe.j,Qe.U,[[8,[$l,Kl,Jl,na,oa,la,ua,fa,va,ba,Ca]],[3,Qe.j],Qe.u]),Qe._14(5120,Qe.t,Qe._12,[[3,Qe.t]]),Qe._14(4608,jl.k,jl.j,[Qe.t]),Qe._14(5120,Qe.b,Qe._3,[]),Qe._14(5120,Qe.r,Qe._9,[]),Qe._14(5120,Qe.s,Qe._10,[]),Qe._14(4608,Ke.c,Ke.t,[jl.c]),Qe._14(6144,Qe.F,null,[Ke.c]),Qe._14(4608,Ke.f,Nl,[]),Qe._14(5120,Ke.d,function(t,e,n,i){return[new Ke.l(t),new Ke.p(e),new Ke.o(n,i)]},[jl.c,jl.c,jl.c,Ke.f]),Qe._14(4608,Ke.e,Ke.e,[Ke.d,Qe.w]),Qe._14(135680,Ke.n,Ke.n,[jl.c]),Qe._14(4608,Ke.m,Ke.m,[Ke.e,Ke.n]),Qe._14(6144,Qe.D,null,[Ke.m]),Qe._14(6144,Ke.q,null,[Ke.n]),Qe._14(4608,Qe.I,Qe.I,[Qe.w]),Qe._14(4608,Ke.h,Ke.h,[jl.c]),Qe._14(4608,Ke.j,Ke.j,[jl.c]),Qe._14(4608,no.k,no.k,[]),Qe._14(4608,no.c,no.c,[]),Qe._14(4608,Fi,Fi,[zn,en]),Qe._14(4608,Ji,Ji,[zn,en]),Qe._14(4608,Ml,Ml,[]),Qe._14(4608,io,io,[]),Qe._14(4608,To,To,[yn]),Qe._14(4608,so,so,[en,yn,Qe.w,Kn]),Qe._14(4608,$o,$o,[zn,en]),Qe._14(5120,jl.f,Ve,[jl.q,[2,jl.a],en]),Qe._14(4608,jl.e,jl.e,[jl.f]),Qe._14(5120,qn,R,[zn,Un]),Qe._14(5120,$n,z,[zn,qn,jl.e,gr,Qe.j]),Qe._14(4608,Or,Or,[zn,en,$n]),Qe._14(4608,Mo,Mo,[zn,en]),Qe._14(4608,Hr,Hr,[zn,en,$n]),Qe._14(4608,Ps,Ps,[en,yn,Kn,zn,oi]),Qe._14(4608,Ss,Ss,[zn,en]),Qe._14(4608,ki,ki,[yn,en]),Qe._14(512,jl.b,jl.b,[]),Qe._14(1024,Qe.l,Ke.r,[]),Qe._14(256,nn,{},[]),Qe._14(1024,Ll,Ne,[]),Qe._14(1024,yn,I,[Ke.b,Ll,Qe.w]),Qe._14(1024,en,b,[nn,yn]),Qe._14(512,Kn,Kn,[yn]),Qe._14(512,_n,_n,[]),Qe._14(512,zn,zn,[en,yn,[2,_n]]),Qe._14(512,oi,oi,[zn]),Qe._14(256,Un,{links:[]},[]),Qe._14(512,Qe.i,Qe.i,[]),Qe._14(512,_r,_r,[Qe.i]),Qe._14(1024,gr,F,[_r,Qe.q]),Qe._14(1024,Qe.c,function(t,e,n,i,o,r,s,l,a,u,c,p,h,d){return[Ke.s(t,e),je(n),ze(i,o),Xt(r,s,l,a,u),q(c,p,h,d)]},[[2,Ke.i],[2,Qe.v],en,yn,Kn,en,yn,Kn,zn,oi,en,Un,gr,Qe.w]),Qe._14(512,Qe.d,Qe.d,[[2,Qe.c]]),Qe._14(131584,Qe._1,Qe._1,[Qe.w,Qe.V,Qe.q,Qe.l,Qe.j,Qe.d]),Qe._14(2048,Qe.f,null,[Qe._1]),Qe._14(512,Qe.e,Qe.e,[Qe.f]),Qe._14(512,Ke.a,Ke.a,[[3,Ke.a]]),Qe._14(512,no.j,no.j,[]),Qe._14(512,no.d,no.d,[]),Qe._14(512,no.i,no.i,[]),Qe._14(512,Fl,Fl,[]),Qe._14(512,ql,ql,[]),Qe._14(512,Wl,Wl,[]),Qe._14(512,Xl,Xl,[]),Qe._14(256,vr,Yl,[]),Qe._14(256,xi,Hl,[]),Qe._14(256,jl.a,"/",[])])});Object(Qe.O)(),Object(Ke.k)().bootstrapModuleFactory(Ta)},50:function(t,e){},51:function(t,e){},60:function(t,e){},61:function(t,e){},62:function(t,e){},63:function(t,e){}},[27]);