text: /*! Built with http://stenciljs.com */
  var __awaiter=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function l(e){try{s(o.next(e))}catch(e){i(e)}}function c(e){try{s(o.throw(e))}catch(e){i(e)}}function s(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(l,c)}s((o=o.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){var n,o,r,i,l={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return l.label++,{value:i[1],done:!1};case 5:l.label++,o=i[1],i=[0];continue;case 7:i=l.ops.pop(),l.trys.pop();continue;default:if(!(r=(r=l.trys).length>0&&r[r.length-1])&&(6===i[0]||2===i[0])){l=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){l.label=i[1];break}if(6===i[0]&&l.label<r[1]){l.label=r[1],r=i;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(i);break}r[2]&&l.ops.pop(),l.trys.pop();continue}i=t.call(e,l)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}};App.loadBundle("2fd3nb55",["exports","./chunk-2e99a289.js","./chunk-4e77d4c5.js"],function(e,t,n){var o=window.App.h,r=function(){function e(){this.cTop=-1,this.cBottom=-1,this.dirty=!1,this.fullscreen=!1,this.scrollEnabled=!0,this.scrollEvents=!1}return e.prototype.onNavChanged=function(){this.resize()},e.prototype.componentDidLoad=function(){this.resize()},e.prototype.componentDidUnload=function(){this.scrollEl=void 0},e.prototype.getScrollElement=function(){return this.scrollEl},e.prototype.resize=function(){var e=this;this.scrollEl&&(this.fullscreen?this.queue.read(function(){e.queue.read(e.readDimensions.bind(e)),e.queue.write(e.writeDimensions.bind(e))}):(this.cTop=this.cBottom=-1,this.queue.write(function(){return e.scrollEl&&e.scrollEl.removeAttribute("style")})))},e.prototype.readDimensions=function(){var e=function(e){var t=e.closest("ion-tabs");if(t)return t;var n=e.closest("ion-app,ion-page,.ion-page,page-inner");return n||function(e){return e.parentElement?e.parentElement:e.parentNode&&e.parentNode.host?e.parentNode.host:null}(e)}(this.el),t=Math.max(this.el.offsetTop,0),n=Math.max(e.offsetHeight-t-this.el.offsetHeight,0);this.dirty=t!==this.cTop||n!==this.cBottom,this.cTop=t,this.cBottom=n},e.prototype.writeDimensions=function(){if(this.dirty&&this.scrollEl){var e=this.scrollEl.style;e.paddingTop=this.cTop+"px",e.paddingBottom=this.cBottom+"px",e.top=-this.cTop+"px",e.bottom=-this.cBottom+"px",this.dirty=!1}},e.prototype.hostData=function(){return{class:t.createColorClasses(this.color)}},e.prototype.render=function(){var e=this;this.resize();var t=o("div",{class:"scroll-inner"},o("slot",null));return[this.scrollEnabled?o("ion-scroll",{ref:function(t){return e.scrollEl=t},mode:this.mode,scrollEvents:this.scrollEvents,forceOverscroll:this.forceOverscroll},t):t,o("slot",{name:"fixed"})]},Object.defineProperty(e,"is",{get:function(){return"ion-content"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{color:{type:String,attr:"color"},config:{context:"config"},el:{elementRef:!0},forceOverscroll:{type:Boolean,attr:"force-overscroll"},fullscreen:{type:Boolean,attr:"fullscreen"},getScrollElement:{method:!0},queue:{context:"queue"},scrollEnabled:{type:Boolean,attr:"scroll-enabled"},scrollEvents:{type:Boolean,attr:"scroll-events"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"listeners",{get:function(){return[{name:"body:ionNavDidChange",method:"onNavChanged"}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return":host{--ion-color-base:var(--ion-background-color, #fff);--ion-color-contrast:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;display:block;position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%;height:100%;margin:0!important;padding:0!important;background-color:var(--ion-color-base);color:var(--ion-color-contrast);contain:layout size style;font-family:var(--ion-font-family,inherit)}:host(.ion-color-outer),:host(.outer-content){--ion-color-base:var(--ion-background-color-step-50, #f2f2f2)}.scroll-inner{padding:var(--padding-top) var(--padding-end) calc(var(--padding-bottom) + var(--keyboard-offset)) var(--padding-start);-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;min-height:100%;-webkit-margin-collapse:discard}::slotted(hr){background-color:var(--ion-background-color-step-50,#f2f2f2)}"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"styleMode",{get:function(){return"md"},enumerable:!0,configurable:!0}),e}(),i=function(){function e(){this.itemStyles={},this.button=!1,this.detailIcon="ios-arrow-forward",this.disabled=!1,this.type="button"}return e.prototype.itemStyle=function(e){e.stopPropagation();for(var t=e.target.tagName,n=e.detail,o=Object.keys(e.detail),r={},i=this.itemStyles[t]||{},l=!1,c=0,s=o;c<s.length;c++){var a=s[c],u="item-"+a,p=n[a];p!==i[u]&&(l=!0),r[u]=p}l&&(this.itemStyles[t]=r,this.el.forceUpdate())},e.prototype.componentDidLoad=function(){for(var e=this.el.querySelectorAll("ion-button"),t=0;t<e.length;t++)e[t].size||(e[t].size="small")},e.prototype.isClickable=function(){return!!(this.href||this.el.onclick||this.button)},e.prototype.hostData=function(){var e,n={};for(var o in this.itemStyles)Object.assign(n,this.itemStyles[o]);return{tappable:this.isClickable(),class:Object.assign({},n,t.createColorClasses(this.color),(e={},e["item-lines-"+this.lines]=!!this.lines,e["item-disabled"]=this.disabled,e["in-list"]=t.hostContext("ion-list",this.el),e.item=!0,e))}},e.prototype.render=function(){var e=this,n=e.href,r=e.detail,i=e.mode,l=e.win,c=e.state,s=e.detailIcon,a=e.el,u=e.routerDirection,p=e.type,f=this.isClickable(),d=f?n?"a":"button":"div",h="button"===d?{type:p}:{href:n},b=null!=r?r:"ios"===i&&f;return o(d,Object.assign({},h,{class:"item-native",onClick:function(e){return t.openURL(l,n,e,u)}}),o("slot",{name:"start"}),o("div",{class:"item-inner"},o("div",{class:"input-wrapper"},o("slot",null)),o("slot",{name:"end"}),b&&o("ion-icon",{icon:s,class:"item-detail-icon"})),c&&o("div",{class:"item-state"}),f&&"md"===i&&o("ion-ripple-effect",{tapClick:!0,parent:a}))},Object.defineProperty(e,"is",{get:function(){return"ion-item"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{button:{type:Boolean,attr:"button"},color:{type:String,attr:"color"},detail:{type:Boolean,attr:"detail"},detailIcon:{type:String,attr:"detail-icon"},disabled:{type:Boolean,attr:"disabled"},el:{elementRef:!0},href:{type:String,attr:"href"},lines:{type:String,attr:"lines"},mode:{type:String,attr:"mode"},routerDirection:{type:String,attr:"router-direction"},state:{type:String,attr:"state"},type:{type:String,attr:"type"},win:{context:"window"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"listeners",{get:function(){return[{name:"ionStyle",method:"itemStyle"}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return":host{--min-height:44px;--background:var(--ion-color-base);--background-active:var(--ion-color-tint);--color:var(--ion-color-contrast);--detail-push-color:var(--ion-color-shade);--border-radius:0;--border-width:0;--border-style:solid;--border-color:var(--ion-color-shade);--inner-border-width:0;--padding-top:0;--padding-bottom:0;--padding-end:0;--padding-start:0;--inner-padding-top:0;--inner-padding-bottom:0;--inner-padding-start:0;--inner-padding-end:0;--box-shadow:none;--inner-box-shadow:none;--highlight-color-focus:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #10dc60);--highlight-color-invalid:var(--ion-color-danger, #f04141);--highlight-height:2px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;color:var(--ion-color-contrast);text-decoration:none;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.activated){--background:var(--background-active)}:host(.item-disabled){cursor:default;opacity:.3;pointer-events:none}.item-native{padding:var(--padding-top) var(--padding-end) var(--padding-bottom) var(--padding-start);border-radius:var(--border-radius);margin:0;text-align:initial;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:0;background-color:var(--background);color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;text-decoration:inherit;text-transform:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.item-state{left:0;right:0;bottom:0;position:absolute;height:var(--highlight-height)}.item-inner{margin:0;padding:var(--inner-padding-top) var(--inner-padding-end) var(--inner-padding-bottom) var(--inner-padding-start);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:inherit;-webkit-box-direction:inherit;-ms-flex-direction:inherit;flex-direction:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.input-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:inherit;-webkit-box-direction:inherit;-ms-flex-direction:inherit;flex-direction:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-input),:host([vertical-align-top]){-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}:host(.item-label-floating) .input-wrapper,:host(.item-label-stacked) .input-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}:host(.item-label-floating)::slotted(ion-select),:host(.item-label-stacked)::slotted(ion-select){-ms-flex-item-align:stretch;align-self:stretch;max-width:100%}:host(.item-textarea){-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}:host(.item-multiple-inputs) ::slotted(ion-select){position:relative}:host(.item-label-floating) ::slotted(ion-select),:host(.item-label-stacked) ::slotted(ion-select){max-width:100%}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}:host{--ion-color-base:var(--ion-item-background, transparent);--ion-color-contrast:var(--ion-item-text-color, var(--ion-text-color, #000));--ion-color-tint:var(--ion-item-background-color-active, #f1f1f1);--ion-color-shade:rgba(var(--ion-item-border-color-rgb, 0, 0, 0), 0.13);--transition:background-color 300ms cubic-bezier(.4, 0, .2, 1);--padding-start:16px;--inner-padding-end:8px;--padding-start:16px;font-family:var(--ion-font-family,inherit);font-size:16px;font-weight:400;text-transform:none}:host(.item-interactive){--border-width:0 0 1px 0}:host(.item-lines-full){--border-width:0 0 1px 0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0}.item-detail-icon{color:var(--detail-push-color);font-size:20px}::slotted(:not(.interactive)[slot=end]),::slotted(:not(.interactive)[slot=start]){margin:2px 8px 2px 0}::slotted(ion-icon[slot=end]),::slotted(ion-icon[slot=start]){margin-left:0;margin-top:3px;margin-bottom:2px}::slotted(ion-icon[slot=start])+.item-inner,::slotted(ion-icon[slot=start])+.item-interactive{margin-left:24px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin:8px 16px 8px 0}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin:8px}:host(.item-label-floating) ::slotted([slot=end]),:host(.item-label-stacked) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small-md){--padding-top:0;--padding-bottom:0;--padding-start:.6em;--padding-end:.6em;--height:25px;font-size:12px}::slotted(.button-small-md) ion-icon[slot=icon-only]{padding:0}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){width:80px;height:80px}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:0}:host(.item-label-floating) ::slotted(ion-input),:host(.item-label-floating) ::slotted(ion-textarea),:host(.item-label-stacked) ::slotted(ion-input),:host(.item-label-stacked) ::slotted(ion-textarea){--padding-top:8px;--padding-bottom:8px;--padding-start:0}:host(:not(.item-label)) ::slotted(ion-input),:host(:not(.item-label)) ::slotted(ion-textarea){--padding-start:0}"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"styleMode",{get:function(){return"md"},enumerable:!0,configurable:!0}),e}(),l=function(){function e(){this.autoHide=!0}return e.prototype.hostData=function(){return{class:{button:!0}}},e.prototype.render=function(){var e=this.config.get("menuIcon","menu");return o("ion-menu-toggle",{menu:this.menu,autoHide:this.autoHide},o("button",null,o("slot",null,o("ion-icon",{icon:e,mode:this.mode,color:this.color,lazy:!1}))))},Object.defineProperty(e,"is",{get:function(){return"ion-menu-button"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{autoHide:{type:Boolean,attr:"auto-hide"},color:{type:String,attr:"color"},config:{context:"config"},menu:{type:String,attr:"menu"},mode:{type:String,attr:"mode"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return":host{pointer-events:all;color:var(--ion-color-base);--ion-color-base:currentColor}button{margin:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:32px;border:0;outline:0;background:0 0;color:inherit;line-height:1;text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-font-kerning:none;font-kerning:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 8px}ion-icon{margin:0;padding:0;pointer-events:none;font-size:26px}"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"styleMode",{get:function(){return"md"},enumerable:!0,configurable:!0}),e}(),c=function(){function e(){this.visible=!1,this.autoHide=!0}return e.prototype.componentDidLoad=function(){this.updateVisibility()},e.prototype.onClick=function(){return __awaiter(this,void 0,void 0,function(){var e,t;return __generator(this,function(n){switch(n.label){case 0:return[4,s(this.doc)];case 1:return(e=n.sent())&&(t=e.get(this.menu))&&t.isActive()?[2,e.toggle(this.menu)]:[2,!1]}})})},e.prototype.updateVisibility=function(){return __awaiter(this,void 0,void 0,function(){var e,t;return __generator(this,function(n){switch(n.label){case 0:return[4,s(this.doc)];case 1:return(e=n.sent())&&(t=e.get(this.menu))&&t.isActive()?(this.visible=!0,[2]):(this.visible=!1,[2])}})})},e.prototype.hostData=function(){var e=this.autoHide&&!this.visible;return{"aria-hidden":e?"true":null,class:{"menu-toggle-hidden":e}}},e.prototype.render=function(){return o("slot",null)},Object.defineProperty(e,"is",{get:function(){return"ion-menu-toggle"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{autoHide:{type:Boolean,attr:"auto-hide"},doc:{context:"document"},menu:{type:String,attr:"menu"},visible:{state:!0}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"listeners",{get:function(){return[{name:"click",method:"onClick"},{name:"body:ionMenuChange",method:"updateVisibility"},{name:"body:ionSplitPaneVisible",method:"updateVisibility"}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return":host(.menu-toggle-hidden){display:none}"},enumerable:!0,configurable:!0}),e}();function s(e){var t=e.querySelector("ion-menu-controller");return t?t.componentOnReady():Promise.resolve(void 0)}var a=function(){function e(){this.lastClick=-1e4,this.parent="parent",this.tapClick=!1}return e.prototype.tapClickChanged=function(e){this.enableListener(this,"ionActivated",e,this.parent),this.enableListener(this,"touchstart",!e),this.enableListener(this,"mousedown",!e)},e.prototype.ionActivated=function(e){this.addRipple(e.detail.x,e.detail.y)},e.prototype.touchStart=function(e){this.lastClick=n.now(e);var t=e.touches[0];this.addRipple(t.clientX,t.clientY)},e.prototype.mouseDown=function(e){var t=n.now(e);this.lastClick<t-1e3&&this.addRipple(e.pageX,e.pageY)},e.prototype.componentDidLoad=function(){this.tapClickChanged(this.tapClick)},e.prototype.addRipple=function(e,t){var n,o,r,i=this;this.queue.read(function(){var l=i.el.getBoundingClientRect(),c=l.width,s=l.height;r=Math.min(2*Math.sqrt(c*c+s*s),f),n=e-l.left-r/2,o=t-l.top-r/2}),this.queue.write(function(){var e=i.doc.createElement("div");e.classList.add("ripple-effect");var t=e.style,l=Math.max(u*Math.sqrt(r),p);t.top=o+"px",t.left=n+"px",t.width=r+"px",t.height=r+"px",t.animationDuration=l+"ms",(i.el.shadowRoot||i.el).appendChild(e),setTimeout(function(){return e.remove()},l+50)})},e.prototype.render=function(){return null},Object.defineProperty(e,"is",{get:function(){return"ion-ripple-effect"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{addRipple:{method:!0},doc:{context:"document"},el:{elementRef:!0},enableListener:{context:"enableListener"},parent:{type:String,attr:"parent"},queue:{context:"queue"},tapClick:{type:Boolean,attr:"tap-click",watchCallbacks:["tapClickChanged"]}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"listeners",{get:function(){return[{name:"ionActivated",method:"ionActivated",disabled:!0},{name:"touchstart",method:"touchStart",disabled:!0,passive:!0},{name:"mousedown",method:"mouseDown",disabled:!0,passive:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation-name:rippleAnimation;animation-name:rippleAnimation;-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;will-change:transform,opacity;pointer-events:none}\@-webkit-keyframes rippleAnimation{0%{-webkit-transform:scale(.1);transform:scale(.1);opacity:.2}100%{-webkit-transform:scale(1);transform:scale(1);opacity:0}}\@keyframes rippleAnimation{0%{-webkit-transform:scale(.1);transform:scale(.1);opacity:.2}100%{-webkit-transform:scale(1);transform:scale(1);opacity:0}}"},enumerable:!0,configurable:!0}),e}(),u=35,p=260,f=550,d=function(){function e(){this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.scrollEvents=!1,this.detail={positions:[],scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTimeStamp:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,timeStamp:0,data:void 0,isScrolling:!0}}return e.prototype.componentWillLoad=function(){void 0===this.forceOverscroll&&(this.forceOverscroll="ios"===this.mode&&"ontouchstart"in this.win)},e.prototype.componentDidUnload=function(){this.watchDog&&clearInterval(this.watchDog)},e.prototype.onScroll=function(e){var t=this,n=Date.now(),o=!this.isScrolling;this.lastScroll=n,o&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,this.queue.read(function(n){t.queued=!1,t.detail.event=e,function(e,t,n,o){var r=t.scrollTop,i=t.scrollLeft,l=e.positions;o&&(e.startTimeStamp=n,e.startY=r,e.startX=i,l.length=0),e.timeStamp=n,e.currentY=e.scrollTop=r,e.currentX=e.scrollLeft=i,e.deltaY=r-e.startY,e.deltaX=i-e.startX,l.push(r,i,n);for(var c=n-100,s=l.length-1;s>0&&l[s]>c;)s-=3;if(s>3){var a=1/(l[s]-n),u=l[s-1]-i,p=l[s-2]-r;e.velocityX=u*a,e.velocityY=p*a}else e.velocityX=0,e.velocityY=0}(t.detail,t.el,n,o),t.ionScroll.emit(t.detail)}))},e.prototype.scrollToTop=function(e){return this.scrollToPoint(0,0,e)},e.prototype.scrollToBottom=function(e){var t=this.el?this.el.scrollHeight-this.el.clientHeight:0;return this.scrollToPoint(0,t,e)},e.prototype.scrollByPoint=function(e,t,n,o){return this.scrollToPoint(e+this.el.scrollLeft,t+this.el.scrollTop,n,o)},e.prototype.scrollToPoint=function(e,t,n,o){var r,i=this,l=new Promise(function(e){r=e}).then(function(){return o&&o()}),c=this,s=c.el;if(!s)return r(),l;if(n<32)return s.scrollTop=t,s.scrollLeft=e,r(),l;var a,u=s.scrollTop,p=s.scrollLeft,f=n/16+100,d=0,h=!1;function b(o){if(d++,!c.el||h||d>f)return c.isScrolling=!1,s.style.transform=s.style.webkitTransform="",void r();var i=Math.min(1,(o-a)/n),l=--i*i*i+1;u!==t&&(s.scrollTop=l*(t-u)+u),p!==e&&(s.scrollLeft=Math.floor(l*(e-p)+p)),l<1?c.queue.read(b):(h=!0,c.isScrolling=!1,s.style.transform=s.style.webkitTransform="",r())}return c.isScrolling=!0,this.queue.write(function(){i.queue.write(function(e){a=e,b(e)})}),l},e.prototype.onScrollStart=function(){var e=this;this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(function(){e.lastScroll<Date.now()-120&&e.onScrollEnd()},100)},e.prototype.onScrollEnd=function(){clearInterval(this.watchDog),this.watchDog=null,this.isScrolling=!1,this.ionScrollEnd.emit({isScrolling:!1})},e.prototype.hostData=function(){return{class:Object.assign({},t.createThemedClasses(this.mode,"scroll"),{overscroll:this.forceOverscroll})}},e.prototype.render=function(){return o("slot",null)},Object.defineProperty(e,"is",{get:function(){return"ion-scroll"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{config:{context:"config"},el:{elementRef:!0},forceOverscroll:{type:Boolean,attr:"force-overscroll",mutable:!0},mode:{type:String,attr:"mode"},queue:{context:"queue"},scrollByPoint:{method:!0},scrollEvents:{type:Boolean,attr:"scroll-events"},scrollToBottom:{method:!0},scrollToPoint:{method:!0},scrollToTop:{method:!0},win:{context:"window"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"events",{get:function(){return[{name:"ionScrollStart",method:"ionScrollStart",bubbles:!0,cancelable:!0,composed:!0},{name:"ionScroll",method:"ionScroll",bubbles:!0,cancelable:!0,composed:!0},{name:"ionScrollEnd",method:"ionScrollEnd",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"listeners",{get:function(){return[{name:"scroll",method:"onScroll",passive:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;contain:size style layout;z-index:1;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}:host(.overscroll)::after,:host(.overscroll)::before{position:absolute;width:1px;height:1px;content:\"\"}:host(.overscroll)::before{bottom:-1px}:host(.overscroll)::after{top:-1px}"},enumerable:!0,configurable:!0}),e}(),h=function(){function e(){}return e.prototype.render=function(){return[o("div",{class:"toolbar-title"},o("slot",null))]},Object.defineProperty(e,"is",{get:function(){return"ion-title"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{color:{type:String,attr:"color"},mode:{type:String,attr:"mode"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return":host{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}"},enumerable:!0,configurable:!0}),e}(),b=function(){function e(){this.translucent=!1}return e.prototype.hostData=function(){return{class:Object.assign({},t.createColorClasses(this.color),{"toolbar-translucent":this.translucent})}},e.prototype.render=function(){return[o("div",{class:"toolbar-background"}),o("slot",{name:"start"}),o("slot",{name:"secondary"}),o("div",{class:"toolbar-content"},o("slot",null)),o("slot",{name:"primary"}),o("slot",{name:"end"})]},Object.defineProperty(e,"is",{get:function(){return"ion-toolbar"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{color:{type:String,attr:"color"},config:{context:"config"},mode:{type:String,attr:"mode"},translucent:{type:Boolean,attr:"translucent"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return":host{--border-width:0;--border-style:solid;--background:var(--ion-color-base);--opacity:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%;color:var(--ion-color-contrast);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter);--ion-color-base:var(--ion-toolbar-background-color, #f8f8f8);--ion-color-contrast:var(--ion-toolbar-text-color, #424242);--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, #c1c4cd));padding:4px;min-height:56px;font-family:var(--ion-font-family,inherit)}:host(.toolbar-translucent){--backdrop-filter:var(--translucent-filter);--opacity:.8}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:var(--opacity);z-index:-1;pointer-events:none}.toolbar-content{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(ion-title){padding:0 12px;font-size:20px;font-weight:500}"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"styleMode",{get:function(){return"md"},enumerable:!0,configurable:!0}),e}();e.IonContent=r,e.IonItem=i,e.IonMenuButton=l,e.IonMenuToggle=c,e.IonRippleEffect=a,e.IonScroll=d,e.IonTitle=h,e.IonToolbar=b,Object.defineProperty(e,"__esModule",{value:!0})});