{"ast":null,"code":"import _asyncToGenerator from \"F:/workspace/202226701027/huinongbao-app/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\";\n/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';\nimport { g as getTimeGivenProgression } from './cubic-bezier.js';\nimport { a as attachComponent, d as detachComponent } from './framework-delegate.js';\nimport { s as shallowEqualStringMap, j as hasLazyBuild } from './helpers.js';\nimport { c as createLockController } from './lock-controller.js';\nimport { t as transition } from './index2.js';\nimport { b as getIonMode, c as config } from './ionic-global.js';\nconst routerOutletCss = \":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}\";\nconst IonRouterOutletStyle0 = routerOutletCss;\nconst RouterOutlet = /*@__PURE__*/proxyCustomElement(class RouterOutlet extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.ionNavWillLoad = createEvent(this, \"ionNavWillLoad\", 7);\n this.ionNavWillChange = createEvent(this, \"ionNavWillChange\", 3);\n this.ionNavDidChange = createEvent(this, \"ionNavDidChange\", 3);\n this.lockController = createLockController();\n this.gestureOrAnimationInProgress = false;\n this.mode = getIonMode(this);\n this.delegate = undefined;\n this.animated = true;\n this.animation = undefined;\n this.swipeHandler = undefined;\n }\n swipeHandlerChanged() {\n if (this.gesture) {\n this.gesture.enable(this.swipeHandler !== undefined);\n }\n }\n connectedCallback() {\n var _this = this;\n return _asyncToGenerator(function* () {\n const onStart = () => {\n _this.gestureOrAnimationInProgress = true;\n if (_this.swipeHandler) {\n _this.swipeHandler.onStart();\n }\n };\n _this.gesture = (yield import('./swipe-back.js')).createSwipeBackGesture(_this.el, () => !_this.gestureOrAnimationInProgress && !!_this.swipeHandler && _this.swipeHandler.canStart(), () => onStart(), step => {\n var _a;\n return (_a = _this.ani) === null || _a === void 0 ? void 0 : _a.progressStep(step);\n }, (shouldComplete, step, dur) => {\n if (_this.ani) {\n _this.ani.onFinish(() => {\n _this.gestureOrAnimationInProgress = false;\n if (_this.swipeHandler) {\n _this.swipeHandler.onEnd(shouldComplete);\n }\n }, {\n oneTimeCallback: true\n });\n // Account for rounding errors in JS\n let newStepValue = shouldComplete ? -0.001 : 0.001;\n /**\n * Animation will be reversed here, so need to\n * reverse the easing curve as well\n *\n * Additionally, we need to account for the time relative\n * to the new easing curve, as `stepValue` is going to be given\n * in terms of a linear curve.\n */\n if (!shouldComplete) {\n _this.ani.easing('cubic-bezier(1, 0, 0.68, 0.28)');\n newStepValue += getTimeGivenProgression([0, 0], [1, 0], [0.68, 0.28], [1, 1], step)[0];\n } else {\n newStepValue += getTimeGivenProgression([0, 0], [0.32, 0.72], [0, 1], [1, 1], step)[0];\n }\n _this.ani.progressEnd(shouldComplete ? 1 : 0, newStepValue, dur);\n } else {\n _this.gestureOrAnimationInProgress = false;\n }\n });\n _this.swipeHandlerChanged();\n })();\n }\n componentWillLoad() {\n this.ionNavWillLoad.emit();\n }\n disconnectedCallback() {\n if (this.gesture) {\n this.gesture.destroy();\n this.gesture = undefined;\n }\n }\n /** @internal */\n commit(enteringEl, leavingEl, opts) {\n var _this2 = this;\n return _asyncToGenerator(function* () {\n const unlock = yield _this2.lockController.lock();\n let changed = false;\n try {\n changed = yield _this2.transition(enteringEl, leavingEl, opts);\n } catch (e) {\n console.error(e);\n }\n unlock();\n return changed;\n })();\n }\n /** @internal */\n setRouteId(id, params, direction, animation) {\n var _this3 = this;\n return _asyncToGenerator(function* () {\n const changed = yield _this3.setRoot(id, params, {\n duration: direction === 'root' ? 0 : undefined,\n direction: direction === 'back' ? 'back' : 'forward',\n animationBuilder: animation\n });\n return {\n changed,\n element: _this3.activeEl\n };\n })();\n }\n /** @internal */\n getRouteId() {\n var _this4 = this;\n return _asyncToGenerator(function* () {\n const active = _this4.activeEl;\n return active ? {\n id: active.tagName,\n element: active,\n params: _this4.activeParams\n } : undefined;\n })();\n }\n setRoot(component, params, opts) {\n var _this5 = this;\n return _asyncToGenerator(function* () {\n if (_this5.activeComponent === component && shallowEqualStringMap(params, _this5.activeParams)) {\n return false;\n }\n // attach entering view to DOM\n const leavingEl = _this5.activeEl;\n const enteringEl = yield attachComponent(_this5.delegate, _this5.el, component, ['ion-page', 'ion-page-invisible'], params);\n _this5.activeComponent = component;\n _this5.activeEl = enteringEl;\n _this5.activeParams = params;\n // commit animation\n yield _this5.commit(enteringEl, leavingEl, opts);\n yield detachComponent(_this5.delegate, leavingEl);\n return true;\n })();\n }\n transition(enteringEl, leavingEl, opts = {}) {\n var _this6 = this;\n return _asyncToGenerator(function* () {\n if (leavingEl === enteringEl) {\n return false;\n }\n // emit nav will change event\n _this6.ionNavWillChange.emit();\n const {\n el,\n mode\n } = _this6;\n const animated = _this6.animated && config.getBoolean('animated', true);\n const animationBuilder = opts.animationBuilder || _this6.animation || config.get('navAnimation');\n yield transition(Object.assign(Object.assign({\n mode,\n animated,\n enteringEl,\n leavingEl,\n baseEl: el,\n /**\n * We need to wait for all Stencil components\n * to be ready only when using the lazy\n * loaded bundle.\n */\n deepWait: hasLazyBuild(el),\n progressCallback: opts.progressAnimation ? ani => {\n /**\n * Because this progress callback is called asynchronously\n * it is possible for the gesture to start and end before\n * the animation is ever set. In that scenario, we should\n * immediately call progressEnd so that the transition promise\n * resolves and the gesture does not get locked up.\n */\n if (ani !== undefined && !_this6.gestureOrAnimationInProgress) {\n _this6.gestureOrAnimationInProgress = true;\n ani.onFinish(() => {\n _this6.gestureOrAnimationInProgress = false;\n if (_this6.swipeHandler) {\n _this6.swipeHandler.onEnd(false);\n }\n }, {\n oneTimeCallback: true\n });\n /**\n * Playing animation to beginning\n * with a duration of 0 prevents\n * any flickering when the animation\n * is later cleaned up.\n */\n ani.progressEnd(0, 0, 0);\n } else {\n _this6.ani = ani;\n }\n } : undefined\n }, opts), {\n animationBuilder\n }));\n // emit nav changed event\n _this6.ionNavDidChange.emit();\n return true;\n })();\n }\n render() {\n return h(\"slot\", {\n key: 'a70341f58d19df55de1dad00e3464388e446aa2a'\n });\n }\n get el() {\n return this;\n }\n static get watchers() {\n return {\n \"swipeHandler\": [\"swipeHandlerChanged\"]\n };\n }\n static get style() {\n return IonRouterOutletStyle0;\n }\n}, [1, \"ion-router-outlet\", {\n \"mode\": [1025],\n \"delegate\": [16],\n \"animated\": [4],\n \"animation\": [16],\n \"swipeHandler\": [16],\n \"commit\": [64],\n \"setRouteId\": [64],\n \"getRouteId\": [64]\n}, undefined, {\n \"swipeHandler\": [\"swipeHandlerChanged\"]\n}]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-router-outlet\"];\n components.forEach(tagName => {\n switch (tagName) {\n case \"ion-router-outlet\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, RouterOutlet);\n }\n break;\n }\n });\n}\nconst IonRouterOutlet = RouterOutlet;\nconst defineCustomElement = defineCustomElement$1;\nexport { IonRouterOutlet, defineCustomElement };","map":{"version":3,"names":["proxyCustomElement","HTMLElement","createEvent","h","g","getTimeGivenProgression","a","attachComponent","d","detachComponent","s","shallowEqualStringMap","j","hasLazyBuild","c","createLockController","t","transition","b","getIonMode","config","routerOutletCss","IonRouterOutletStyle0","RouterOutlet","constructor","__registerHost","__attachShadow","ionNavWillLoad","ionNavWillChange","ionNavDidChange","lockController","gestureOrAnimationInProgress","mode","delegate","undefined","animated","animation","swipeHandler","swipeHandlerChanged","gesture","enable","connectedCallback","_this","_asyncToGenerator","onStart","createSwipeBackGesture","el","canStart","step","_a","ani","progressStep","shouldComplete","dur","onFinish","onEnd","oneTimeCallback","newStepValue","easing","progressEnd","componentWillLoad","emit","disconnectedCallback","destroy","commit","enteringEl","leavingEl","opts","_this2","unlock","lock","changed","e","console","error","setRouteId","id","params","direction","_this3","setRoot","duration","animationBuilder","element","activeEl","getRouteId","_this4","active","tagName","activeParams","component","_this5","activeComponent","_this6","getBoolean","get","Object","assign","baseEl","deepWait","progressCallback","progressAnimation","render","key","watchers","style","defineCustomElement$1","customElements","components","forEach","define","IonRouterOutlet","defineCustomElement"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@ionic/core/components/ion-router-outlet.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';\nimport { g as getTimeGivenProgression } from './cubic-bezier.js';\nimport { a as attachComponent, d as detachComponent } from './framework-delegate.js';\nimport { s as shallowEqualStringMap, j as hasLazyBuild } from './helpers.js';\nimport { c as createLockController } from './lock-controller.js';\nimport { t as transition } from './index2.js';\nimport { b as getIonMode, c as config } from './ionic-global.js';\n\nconst routerOutletCss = \":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}\";\nconst IonRouterOutletStyle0 = routerOutletCss;\n\nconst RouterOutlet = /*@__PURE__*/ proxyCustomElement(class RouterOutlet extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.ionNavWillLoad = createEvent(this, \"ionNavWillLoad\", 7);\n this.ionNavWillChange = createEvent(this, \"ionNavWillChange\", 3);\n this.ionNavDidChange = createEvent(this, \"ionNavDidChange\", 3);\n this.lockController = createLockController();\n this.gestureOrAnimationInProgress = false;\n this.mode = getIonMode(this);\n this.delegate = undefined;\n this.animated = true;\n this.animation = undefined;\n this.swipeHandler = undefined;\n }\n swipeHandlerChanged() {\n if (this.gesture) {\n this.gesture.enable(this.swipeHandler !== undefined);\n }\n }\n async connectedCallback() {\n const onStart = () => {\n this.gestureOrAnimationInProgress = true;\n if (this.swipeHandler) {\n this.swipeHandler.onStart();\n }\n };\n this.gesture = (await import('./swipe-back.js')).createSwipeBackGesture(this.el, () => !this.gestureOrAnimationInProgress && !!this.swipeHandler && this.swipeHandler.canStart(), () => onStart(), (step) => { var _a; return (_a = this.ani) === null || _a === void 0 ? void 0 : _a.progressStep(step); }, (shouldComplete, step, dur) => {\n if (this.ani) {\n this.ani.onFinish(() => {\n this.gestureOrAnimationInProgress = false;\n if (this.swipeHandler) {\n this.swipeHandler.onEnd(shouldComplete);\n }\n }, { oneTimeCallback: true });\n // Account for rounding errors in JS\n let newStepValue = shouldComplete ? -0.001 : 0.001;\n /**\n * Animation will be reversed here, so need to\n * reverse the easing curve as well\n *\n * Additionally, we need to account for the time relative\n * to the new easing curve, as `stepValue` is going to be given\n * in terms of a linear curve.\n */\n if (!shouldComplete) {\n this.ani.easing('cubic-bezier(1, 0, 0.68, 0.28)');\n newStepValue += getTimeGivenProgression([0, 0], [1, 0], [0.68, 0.28], [1, 1], step)[0];\n }\n else {\n newStepValue += getTimeGivenProgression([0, 0], [0.32, 0.72], [0, 1], [1, 1], step)[0];\n }\n this.ani.progressEnd(shouldComplete ? 1 : 0, newStepValue, dur);\n }\n else {\n this.gestureOrAnimationInProgress = false;\n }\n });\n this.swipeHandlerChanged();\n }\n componentWillLoad() {\n this.ionNavWillLoad.emit();\n }\n disconnectedCallback() {\n if (this.gesture) {\n this.gesture.destroy();\n this.gesture = undefined;\n }\n }\n /** @internal */\n async commit(enteringEl, leavingEl, opts) {\n const unlock = await this.lockController.lock();\n let changed = false;\n try {\n changed = await this.transition(enteringEl, leavingEl, opts);\n }\n catch (e) {\n console.error(e);\n }\n unlock();\n return changed;\n }\n /** @internal */\n async setRouteId(id, params, direction, animation) {\n const changed = await this.setRoot(id, params, {\n duration: direction === 'root' ? 0 : undefined,\n direction: direction === 'back' ? 'back' : 'forward',\n animationBuilder: animation,\n });\n return {\n changed,\n element: this.activeEl,\n };\n }\n /** @internal */\n async getRouteId() {\n const active = this.activeEl;\n return active\n ? {\n id: active.tagName,\n element: active,\n params: this.activeParams,\n }\n : undefined;\n }\n async setRoot(component, params, opts) {\n if (this.activeComponent === component && shallowEqualStringMap(params, this.activeParams)) {\n return false;\n }\n // attach entering view to DOM\n const leavingEl = this.activeEl;\n const enteringEl = await attachComponent(this.delegate, this.el, component, ['ion-page', 'ion-page-invisible'], params);\n this.activeComponent = component;\n this.activeEl = enteringEl;\n this.activeParams = params;\n // commit animation\n await this.commit(enteringEl, leavingEl, opts);\n await detachComponent(this.delegate, leavingEl);\n return true;\n }\n async transition(enteringEl, leavingEl, opts = {}) {\n if (leavingEl === enteringEl) {\n return false;\n }\n // emit nav will change event\n this.ionNavWillChange.emit();\n const { el, mode } = this;\n const animated = this.animated && config.getBoolean('animated', true);\n const animationBuilder = opts.animationBuilder || this.animation || config.get('navAnimation');\n await transition(Object.assign(Object.assign({ mode,\n animated,\n enteringEl,\n leavingEl, baseEl: el,\n /**\n * We need to wait for all Stencil components\n * to be ready only when using the lazy\n * loaded bundle.\n */\n deepWait: hasLazyBuild(el), progressCallback: opts.progressAnimation\n ? (ani) => {\n /**\n * Because this progress callback is called asynchronously\n * it is possible for the gesture to start and end before\n * the animation is ever set. In that scenario, we should\n * immediately call progressEnd so that the transition promise\n * resolves and the gesture does not get locked up.\n */\n if (ani !== undefined && !this.gestureOrAnimationInProgress) {\n this.gestureOrAnimationInProgress = true;\n ani.onFinish(() => {\n this.gestureOrAnimationInProgress = false;\n if (this.swipeHandler) {\n this.swipeHandler.onEnd(false);\n }\n }, { oneTimeCallback: true });\n /**\n * Playing animation to beginning\n * with a duration of 0 prevents\n * any flickering when the animation\n * is later cleaned up.\n */\n ani.progressEnd(0, 0, 0);\n }\n else {\n this.ani = ani;\n }\n }\n : undefined }, opts), { animationBuilder }));\n // emit nav changed event\n this.ionNavDidChange.emit();\n return true;\n }\n render() {\n return h(\"slot\", { key: 'a70341f58d19df55de1dad00e3464388e446aa2a' });\n }\n get el() { return this; }\n static get watchers() { return {\n \"swipeHandler\": [\"swipeHandlerChanged\"]\n }; }\n static get style() { return IonRouterOutletStyle0; }\n}, [1, \"ion-router-outlet\", {\n \"mode\": [1025],\n \"delegate\": [16],\n \"animated\": [4],\n \"animation\": [16],\n \"swipeHandler\": [16],\n \"commit\": [64],\n \"setRouteId\": [64],\n \"getRouteId\": [64]\n }, undefined, {\n \"swipeHandler\": [\"swipeHandlerChanged\"]\n }]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-router-outlet\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-router-outlet\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, RouterOutlet);\n }\n break;\n } });\n}\n\nconst IonRouterOutlet = RouterOutlet;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonRouterOutlet, defineCustomElement };\n"],"mappings":";AAAA;AACA;AACA;AACA,SAASA,kBAAkB,EAAEC,WAAW,EAAEC,WAAW,EAAEC,CAAC,QAAQ,+BAA+B;AAC/F,SAASC,CAAC,IAAIC,uBAAuB,QAAQ,mBAAmB;AAChE,SAASC,CAAC,IAAIC,eAAe,EAAEC,CAAC,IAAIC,eAAe,QAAQ,yBAAyB;AACpF,SAASC,CAAC,IAAIC,qBAAqB,EAAEC,CAAC,IAAIC,YAAY,QAAQ,cAAc;AAC5E,SAASC,CAAC,IAAIC,oBAAoB,QAAQ,sBAAsB;AAChE,SAASC,CAAC,IAAIC,UAAU,QAAQ,aAAa;AAC7C,SAASC,CAAC,IAAIC,UAAU,EAAEL,CAAC,IAAIM,MAAM,QAAQ,mBAAmB;AAEhE,MAAMC,eAAe,GAAG,4FAA4F;AACpH,MAAMC,qBAAqB,GAAGD,eAAe;AAE7C,MAAME,YAAY,GAAG,aAAcvB,kBAAkB,CAAC,MAAMuB,YAAY,SAAStB,WAAW,CAAC;EACzFuB,WAAWA,CAAA,EAAG;IACV,KAAK,CAAC,CAAC;IACP,IAAI,CAACC,cAAc,CAAC,CAAC;IACrB,IAAI,CAACC,cAAc,CAAC,CAAC;IACrB,IAAI,CAACC,cAAc,GAAGzB,WAAW,CAAC,IAAI,EAAE,gBAAgB,EAAE,CAAC,CAAC;IAC5D,IAAI,CAAC0B,gBAAgB,GAAG1B,WAAW,CAAC,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAChE,IAAI,CAAC2B,eAAe,GAAG3B,WAAW,CAAC,IAAI,E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