{"version":3,"sources":["../node_modules/@ionic/core/dist/esm/legacy/ion-app_7-md.entry.js","../node_modules/@ionic/core/dist/esm/legacy/chunk-9d21e8e5.js","../node_modules/@ionic/core/dist/esm/legacy/chunk-d102c9d1.js"],"names":["__webpack_require__","r","__webpack_exports__","d","App","Buttons","Content","Footer","Header","ToolbarTitle","Toolbar","tslib__WEBPACK_IMPORTED_MODULE_0__","_chunk_f257aad1_js__WEBPACK_IMPORTED_MODULE_1__","_chunk_1074393c_js__WEBPACK_IMPORTED_MODULE_2__","_chunk_9d21e8e5_js__WEBPACK_IMPORTED_MODULE_3__","_chunk_d102c9d1_js__WEBPACK_IMPORTED_MODULE_4__","hostRef","Object","this","prototype","componentDidLoad","getBoolean","e","then","bind","module","startTapClick","window","startInputShims","startStatusTap","startHardwareBackButton","startFocusVisible","hostData","_a","class","defineProperty","get","enumerable","configurable","render","isScrolling","lastScroll","queued","cTop","cBottom","detail","scrollTop","scrollLeft","type","event","undefined","startX","startY","startTimeStamp","currentX","currentY","velocityX","velocityY","deltaX","deltaY","timeStamp","data","fullscreen","scrollX","scrollY","scrollEvents","ionScrollStart","ionScroll","ionScrollEnd","componentWillLoad","forceOverscroll","mode","resize","componentDidUnload","onScrollEnd","onClick","ev","preventDefault","stopPropagation","readDimensions","el","forceUpdate","page","tabs","closest","parentElement","parentNode","host","getParentElement","getPageElement","top","Math","max","offsetTop","bottom","offsetHeight","onScroll","_this","Date","now","shouldStart","onScrollStart","ts","timestamp","prevX","prevY","prevT","timeDelta","updateScrollDetail","scrollEl","emit","getScrollElement","Promise","resolve","scrollToTop","duration","scrollToPoint","scrollToBottom","y","scrollHeight","clientHeight","scrollByPoint","x","startTime","promise","fromY","fromX","_step","linearTime","min","easedT","pow","floor","requestAnimationFrame","watchDog","clearInterval","setInterval","assign","color","style","--offset-top","--offset-bottom","inner-scroll","scroll-x","scroll-y","overscroll","ref","name","translucent","getMode","toolbar","__stencil_render","childrenStyles","Map","buttons","Array","from","querySelectorAll","firstButtons","find","button","slot","classList","add","buttonsReversed","reverse","lastButtons","childrenStyle","tagName","target","updatedStyles","newStyles","childStyles","hasStyleChange","keys","forEach","key","childKey","newValue","set","value","createColorClasses","getClassMap","hostContext","openURL","selector","length","ion-color","classes","map","isArray","split","filter","c","trim","getClassList","SCHEME","url","direction","router","label","test","document","querySelector","componentOnReady","sent","push","rIC","callback","requestIdleCallback","setTimeout","hasShadowDom","shadowRoot","attachShadow","findItemLabel","componentEl","itemEl","renderHiddenInput","always","container","disabled","input","ownerDocument","createElement","appendChild","clamp","n","assert","actual","reason","message","console","error","Error","pointerCoord","changedTouches","touch","clientX","clientY","pageX","pageY","isEndSide","side","isRTL","dir","debounceEvent","wait","original","_original","debounce","func","timer","args","_i","arguments","clearTimeout","apply","concat"],"mappings":"4FAAAA,EAAAC,EAAAC,GAAAF,EAAAG,EAAAD,EAAA,4BAAAE,IAAAJ,EAAAG,EAAAD,EAAA,gCAAAG,IAAAL,EAAAG,EAAAD,EAAA,gCAAAI,IAAAN,EAAAG,EAAAD,EAAA,+BAAAK,IAAAP,EAAAG,EAAAD,EAAA,+BAAAM,IAAAR,EAAAG,EAAAD,EAAA,8BAAAO,IAAAT,EAAAG,EAAAD,EAAA,gCAAAQ,IAAA,IAAAC,EAAAX,EAAA,IAAAY,EAAAZ,EAAA,IAAAa,EAAAb,EAAA,IAAAc,EAAAd,EAAA,MAAAe,EAAAf,EAAA,MAMAI,EAEA,WACA,SAAAA,EAAAY,GACIC,OAAAL,EAAA,EAAAK,CAAgBC,KAAAF,GA4CpB,OAzCAZ,EAAAe,UAAAC,iBAAA,WACIH,OAAAF,EAAA,EAAAE,CAAG,WACIJ,EAAA,EAAMQ,WAAA,aAqEfrB,EAAAsB,EAAA,GAAAC,KAAAvB,EAAAwB,KAAA,YAAiCD,KAAA,SAAAE,GACnC,OAAAA,EAAAC,cAAgCb,EAAA,KAKbA,EAAA,EAAMQ,WAAA,aAUhBJ,OAAAJ,EAAA,EAAAI,CAAUU,OAAA,QAA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IACAA,EAAA,GAIA,WAGA,IAFA,IAAAM,EAAA,GAEAC,EAAA,EAAoBA,EAAAC,UAAApE,OAAuBmE,IAC3CD,EAAAC,GAAAC,UAAAD,GAGAE,aAAAJ,GACAA,EAAAzC,WAAA8C,WAAA,GAAAN,EAAAJ,GAAAW,OAAAL,KAlIA5P,EAAAG,EAAAD,EAAA,sBAAA6M,IAAA/M,EAAAG,EAAAD,EAAA,sBAAAiO,IAAAnO,EAAAG,EAAAD,EAAA,sBAAA+N,IAAAjO,EAAAG,EAAAD,EAAA,sBAAAmP,IAAArP,EAAAG,EAAAD,EAAA,sBAAAuP,IAAAzP,EAAAG,EAAAD,EAAA,sBAAAoN,IAAAtN,EAAAG,EAAAD,EAAA,sBAAAiN,IAAAnN,EAAAG,EAAAD,EAAA,sBAAA+O,IAAAjP,EAAAG,EAAAD,EAAA,sBAAAiG,IAAAnG,EAAAG,EAAAD,EAAA,sBAAAwO,IAAA1O,EAAAG,EAAAD,EAAA,sBAAAuN","file":"static/js/93.4b3013a1.chunk.js","sourcesContent":["import * as tslib_1 from \"tslib\";\nimport { r as registerInstance, d as getIonMode, e as getElement, h, H as Host, c as createEvent, f as readTask } from './chunk-f257aad1.js';\nimport { b as config, i as isPlatform } from './chunk-1074393c.js';\nimport { c as createColorClasses, h as hostContext } from './chunk-9d21e8e5.js';\nimport { a as rIC } from './chunk-d102c9d1.js';\n\nvar App =\n/** @class */\nfunction () {\n function App(hostRef) {\n registerInstance(this, hostRef);\n }\n\n App.prototype.componentDidLoad = function () {\n rIC(function () {\n if (!config.getBoolean('_testing')) {\n importTapClick();\n }\n\n importInputShims();\n importStatusTap();\n importHardwareBackButton();\n importFocusVisible();\n });\n };\n\n App.prototype.hostData = function () {\n var _a;\n\n var mode = getIonMode(this);\n return {\n class: (_a = {}, _a[mode] = true, _a['ion-page'] = true, _a['force-statusbar-padding'] = config.getBoolean('_forceStatusbarPadding'), _a)\n };\n };\n\n Object.defineProperty(App.prototype, \"el\", {\n get: function get() {\n return getElement(this);\n },\n enumerable: true,\n configurable: true\n });\n\n App.prototype.render = function () {\n return h(Host, this.hostData());\n };\n\n Object.defineProperty(App, \"style\", {\n get: function get() {\n return \"html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}\";\n },\n enumerable: true,\n configurable: true\n });\n return App;\n}();\n\nfunction importHardwareBackButton() {\n var hardwareBackConfig = config.getBoolean('hardwareBackButton', isPlatform(window, 'hybrid'));\n\n if (hardwareBackConfig) {\n import('./hardware-back-button-4b937266.js').then(function (module) {\n return module.startHardwareBackButton();\n });\n }\n}\n\nfunction importStatusTap() {\n var statusTap = config.getBoolean('statusTap', isPlatform(window, 'hybrid'));\n\n if (statusTap) {\n import('./status-tap-fcd5899f.js').then(function (module) {\n return module.startStatusTap();\n });\n }\n}\n\nfunction importFocusVisible() {\n import('./focus-visible-2e541376.js').then(function (module) {\n return module.startFocusVisible();\n });\n}\n\nfunction importTapClick() {\n import('./tap-click-0b550e56.js').then(function (module) {\n return module.startTapClick(config);\n });\n}\n\nfunction importInputShims() {\n var inputShims = config.getBoolean('inputShims', needInputShims());\n\n if (inputShims) {\n import('./input-shims-667d45fc.js').then(function (module) {\n return module.startInputShims(config);\n });\n }\n}\n\nfunction needInputShims() {\n return isPlatform(window, 'ios') && isPlatform(window, 'mobile');\n}\n\nvar Buttons =\n/** @class */\nfunction () {\n function Buttons(hostRef) {\n registerInstance(this, hostRef);\n }\n\n Buttons.prototype.hostData = function () {\n var _a;\n\n var mode = getIonMode(this);\n return {\n class: (_a = {}, _a[mode] = true, _a)\n };\n };\n\n Buttons.prototype.render = function () {\n return h(Host, this.hostData());\n };\n\n Object.defineProperty(Buttons, \"style\", {\n get: function get() {\n return \".sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button {margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;--padding-top:0;--padding-bottom:0;--padding-start:8px;--padding-end:8px;--box-shadow:none;margin-left:2px;margin-right:2px;height:32px;font-size:14px;font-weight:500}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.sc-ion-buttons-md-s ion-button {margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}.sc-ion-buttons-md-s ion-button:not(.button-round) {--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button , .ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button {--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-hover:rgba(var(--ion-color-contrast-rgb),0.08);--background-focused:rgba(var(--ion-color-contrast-rgb),0.24)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid , .ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid {--background:var(--ion-color-contrast);--background-activated:var(--ion-color-contrast);--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-tint);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline , .ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline {--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear {--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:48px;height:48px}.sc-ion-buttons-md-s .button {--background-hover:rgba(66,66,66,0.08)}.sc-ion-buttons-md-s .button-solid {--color:var(--ion-toolbar-background,var(--ion-background-color,#fff));--color-activated:var(--ion-toolbar-background,var(--ion-background-color,#fff));--background:var(--ion-toolbar-color,var(--ion-text-color,#424242));--background-activated:var(--ion-toolbar-color,var(--ion-text-color,#424242));--background-focused:var(--ion-toolbar-color-activated,#4a4a4a);--background-hover:rgba(66,66,66,0.92)}.sc-ion-buttons-md-s .button-outline {--background:transparent;--background-activated:transparent;--border-color:var(--ion-toolbar-color,var(--ion-text-color,#424242));--background-focused:rgba(66,66,66,0.1)}.sc-ion-buttons-md-s .button-clear , .sc-ion-buttons-md-s .button-outline {--color:initial;--color-activated:currentColor;--color-focused:var(--ion-toolbar-color,var(--ion-text-color,#424242))}.sc-ion-buttons-md-s .button-clear {--background:transparent;--background-focused:rgba(66,66,66,0.1)}.sc-ion-buttons-md-s ion-icon[slot=start] {margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-right:.3em;font-size:1.4em}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.sc-ion-buttons-md-s ion-icon[slot=start] {margin-right:unset;-webkit-margin-end:.3em;margin-inline-end:.3em}}.sc-ion-buttons-md-s ion-icon[slot=end] {margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-left:.4em;font-size:1.4em}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.sc-ion-buttons-md-s ion-icon[slot=end] {margin-left:unset;-webkit-margin-start:.4em;margin-inline-start:.4em}}.sc-ion-buttons-md-s ion-icon[slot=icon-only] {padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}\";\n },\n enumerable: true,\n configurable: true\n });\n return Buttons;\n}();\n/**\n * @slot - Content is placed in the scrollable area if provided without a slot.\n * @slot fixed - Should be used for fixed content that should not scroll.\n */\n\n\nvar Content =\n/** @class */\nfunction () {\n function Content(hostRef) {\n registerInstance(this, hostRef);\n this.isScrolling = false;\n this.lastScroll = 0;\n this.queued = false;\n this.cTop = -1;\n this.cBottom = -1; // Detail is used in a hot loop in the scroll event, by allocating it here\n // V8 will be able to inline any read/write to it since it's a monomorphic class.\n // https://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.html\n\n this.detail = {\n scrollTop: 0,\n scrollLeft: 0,\n type: 'scroll',\n event: undefined,\n startX: 0,\n startY: 0,\n startTimeStamp: 0,\n currentX: 0,\n currentY: 0,\n velocityX: 0,\n velocityY: 0,\n deltaX: 0,\n deltaY: 0,\n timeStamp: 0,\n data: undefined,\n isScrolling: true\n };\n /**\n * If `true`, the content will scroll behind the headers\n * and footers. This effect can easily be seen by setting the toolbar\n * to transparent.\n */\n\n this.fullscreen = false;\n /**\n * If you want to enable the content scrolling in the X axis, set this property to `true`.\n */\n\n this.scrollX = false;\n /**\n * If you want to disable the content scrolling in the Y axis, set this property to `false`.\n */\n\n this.scrollY = true;\n /**\n * Because of performance reasons, ionScroll events are disabled by default, in order to enable them\n * and start listening from (ionScroll), set this property to `true`.\n */\n\n this.scrollEvents = false;\n this.ionScrollStart = createEvent(this, \"ionScrollStart\", 7);\n this.ionScroll = createEvent(this, \"ionScroll\", 7);\n this.ionScrollEnd = createEvent(this, \"ionScrollEnd\", 7);\n }\n\n Content.prototype.componentWillLoad = function () {\n if (this.forceOverscroll === undefined) {\n var mode = getIonMode(this);\n this.forceOverscroll = mode === 'ios' && isPlatform(window, 'mobile');\n }\n };\n\n Content.prototype.componentDidLoad = function () {\n this.resize();\n };\n\n Content.prototype.componentDidUnload = function () {\n this.onScrollEnd();\n };\n\n Content.prototype.onClick = function (ev) {\n if (this.isScrolling) {\n ev.preventDefault();\n ev.stopPropagation();\n }\n };\n\n Content.prototype.resize = function () {\n if (this.fullscreen) {\n readTask(this.readDimensions.bind(this));\n } else if (this.cTop !== 0 || this.cBottom !== 0) {\n this.cTop = this.cBottom = 0;\n this.el.forceUpdate();\n }\n };\n\n Content.prototype.readDimensions = function () {\n var page = getPageElement(this.el);\n var top = Math.max(this.el.offsetTop, 0);\n var bottom = Math.max(page.offsetHeight - top - this.el.offsetHeight, 0);\n var dirty = top !== this.cTop || bottom !== this.cBottom;\n\n if (dirty) {\n this.cTop = top;\n this.cBottom = bottom;\n this.el.forceUpdate();\n }\n };\n\n Content.prototype.onScroll = function (ev) {\n var _this = this;\n\n var timeStamp = Date.now();\n var shouldStart = !this.isScrolling;\n this.lastScroll = timeStamp;\n\n if (shouldStart) {\n this.onScrollStart();\n }\n\n if (!this.queued && this.scrollEvents) {\n this.queued = true;\n readTask(function (ts) {\n _this.queued = false;\n _this.detail.event = ev;\n updateScrollDetail(_this.detail, _this.scrollEl, ts, shouldStart);\n\n _this.ionScroll.emit(_this.detail);\n });\n }\n };\n /**\n * Get the element where the actual scrolling takes place.\n * This element can be used to subscribe to `scroll` events or manually modify\n * `scrollTop`. However, it's recommended to use the API provided by `ion-content`:\n *\n * i.e. Using `ionScroll`, `ionScrollStart`, `ionScrollEnd` for scrolling events\n * and `scrollToPoint()` to scroll the content into a certain point.\n */\n\n\n Content.prototype.getScrollElement = function () {\n return Promise.resolve(this.scrollEl);\n };\n /**\n * Scroll to the top of the component.\n *\n * @param duration The amount of time to take scrolling to the top. Defaults to `0`.\n */\n\n\n Content.prototype.scrollToTop = function (duration) {\n if (duration === void 0) {\n duration = 0;\n }\n\n return this.scrollToPoint(undefined, 0, duration);\n };\n /**\n * Scroll to the bottom of the component.\n *\n * @param duration The amount of time to take scrolling to the bottom. Defaults to `0`.\n */\n\n\n Content.prototype.scrollToBottom = function (duration) {\n if (duration === void 0) {\n duration = 0;\n }\n\n var y = this.scrollEl.scrollHeight - this.scrollEl.clientHeight;\n return this.scrollToPoint(undefined, y, duration);\n };\n /**\n * Scroll by a specified X/Y distance in the component.\n *\n * @param x The amount to scroll by on the horizontal axis.\n * @param y The amount to scroll by on the vertical axis.\n * @param duration The amount of time to take scrolling by that amount.\n */\n\n\n Content.prototype.scrollByPoint = function (x, y, duration) {\n return this.scrollToPoint(x + this.scrollEl.scrollLeft, y + this.scrollEl.scrollTop, duration);\n };\n /**\n * Scroll to a specified X/Y location in the component.\n *\n * @param x The point to scroll to on the horizontal axis.\n * @param y The point to scroll to on the vertical axis.\n * @param duration The amount of time to take scrolling to that point. Defaults to `0`.\n */\n\n\n Content.prototype.scrollToPoint = function (x, y, duration) {\n if (duration === void 0) {\n duration = 0;\n }\n\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var el, resolve, startTime, promise, fromY, fromX, deltaY, deltaX, _step;\n\n return tslib_1.__generator(this, function (_a) {\n el = this.scrollEl;\n\n if (duration < 32) {\n if (y != null) {\n el.scrollTop = y;\n }\n\n if (x != null) {\n el.scrollLeft = x;\n }\n\n return [2\n /*return*/\n ];\n }\n\n startTime = 0;\n promise = new Promise(function (r) {\n return resolve = r;\n });\n fromY = el.scrollTop;\n fromX = el.scrollLeft;\n deltaY = y != null ? y - fromY : 0;\n deltaX = x != null ? x - fromX : 0;\n\n _step = function step(timeStamp) {\n var linearTime = Math.min(1, (timeStamp - startTime) / duration) - 1;\n var easedT = Math.pow(linearTime, 3) + 1;\n\n if (deltaY !== 0) {\n el.scrollTop = Math.floor(easedT * deltaY + fromY);\n }\n\n if (deltaX !== 0) {\n el.scrollLeft = Math.floor(easedT * deltaX + fromX);\n }\n\n if (easedT < 1) {\n // do not use DomController here\n // must use nativeRaf in order to fire in the next frame\n // TODO: remove as any\n requestAnimationFrame(_step);\n } else {\n resolve();\n }\n }; // chill out for a frame first\n\n\n requestAnimationFrame(function (ts) {\n startTime = ts;\n\n _step(ts);\n });\n return [2\n /*return*/\n , promise];\n });\n });\n };\n\n Content.prototype.onScrollStart = function () {\n var _this = this;\n\n this.isScrolling = true;\n this.ionScrollStart.emit({\n isScrolling: true\n });\n\n if (this.watchDog) {\n clearInterval(this.watchDog);\n } // watchdog\n\n\n this.watchDog = setInterval(function () {\n if (_this.lastScroll < Date.now() - 120) {\n _this.onScrollEnd();\n }\n }, 100);\n };\n\n Content.prototype.onScrollEnd = function () {\n clearInterval(this.watchDog);\n this.watchDog = null;\n\n if (this.isScrolling) {\n this.isScrolling = false;\n this.ionScrollEnd.emit({\n isScrolling: false\n });\n }\n };\n\n Content.prototype.render = function () {\n var _a;\n\n var _this = this;\n\n var mode = getIonMode(this);\n\n var _b = this,\n scrollX = _b.scrollX,\n scrollY = _b.scrollY,\n forceOverscroll = _b.forceOverscroll;\n\n this.resize();\n return h(Host, {\n class: Object.assign({}, createColorClasses(this.color), (_a = {}, _a[mode] = true, _a['content-sizing'] = hostContext('ion-popover', this.el), _a['overscroll'] = !!this.forceOverscroll, _a)),\n style: {\n '--offset-top': this.cTop + \"px\",\n '--offset-bottom': this.cBottom + \"px\"\n }\n }, h(\"div\", {\n class: {\n 'inner-scroll': true,\n 'scroll-x': scrollX,\n 'scroll-y': scrollY,\n 'overscroll': (scrollX || scrollY) && !!forceOverscroll\n },\n ref: function ref(el) {\n return _this.scrollEl = el;\n },\n onScroll: function onScroll(ev) {\n return _this.onScroll(ev);\n }\n }, h(\"slot\", null)), h(\"slot\", {\n name: \"fixed\"\n }));\n };\n\n Object.defineProperty(Content.prototype, \"el\", {\n get: function get() {\n return getElement(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Content, \"style\", {\n get: function get() {\n return \":host{--background:var(--ion-background-color,#fff);--color:var(--ion-text-color,#000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0!important;padding:0!important;font-family:var(--ion-font-family,inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50,#f2f2f2)}.inner-scroll{left:0;right:0;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;background:var(--background);color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.inner-scroll{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.scroll-x,.scroll-y{-webkit-overflow-scrolling:touch;will-change:scroll-position;-ms-scroll-chaining:none;overscroll-behavior:contain}.scroll-y{-ms-touch-action:pan-y;touch-action:pan-y;overflow-y:var(--overflow)}.scroll-x{-ms-touch-action:pan-x;touch-action:pan-x;overflow-x:var(--overflow)}.scroll-x.scroll-y{-ms-touch-action:auto;touch-action:auto}.overscroll:after,.overscroll:before{position:absolute;width:1px;height:1px;content:\\\"\\\"}.overscroll:before{bottom:-1px}.overscroll:after{top:-1px}:host(.content-sizing){contain:none}:host(.content-sizing) .inner-scroll{position:relative}\";\n },\n enumerable: true,\n configurable: true\n });\n return Content;\n}();\n\nfunction getParentElement(el) {\n if (el.parentElement) {\n // normal element with a parent element\n return el.parentElement;\n }\n\n if (el.parentNode && el.parentNode.host) {\n // shadow dom's document fragment\n return el.parentNode.host;\n }\n\n return null;\n}\n\nfunction getPageElement(el) {\n var tabs = el.closest('ion-tabs');\n\n if (tabs) {\n return tabs;\n }\n\n var page = el.closest('ion-app,ion-page,.ion-page,page-inner');\n\n if (page) {\n return page;\n }\n\n return getParentElement(el);\n} // ******** DOM READ ****************\n\n\nfunction updateScrollDetail(detail, el, timestamp, shouldStart) {\n var prevX = detail.currentX;\n var prevY = detail.currentY;\n var prevT = detail.timeStamp;\n var currentX = el.scrollLeft;\n var currentY = el.scrollTop;\n\n if (shouldStart) {\n // remember the start positions\n detail.startTimeStamp = timestamp;\n detail.startX = currentX;\n detail.startY = currentY;\n detail.velocityX = detail.velocityY = 0;\n }\n\n detail.timeStamp = timestamp;\n detail.currentX = detail.scrollLeft = currentX;\n detail.currentY = detail.scrollTop = currentY;\n detail.deltaX = currentX - detail.startX;\n detail.deltaY = currentY - detail.startY;\n var timeDelta = timestamp - prevT;\n\n if (timeDelta > 0 && timeDelta < 100) {\n var velocityX = (currentX - prevX) / timeDelta;\n var velocityY = (currentY - prevY) / timeDelta;\n detail.velocityX = velocityX * 0.7 + detail.velocityX * 0.3;\n detail.velocityY = velocityY * 0.7 + detail.velocityY * 0.3;\n }\n}\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n */\n\n\nvar Footer =\n/** @class */\nfunction () {\n function Footer(hostRef) {\n registerInstance(this, hostRef);\n /**\n * If `true`, the footer will be translucent. Only applies to `ios` mode.\n * Note: In order to scroll content behind the footer, the `fullscreen`\n * attribute needs to be set on the content.\n */\n\n this.translucent = false;\n }\n\n Footer.prototype.hostData = function () {\n var _a;\n\n var mode = getIonMode(this);\n return {\n class: (_a = {}, _a[mode] = true, // Used internally for styling\n _a[\"footer-\" + mode] = true, _a[\"footer-translucent\"] = this.translucent, _a[\"footer-translucent-\" + mode] = this.translucent, _a)\n };\n };\n\n Footer.prototype.render = function () {\n return h(Host, this.hostData());\n };\n\n Object.defineProperty(Footer, \"style\", {\n get: function get() {\n return \"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer ion-toolbar:last-child{padding-bottom:var(--ion-safe-area-bottom,0)}.footer-md:before{left:0;top:-2px;bottom:auto;background-position:left 0 top 0;position:absolute;width:100%;height:2px;background-image:url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==\\\");background-repeat:repeat-x;content:\\\"\\\"}:host-context([dir=rtl]) .footer-md:before,[dir=rtl] .footer-md:before{left:unset;right:unset;right:0;background-position:right 0 top 0}.footer-md[no-border]:before{display:none}\";\n },\n enumerable: true,\n configurable: true\n });\n return Footer;\n}();\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n */\n\n\nvar Header =\n/** @class */\nfunction () {\n function Header(hostRef) {\n registerInstance(this, hostRef);\n /**\n * If `true`, the header will be translucent. Only applies to `ios` mode.\n * Note: In order to scroll content behind the header, the `fullscreen`\n * attribute needs to be set on the content.\n */\n\n this.translucent = false;\n }\n\n Header.prototype.hostData = function () {\n var _a;\n\n var mode = getIonMode(this);\n return {\n class: (_a = {}, _a[mode] = true, // Used internally for styling\n _a[\"header-\" + mode] = true, _a[\"header-translucent\"] = this.translucent, _a[\"header-translucent-\" + mode] = this.translucent, _a)\n };\n };\n\n Header.prototype.render = function () {\n return h(Host, this.hostData());\n };\n\n Object.defineProperty(Header, \"style\", {\n get: function get() {\n return \"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-child{padding-top:var(--ion-safe-area-top,0)}.header-md:after{left:0;bottom:-5px;background-position:left 0 top -2px;position:absolute;width:100%;height:5px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==);background-repeat:repeat-x;content:\\\"\\\"}:host-context([dir=rtl]) .header-md:after,[dir=rtl] .header-md:after{left:unset;right:unset;right:0;background-position:right 0 top -2px}.header-md[no-border]:after{display:none}\";\n },\n enumerable: true,\n configurable: true\n });\n return Header;\n}();\n\nvar ToolbarTitle =\n/** @class */\nfunction () {\n function ToolbarTitle(hostRef) {\n registerInstance(this, hostRef);\n }\n\n ToolbarTitle.prototype.getMode = function () {\n var mode = getIonMode(this);\n var toolbar = this.el.closest('ion-toolbar');\n return toolbar && toolbar.mode || mode;\n };\n\n ToolbarTitle.prototype.hostData = function () {\n var _a;\n\n var mode = this.getMode();\n return {\n class: Object.assign((_a = {}, _a[mode] = true, _a[\"title-\" + mode] = true, _a), createColorClasses(this.color))\n };\n };\n\n ToolbarTitle.prototype.__stencil_render = function () {\n return [h(\"div\", {\n class: \"toolbar-title\"\n }, h(\"slot\", null))];\n };\n\n Object.defineProperty(ToolbarTitle.prototype, \"el\", {\n get: function get() {\n return getElement(this);\n },\n enumerable: true,\n configurable: true\n });\n\n ToolbarTitle.prototype.render = function () {\n return h(Host, this.hostData(), this.__stencil_render());\n };\n\n Object.defineProperty(ToolbarTitle, \"style\", {\n get: function get() {\n return \":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;color:var(--color)}:host,:host(.title-ios){-webkit-transform:translateZ(0);transform:translateZ(0)}:host(.title-ios){left:0;top:0;padding-left:90px;padding-right:90px;padding-top:0;padding-bottom:0;position:absolute;width:100%;height:100%;font-size:17px;font-weight:600;letter-spacing:-.03em;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host-context([dir=rtl]).title-ios,:host-context([dir=rtl]):host(.title-ios){left:unset;right:unset;right:0}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){:host(.title-ios){padding-left:unset;padding-right:unset;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px}}:host(.title-md){padding-left:20px;padding-right:20px;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;letter-spacing:.0125em}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){:host(.title-md){padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}\";\n },\n enumerable: true,\n configurable: true\n });\n return ToolbarTitle;\n}();\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n *\n * @slot - Content is placed between the named slots if provided without a slot.\n * @slot start - Content is placed to the left of the toolbar text in LTR, and to the right in RTL.\n * @slot secondary - Content is placed to the left of the toolbar text in `ios` mode, and directly to the right in `md` mode.\n * @slot primary - Content is placed to the right of the toolbar text in `ios` mode, and to the far right in `md` mode.\n * @slot end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL.\n */\n\n\nvar Toolbar =\n/** @class */\nfunction () {\n function Toolbar(hostRef) {\n registerInstance(this, hostRef);\n this.childrenStyles = new Map();\n }\n\n Toolbar.prototype.componentWillLoad = function () {\n var buttons = Array.from(this.el.querySelectorAll('ion-buttons'));\n var firstButtons = buttons.find(function (button) {\n return button.slot === 'start';\n });\n\n if (firstButtons) {\n firstButtons.classList.add('buttons-first-slot');\n }\n\n var buttonsReversed = buttons.reverse();\n var lastButtons = buttonsReversed.find(function (button) {\n return button.slot === 'end';\n }) || buttonsReversed.find(function (button) {\n return button.slot === 'primary';\n }) || buttonsReversed.find(function (button) {\n return button.slot === 'secondary';\n });\n\n if (lastButtons) {\n lastButtons.classList.add('buttons-last-slot');\n }\n };\n\n Toolbar.prototype.childrenStyle = function (ev) {\n ev.stopPropagation();\n var tagName = ev.target.tagName;\n var updatedStyles = ev.detail;\n var newStyles = {};\n var childStyles = this.childrenStyles.get(tagName) || {};\n var hasStyleChange = false;\n Object.keys(updatedStyles).forEach(function (key) {\n var childKey = \"toolbar-\" + key;\n var newValue = updatedStyles[key];\n\n if (newValue !== childStyles[childKey]) {\n hasStyleChange = true;\n }\n\n if (newValue) {\n newStyles[childKey] = true;\n }\n });\n\n if (hasStyleChange) {\n this.childrenStyles.set(tagName, newStyles);\n this.el.forceUpdate();\n }\n };\n\n Toolbar.prototype.render = function () {\n var _a;\n\n var mode = getIonMode(this);\n var childStyles = {};\n this.childrenStyles.forEach(function (value) {\n Object.assign(childStyles, value);\n });\n return h(Host, {\n class: Object.assign((_a = {}, _a[mode] = true, _a), childStyles, createColorClasses(this.color))\n }, h(\"div\", {\n class: \"toolbar-background\"\n }), h(\"div\", {\n class: \"toolbar-container\"\n }, h(\"slot\", {\n name: \"start\"\n }), h(\"slot\", {\n name: \"secondary\"\n }), h(\"div\", {\n class: \"toolbar-content\"\n }, h(\"slot\", null)), h(\"slot\", {\n name: \"primary\"\n }), h(\"slot\", {\n name: \"end\"\n })));\n };\n\n Object.defineProperty(Toolbar.prototype, \"el\", {\n get: function get() {\n return getElement(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Toolbar, \"style\", {\n get: function get() {\n return \":host{--border-width:0;--border-style:solid;--opacity:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family,inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.toolbar-container{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.toolbar-background{top:0;-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-background,::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background,var(--ion-background-color,#fff));--color:var(--ion-toolbar-color,var(--ion-text-color,#424242));--border-color:var(--ion-toolbar-border-color,var(--ion-border-color,var(--ion-color-step-150,#c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(ion-segment){min-height:var(--min-height)}::slotted(.buttons-first-slot){margin-left:4px}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){::slotted(.buttons-first-slot){margin-left:unset;-webkit-margin-start:4px;margin-inline-start:4px}}::slotted(.buttons-last-slot){margin-right:4px}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){::slotted(.buttons-last-slot){margin-right:unset;-webkit-margin-end:4px;margin-inline-end:4px}}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}\";\n },\n enumerable: true,\n configurable: true\n });\n return Toolbar;\n}();\n\nexport { App as ion_app, Buttons as ion_buttons, Content as ion_content, Footer as ion_footer, Header as ion_header, ToolbarTitle as ion_title, Toolbar as ion_toolbar };","import * as tslib_1 from \"tslib\";\n\nfunction hostContext(selector, el) {\n return el.closest(selector) !== null;\n}\n/**\n * Create the mode and color classes for the component based on the classes passed in\n */\n\n\nfunction createColorClasses(color) {\n var _a;\n\n return typeof color === 'string' && color.length > 0 ? (_a = {\n 'ion-color': true\n }, _a[\"ion-color-\" + color] = true, _a) : undefined;\n}\n\nfunction getClassList(classes) {\n if (classes !== undefined) {\n var array = Array.isArray(classes) ? classes : classes.split(' ');\n return array.filter(function (c) {\n return c != null;\n }).map(function (c) {\n return c.trim();\n }).filter(function (c) {\n return c !== '';\n });\n }\n\n return [];\n}\n\nfunction getClassMap(classes) {\n var map = {};\n getClassList(classes).forEach(function (c) {\n return map[c] = true;\n });\n return map;\n}\n\nvar SCHEME = /^[a-z][a-z0-9+\\-.]*:/;\n\nfunction openURL(url, ev, direction) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var router;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!(url != null && url[0] !== '#' && !SCHEME.test(url))) return [3\n /*break*/\n , 2];\n router = document.querySelector('ion-router');\n if (!router) return [3\n /*break*/\n , 2];\n\n if (ev != null) {\n ev.preventDefault();\n }\n\n return [4\n /*yield*/\n , router.componentOnReady()];\n\n case 1:\n _a.sent();\n\n return [2\n /*return*/\n , router.push(url, direction)];\n\n case 2:\n return [2\n /*return*/\n , false];\n }\n });\n });\n}\n\nexport { createColorClasses as c, getClassMap as g, hostContext as h, openURL as o };","function rIC(callback) {\n if ('requestIdleCallback' in window) {\n window.requestIdleCallback(callback);\n } else {\n setTimeout(callback, 32);\n }\n}\n\nfunction hasShadowDom(el) {\n return !!el.shadowRoot && !!el.attachShadow;\n}\n\nfunction findItemLabel(componentEl) {\n var itemEl = componentEl.closest('ion-item');\n\n if (itemEl) {\n return itemEl.querySelector('ion-label');\n }\n\n return null;\n}\n\nfunction renderHiddenInput(always, container, name, value, disabled) {\n if (always || hasShadowDom(container)) {\n var input = container.querySelector('input.aux-input');\n\n if (!input) {\n input = container.ownerDocument.createElement('input');\n input.type = 'hidden';\n input.classList.add('aux-input');\n container.appendChild(input);\n }\n\n input.disabled = disabled;\n input.name = name;\n input.value = value || '';\n }\n}\n\nfunction clamp(min, n, max) {\n return Math.max(min, Math.min(n, max));\n}\n\nfunction assert(actual, reason) {\n if (!actual) {\n var message = 'ASSERT: ' + reason;\n console.error(message);\n debugger; // tslint:disable-line\n\n throw new Error(message);\n }\n}\n\nfunction now(ev) {\n return ev.timeStamp || Date.now();\n}\n\nfunction pointerCoord(ev) {\n // get X coordinates for either a mouse click\n // or a touch depending on the given event\n if (ev) {\n var changedTouches = ev.changedTouches;\n\n if (changedTouches && changedTouches.length > 0) {\n var touch = changedTouches[0];\n return {\n x: touch.clientX,\n y: touch.clientY\n };\n }\n\n if (ev.pageX !== undefined) {\n return {\n x: ev.pageX,\n y: ev.pageY\n };\n }\n }\n\n return {\n x: 0,\n y: 0\n };\n}\n/**\n * @hidden\n * Given a side, return if it should be on the end\n * based on the value of dir\n * @param side the side\n * @param isRTL whether the application dir is rtl\n */\n\n\nfunction isEndSide(side) {\n var isRTL = document.dir === 'rtl';\n\n switch (side) {\n case 'start':\n return isRTL;\n\n case 'end':\n return !isRTL;\n\n default:\n throw new Error(\"\\\"\" + side + \"\\\" is not a valid value for [side]. Use \\\"start\\\" or \\\"end\\\" instead.\");\n }\n}\n\nfunction debounceEvent(event, wait) {\n var original = event._original || event;\n return {\n _original: event,\n emit: debounce(original.emit.bind(original), wait)\n };\n}\n\nfunction debounce(func, wait) {\n if (wait === void 0) {\n wait = 0;\n }\n\n var timer;\n return function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n clearTimeout(timer);\n timer = setTimeout.apply(void 0, [func, wait].concat(args));\n };\n}\n\nexport { rIC as a, assert as b, clamp as c, debounceEvent as d, debounce as e, findItemLabel as f, hasShadowDom as h, isEndSide as i, now as n, pointerCoord as p, renderHiddenInput as r };"],"sourceRoot":""}