voyager-ionic-core 7.5.0 → 7.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/components/ion-title.js +1 -1
  2. package/components/ios.transition.js +209 -41
  3. package/dist/cjs/{index-d93fb71d.js → index-eccba000.js} +2 -2
  4. package/dist/cjs/index.cjs.js +3 -3
  5. package/dist/cjs/ion-app_8.cjs.entry.js +2 -2
  6. package/dist/cjs/ion-modal.cjs.entry.js +1 -1
  7. package/dist/cjs/ion-nav_2.cjs.entry.js +1 -1
  8. package/dist/cjs/ion-popover.cjs.entry.js +1 -1
  9. package/dist/cjs/ionic.cjs.js +1 -1
  10. package/dist/cjs/{ios.transition-a4d545dd.js → ios.transition-5af5991e.js} +210 -42
  11. package/dist/cjs/{md.transition-80bb961b.js → md.transition-1e740a6a.js} +1 -1
  12. package/dist/collection/collection-manifest.json +1 -1
  13. package/dist/collection/components/title/title.ios.css +9 -0
  14. package/dist/collection/utils/transition/ios.transition.js +209 -41
  15. package/dist/docs.json +2 -2
  16. package/dist/esm/{index-7d2b2808.js → index-a09eac70.js} +2 -2
  17. package/dist/esm/index.js +3 -3
  18. package/dist/esm/ion-app_8.entry.js +2 -2
  19. package/dist/esm/ion-modal.entry.js +1 -1
  20. package/dist/esm/ion-nav_2.entry.js +1 -1
  21. package/dist/esm/ion-popover.entry.js +1 -1
  22. package/dist/esm/ionic.js +1 -1
  23. package/dist/esm/{ios.transition-a86d7bbe.js → ios.transition-4d1322d6.js} +210 -42
  24. package/dist/esm/{md.transition-365ef6b6.js → md.transition-66b425d0.js} +1 -1
  25. package/dist/esm-es5/index-a09eac70.js +4 -0
  26. package/dist/esm-es5/index.js +1 -1
  27. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  28. package/dist/esm-es5/ion-modal.entry.js +1 -1
  29. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  30. package/dist/esm-es5/ion-popover.entry.js +1 -1
  31. package/dist/esm-es5/ios.transition-4d1322d6.js +4 -0
  32. package/dist/esm-es5/md.transition-66b425d0.js +4 -0
  33. package/dist/ionic/index.esm.js +1 -1
  34. package/dist/ionic/ionic.esm.js +1 -1
  35. package/dist/ionic/ionic.js +1 -1
  36. package/dist/ionic/p-091c8792.system.js +4 -0
  37. package/dist/ionic/p-2a8eeef7.system.js +4 -0
  38. package/dist/ionic/p-61b192a4.system.entry.js +4 -0
  39. package/dist/ionic/{p-15decbec.entry.js → p-7423746f.entry.js} +1 -1
  40. package/dist/ionic/{p-5c3e72a8.system.js → p-755b2917.system.js} +1 -1
  41. package/dist/ionic/{p-e42aaa8b.entry.js → p-8209372c.entry.js} +1 -1
  42. package/dist/ionic/{p-a7f8dc42.entry.js → p-9e106f58.entry.js} +1 -1
  43. package/dist/ionic/p-bb055450.system.entry.js +4 -0
  44. package/dist/ionic/{p-e38a5f77.js → p-c44fe9fd.js} +1 -1
  45. package/dist/ionic/p-c575a7b8.system.entry.js +4 -0
  46. package/dist/ionic/p-de68588d.js +4 -0
  47. package/dist/ionic/p-e028178a.system.js +4 -0
  48. package/dist/ionic/{p-ced41304.system.js → p-e0f0d55f.system.js} +1 -1
  49. package/dist/ionic/{p-f34f001c.entry.js → p-e25cb483.entry.js} +1 -1
  50. package/dist/ionic/p-eb7d0922.js +4 -0
  51. package/dist/ionic/p-eb8dc56f.system.entry.js +4 -0
  52. package/dist/types/components/menu/menu-interface.d.ts +15 -4
  53. package/dist/types/stencil-public-runtime.d.ts +19 -0
  54. package/dist/types/utils/menu-controller/index.d.ts +2 -21
  55. package/hydrate/index.js +220 -44
  56. package/package.json +5 -5
  57. package/dist/esm-es5/index-7d2b2808.js +0 -4
  58. package/dist/esm-es5/ios.transition-a86d7bbe.js +0 -4
  59. package/dist/esm-es5/md.transition-365ef6b6.js +0 -4
  60. package/dist/ionic/p-128a98e8.system.js +0 -4
  61. package/dist/ionic/p-16e44585.js +0 -4
  62. package/dist/ionic/p-2bbf3ac4.system.entry.js +0 -4
  63. package/dist/ionic/p-95817276.system.entry.js +0 -4
  64. package/dist/ionic/p-9b9dcc3e.system.entry.js +0 -4
  65. package/dist/ionic/p-b9047b05.system.js +0 -4
  66. package/dist/ionic/p-c05315f5.system.entry.js +0 -4
  67. package/dist/ionic/p-c994fff0.system.js +0 -4
  68. package/dist/ionic/p-e2bb634f.js +0 -4
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,o,e,n){function r(t){return t instanceof e?t:new e((function(o){o(t)}))}return new(e||(e=Promise))((function(e,i){function a(t){try{l(n.next(t))}catch(t){i(t)}}function s(t){try{l(n["throw"](t))}catch(t){i(t)}}function l(t){t.done?e(t.value):r(t.value).then(a,s)}l((n=n.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,r,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(o){return l([t,o])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(e=0)),e)try{if(n=1,r&&(i=s[0]&2?r["return"]:s[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;if(r=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;r=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){e.label=s[1];break}if(s[0]===6&&e.label<i[1]){e.label=i[1];i=s;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(s);break}if(i[2])e.ops.pop();e.trys.pop();continue}s=o.call(t,e)}catch(t){s=[6,t];r=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-629aa3fd.system.js","./p-939e0fa1.system.js","./p-815c2fba.system.js","./p-819ff3b9.system.js","./p-44bc8b45.system.js","./p-64475ab5.system.js","./p-ff5a10f9.system.js","./p-c4f2dce7.system.js","./p-613d4042.system.js","./p-772f6c84.system.js","./p-128a98e8.system.js","./p-479cdbf8.system.js","./p-0e94957a.system.js","./p-bba2ce59.system.js","./p-ccdcb022.system.js"],(function(t,o){"use strict";var e,n,r,i,a,s,l,c,d,u,p,f,b,h,g,v,m,y,x,w,k,_,S,C,z,E,T,H;return{setters:[function(t){e=t.r;n=t.h;r=t.H;i=t.f;a=t.d;s=t.e;l=t.i;c=t.w},function(t){d=t.b;u=t.c;p=t.a},function(t){f=t.m;b=t.c;h=t.l;g=t.i;v=t.s},function(t){m=t.i},function(t){y=t.c;x=t.h},function(t){w=t.a;k=t.p;_=t.g},function(t){S=t.c},function(t){C=t.g},function(t){z=t.a;E=t.d},function(t){T=t.c},function(t){H=t.t},function(){},function(){},function(){},function(){}],execute:function(){var j="html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";var P=t("ion_app",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){var t=this;{O((function(){return __awaiter(t,void 0,void 0,(function(){var t,e,n;var r=this;return __generator(this,(function(i){switch(i.label){case 0:t=p(window,"hybrid");if(!u.getBoolean("_testing")){o.import("./p-9ab6f3e6.system.js").then((function(t){return t.startTapClick(u)}))}if(u.getBoolean("statusTap",t)){o.import("./p-c49672d8.system.js").then((function(t){return t.startStatusTap()}))}if(u.getBoolean("inputShims",L())){e=p(window,"ios")?"ios":"android";o.import("./p-b132c2c0.system.js").then((function(t){return t.startInputShims(u,e)}))}return[4,o.import("./p-8c15eda7.system.js")];case 1:n=i.sent();if(u.getBoolean("hardwareBackButton",t)){n.startHardwareBackButton()}else{n.blockHardwareBackButton()}if(typeof window!=="undefined"){o.import("./p-41477ad9.system.js").then((function(t){return t.startKeyboardAssist(window)}))}o.import("./p-87411e39.system.js").then((function(t){return r.focusVisible=t.startFocusVisible()}));return[2]}}))}))}))}};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(o){if(this.focusVisible){this.focusVisible.setFocus(t)}return[2]}))}))};t.prototype.render=function(){var t;var o=d(this);return n(r,{class:(t={},t[o]=true,t["ion-page"]=true,t["force-statusbar-padding"]=u.getBoolean("_forceStatusbarPadding"),t)})};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());var L=function(){var t=p(window,"ios")&&p(window,"mobile");if(t){return true}var o=p(window,"android")&&p(window,"mobileweb");if(o){return true}return false};var O=function(t){if("requestIdleCallback"in window){window.requestIdleCallback(t)}else{setTimeout(t,32)}};P.style=j;var B=".sc-ion-buttons-ios-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-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:5px;--padding-end:5px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-ios-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast);--background-activated:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-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.65em;line-height:0.67}";var A=".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{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:8px;--padding-end:8px;--box-shadow:none;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-md-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.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-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.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:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--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:3rem;height:3rem}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.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}";var F=t("ion_buttons",function(){function t(t){e(this,t);this.collapse=false}t.prototype.render=function(){var t;var o=d(this);return n(r,{class:(t={},t[o]=true,t["buttons-collapse"]=this.collapse,t)})};return t}());F.style={ios:B,md:A};var I=':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)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end: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;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}';var M=t("ion_content",function(){function t(t){e(this,t);this.ionScrollStart=a(this,"ionScrollStart",7);this.ionScroll=a(this,"ionScroll",7);this.ionScrollEnd=a(this,"ionScrollEnd",7);this.watchDog=null;this.isScrolling=false;this.lastScroll=0;this.queued=false;this.cTop=-1;this.cBottom=-1;this.isMainContent=true;this.resizeTimeout=null;this.tabsElement=null;this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:undefined,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:undefined,isScrolling:true};this.color=undefined;this.fullscreen=false;this.forceOverscroll=undefined;this.scrollX=false;this.scrollY=true;this.scrollEvents=false}t.prototype.connectedCallback=function(){var t=this;this.isMainContent=this.el.closest("ion-menu, ion-popover, ion-modal")===null;if(f(this.el)){var o=this.tabsElement=this.el.closest("ion-tabs");if(o!==null){this.tabsLoadCallback=function(){return t.resize()};o.addEventListener("ionTabBarLoaded",this.tabsLoadCallback)}}};t.prototype.disconnectedCallback=function(){this.onScrollEnd();if(f(this.el)){var t=this,o=t.tabsElement,e=t.tabsLoadCallback;if(o!==null&&e!==undefined){o.removeEventListener("ionTabBarLoaded",e)}this.tabsElement=null;this.tabsLoadCallback=undefined}};t.prototype.onResize=function(){var t=this;if(this.resizeTimeout){clearTimeout(this.resizeTimeout);this.resizeTimeout=null}this.resizeTimeout=setTimeout((function(){if(t.el.offsetParent===null){return}t.resize()}),100)};t.prototype.shouldForceOverscroll=function(){var t=this.forceOverscroll;var o=d(this);return t===undefined?o==="ios"&&p("ios"):t};t.prototype.resize=function(){var t=this;{if(this.fullscreen){s((function(){return t.readDimensions()}))}else if(this.cTop!==0||this.cBottom!==0){this.cTop=this.cBottom=0;l(this)}}};t.prototype.readDimensions=function(){var t=D(this.el);var o=Math.max(this.el.offsetTop,0);var e=Math.max(t.offsetHeight-o-this.el.offsetHeight,0);var n=o!==this.cTop||e!==this.cBottom;if(n){this.cTop=o;this.cBottom=e;l(this)}};t.prototype.onScroll=function(t){var o=this;var e=Date.now();var n=!this.isScrolling;this.lastScroll=e;if(n){this.onScrollStart()}if(!this.queued&&this.scrollEvents){this.queued=true;s((function(e){o.queued=false;o.detail.event=t;X(o.detail,o.scrollEl,e,n);o.ionScroll.emit(o.detail)}))}};t.prototype.getScrollElement=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(o){switch(o.label){case 0:if(!!this.scrollEl)return[3,2];return[4,new Promise((function(o){return b(t.el,o)}))];case 1:o.sent();o.label=2;case 2:return[2,Promise.resolve(this.scrollEl)]}}))}))};t.prototype.getBackgroundElement=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(o){switch(o.label){case 0:if(!!this.backgroundContentEl)return[3,2];return[4,new Promise((function(o){return b(t.el,o)}))];case 1:o.sent();o.label=2;case 2:return[2,Promise.resolve(this.backgroundContentEl)]}}))}))};t.prototype.scrollToTop=function(t){if(t===void 0){t=0}return this.scrollToPoint(undefined,0,t)};t.prototype.scrollToBottom=function(t){if(t===void 0){t=0}return __awaiter(this,void 0,void 0,(function(){var o,e;return __generator(this,(function(n){switch(n.label){case 0:return[4,this.getScrollElement()];case 1:o=n.sent();e=o.scrollHeight-o.clientHeight;return[2,this.scrollToPoint(undefined,e,t)]}}))}))};t.prototype.scrollByPoint=function(t,o,e){return __awaiter(this,void 0,void 0,(function(){var n;return __generator(this,(function(r){switch(r.label){case 0:return[4,this.getScrollElement()];case 1:n=r.sent();return[2,this.scrollToPoint(t+n.scrollLeft,o+n.scrollTop,e)]}}))}))};t.prototype.scrollToPoint=function(t,o,e){if(e===void 0){e=0}return __awaiter(this,void 0,void 0,(function(){var n,r,i,a,s,l,c,d,u;return __generator(this,(function(p){switch(p.label){case 0:return[4,this.getScrollElement()];case 1:n=p.sent();if(e<32){if(o!=null){n.scrollTop=o}if(t!=null){n.scrollLeft=t}return[2]}i=0;a=new Promise((function(t){return r=t}));s=n.scrollTop;l=n.scrollLeft;c=o!=null?o-s:0;d=t!=null?t-l:0;u=function(t){var o=Math.min(1,(t-i)/e)-1;var a=Math.pow(o,3)+1;if(c!==0){n.scrollTop=Math.floor(a*c+s)}if(d!==0){n.scrollLeft=Math.floor(a*d+l)}if(a<1){requestAnimationFrame(u)}else{r()}};requestAnimationFrame((function(t){i=t;u(t)}));return[2,a]}}))}))};t.prototype.onScrollStart=function(){var t=this;this.isScrolling=true;this.ionScrollStart.emit({isScrolling:true});if(this.watchDog){clearInterval(this.watchDog)}this.watchDog=setInterval((function(){if(t.lastScroll<Date.now()-120){t.onScrollEnd()}}),100)};t.prototype.onScrollEnd=function(){if(this.watchDog)clearInterval(this.watchDog);this.watchDog=null;if(this.isScrolling){this.isScrolling=false;this.ionScrollEnd.emit({isScrolling:false})}};t.prototype.render=function(){var t;var o=this;var e=this,i=e.isMainContent,a=e.scrollX,s=e.scrollY,l=e.el;var c=m(l)?"rtl":"ltr";var u=d(this);var p=this.shouldForceOverscroll();var f=u==="ios";var b=i?"main":"div";this.resize();return n(r,{class:y(this.color,(t={},t[u]=true,t["content-sizing"]=x("ion-popover",this.el),t.overscroll=p,t["content-".concat(c)]=true,t)),style:{"--offset-top":"".concat(this.cTop,"px"),"--offset-bottom":"".concat(this.cBottom,"px")}},n("div",{ref:function(t){return o.backgroundContentEl=t},id:"background-content",part:"background"}),n(b,{class:{"inner-scroll":true,"scroll-x":a,"scroll-y":s,overscroll:(a||s)&&p},ref:function(t){return o.scrollEl=t},onScroll:this.scrollEvents?function(t){return o.onScroll(t)}:undefined,part:"scroll"},n("slot",null)),f?n("div",{class:"transition-effect"},n("div",{class:"transition-cover"}),n("div",{class:"transition-shadow"})):null,n("slot",{name:"fixed"}))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());var q=function(t){var o;if(t.parentElement){return t.parentElement}if((o=t.parentNode)===null||o===void 0?void 0:o.host){return t.parentNode.host}return null};var D=function(t){var o=t.closest("ion-tabs");if(o){return o}var e=t.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content");if(e){return e}return q(t)};var X=function(t,o,e,n){var r=t.currentX;var i=t.currentY;var a=t.currentTime;var s=o.scrollLeft;var l=o.scrollTop;var c=e-a;if(n){t.startTime=e;t.startX=s;t.startY=l;t.velocityX=t.velocityY=0}t.currentTime=e;t.currentX=t.scrollLeft=s;t.currentY=t.scrollTop=l;t.deltaX=s-t.startX;t.deltaY=l-t.startY;if(c>0&&c<100){var d=(s-r)/c;var u=(l-i)/c;t.velocityX=d*.7+t.velocityX*.3;t.velocityY=u*.7+t.velocityY*.3}};M.style=I;var Z=function(t,o){s((function(){var e=t.scrollTop;var n=t.scrollHeight-t.clientHeight;var r=10;var i=n-r;var a=e-i;var s=h(0,1-a/r,1);c((function(){o.style.setProperty("--opacity-scale",s.toString())}))}))};var Y="ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-ios ion-toolbar:first-of-type{--border-width:0.55px 0 0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.footer-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.footer-translucent-ios ion-toolbar{--opacity:.8}}.footer-ios.ion-no-border ion-toolbar:first-of-type{--border-width:0}.footer-collapse-fade ion-toolbar{--opacity-scale:inherit}";var N="ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.footer-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}";var R=t("ion_footer",function(){function t(t){var o=this;e(this,t);this.keyboardCtrl=null;this.checkCollapsibleFooter=function(){var t=d(o);if(t!=="ios"){return}var e=o.collapse;var n=e==="fade";o.destroyCollapsibleFooter();if(n){var r=o.el.closest("ion-app,ion-page,.ion-page,page-inner");var i=r?w(r):null;if(!i){k(o.el);return}o.setupFadeFooter(i)}};this.setupFadeFooter=function(t){return __awaiter(o,void 0,void 0,(function(){var o,e;var n=this;return __generator(this,(function(r){switch(r.label){case 0:e=this;return[4,_(t)];case 1:o=e.scrollEl=r.sent();this.contentScrollCallback=function(){Z(o,n.el)};o.addEventListener("scroll",this.contentScrollCallback);Z(o,this.el);return[2]}}))}))};this.keyboardVisible=false;this.collapse=undefined;this.translucent=false}t.prototype.componentDidLoad=function(){this.checkCollapsibleFooter()};t.prototype.componentDidUpdate=function(){this.checkCollapsibleFooter()};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t;var o=this;return __generator(this,(function(e){switch(e.label){case 0:t=this;return[4,S((function(t,e){return __awaiter(o,void 0,void 0,(function(){return __generator(this,(function(o){switch(o.label){case 0:if(!(t===false&&e!==undefined))return[3,2];return[4,e];case 1:o.sent();o.label=2;case 2:this.keyboardVisible=t;return[2]}}))}))}))];case 1:t.keyboardCtrl=e.sent();return[2]}}))}))};t.prototype.disconnectedCallback=function(){if(this.keyboardCtrl){this.keyboardCtrl.destroy()}};t.prototype.destroyCollapsibleFooter=function(){if(this.scrollEl&&this.contentScrollCallback){this.scrollEl.removeEventListener("scroll",this.contentScrollCallback);this.contentScrollCallback=undefined}};t.prototype.render=function(){var t;var o=this,e=o.translucent,i=o.collapse;var a=d(this);var s=this.el.closest("ion-tabs");var l=s===null||s===void 0?void 0:s.querySelector(":scope > ion-tab-bar");return n(r,{role:"contentinfo",class:(t={},t[a]=true,t["footer-".concat(a)]=true,t["footer-translucent"]=e,t["footer-translucent-".concat(a)]=e,t["footer-toolbar-padding"]=!this.keyboardVisible&&(!l||l.slot!=="bottom"),t["footer-collapse-".concat(i)]=i!==undefined,t)},a==="ios"&&e&&n("div",{class:"footer-background"}),n("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());R.style={ios:Y,md:N};var W="all 0.2s ease-in-out";var V=function(t){var o=document.querySelector("".concat(t,".ion-cloned-element"));if(o!==null){return o}var e=document.createElement(t);e.classList.add("ion-cloned-element");e.style.setProperty("display","none");document.body.appendChild(e);return e};var G=function(t){if(!t){return}var o=t.querySelectorAll("ion-toolbar");return{el:t,toolbars:Array.from(o).map((function(t){var o=t.querySelector("ion-title");return{el:t,background:t.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:o,innerTitleEl:o?o.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(t.querySelectorAll("ion-buttons"))}}))}};var U=function(t,o,e){s((function(){var n=t.scrollTop;var r=h(1,1+-n/500,1.1);var i=e.querySelector("ion-refresher.refresher-native");if(i===null){c((function(){tt(o.toolbars,r)}))}}))};var K=function(t,o){if(t.collapse==="fade"){return}if(o===undefined){t.style.removeProperty("--opacity-scale")}else{t.style.setProperty("--opacity-scale",o.toString())}};var J=function(t,o,e){if(!t[0].isIntersecting){return}var n=t[0].intersectionRatio>.9||e<=0?0:(1-t[0].intersectionRatio)*100/75;K(o.el,n===1?undefined:n)};var Q=function(t,o,e,n){c((function(){var r=n.scrollTop;J(t,o,r);var i=t[0];var a=i.intersectionRect;var s=a.width*a.height;var l=i.rootBounds.width*i.rootBounds.height;var c=s===0&&l===0;var d=Math.abs(a.left-i.boundingClientRect.left);var u=Math.abs(a.right-i.boundingClientRect.right);var p=s>0&&(d>=5||u>=5);if(c||p){return}if(i.isIntersecting){$(o,false);$(e)}else{var f=a.x===0&&a.y===0||a.width!==0&&a.height!==0;if(f&&r>0){$(o);$(e,false);K(o.el)}}}))};var $=function(t,o){if(o===void 0){o=true}var e=t.el;if(o){e.classList.remove("header-collapse-condense-inactive");e.removeAttribute("aria-hidden")}else{e.classList.add("header-collapse-condense-inactive");e.setAttribute("aria-hidden","true")}};var tt=function(t,o,e){if(t===void 0){t=[]}if(o===void 0){o=1}if(e===void 0){e=false}t.forEach((function(t){var n=t.ionTitleEl;var r=t.innerTitleEl;if(!n||n.size!=="large"){return}r.style.transition=e?W:"";r.style.transform="scale3d(".concat(o,", ").concat(o,", 1)")}))};var ot=function(t,o,e){s((function(){var n=t.scrollTop;var r=o.clientHeight;var i=e?e.clientHeight:0;if(e!==null&&n<i){o.style.setProperty("--opacity-scale","0");t.style.setProperty("clip-path","inset(".concat(r,"px 0px 0px 0px)"));return}var a=n-i;var s=10;var l=h(0,a/s,1);c((function(){t.style.removeProperty("clip-path");o.style.setProperty("--opacity-scale",l.toString())}))}))};var et="ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header:not(.header-collapse-main):has(~ion-content ion-header[collapse=condense]){opacity:0}";var nt="ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}";var rt=t("ion_header",function(){function t(t){var o=this;e(this,t);this.inheritedAttributes={};this.setupFadeHeader=function(t,e){return __awaiter(o,void 0,void 0,(function(){var o,n;var r=this;return __generator(this,(function(i){switch(i.label){case 0:n=this;return[4,_(t)];case 1:o=n.scrollEl=i.sent();this.contentScrollCallback=function(){ot(r.scrollEl,r.el,e)};o.addEventListener("scroll",this.contentScrollCallback);ot(this.scrollEl,this.el,e);return[2]}}))}))};this.collapse=undefined;this.translucent=false}t.prototype.componentWillLoad=function(){this.inheritedAttributes=g(this.el)};t.prototype.componentDidLoad=function(){this.checkCollapsibleHeader()};t.prototype.componentDidUpdate=function(){this.checkCollapsibleHeader()};t.prototype.disconnectedCallback=function(){this.destroyCollapsibleHeader()};t.prototype.checkCollapsibleHeader=function(){return __awaiter(this,void 0,void 0,(function(){var t,o,e,n,r,i,r,i,a;return __generator(this,(function(s){switch(s.label){case 0:t=d(this);if(t!=="ios"){return[2]}o=this.collapse;e=o==="condense";n=o==="fade";this.destroyCollapsibleHeader();if(!e)return[3,2];r=this.el.closest("ion-app,ion-page,.ion-page,page-inner");i=r?w(r):null;c((function(){var t=V("ion-title");t.size="large";V("ion-back-button")}));return[4,this.setupCondenseHeader(i,r)];case 1:s.sent();return[3,4];case 2:if(!n)return[3,4];r=this.el.closest("ion-app,ion-page,.ion-page,page-inner");i=r?w(r):null;if(!i){k(this.el);return[2]}a=i.querySelector('ion-header[collapse="condense"]');return[4,this.setupFadeHeader(i,a)];case 3:s.sent();s.label=4;case 4:return[2]}}))}))};t.prototype.destroyCollapsibleHeader=function(){if(this.intersectionObserver){this.intersectionObserver.disconnect();this.intersectionObserver=undefined}if(this.scrollEl&&this.contentScrollCallback){this.scrollEl.removeEventListener("scroll",this.contentScrollCallback);this.contentScrollCallback=undefined}if(this.collapsibleMainHeader){this.collapsibleMainHeader.classList.remove("header-collapse-main");this.collapsibleMainHeader=undefined}};t.prototype.setupCondenseHeader=function(t,o){return __awaiter(this,void 0,void 0,(function(){var e,n,r,i,a;var s=this;return __generator(this,(function(l){switch(l.label){case 0:if(!t||!o){k(this.el);return[2]}if(typeof IntersectionObserver==="undefined"){return[2]}e=this;return[4,_(t)];case 1:e.scrollEl=l.sent();n=o.querySelectorAll("ion-header");this.collapsibleMainHeader=Array.from(n).find((function(t){return t.collapse!=="condense"}));if(!this.collapsibleMainHeader){return[2]}r=G(this.collapsibleMainHeader);i=G(this.el);if(!r||!i){return[2]}$(r,false);K(r.el,0);a=function(t){Q(t,r,i,s.scrollEl)};this.intersectionObserver=new IntersectionObserver(a,{root:t,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]});this.intersectionObserver.observe(i.toolbars[i.toolbars.length-1].el);this.contentScrollCallback=function(){U(s.scrollEl,i,t)};this.scrollEl.addEventListener("scroll",this.contentScrollCallback);c((function(){if(s.collapsibleMainHeader!==undefined){s.collapsibleMainHeader.classList.add("header-collapse-main")}}));return[2]}}))}))};t.prototype.render=function(){var t;var o=this,e=o.translucent,i=o.inheritedAttributes;var a=d(this);var s=this.collapse||"none";var l=x("ion-menu",this.el)?"none":"banner";return n(r,Object.assign({role:l,class:(t={},t[a]=true,t["header-".concat(a)]=true,t["header-translucent"]=this.translucent,t["header-collapse-".concat(s)]=true,t["header-translucent-".concat(a)]=this.translucent,t)},i),a==="ios"&&e&&n("div",{class:"header-background"}),n("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());rt.style={ios:et,md:nt};var it=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";var at=t("ion_router_outlet",function(){function t(t){e(this,t);this.ionNavWillLoad=a(this,"ionNavWillLoad",7);this.ionNavWillChange=a(this,"ionNavWillChange",3);this.ionNavDidChange=a(this,"ionNavDidChange",3);this.lockController=T();this.gestureOrAnimationInProgress=false;this.mode=d(this);this.delegate=undefined;this.animated=true;this.animation=undefined;this.swipeHandler=undefined}t.prototype.swipeHandlerChanged=function(){if(this.gesture){this.gesture.enable(this.swipeHandler!==undefined)}};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;var n=this;return __generator(this,(function(r){switch(r.label){case 0:t=function(){n.gestureOrAnimationInProgress=true;if(n.swipeHandler){n.swipeHandler.onStart()}};e=this;return[4,o.import("./p-b912e055.system.js")];case 1:e.gesture=r.sent().createSwipeBackGesture(this.el,(function(){return!n.gestureOrAnimationInProgress&&!!n.swipeHandler&&n.swipeHandler.canStart()}),(function(){return t()}),(function(t){var o;return(o=n.ani)===null||o===void 0?void 0:o.progressStep(t)}),(function(t,o,e){if(n.ani){n.ani.onFinish((function(){n.gestureOrAnimationInProgress=false;if(n.swipeHandler){n.swipeHandler.onEnd(t)}}),{oneTimeCallback:true});var r=t?-.001:.001;if(!t){n.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)");r+=C([0,0],[1,0],[.68,.28],[1,1],o)[0]}else{n.ani.easing("linear");r+=o}n.ani.progressEnd(t?1:0,r,e)}else{n.gestureOrAnimationInProgress=false}}));this.swipeHandlerChanged();return[2]}}))}))};t.prototype.componentWillLoad=function(){this.ionNavWillLoad.emit()};t.prototype.disconnectedCallback=function(){if(this.gesture){this.gesture.destroy();this.gesture=undefined}};t.prototype.commit=function(t,o,e){return __awaiter(this,void 0,void 0,(function(){var n,r,i;return __generator(this,(function(a){switch(a.label){case 0:return[4,this.lockController.lock()];case 1:n=a.sent();r=false;a.label=2;case 2:a.trys.push([2,4,,5]);return[4,this.transition(t,o,e)];case 3:r=a.sent();return[3,5];case 4:i=a.sent();console.error(i);return[3,5];case 5:n();return[2,r]}}))}))};t.prototype.setRouteId=function(t,o,e,n){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:return[4,this.setRoot(t,o,{duration:e==="root"?0:undefined,direction:e==="back"?"back":"forward",animationBuilder:n})];case 1:r=i.sent();return[2,{changed:r,element:this.activeEl}]}}))}))};t.prototype.getRouteId=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(o){t=this.activeEl;return[2,t?{id:t.tagName,element:t,params:this.activeParams}:undefined]}))}))};t.prototype.setRoot=function(t,o,e){return __awaiter(this,void 0,void 0,(function(){var n,r;return __generator(this,(function(i){switch(i.label){case 0:if(this.activeComponent===t&&v(o,this.activeParams)){return[2,false]}n=this.activeEl;return[4,z(this.delegate,this.el,t,["ion-page","ion-page-invisible"],o)];case 1:r=i.sent();this.activeComponent=t;this.activeEl=r;this.activeParams=o;return[4,this.commit(r,n,e)];case 2:i.sent();return[4,E(this.delegate,n)];case 3:i.sent();return[2,true]}}))}))};t.prototype.transition=function(t,o,e){if(e===void 0){e={}}return __awaiter(this,void 0,void 0,(function(){var n,r,i,a,s;var l=this;return __generator(this,(function(c){switch(c.label){case 0:if(o===t){return[2,false]}this.ionNavWillChange.emit();n=this,r=n.el,i=n.mode;a=this.animated&&u.getBoolean("animated",true);s=e.animationBuilder||this.animation||u.get("navAnimation");return[4,H(Object.assign(Object.assign({mode:i,animated:a,enteringEl:t,leavingEl:o,baseEl:r,deepWait:f(r),progressCallback:e.progressAnimation?function(t){if(t!==undefined&&!l.gestureOrAnimationInProgress){l.gestureOrAnimationInProgress=true;t.onFinish((function(){l.gestureOrAnimationInProgress=false;if(l.swipeHandler){l.swipeHandler.onEnd(false)}}),{oneTimeCallback:true});t.progressEnd(0,0,0)}else{l.ani=t}}:undefined},e),{animationBuilder:s}))];case 1:c.sent();this.ionNavDidChange.emit();return[2,true]}}))}))};t.prototype.render=function(){return n("slot",null)};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{swipeHandler:["swipeHandlerChanged"]}},enumerable:false,configurable:true});return t}());at.style=it;var st=":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}: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}:host(.title-small) .toolbar-title{white-space:normal}:host{top:0;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:min(1.0625rem, 20.4px);font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host:dir(rtl){left:unset;right:unset;right:0}}}:host(.title-small){-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:min(0.8125rem, 23.4px);font-weight:normal}:host(.title-large){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:2px;padding-bottom:4px;-webkit-transform-origin:left center;transform-origin:left center;position:static;-ms-flex-align:end;align-items:flex-end;min-width:100%;font-size:min(2.125rem, 61.2px);font-weight:700;text-align:start}:host(.title-large.title-rtl){-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000);font-family:var(--ion-font-family)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}@supports selector(:dir(rtl)){:host(.title-large) .toolbar-title:dir(rtl){-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}}";var lt=":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}: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}:host(.title-small) .toolbar-title{white-space:normal}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;letter-spacing:0.0125em}:host(.title-small){width:100%;height:100%;font-size:0.9375rem;font-weight:normal}";var ct=t("ion_title",function(){function t(t){e(this,t);this.ionStyle=a(this,"ionStyle",7);this.color=undefined;this.size=undefined}t.prototype.sizeChanged=function(){this.emitStyle()};t.prototype.connectedCallback=function(){this.emitStyle()};t.prototype.emitStyle=function(){var t;var o=this.getSize();this.ionStyle.emit((t={},t["title-".concat(o)]=true,t))};t.prototype.getSize=function(){return this.size!==undefined?this.size:"default"};t.prototype.render=function(){var t;var o=d(this);var e=this.getSize();return n(r,{class:y(this.color,(t={},t[o]=true,t["title-".concat(e)]=true,t["title-rtl"]=document.dir==="rtl",t))},n("div",{class:"toolbar-title"},n("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{size:["sizeChanged"]}},enumerable:false,configurable:true});return t}());ct.style={ios:st,md:lt};var dt=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end: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}.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:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}";var ut=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end: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}.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:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::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(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-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}";var pt=t("ion_toolbar",function(){function t(t){e(this,t);this.childrenStyles=new Map;this.color=undefined}t.prototype.componentWillLoad=function(){var t=Array.from(this.el.querySelectorAll("ion-buttons"));var o=t.find((function(t){return t.slot==="start"}));if(o){o.classList.add("buttons-first-slot")}var e=t.reverse();var n=e.find((function(t){return t.slot==="end"}))||e.find((function(t){return t.slot==="primary"}))||e.find((function(t){return t.slot==="secondary"}));if(n){n.classList.add("buttons-last-slot")}};t.prototype.childrenStyle=function(t){t.stopPropagation();var o=t.target.tagName;var e=t.detail;var n={};var r=this.childrenStyles.get(o)||{};var i=false;Object.keys(e).forEach((function(t){var o="toolbar-".concat(t);var a=e[t];if(a!==r[o]){i=true}if(a){n[o]=true}}));if(i){this.childrenStyles.set(o,n);l(this)}};t.prototype.render=function(){var t;var o=d(this);var e={};this.childrenStyles.forEach((function(t){Object.assign(e,t)}));return n(r,{class:Object.assign(Object.assign({},e),y(this.color,(t={},t[o]=true,t["in-toolbar"]=x("ion-toolbar",this.el),t)))},n("div",{class:"toolbar-background"}),n("div",{class:"toolbar-container"},n("slot",{name:"start"}),n("slot",{name:"secondary"}),n("div",{class:"toolbar-content"},n("slot",null)),n("slot",{name:"primary"}),n("slot",{name:"end"})))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());pt.style={ios:dt,md:ut}}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{u(i.next(e))}catch(e){o(e)}}function a(e){try{u(i["throw"](e))}catch(e){o(e)}}function u(e){e.done?n(e.value):r(e.value).then(s,a)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return u([e,t])}}function u(a){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(n=0)),n)try{if(i=1,r&&(o=a[0]&2?r["return"]:a[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;if(r=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;r=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){n.label=a[1];break}if(a[0]===6&&n.label<o[1]){n.label=o[1];o=a;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(a);break}if(o[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];r=0}finally{i=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-629aa3fd.system.js","./p-c4f2dce7.system.js","./p-815c2fba.system.js","./p-128a98e8.system.js","./p-939e0fa1.system.js","./p-613d4042.system.js"],(function(e,t){"use strict";var n,i,r,o,s,a,u,f,c,l,h,d,v,p,m,g,w;return{setters:[function(e){n=e.r;i=e.d;r=e.h;o=e.f;s=e.H},function(e){a=e.g},function(e){u=e.o;f=e.s},function(e){c=e.l;l=e.t;h=e.s;d=e.d;v=e.b;p=e.c},function(e){m=e.b;g=e.c},function(e){w=e.a}],execute:function(){var y=1;var b=2;var _=3;var S=function(){function e(e,t){this.component=e;this.params=t;this.state=y}e.prototype.init=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:this.state=b;if(!!this.element)return[3,2];t=this.component;n=this;return[4,w(this.delegate,e,t,["ion-page","ion-page-invisible"],this.params)];case 1:n.element=i.sent();i.label=2;case 2:return[2]}}))}))};e.prototype._destroy=function(){u(this.state!==_,"view state must be ATTACHED");var e=this.element;if(e){if(this.delegate){this.delegate.removeViewFromDom(e.parentElement,e)}else{e.remove()}}this.nav=undefined;this.state=_};return e}();var k=function(e,t,n){if(!e){return false}if(e.component!==t){return false}return f(e.params,n)};var C=function(e,t){if(!e){return null}if(e instanceof S){return e}return new S(e,t)};var V=function(e){return e.map((function(e){if(e instanceof S){return e}if("component"in e){return C(e.component,e.componentProps===null?undefined:e.componentProps)}return C(e,undefined)})).filter((function(e){return e!==null}))};var T=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";var P=e("ion_nav",function(){function e(e){n(this,e);this.ionNavWillLoad=i(this,"ionNavWillLoad",7);this.ionNavWillChange=i(this,"ionNavWillChange",3);this.ionNavDidChange=i(this,"ionNavDidChange",3);this.transInstr=[];this.gestureOrAnimationInProgress=false;this.useRouter=false;this.isTransitioning=false;this.destroyed=false;this.views=[];this.didLoad=false;this.delegate=undefined;this.swipeGesture=undefined;this.animated=true;this.animation=undefined;this.rootParams=undefined;this.root=undefined}e.prototype.swipeGestureChanged=function(){if(this.gesture){this.gesture.enable(this.swipeGesture===true)}};e.prototype.rootChanged=function(){if(this.root===undefined){return}if(this.didLoad===false){return}if(!this.useRouter){if(this.root!==undefined){this.setRoot(this.root,this.rootParams)}}};e.prototype.componentWillLoad=function(){this.useRouter=document.querySelector("ion-router")!==null&&this.el.closest("[no-router]")===null;if(this.swipeGesture===undefined){var e=m(this);this.swipeGesture=g.getBoolean("swipeBackEnabled",e==="ios")}this.ionNavWillLoad.emit()};e.prototype.componentDidLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:this.didLoad=true;this.rootChanged();e=this;return[4,t.import("./p-b912e055.system.js")];case 1:e.gesture=n.sent().createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this));this.swipeGestureChanged();return[2]}}))}))};e.prototype.connectedCallback=function(){this.destroyed=false};e.prototype.disconnectedCallback=function(){for(var e=0,t=this.views;e<t.length;e++){var n=t[e];c(n.element,d);n._destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.transInstr.length=0;this.views.length=0;this.destroyed=true};e.prototype.push=function(e,t,n,i){return this.insert(-1,e,t,n,i)};e.prototype.insert=function(e,t,n,i,r){return this.insertPages(e,[{component:t,componentProps:n}],i,r)};e.prototype.insertPages=function(e,t,n,i){return this.queueTrns({insertStart:e,insertViews:t,opts:n},i)};e.prototype.pop=function(e,t){return this.removeIndex(-1,1,e,t)};e.prototype.popTo=function(e,t,n){var i={removeStart:-1,removeCount:-1,opts:t};if(typeof e==="object"&&e.component){i.removeView=e;i.removeStart=1}else if(typeof e==="number"){i.removeStart=e+1}return this.queueTrns(i,n)};e.prototype.popToRoot=function(e,t){return this.removeIndex(1,-1,e,t)};e.prototype.removeIndex=function(e,t,n,i){if(t===void 0){t=1}return this.queueTrns({removeStart:e,removeCount:t,opts:n},i)};e.prototype.setRoot=function(e,t,n,i){return this.setPages([{component:e,componentProps:t}],n,i)};e.prototype.setPages=function(e,t,n){t!==null&&t!==void 0?t:t={};if(t.animated!==true){t.animated=false}return this.queueTrns({insertStart:0,insertViews:e,removeStart:0,removeCount:-1,opts:t},n)};e.prototype.setRouteId=function(e,t,n,i){var r=this;var o=this.getActiveSync();if(k(o,e,t)){return Promise.resolve({changed:false,element:o.element})}var s;var a=new Promise((function(e){return s=e}));var u;var f={updateURL:false,viewIsReady:function(e){var t;var n=new Promise((function(e){return t=e}));s({changed:true,element:e,markVisible:function(){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:t();return[4,u];case 1:e.sent();return[2]}}))}))}});return n}};if(n==="root"){u=this.setRoot(e,t,f)}else{var c=this.views.find((function(n){return k(n,e,t)}));if(c){u=this.popTo(c,Object.assign(Object.assign({},f),{direction:"back",animationBuilder:i}))}else if(n==="forward"){u=this.push(e,t,Object.assign(Object.assign({},f),{animationBuilder:i}))}else if(n==="back"){u=this.setRoot(e,t,Object.assign(Object.assign({},f),{direction:"back",animated:true,animationBuilder:i}))}}return a};e.prototype.getRouteId=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getActiveSync();if(e){return[2,{id:e.element.tagName,params:e.params,element:e.element}]}return[2,undefined]}))}))};e.prototype.getActive=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.getActiveSync()]}))}))};e.prototype.getByIndex=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.views[e]]}))}))};e.prototype.canGoBack=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.canGoBackSync(e)]}))}))};e.prototype.getPrevious=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.getPreviousSync(e)]}))}))};e.prototype.getLength=function(){return this.views.length};e.prototype.getActiveSync=function(){return this.views[this.views.length-1]};e.prototype.canGoBackSync=function(e){if(e===void 0){e=this.getActiveSync()}return!!(e&&this.getPreviousSync(e))};e.prototype.getPreviousSync=function(e){if(e===void 0){e=this.getActiveSync()}if(!e){return undefined}var t=this.views;var n=t.indexOf(e);return n>0?t[n-1]:undefined};e.prototype.queueTrns=function(e,t){return __awaiter(this,void 0,void 0,(function(){var n,i,r,o,s;return __generator(this,(function(a){switch(a.label){case 0:if(this.isTransitioning&&((n=e.opts)===null||n===void 0?void 0:n.skipIfBusy)){return[2,false]}r=new Promise((function(t,n){e.resolve=t;e.reject=n}));e.done=t;if(!(e.opts&&e.opts.updateURL!==false&&this.useRouter))return[3,2];o=document.querySelector("ion-router");if(!o)return[3,2];return[4,o.canTransition()];case 1:s=a.sent();if(s===false){return[2,false]}if(typeof s==="string"){o.push(s,e.opts.direction||"back");return[2,false]}a.label=2;case 2:if(((i=e.insertViews)===null||i===void 0?void 0:i.length)===0){e.insertViews=undefined}this.transInstr.push(e);this.nextTrns();return[2,r]}}))}))};e.prototype.success=function(e,t){if(this.destroyed){this.fireError("nav controller was destroyed",t);return}if(t.done){t.done(e.hasCompleted,e.requiresTransition,e.enteringView,e.leavingView,e.direction)}t.resolve(e.hasCompleted);if(t.opts.updateURL!==false&&this.useRouter){var n=document.querySelector("ion-router");if(n){var i=e.direction==="back"?"back":"forward";n.navChanged(i)}}};e.prototype.failed=function(e,t){if(this.destroyed){this.fireError("nav controller was destroyed",t);return}this.transInstr.length=0;this.fireError(e,t)};e.prototype.fireError=function(e,t){if(t.done){t.done(false,false,e)}if(t.reject&&!this.destroyed){t.reject(e)}else{t.resolve(false)}};e.prototype.nextTrns=function(){if(this.isTransitioning){return false}var e=this.transInstr.shift();if(!e){return false}this.runTransition(e);return true};e.prototype.runTransition=function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,i,r,o,s;return __generator(this,(function(a){switch(a.label){case 0:a.trys.push([0,6,,7]);this.ionNavWillChange.emit();this.isTransitioning=true;this.prepareTI(e);t=this.getActiveSync();n=this.getEnteringView(e,t);if(!t&&!n){throw new Error("no views in the stack to be removed")}if(!(n&&n.state===y))return[3,2];return[4,n.init(this.el)];case 1:a.sent();a.label=2;case 2:this.postViewInit(n,t,e);i=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&n!==t;if(i&&e.opts&&t){r=e.opts.direction==="back";if(r){e.opts.animationBuilder=e.opts.animationBuilder||(n===null||n===void 0?void 0:n.animationBuilder)}t.animationBuilder=e.opts.animationBuilder}o=void 0;if(!i)return[3,4];return[4,this.transition(n,t,e)];case 3:o=a.sent();return[3,5];case 4:o={hasCompleted:true,requiresTransition:false};a.label=5;case 5:this.success(o,e);this.ionNavDidChange.emit();return[3,7];case 6:s=a.sent();this.failed(s,e);return[3,7];case 7:this.isTransitioning=false;this.nextTrns();return[2]}}))}))};e.prototype.prepareTI=function(e){var t,n;var i;var r=this.views.length;(t=e.opts)!==null&&t!==void 0?t:e.opts={};(n=(i=e.opts).delegate)!==null&&n!==void 0?n:i.delegate=this.delegate;if(e.removeView!==undefined){u(e.removeStart!==undefined,"removeView needs removeStart");u(e.removeCount!==undefined,"removeView needs removeCount");var o=this.views.indexOf(e.removeView);if(o<0){throw new Error("removeView was not found")}e.removeStart+=o}if(e.removeStart!==undefined){if(e.removeStart<0){e.removeStart=r-1}if(e.removeCount<0){e.removeCount=r-e.removeStart}e.leavingRequiresTransition=e.removeCount>0&&e.removeStart+e.removeCount===r}if(e.insertViews){if(e.insertStart<0||e.insertStart>r){e.insertStart=r}e.enteringRequiresTransition=e.insertStart===r}var s=e.insertViews;if(!s){return}u(s.length>0,"length can not be zero");var a=V(s);if(a.length===0){throw new Error("invalid views to insert")}for(var f=0,c=a;f<c.length;f++){var l=c[f];l.delegate=e.opts.delegate;var h=l.nav;if(h&&h!==this){throw new Error("inserted view was already inserted")}if(l.state===_){throw new Error("inserted view was already destroyed")}}e.insertViews=a};e.prototype.getEnteringView=function(e,t){var n=e.insertViews;if(n!==undefined){return n[n.length-1]}var i=e.removeStart;if(i!==undefined){var r=this.views;var o=i+e.removeCount;for(var s=r.length-1;s>=0;s--){var a=r[s];if((s<i||s>=o)&&a!==t){return a}}}return undefined};e.prototype.postViewInit=function(e,t,n){var i,r,o;u(t||e,"Both leavingView and enteringView are null");u(n.resolve,"resolve must be valid");u(n.reject,"reject must be valid");var s=n.opts;var a=n.insertViews,f=n.removeStart,l=n.removeCount;var h;if(f!==undefined&&l!==undefined){u(f>=0,"removeStart can not be negative");u(l>=0,"removeCount can not be negative");h=[];for(var m=f;m<f+l;m++){var g=this.views[m];if(g!==undefined&&g!==e&&g!==t){h.push(g)}}(i=s.direction)!==null&&i!==void 0?i:s.direction="back"}var w=this.views.length+((r=a===null||a===void 0?void 0:a.length)!==null&&r!==void 0?r:0)-(l!==null&&l!==void 0?l:0);u(w>=0,"final balance can not be negative");if(w===0){console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el);throw new Error("navigation stack needs at least one root page")}if(a){var y=n.insertStart;for(var b=0,_=a;b<_.length;b++){var g=_[b];this.insertViewAt(g,y);y++}if(n.enteringRequiresTransition){(o=s.direction)!==null&&o!==void 0?o:s.direction="forward"}}if(h&&h.length>0){for(var S=0,k=h;S<k.length;S++){var g=k[S];c(g.element,v);c(g.element,p);c(g.element,d)}for(var C=0,V=h;C<V.length;C++){var g=V[C];this.destroyView(g)}}};e.prototype.transition=function(e,t,n){return __awaiter(this,void 0,void 0,(function(){var i,r,o,s,a,u,f;var c=this;return __generator(this,(function(h){switch(h.label){case 0:i=n.opts;r=i.progressAnimation?function(e){if(e!==undefined&&!c.gestureOrAnimationInProgress){c.gestureOrAnimationInProgress=true;e.onFinish((function(){c.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});e.progressEnd(0,0,0)}else{c.sbAni=e}}:undefined;o=m(this);s=e.element;a=t&&t.element;u=Object.assign(Object.assign({mode:o,showGoBack:this.canGoBackSync(e),baseEl:this.el,progressCallback:r,animated:this.animated&&g.getBoolean("animated",true),enteringEl:s,leavingEl:a},i),{animationBuilder:i.animationBuilder||this.animation||g.get("navAnimation")});return[4,l(u)];case 1:f=h.sent().hasCompleted;return[2,this.transitionFinish(f,e,t,i)]}}))}))};e.prototype.transitionFinish=function(e,t,n,i){var r=e?t:n;if(r){this.unmountInactiveViews(r)}return{hasCompleted:e,requiresTransition:true,enteringView:t,leavingView:n,direction:i.direction}};e.prototype.insertViewAt=function(e,t){var n=this.views;var i=n.indexOf(e);if(i>-1){u(e.nav===this,"view is not part of the nav");n.splice(i,1);n.splice(t,0,e)}else{u(!e.nav,"nav is used");e.nav=this;n.splice(t,0,e)}};e.prototype.removeView=function(e){u(e.state===b||e.state===_,"view state should be loaded or destroyed");var t=this.views;var n=t.indexOf(e);u(n>-1,"view must be part of the stack");if(n>=0){t.splice(n,1)}};e.prototype.destroyView=function(e){e._destroy();this.removeView(e)};e.prototype.unmountInactiveViews=function(e){if(this.destroyed){return}var t=this.views;var n=t.indexOf(e);for(var i=t.length-1;i>=0;i--){var r=t[i];var o=r.element;if(o){if(i>n){c(o,d);this.destroyView(r)}else if(i<n){h(o,true)}}}};e.prototype.canStart=function(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&this.transInstr.length===0&&this.canGoBackSync()};e.prototype.onStart=function(){this.gestureOrAnimationInProgress=true;this.pop({direction:"back",progressAnimation:true})};e.prototype.onMove=function(e){if(this.sbAni){this.sbAni.progressStep(e)}};e.prototype.onEnd=function(e,t,n){var i=this;if(this.sbAni){this.sbAni.onFinish((function(){i.gestureOrAnimationInProgress=false}),{oneTimeCallback:true});var r=e?-.001:.001;if(!e){this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)");r+=a([0,0],[1,0],[.68,.28],[1,1],t)[0]}else{r+=a([0,0],[.32,.72],[0,1],[1,1],t)[0]}this.sbAni.progressEnd(e?1:0,r,n)}else{this.gestureOrAnimationInProgress=false}};e.prototype.render=function(){return r("slot",null)};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}},enumerable:false,configurable:true});return e}());P.style=T;var A=function(e,t,n,i,r){var o=e.closest("ion-nav");if(o){if(t==="forward"){if(n!==undefined){return o.push(n,i,{skipIfBusy:true,animationBuilder:r})}}else if(t==="root"){if(n!==undefined){return o.setRoot(n,i,{skipIfBusy:true,animationBuilder:r})}}else if(t==="back"){return o.pop({skipIfBusy:true,animationBuilder:r})}}return Promise.resolve(false)};var I=e("ion_nav_link",function(){function e(e){var t=this;n(this,e);this.onClick=function(){return A(t.el,t.routerDirection,t.component,t.componentProps,t.routerAnimation)};this.component=undefined;this.componentProps=undefined;this.routerDirection="forward";this.routerAnimation=undefined}e.prototype.render=function(){return r(s,{onClick:this.onClick})};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}())}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,a){function n(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{d(a.next(e))}catch(e){i(e)}}function s(e){try{d(a["throw"](e))}catch(e){i(e)}}function d(e){e.done?r(e.value):n(e.value).then(o,s)}d((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return d([e,t])}}function d(s){if(a)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(r=0)),r)try{if(a=1,n&&(i=s[0]&2?n["return"]:s[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;if(n=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];n=0}finally{a=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,n=t.length,i;a<n;a++){if(i||!(a in t)){if(!i)i=Array.prototype.slice.call(t,0,a);i[a]=t[a]}}return e.concat(i||Array.prototype.slice.call(t))};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-629aa3fd.system.js","./p-64475ab5.system.js","./p-613d4042.system.js","./p-815c2fba.system.js","./p-772f6c84.system.js","./p-479cdbf8.system.js","./p-ccdcb022.system.js","./p-8f01a9a2.system.js","./p-44bc8b45.system.js","./p-128a98e8.system.js","./p-939e0fa1.system.js","./p-41477ad9.system.js","./p-015187e5.system.js","./p-c4f2dce7.system.js","./p-fa8d4788.system.js","./p-0e94957a.system.js","./p-8c15eda7.system.js","./p-bba2ce59.system.js","./p-9e852ff1.system.js"],(function(e){"use strict";var t,r,a,n,i,o,s,d,l,c,u,p,f,h,m,v,b,g,y,k,w,x,S,A,E,D,_,B,C,Y,P,M,T,O,L,j,R,I,N,W,q,F;return{setters:[function(e){t=e.r;r=e.d;a=e.w;n=e.h;i=e.H;o=e.f},function(e){s=e.f;d=e.i;l=e.d;c=e.r;u=e.a;p=e.p},function(e){f=e.C;h=e.a;m=e.d},function(e){v=e.g;b=e.l;g=e.r;y=e.k;k=e.m},function(e){w=e.c},function(e){x=e.p},function(e){S=e.g},function(e){A=e.G;E=e.e;D=e.B;_=e.j;B=e.k;C=e.f;Y=e.n;P=e.g;M=e.h},function(e){T=e.g},function(e){O=e.e;L=e.w},function(e){j=e.b;R=e.c},function(e){I=e.KEYBOARD_DID_OPEN},function(e){N=e.c},function(e){W=e.g},function(e){q=e.createGesture},function(e){F=e.w},function(){},function(){},function(){}],execute:function(){var z=this;var G;(function(e){e["Dark"]="DARK";e["Light"]="LIGHT";e["Default"]="DEFAULT"})(G||(G={}));var K={getEngine:function(){var e=S();if(e===null||e===void 0?void 0:e.isPluginAvailable("StatusBar")){return e.Plugins.StatusBar}return undefined},supportsDefaultStatusBarStyle:function(){var e=S();return!!(e===null||e===void 0?void 0:e.PluginHeaders)},setStyle:function(e){var t=this.getEngine();if(!t){return}t.setStyle(e)},getStyle:function(){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(r){switch(r.label){case 0:e=this.getEngine();if(!e){return[2,G.Default]}return[4,e.getInfo()];case 1:t=r.sent().style;return[2,t]}}))}))}};var H=function(e,t){if(t===1){return 0}var r=1/(1-t);var a=-(t*r);return e*r+a};var V=function(){if(!F||F.innerWidth>=768||!K.supportsDefaultStatusBarStyle()){return}K.setStyle({style:G.Dark})};var Z=function(e){if(e===void 0){e=G.Default}if(!F||F.innerWidth>=768||!K.supportsDefaultStatusBarStyle()){return}K.setStyle({style:e})};var U=function(e,t){return __awaiter(z,void 0,void 0,(function(){var r;return __generator(this,(function(a){switch(a.label){case 0:if(typeof e.canDismiss!=="function"){return[2]}return[4,e.canDismiss(undefined,A)];case 1:r=a.sent();if(!r){return[2]}if(t.isRunning()){t.onFinish((function(){e.dismiss(undefined,"handler")}),{oneTimeCallback:true})}else{e.dismiss(undefined,"handler")}return[2]}}))}))};var J=function(e){return.00255275*Math.pow(2.71828,-14.9619*e)-1.00255*Math.pow(2.71828,-.0380968*e)+1};var Q={MIN_PRESENTING_SCALE:.93};var X=function(e,t,r,a){var n=.5;var i=e.offsetHeight;var o=false;var u=false;var p=null;var f=null;var h=.2;var m=true;var g=0;var y=function(){if(p&&d(p)){return p.scrollY}else{return true}};var k=function(e){var t=e.event.target;if(t===null||!t.closest){return true}p=s(t);if(p){if(d(p)){var r=v(p);f=r.querySelector(".inner-scroll")}else{f=p}var a=!!p.querySelector("ion-refresher");return!a&&f.scrollTop===0}var n=t.closest("ion-footer");if(n===null){return true}return false};var w=function(r){var a=r.deltaY;m=y();u=e.canDismiss!==undefined&&e.canDismiss!==true;if(a>0&&p){l(p)}t.progressStart(true,o?1:0)};var x=function(e){var a=e.deltaY;if(a>0&&p){l(p)}var o=e.deltaY/i;var s=o>=0&&u;var d=s?h:.9999;var c=s?J(o/d):o;var f=b(1e-4,c,d);t.progressStep(f);if(f>=n&&g<n){Z(r)}else if(f<n&&g>=n){V()}g=f};var S=function(r){var s=r.velocityY;var d=r.deltaY/i;var l=d>=0&&u;var f=l?h:.9999;var v=l?J(d/f):d;var g=b(1e-4,v,f);var y=(r.deltaY+s*1e3)/i;var k=!l&&y>=n;var w=k?-.001:.001;if(!k){t.easing("cubic-bezier(1, 0, 0.68, 0.28)");w+=W([0,0],[1,0],[.68,.28],[1,1],g)[0]}else{t.easing("cubic-bezier(0.32, 0.72, 0, 1)");w+=W([0,0],[.32,.72],[0,1],[1,1],g)[0]}var x=k?$(d*i,s):$((1-g)*i,s);o=k;A.enable(false);if(p){c(p,m)}t.onFinish((function(){if(!k){A.enable(true)}})).progressEnd(k?1:0,w,x);if(l&&g>f/4){U(e,t)}else if(k){a()}};var A=q({el:e,gestureName:"modalSwipeToClose",gesturePriority:39,direction:"y",threshold:10,canStart:k,onStart:w,onMove:x,onEnd:S});return A};var $=function(e,t){return b(400,e/Math.abs(t*1.1),500)};var ee=function(e){var t=e.currentBreakpoint,r=e.backdropBreakpoint;var a=r===undefined||r<t;var n=a?"calc(var(--backdrop-opacity) * ".concat(t,")"):"0";var i=N("backdropAnimation").fromTo("opacity",0,n);if(a){i.beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"])}var o=N("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(100%)"},{offset:1,opacity:1,transform:"translateY(".concat(100-t*100,"%)")}]);return{wrapperAnimation:o,backdropAnimation:i}};var te=function(e){var t=e.currentBreakpoint,r=e.backdropBreakpoint;var a="calc(var(--backdrop-opacity) * ".concat(H(t,r),")");var n=[{offset:0,opacity:a},{offset:1,opacity:0}];var i=[{offset:0,opacity:a},{offset:r,opacity:0},{offset:1,opacity:0}];var o=N("backdropAnimation").keyframes(r!==0?i:n);var s=N("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(".concat(100-t*100,"%)")},{offset:1,opacity:1,transform:"translateY(100%)"}]);return{wrapperAnimation:s,backdropAnimation:o}};var re=function(){var e=N().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);var t=N().fromTo("transform","translateY(100vh)","translateY(0vh)");return{backdropAnimation:e,wrapperAnimation:t}};var ae=function(e,t){var r=t.presentingEl,a=t.currentBreakpoint;var n=v(e);var i=a!==undefined?ee(t):re(),o=i.wrapperAnimation,s=i.backdropAnimation;s.addElement(n.querySelector("ion-backdrop"));o.addElement(n.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});var d=N("entering-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(o);if(r){var l=window.innerWidth<768;var c=r.tagName==="ION-MODAL"&&r.presentingElement!==undefined;var u=v(r);var p=N().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"});var f=document.body;if(l){var h=!CSS.supports("width","max(0px, 1px)")?"30px":"max(30px, var(--ion-safe-area-top))";var m=c?"-10px":h;var b=Q.MIN_PRESENTING_SCALE;var g="translateY(".concat(m,") scale(").concat(b,")");p.afterStyles({transform:g}).beforeAddWrite((function(){return f.style.setProperty("background-color","black")})).addElement(r).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:g,borderRadius:"10px 10px 0 0"}]);d.addAnimation(p)}else{d.addAnimation(s);if(!c){o.fromTo("opacity","0","1")}else{var b=c?Q.MIN_PRESENTING_SCALE:1;var g="translateY(-10px) scale(".concat(b,")");p.afterStyles({transform:g}).addElement(u.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:g}]);var y=N().afterStyles({transform:g}).addElement(u.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:g}]);d.addAnimation([p,y])}}}else{d.addAnimation(s)}return d};var ne=function(){var e=N().fromTo("opacity","var(--backdrop-opacity)",0);var t=N().fromTo("transform","translateY(0vh)","translateY(100vh)");return{backdropAnimation:e,wrapperAnimation:t}};var ie=function(e,t,r){if(r===void 0){r=500}var a=t.presentingEl,n=t.currentBreakpoint;var i=v(e);var o=n!==undefined?te(t):ne(),s=o.wrapperAnimation,d=o.backdropAnimation;d.addElement(i.querySelector("ion-backdrop"));s.addElement(i.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});var l=N("leaving-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(r).addAnimation(s);if(a){var c=window.innerWidth<768;var u=a.tagName==="ION-MODAL"&&a.presentingElement!==undefined;var p=v(a);var f=N().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish((function(e){if(e!==1){return}a.style.setProperty("overflow","");var t=Array.from(h.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter((function(e){return e.presentingElement!==undefined})).length;if(t<=1){h.style.setProperty("background-color","")}}));var h=document.body;if(c){var m=!CSS.supports("width","max(0px, 1px)")?"30px":"max(30px, var(--ion-safe-area-top))";var b=u?"-10px":m;var g=Q.MIN_PRESENTING_SCALE;var y="translateY(".concat(b,") scale(").concat(g,")");f.addElement(a).keyframes([{offset:0,filter:"contrast(0.85)",transform:y,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]);l.addAnimation(f)}else{l.addAnimation(d);if(!u){s.fromTo("opacity","1","0")}else{var g=u?Q.MIN_PRESENTING_SCALE:1;var y="translateY(-10px) scale(".concat(g,")");f.addElement(p.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:y},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);var k=N().addElement(p.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:y},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);l.addAnimation([f,k])}}}else{l.addAnimation(d)}return l};var oe=function(){var e=N().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);var t=N().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]);return{backdropAnimation:e,wrapperAnimation:t}};var se=function(e,t){var r=t.currentBreakpoint;var a=v(e);var n=r!==undefined?ee(t):oe(),i=n.wrapperAnimation,o=n.backdropAnimation;o.addElement(a.querySelector("ion-backdrop"));i.addElement(a.querySelector(".modal-wrapper"));return N().addElement(e).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([o,i])};var de=function(){var e=N().fromTo("opacity","var(--backdrop-opacity)",0);var t=N().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}]);return{backdropAnimation:e,wrapperAnimation:t}};var le=function(e,t){var r=t.currentBreakpoint;var a=v(e);var n=r!==undefined?te(t):de(),i=n.wrapperAnimation,o=n.backdropAnimation;o.addElement(a.querySelector("ion-backdrop"));i.addElement(a.querySelector(".modal-wrapper"));return N().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([o,i])};var ce=function(e,t,r,a,n,i,o,s,d,l){if(o===void 0){o=[]}var c=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}];var u=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-n,opacity:0},{offset:1,opacity:0}];var p={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:n!==0?u:c};var f=e.querySelector("ion-content");var h=r.clientHeight;var m=a;var v=0;var y=false;var k=.95;var w=i.childAnimations.find((function(e){return e.id==="wrapperAnimation"}));var x=i.childAnimations.find((function(e){return e.id==="backdropAnimation"}));var S=o[o.length-1];var A=o[0];var E=function(){e.style.setProperty("pointer-events","auto");t.style.setProperty("pointer-events","auto");e.classList.remove("ion-disable-focus-trap")};var D=function(){e.style.setProperty("pointer-events","none");t.style.setProperty("pointer-events","none");e.classList.add("ion-disable-focus-trap")};if(w&&x){w.keyframes(__spreadArray([],p.WRAPPER_KEYFRAMES,true));x.keyframes(__spreadArray([],p.BACKDROP_KEYFRAMES,true));i.progressStart(true,1-m);var _=m>n;if(_){E()}else{D()}}if(f&&m!==S){f.scrollY=false}var B=function(e){var t=e.event.target.closest("ion-content");m=s();if(m===1&&t){return false}return true};var C=function(){y=e.canDismiss!==undefined&&e.canDismiss!==true&&A===0;if(f){f.scrollY=false}g((function(){e.focus()}));i.progressStart(true,1-m)};var Y=function(e){var t=1-m;var r=o.length>1?1-o[1]:undefined;var a=t+e.deltaY/h;var n=r!==undefined&&a>=r&&y;var s=n?k:.9999;var d=n&&r!==undefined?r+J((a-r)/(s-r)):a;v=b(1e-4,d,s);i.progressStep(v)};var P=function(e){var t=e.velocityY;var r=(e.deltaY+t*350)/h;var a=m-r;var n=o.reduce((function(e,t){return Math.abs(t-a)<Math.abs(e-a)?t:e}));M({breakpoint:n,breakpointOffset:v,canDismiss:y,animated:true})};var M=function(t){var r=t.breakpoint,a=t.canDismiss,s=t.breakpointOffset,c=t.animated;var u=a&&r===0;var h=u?m:r;var v=h!==0;m=0;if(w&&x){w.keyframes([{offset:0,transform:"translateY(".concat(s*100,"%)")},{offset:1,transform:"translateY(".concat((1-h)*100,"%)")}]);x.keyframes([{offset:0,opacity:"calc(var(--backdrop-opacity) * ".concat(H(1-s,n),")")},{offset:1,opacity:"calc(var(--backdrop-opacity) * ".concat(H(h,n),")")}]);i.progressStep(0)}T.enable(false);if(u){U(e,i)}else if(!v){d()}return new Promise((function(e){i.onFinish((function(){if(v){if(w&&x){g((function(){w.keyframes(__spreadArray([],p.WRAPPER_KEYFRAMES,true));x.keyframes(__spreadArray([],p.BACKDROP_KEYFRAMES,true));i.progressStart(true,1-h);m=h;l(m);if(f&&m===o[o.length-1]){f.scrollY=true}var t=m>n;if(t){E()}else{D()}T.enable(true);e()}))}else{T.enable(true);e()}}else{e()}}),{oneTimeCallback:true}).progressEnd(1,0,c?500:0)}))};var T=q({el:r,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:B,onStart:C,onMove:Y,onEnd:P});return{gesture:T,moveSheetToBreakpoint:M}};var ue=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-card) .modal-wrapper,:host-context([dir=rtl]).modal-card .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-card) .modal-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-sheet) .modal-wrapper,:host-context([dir=rtl]).modal-sheet .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-sheet) .modal-wrapper:dir(rtl){border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}';var pe=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}';var fe=e("ion_modal",function(){function e(e){var a=this;t(this,e);this.didPresent=r(this,"ionModalDidPresent",7);this.willPresent=r(this,"ionModalWillPresent",7);this.willDismiss=r(this,"ionModalWillDismiss",7);this.didDismiss=r(this,"ionModalDidDismiss",7);this.ionBreakpointDidChange=r(this,"ionBreakpointDidChange",7);this.didPresentShorthand=r(this,"didPresent",7);this.willPresentShorthand=r(this,"willPresent",7);this.willDismissShorthand=r(this,"willDismiss",7);this.didDismissShorthand=r(this,"didDismiss",7);this.ionMount=r(this,"ionMount",7);this.lockController=w();this.triggerController=E();this.coreDelegate=f();this.isSheetModal=false;this.inheritedAttributes={};this.inline=false;this.gestureAnimationDismissing=false;this.onHandleClick=function(){var e=a,t=e.sheetTransition,r=e.handleBehavior;if(r!=="cycle"||t!==undefined){return}a.moveToNextBreakpoint()};this.onBackdropTap=function(){var e=a.sheetTransition;if(e!==undefined){return}a.dismiss(undefined,D)};this.onLifecycle=function(e){var t=a.usersElement;var r=he[e.type];if(t&&r){var n=new CustomEvent(r,{bubbles:false,cancelable:false,detail:e.detail});t.dispatchEvent(n)}};this.presented=false;this.hasController=false;this.overlayIndex=undefined;this.delegate=undefined;this.keyboardClose=true;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.breakpoints=undefined;this.initialBreakpoint=undefined;this.backdropBreakpoint=0;this.handle=undefined;this.handleBehavior="none";this.component=undefined;this.componentProps=undefined;this.cssClass=undefined;this.backdropDismiss=true;this.showBackdrop=true;this.animated=true;this.presentingElement=undefined;this.htmlAttributes=undefined;this.isOpen=false;this.trigger=undefined;this.keepContentsMounted=false;this.canDismiss=true}e.prototype.onIsOpenChange=function(e,t){if(e===true&&t===false){this.present()}else if(e===false&&t===true){this.dismiss()}};e.prototype.triggerChanged=function(){var e=this,t=e.trigger,r=e.el,a=e.triggerController;if(t){a.addClickListener(r,t)}};e.prototype.breakpointsChanged=function(e){if(e!==undefined){this.sortedBreakpoints=e.sort((function(e,t){return e-t}))}};e.prototype.connectedCallback=function(){var e=this.el;_(e);this.triggerChanged()};e.prototype.disconnectedCallback=function(){this.triggerController.removeClickListener()};e.prototype.componentWillLoad=function(){var e=this,t=e.breakpoints,r=e.initialBreakpoint,a=e.el;var n=this.isSheetModal=t!==undefined&&r!==undefined;this.inheritedAttributes=y(a,["aria-label","role"]);if(n){this.currentBreakpoint=this.initialBreakpoint}if(t!==undefined&&r!==undefined&&!t.includes(r)){x("Your breakpoints array must include the initialBreakpoint value.")}B(a)};e.prototype.componentDidLoad=function(){var e=this;if(this.isOpen===true){g((function(){return e.present()}))}this.breakpointsChanged(this.breakpoints)};e.prototype.getDelegate=function(e){if(e===void 0){e=false}if(this.workingDelegate&&!e){return{delegate:this.workingDelegate,inline:this.inline}}var t=this.el.parentNode;var r=this.inline=t!==null&&!this.hasController;var a=this.workingDelegate=r?this.delegate||this.coreDelegate:this.delegate;return{inline:r,delegate:a}};e.prototype.checkCanDismiss=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(a){r=this.canDismiss;if(typeof r==="function"){return[2,r(e,t)]}return[2,r]}))}))};e.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r,n,i,o,s,d,l,c;var u=this;return __generator(this,(function(p){switch(p.label){case 0:return[4,this.lockController.lock()];case 1:e=p.sent();if(this.presented){e();return[2]}t=this,r=t.presentingElement,n=t.el;this.currentBreakpoint=this.initialBreakpoint;i=this.getDelegate(true),o=i.inline,s=i.delegate;this.ionMount.emit();d=this;return[4,h(s,n,this.component,["ion-page"],this.componentProps,o)];case 2:d.usersElement=p.sent();if(!k(n))return[3,4];return[4,O(this.usersElement)];case 3:p.sent();return[3,6];case 4:if(!!this.keepContentsMounted)return[3,6];return[4,L()];case 5:p.sent();p.label=6;case 6:a((function(){return u.el.classList.add("show-modal")}));l=r!==undefined;if(!(l&&j(this)==="ios"))return[3,8];c=this;return[4,K.getStyle()];case 7:c.statusBarStyle=p.sent();V();p.label=8;case 8:return[4,C(this,"modalEnter",ae,se,{presentingEl:r,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint})];case 9:p.sent();if(typeof window!=="undefined"){this.keyboardOpenCallback=function(){if(u.gesture){u.gesture.enable(false);g((function(){if(u.gesture){u.gesture.enable(true)}}))}};window.addEventListener(I,this.keyboardOpenCallback)}if(this.isSheetModal){this.initSheetGesture()}else if(l){this.initSwipeToClose()}e();return[2]}}))}))};e.prototype.initSwipeToClose=function(){var e=this;var t;if(j(this)!=="ios"){return}var r=this.el;var a=this.leaveAnimation||R.get("modalLeave",ie);var n=this.animation=a(r,{presentingEl:this.presentingElement});var i=u(r);if(!i){p(r);return}var o=(t=this.statusBarStyle)!==null&&t!==void 0?t:G.Default;this.gesture=X(r,n,o,(function(){e.gestureAnimationDismissing=true;Z(e.statusBarStyle);e.animation.onFinish((function(){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.dismiss(undefined,A)];case 1:e.sent();this.gestureAnimationDismissing=false;return[2]}}))}))}))}));this.gesture.enable(true)};e.prototype.initSheetGesture=function(){var e=this;var t=this,r=t.wrapperEl,a=t.initialBreakpoint,n=t.backdropBreakpoint;if(!r||a===undefined){return}var i=this.enterAnimation||R.get("modalEnter",ae);var o=this.animation=i(this.el,{presentingEl:this.presentingElement,currentBreakpoint:a,backdropBreakpoint:n});o.progressStart(true,1);var s=ce(this.el,this.backdropEl,r,a,n,o,this.sortedBreakpoints,(function(){var t;return(t=e.currentBreakpoint)!==null&&t!==void 0?t:0}),(function(){return e.sheetOnDismiss()}),(function(t){if(e.currentBreakpoint!==t){e.currentBreakpoint=t;e.ionBreakpointDidChange.emit({breakpoint:t})}})),d=s.gesture,l=s.moveSheetToBreakpoint;this.gesture=d;this.moveSheetToBreakpoint=l;this.gesture.enable(true)};e.prototype.sheetOnDismiss=function(){var e=this;this.gestureAnimationDismissing=true;this.animation.onFinish((function(){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:this.currentBreakpoint=0;this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint});return[4,this.dismiss(undefined,A)];case 1:e.sent();this.gestureAnimationDismissing=false;return[2]}}))}))}))};e.prototype.dismiss=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,n,i,o,s,d,l,c;var u=this;return __generator(this,(function(p){switch(p.label){case 0:if(this.gestureAnimationDismissing&&t!==A){return[2,false]}return[4,this.lockController.lock()];case 1:n=p.sent();i=t!=="handler";if(!i)return[3,3];return[4,this.checkCanDismiss(e,t)];case 2:i=!p.sent();p.label=3;case 3:if(i){n();return[2,false]}o=this.presentingElement;s=o!==undefined;if(s&&j(this)==="ios"){Z(this.statusBarStyle)}if(typeof window!=="undefined"&&this.keyboardOpenCallback){window.removeEventListener(I,this.keyboardOpenCallback);this.keyboardOpenCallback=undefined}d=Y.get(this)||[];return[4,P(this,e,t,"modalLeave",ie,le,{presentingEl:o,currentBreakpoint:(r=this.currentBreakpoint)!==null&&r!==void 0?r:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint})];case 4:l=p.sent();if(!l)return[3,6];c=this.getDelegate().delegate;return[4,m(c,this.usersElement)];case 5:p.sent();a((function(){return u.el.classList.remove("show-modal")}));if(this.animation){this.animation.destroy()}if(this.gesture){this.gesture.destroy()}d.forEach((function(e){return e.destroy()}));p.label=6;case 6:this.currentBreakpoint=undefined;this.animation=undefined;n();return[2,l]}}))}))};e.prototype.onDidDismiss=function(){return M(this.el,"ionModalDidDismiss")};e.prototype.onWillDismiss=function(){return M(this.el,"ionModalWillDismiss")};e.prototype.setCurrentBreakpoint=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,a,n,i,o;return __generator(this,(function(s){switch(s.label){case 0:if(!this.isSheetModal){x("setCurrentBreakpoint is only supported on sheet modals.");return[2]}if(!this.breakpoints.includes(e)){x("Attempted to set invalid breakpoint value ".concat(e,". Please double check that the breakpoint value is part of your defined breakpoints."));return[2]}t=this,r=t.currentBreakpoint,a=t.moveSheetToBreakpoint,n=t.canDismiss,i=t.breakpoints,o=t.animated;if(r===e){return[2]}if(!a)return[3,2];this.sheetTransition=a({breakpoint:e,breakpointOffset:1-r,canDismiss:n!==undefined&&n!==true&&i[0]===0,animated:o});return[4,this.sheetTransition];case 1:s.sent();this.sheetTransition=undefined;s.label=2;case 2:return[2]}}))}))};e.prototype.getCurrentBreakpoint=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.currentBreakpoint]}))}))};e.prototype.moveToNextBreakpoint=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,r,a,n,i,o;return __generator(this,(function(s){switch(s.label){case 0:e=this,t=e.breakpoints,r=e.currentBreakpoint;if(!t||r==null){return[2,false]}a=t.filter((function(e){return e!==0}));n=a.indexOf(r);i=(n+1)%a.length;o=a[i];return[4,this.setCurrentBreakpoint(o)];case 1:s.sent();return[2,true]}}))}))};e.prototype.render=function(){var e;var t=this;var r=this,a=r.handle,o=r.isSheetModal,s=r.presentingElement,d=r.htmlAttributes,l=r.handleBehavior,c=r.inheritedAttributes;var u=a!==false&&o;var p=j(this);var f=s!==undefined&&p==="ios";var h=l==="cycle";return n(i,Object.assign({"no-router":true,tabindex:"-1"},d,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign((e={},e[p]=true,e["modal-default"]=!f&&!o,e["modal-card"]=f,e["modal-sheet"]=o,e["overlay-hidden"]=true,e),T(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),n("ion-backdrop",{ref:function(e){return t.backdropEl=e},visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),p==="ios"&&n("div",{class:"modal-shadow"}),n("div",Object.assign({role:"dialog"},c,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:function(e){return t.wrapperEl=e}}),u&&n("button",{class:"modal-handle",tabIndex:!h?-1:0,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:h?this.onHandleClick:undefined,part:"handle"}),n("slot",null)))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}},enumerable:false,configurable:true});return e}());var he={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};fe.style={ios:ue,md:pe}}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- System.register(["./p-015187e5.system.js","./p-128a98e8.system.js","./p-0e94957a.system.js","./p-815c2fba.system.js","./p-629aa3fd.system.js"],(function(t){"use strict";var e,a;return{setters:[function(t){e=t.c},function(t){a=t.g},function(){},function(){},function(){}],execute:function(){var o=540;var r=function(t){return document.querySelector("".concat(t,".ion-cloned-element"))};var n=t("shadow",(function(t){return t.shadowRoot||t}));var l=function(t){var e=t.tagName==="ION-TABS"?t:t.querySelector("ion-tabs");var a="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(e!=null){var o=e.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return o!=null?o.querySelector(a):null}return t.querySelector(a)};var c=function(t,e){var a=t.tagName==="ION-TABS"?t:t.querySelector("ion-tabs");var o=[];if(a!=null){var r=a.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");if(r!=null){o=r.querySelectorAll("ion-buttons")}}else{o=t.querySelectorAll("ion-buttons")}for(var n=0,l=o;n<l.length;n++){var c=l[n];var s=c.closest("ion-header");var i=s&&!s.classList.contains("header-collapse-condense-inactive");var f=c.querySelector("ion-back-button");var d=c.classList.contains("buttons-collapse");var v=c.slot==="start"||c.slot==="";if(f!==null&&v&&(d&&i&&e||!d)){return f}}return null};var s=function(t,e,a,o,r){var n=c(o,a);var s=l(r);var d=l(o);var v=c(r,a);var m=n!==null&&s!==null&&!a;var p=d!==null&&v!==null&&a;if(m){var u=s.getBoundingClientRect();var y=n.getBoundingClientRect();f(t,e,a,s,u,y);i(t,e,a,n,u,y)}else if(p){var b=d.getBoundingClientRect();var S=v.getBoundingClientRect();f(t,e,a,d,b,S);i(t,e,a,v,b,S)}return{forward:m,backward:p}};var i=function(t,a,o,l,c,s){var i=a?"calc(100% - ".concat(s.right+4,"px)"):"".concat(s.left-4,"px");var f=a?"7px":"-7px";var d=a?"-4px":"4px";var v=a?"-4px":"4px";var m=a?"right":"left";var p=a?"left":"right";var u=[{offset:0,opacity:0,transform:"translate3d(".concat(f,", ").concat(c.top-40,"px, 0) scale(2.1)")},{offset:1,opacity:1,transform:"translate3d(".concat(d,", ").concat(s.top-46,"px, 0) scale(1)")}];var y=[{offset:0,opacity:1,transform:"translate3d(".concat(d,", ").concat(s.top-46,"px, 0) scale(1)")},{offset:.6,opacity:0},{offset:1,opacity:0,transform:"translate3d(".concat(f,", ").concat(c.top-40,"px, 0) scale(2.1)")}];var b=o?y:u;var S=[{offset:0,opacity:0,transform:"translate3d(".concat(v,", ").concat(s.top-41,"px, 0) scale(0.6)")},{offset:1,opacity:1,transform:"translate3d(".concat(v,", ").concat(s.top-46,"px, 0) scale(1)")}];var g=[{offset:0,opacity:1,transform:"translate3d(".concat(v,", ").concat(s.top-46,"px, 0) scale(1)")},{offset:.2,opacity:0,transform:"translate3d(".concat(v,", ").concat(s.top-41,"px, 0) scale(0.6)")},{offset:1,opacity:0,transform:"translate3d(".concat(v,", ").concat(s.top-41,"px, 0) scale(0.6)")}];var T=o?g:S;var x=e();var h=e();var q=r("ion-back-button");var X=n(q).querySelector(".button-text");var A=n(q).querySelector("ion-icon");q.text=l.text;q.mode=l.mode;q.icon=l.icon;q.color=l.color;q.disabled=l.disabled;q.style.setProperty("display","block");q.style.setProperty("position","fixed");h.addElement(A);x.addElement(X);x.beforeStyles({"transform-origin":"".concat(m," center")}).beforeAddWrite((function(){l.style.setProperty("display","none");q.style.setProperty(m,i)})).afterAddWrite((function(){l.style.setProperty("display","");q.style.setProperty("display","none");q.style.removeProperty(m)})).keyframes(b);h.beforeStyles({"transform-origin":"".concat(p," center")}).keyframes(T);t.addAnimation([x,h])};var f=function(t,a,o,n,l,c){var s;var i=a?"calc(100% - ".concat(l.right,"px)"):"".concat(l.left,"px");var f=a?"-18px":"18px";var d=a?"right":"left";var v=[{offset:0,opacity:0,transform:"translate3d(".concat(f,", ").concat(c.top-4,"px, 0) scale(0.49)")},{offset:.1,opacity:0},{offset:1,opacity:1,transform:"translate3d(0, ".concat(l.top+2,"px, 0) scale(1)")}];var m=[{offset:0,opacity:.99,transform:"translate3d(0, ".concat(l.top+2,"px, 0) scale(1)")},{offset:.6,opacity:0},{offset:1,opacity:0,transform:"translate3d(".concat(f,", ").concat(c.top-4,"px, 0) scale(0.5)")}];var p=o?v:m;var u=r("ion-title");var y=e();u.innerText=n.innerText;u.size=n.size;u.color=n.color;y.addElement(u);y.beforeStyles((s={"transform-origin":"".concat(d," center"),height:"46px",display:"",position:"relative"},s[d]=i,s)).beforeAddWrite((function(){n.style.setProperty("opacity","0")})).afterAddWrite((function(){n.style.setProperty("opacity","");u.style.setProperty("display","none")})).keyframes(p);t.addAnimation(y)};var d=t("iosTransitionAnimation",(function(t,r){var l;try{var c="cubic-bezier(0.32,0.72,0,1)";var i="opacity";var f="transform";var d="0%";var v=.8;var m=t.ownerDocument.dir==="rtl";var p=m?"-99.5%":"99.5%";var u=m?"33%":"-33%";var y=r.enteringEl;var b=r.leavingEl;var S=r.direction==="back";var g=y.querySelector(":scope > ion-content");var T=y.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");var x=y.querySelectorAll(":scope > ion-header > ion-toolbar");var h=e();var q=e();h.addElement(y).duration(((l=r.duration)!==null&&l!==void 0?l:0)||o).easing(r.easing||c).fill("both").beforeRemoveClass("ion-page-invisible");if(b&&t!==null&&t!==undefined){var X=e();X.addElement(t);h.addAnimation(X)}if(!g&&x.length===0&&T.length===0){q.addElement(y.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs"))}else{q.addElement(g);q.addElement(T)}h.addAnimation(q);if(S){q.beforeClearStyles([i]).fromTo("transform","translateX(".concat(u,")"),"translateX(".concat(d,")")).fromTo(i,v,1)}else{q.beforeClearStyles([i]).fromTo("transform","translateX(".concat(p,")"),"translateX(".concat(d,")"))}if(g){var A=n(g).querySelector(".transition-effect");if(A){var E=A.querySelector(".transition-cover");var C=A.querySelector(".transition-shadow");var k=e();var P=e();var w=e();k.addElement(A).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""});P.addElement(E).beforeClearStyles([i]).fromTo(i,0,.1);w.addElement(C).beforeClearStyles([i]).fromTo(i,.03,.7);k.addAnimation([P,w]);q.addAnimation([k])}}var L=y.querySelector("ion-header.header-collapse-condense");var B=s(h,m,S,y,b),R=B.forward,j=B.backward;x.forEach((function(t){var a=e();a.addElement(t);h.addAnimation(a);var o=e();o.addElement(t.querySelector("ion-title"));var r=e();var l=Array.from(t.querySelectorAll("ion-buttons,[menuToggle]"));var c=t.closest("ion-header");var s=c===null||c===void 0?void 0:c.classList.contains("header-collapse-condense-inactive");var f;if(S){f=l.filter((function(t){var e=t.classList.contains("buttons-collapse");return e&&!s||!e}))}else{f=l.filter((function(t){return!t.classList.contains("buttons-collapse")}))}r.addElement(f);var v=e();v.addElement(t.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));var y=e();y.addElement(n(t).querySelector(".toolbar-background"));var b=e();var g=t.querySelector("ion-back-button");if(g){b.addElement(g)}a.addAnimation([o,r,v,y,b]);r.fromTo(i,.01,1);v.fromTo(i,.01,1);if(S){if(!s){o.fromTo("transform","translateX(".concat(u,")"),"translateX(".concat(d,")")).fromTo(i,.01,1)}v.fromTo("transform","translateX(".concat(u,")"),"translateX(".concat(d,")"));b.fromTo(i,.01,1)}else{if(!L){o.fromTo("transform","translateX(".concat(p,")"),"translateX(".concat(d,")")).fromTo(i,.01,1)}v.fromTo("transform","translateX(".concat(p,")"),"translateX(".concat(d,")"));y.beforeClearStyles([i,"transform"]);var T=c===null||c===void 0?void 0:c.translucent;if(!T){y.fromTo(i,.01,"var(--opacity)")}else{y.fromTo("transform",m?"translateX(-100%)":"translateX(100%)","translateX(0px)")}if(!R){b.fromTo(i,.01,1)}if(g&&!R){var x=e();x.addElement(n(g).querySelector(".button-text")).fromTo("transform",m?"translateX(-100px)":"translateX(100px)","translateX(0px)");a.addAnimation(x)}}}));if(b){var W=e();var N=b.querySelector(":scope > ion-content");var z=b.querySelectorAll(":scope > ion-header > ion-toolbar");var D=b.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(!N&&z.length===0&&D.length===0){W.addElement(b.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs"))}else{W.addElement(N);W.addElement(D)}h.addAnimation(W);if(S){W.beforeClearStyles([i]).fromTo("transform","translateX(".concat(d,")"),m?"translateX(-100%)":"translateX(100%)");var I=a(b);h.afterAddWrite((function(){if(h.getDirection()==="normal"){I.style.setProperty("display","none")}}))}else{W.fromTo("transform","translateX(".concat(d,")"),"translateX(".concat(u,")")).fromTo(i,1,v)}if(N){var O=n(N).querySelector(".transition-effect");if(O){var F=O.querySelector(".transition-cover");var G=O.querySelector(".transition-shadow");var H=e();var J=e();var K=e();H.addElement(O).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""});J.addElement(F).beforeClearStyles([i]).fromTo(i,.1,0);K.addElement(G).beforeClearStyles([i]).fromTo(i,.7,.03);H.addAnimation([J,K]);W.addAnimation([H])}}z.forEach((function(t){var a=e();a.addElement(t);var o=e();o.addElement(t.querySelector("ion-title"));var r=e();var l=t.querySelectorAll("ion-buttons,[menuToggle]");var c=t.closest("ion-header");var s=c===null||c===void 0?void 0:c.classList.contains("header-collapse-condense-inactive");var v=Array.from(l).filter((function(t){var e=t.classList.contains("buttons-collapse");return e&&!s||!e}));r.addElement(v);var p=e();var y=t.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");if(y.length>0){p.addElement(y)}var b=e();b.addElement(n(t).querySelector(".toolbar-background"));var g=e();var T=t.querySelector("ion-back-button");if(T){g.addElement(T)}a.addAnimation([o,r,p,g,b]);h.addAnimation(a);g.fromTo(i,.99,0);r.fromTo(i,.99,0);p.fromTo(i,.99,0);if(S){if(!s){o.fromTo("transform","translateX(".concat(d,")"),m?"translateX(-100%)":"translateX(100%)").fromTo(i,.99,0)}p.fromTo("transform","translateX(".concat(d,")"),m?"translateX(-100%)":"translateX(100%)");b.beforeClearStyles([i,"transform"]);var x=c===null||c===void 0?void 0:c.translucent;if(!x){b.fromTo(i,"var(--opacity)",0)}else{b.fromTo("transform","translateX(0px)",m?"translateX(-100%)":"translateX(100%)")}if(T&&!j){var q=e();q.addElement(n(T).querySelector(".button-text")).fromTo("transform","translateX(".concat(d,")"),"translateX(".concat((m?-124:124)+"px",")"));a.addAnimation(q)}}else{if(!s){o.fromTo("transform","translateX(".concat(d,")"),"translateX(".concat(u,")")).fromTo(i,.99,0).afterClearStyles([f,i])}p.fromTo("transform","translateX(".concat(d,")"),"translateX(".concat(u,")")).afterClearStyles([f,i]);g.afterClearStyles([i]);o.afterClearStyles([i]);r.afterClearStyles([i])}}))}return h}catch(t){throw t}}))}}}));
@@ -1,4 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,o){function n(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function a(e){try{p(o.next(e))}catch(e){i(e)}}function s(e){try{p(o["throw"](e))}catch(e){i(e)}}function p(e){e.done?r(e.value):n(e.value).then(a,s)}p((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,n,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return p([e,t])}}function p(s){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(o=1,n&&(i=s[0]&2?n["return"]:s[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;if(n=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];n=0}finally{o=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-629aa3fd.system.js","./p-613d4042.system.js","./p-815c2fba.system.js","./p-772f6c84.system.js","./p-479cdbf8.system.js","./p-8f01a9a2.system.js","./p-939e0fa1.system.js","./p-44bc8b45.system.js","./p-128a98e8.system.js","./p-015187e5.system.js","./p-0e94957a.system.js","./p-8c15eda7.system.js"],(function(e){"use strict";var t,r,o,n,i,a,s,p,c,d,l,f,v,u,h,g,m,w,b,y,x,k,P,D,T,E,S;return{setters:[function(e){t=e.r;r=e.d;o=e.h;n=e.H;i=e.f},function(e){a=e.C;s=e.a;p=e.d},function(e){c=e.r;d=e.g;l=e.a;f=e.m},function(e){v=e.c},function(e){u=e.p},function(e){h=e.B;g=e.j;m=e.k;w=e.f;b=e.o;y=e.g;x=e.h},function(e){k=e.b;P=e.a},function(e){D=e.g},function(e){T=e.e;E=e.w},function(e){S=e.c},function(){},function(){}],execute:function(){var I=this;var A=function(e){if(!e){return{arrowWidth:0,arrowHeight:0}}var t=e.getBoundingClientRect(),r=t.width,o=t.height;return{arrowWidth:r,arrowHeight:o}};var _=function(e,t,r){var o=t.getBoundingClientRect();var n=o.height;var i=o.width;if(e==="cover"&&r){var a=r.getBoundingClientRect();i=a.width}return{contentWidth:i,contentHeight:n}};var C=function(e,t,r,o){var n=[];var i=d(o);var a=i.querySelector(".popover-content");switch(t){case"hover":n=[{eventName:"mouseenter",callback:function(t){var o=document.elementFromPoint(t.clientX,t.clientY);if(o===e){return}r.dismiss(undefined,undefined,false)}}];break;case"context-menu":case"click":default:n=[{eventName:"click",callback:function(t){var o=t.target;var n=o.closest("[data-ion-popover-trigger]");if(n===e){t.stopPropagation();return}r.dismiss(undefined,undefined,false)}}];break}n.forEach((function(e){var t=e.eventName,r=e.callback;return a.addEventListener(t,r)}));return function(){n.forEach((function(e){var t=e.eventName,r=e.callback;return a.removeEventListener(t,r)}))}};var L=function(e,t,r){var o=[];switch(t){case"hover":var n;o=[{eventName:"mouseenter",callback:function(e){return __awaiter(I,void 0,void 0,(function(){return __generator(this,(function(t){e.stopPropagation();if(n){clearTimeout(n)}n=setTimeout((function(){c((function(){r.presentFromTrigger(e);n=undefined}))}),100);return[2]}))}))}},{eventName:"mouseleave",callback:function(e){if(n){clearTimeout(n)}var t=e.relatedTarget;if(!t){return}if(t.closest("ion-popover")!==r){r.dismiss(undefined,undefined,false)}}},{eventName:"click",callback:function(e){return e.stopPropagation()}},{eventName:"ionPopoverActivateTrigger",callback:function(e){return r.presentFromTrigger(e,true)}}];break;case"context-menu":o=[{eventName:"contextmenu",callback:function(e){e.preventDefault();r.presentFromTrigger(e)}},{eventName:"click",callback:function(e){return e.stopPropagation()}},{eventName:"ionPopoverActivateTrigger",callback:function(e){return r.presentFromTrigger(e,true)}}];break;case"click":default:o=[{eventName:"click",callback:function(e){return r.presentFromTrigger(e)}},{eventName:"ionPopoverActivateTrigger",callback:function(e){return r.presentFromTrigger(e,true)}}];break}o.forEach((function(t){var r=t.eventName,o=t.callback;return e.addEventListener(r,o)}));e.setAttribute("data-ion-popover-trigger","true");return function(){o.forEach((function(t){var r=t.eventName,o=t.callback;return e.removeEventListener(r,o)}));e.removeAttribute("data-ion-popover-trigger")}};var W=function(e,t){if(!t||t.tagName!=="ION-ITEM"){return-1}return e.findIndex((function(e){return e===t}))};var O=function(e,t){var r=W(e,t);return e[r+1]};var N=function(e,t){var r=W(e,t);return e[r-1]};var j=function(e){var t=d(e);var r=t.querySelector("button");if(r){c((function(){return r.focus()}))}};var q=function(e){return e.hasAttribute("data-ion-popover-trigger")};var X=function(e){var t=function(t){return __awaiter(I,void 0,void 0,(function(){var r,o,n,i,a,s,p,c,d,l,f;return __generator(this,(function(v){switch(v.label){case 0:o=document.activeElement;n=[];i=(r=t.target)===null||r===void 0?void 0:r.tagName;if(i!=="ION-POPOVER"&&i!=="ION-ITEM"){return[2]}try{n=Array.from(e.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch(e){}a=t.key;switch(a){case"ArrowLeft":return[3,1];case"ArrowDown":return[3,3];case"ArrowUp":return[3,4];case"Home":return[3,5];case"End":return[3,6];case"ArrowRight":return[3,7];case" ":return[3,7];case"Enter":return[3,7]}return[3,8];case 1:return[4,e.getParentPopover()];case 2:s=v.sent();if(s){e.dismiss(undefined,undefined,false)}return[3,8];case 3:t.preventDefault();p=O(n,o);if(p!==undefined){j(p)}return[3,8];case 4:t.preventDefault();c=N(n,o);if(c!==undefined){j(c)}return[3,8];case 5:t.preventDefault();d=n[0];if(d!==undefined){j(d)}return[3,8];case 6:t.preventDefault();l=n[n.length-1];if(l!==undefined){j(l)}return[3,8];case 7:if(o&&q(o)){f=new CustomEvent("ionPopoverActivateTrigger");o.dispatchEvent(f)}return[3,8];case 8:return[2]}}))}))};e.addEventListener("keydown",t);return function(){return e.removeEventListener("keydown",t)}};var Y=function(e,t,r,o,n,i,a,s,p,c,d){var l;var f={top:0,left:0,width:0,height:0};switch(i){case"event":if(!d){return p}var v=d;f={top:v.clientY,left:v.clientX,width:1,height:1};break;case"trigger":default:var u=d;var h=c||((l=u===null||u===void 0?void 0:u.detail)===null||l===void 0?void 0:l.ionShadowTarget)||(u===null||u===void 0?void 0:u.target);if(!h){return p}var g=h.getBoundingClientRect();f={top:g.top,left:g.left,width:g.width,height:g.height};break}var m=V(a,f,t,r,o,n,e);var w=F(s,a,f,t,r);var b=m.top+w.top;var y=m.left+w.left;var x=M(a,o,n,b,y,t,r,e),k=x.arrowTop,P=x.arrowLeft;var D=z(a,s,e),T=D.originX,E=D.originY;return{top:b,left:y,referenceCoordinates:f,arrowTop:k,arrowLeft:P,originX:T,originY:E}};var z=function(e,t,r){switch(e){case"top":return{originX:B(t),originY:"bottom"};case"bottom":return{originX:B(t),originY:"top"};case"left":return{originX:"right",originY:H(t)};case"right":return{originX:"left",originY:H(t)};case"start":return{originX:r?"left":"right",originY:H(t)};case"end":return{originX:r?"right":"left",originY:H(t)}}};var B=function(e){switch(e){case"start":return"left";case"center":return"center";case"end":return"right"}};var H=function(e){switch(e){case"start":return"top";case"center":return"center";case"end":return"bottom"}};var M=function(e,t,r,o,n,i,a,s){var p={arrowTop:o+a/2-t/2,arrowLeft:n+i-t/2};var c={arrowTop:o+a/2-t/2,arrowLeft:n-t*1.5};switch(e){case"top":return{arrowTop:o+a,arrowLeft:n+i/2-t/2};case"bottom":return{arrowTop:o-r,arrowLeft:n+i/2-t/2};case"left":return p;case"right":return c;case"start":return s?c:p;case"end":return s?p:c;default:return{arrowTop:0,arrowLeft:0}}};var V=function(e,t,r,o,n,i,a){var s={top:t.top,left:t.left-r-n};var p={top:t.top,left:t.left+t.width+n};switch(e){case"top":return{top:t.top-o-i,left:t.left};case"right":return p;case"bottom":return{top:t.top+t.height+i,left:t.left};case"left":return s;case"start":return a?p:s;case"end":return a?s:p}};var F=function(e,t,r,o,n){switch(e){case"center":return K(t,r,o,n);case"end":return R(t,r,o,n);case"start":default:return{top:0,left:0}}};var R=function(e,t,r,o){switch(e){case"start":case"end":case"left":case"right":return{top:-(o-t.height),left:0};case"top":case"bottom":default:return{top:0,left:-(r-t.width)}}};var K=function(e,t,r,o){switch(e){case"start":case"end":case"left":case"right":return{top:-(o/2-t.height/2),left:0};case"top":case"bottom":default:return{top:0,left:-(r/2-t.width/2)}}};var G=function(e,t,r,o,n,i,a,s,p,c,d,l,f,v,u){if(f===void 0){f=0}if(v===void 0){v=0}if(u===void 0){u=0}var h=f;var g=v;var m=r;var w=t;var b;var y=c;var x=d;var k=false;var P=false;var D=l?l.top+l.height:i/2-s/2;var T=l?l.height:0;var E=false;if(m<o+p){m=o;k=true;y="left"}else if(a+o+m+p>n){P=true;m=n-a-o;y="right"}if(D+T+s>i&&(e==="top"||e==="bottom")){if(D-s>0){w=Math.max(12,D-s-T-(u-1));h=w+s;x="bottom";E=true}else{b=o}}return{top:w,left:m,bottom:b,originX:y,originY:x,checkSafeAreaLeft:k,checkSafeAreaRight:P,arrowTop:h,arrowLeft:g,addPopoverBottomClass:E}};var U=function(e,t,r,o){if(t===void 0){t=false}if(!r&&!o){return false}if(e!=="top"&&e!=="bottom"&&t){return false}return true};var J=5;var Q=function(e,t){var r;var o=t.event,n=t.size,i=t.trigger,a=t.reference,s=t.side,p=t.align;var c=e.ownerDocument;var l=c.dir==="rtl";var f=c.defaultView.innerWidth;var v=c.defaultView.innerHeight;var u=d(e);var h=u.querySelector(".popover-content");var g=u.querySelector(".popover-arrow");var m=i||((r=o===null||o===void 0?void 0:o.detail)===null||r===void 0?void 0:r.ionShadowTarget)||(o===null||o===void 0?void 0:o.target);var w=_(n,h,m),b=w.contentWidth,y=w.contentHeight;var x=A(g),k=x.arrowWidth,P=x.arrowHeight;var D={top:v/2-y/2,left:f/2-b/2,originX:l?"right":"left",originY:"top"};var T=Y(l,b,y,k,P,a,s,p,D,i,o);var E=n==="cover"?0:J;var I=n==="cover"?0:25;var C=G(s,T.top,T.left,E,f,v,b,y,I,T.originX,T.originY,T.referenceCoordinates,T.arrowTop,T.arrowLeft,P),L=C.originX,W=C.originY,O=C.top,N=C.left,j=C.bottom,q=C.checkSafeAreaLeft,X=C.checkSafeAreaRight,z=C.arrowTop,B=C.arrowLeft,H=C.addPopoverBottomClass;var M=S();var V=S();var F=S();V.addElement(u.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);F.addElement(u.querySelector(".popover-arrow")).addElement(u.querySelector(".popover-content")).fromTo("opacity",.01,1);return M.easing("ease").duration(100).beforeAddWrite((function(){if(n==="cover"){e.style.setProperty("--width","".concat(b,"px"))}if(H){e.classList.add("popover-bottom")}if(j!==undefined){h.style.setProperty("bottom","".concat(j,"px"))}var t=" + var(--ion-safe-area-left, 0)";var r=" - var(--ion-safe-area-right, 0)";var a="".concat(N,"px");if(q){a="".concat(N,"px").concat(t)}if(X){a="".concat(N,"px").concat(r)}h.style.setProperty("top","calc(".concat(O,"px + var(--offset-y, 0))"));h.style.setProperty("left","calc(".concat(a," + var(--offset-x, 0))"));h.style.setProperty("transform-origin","".concat(W," ").concat(L));if(g!==null){var p=T.top!==O||T.left!==N;var c=U(s,p,o,i);if(c){g.style.setProperty("top","calc(".concat(z,"px + var(--offset-y, 0))"));g.style.setProperty("left","calc(".concat(B,"px + var(--offset-x, 0))"))}else{g.style.setProperty("display","none")}}})).addAnimation([V,F])};var Z=function(e){var t=d(e);var r=t.querySelector(".popover-content");var o=t.querySelector(".popover-arrow");var n=S();var i=S();var a=S();i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);a.addElement(t.querySelector(".popover-arrow")).addElement(t.querySelector(".popover-content")).fromTo("opacity",.99,0);return n.easing("ease").afterAddWrite((function(){e.style.removeProperty("--width");e.classList.remove("popover-bottom");r.style.removeProperty("top");r.style.removeProperty("left");r.style.removeProperty("bottom");r.style.removeProperty("transform-origin");if(o){o.style.removeProperty("top");o.style.removeProperty("left");o.style.removeProperty("display")}})).duration(300).addAnimation([i,a])};var $=12;var ee=function(e,t){var r;var o=t.event,n=t.size,i=t.trigger,a=t.reference,s=t.side,p=t.align;var c=e.ownerDocument;var l=c.dir==="rtl";var f=c.defaultView.innerWidth;var v=c.defaultView.innerHeight;var u=d(e);var h=u.querySelector(".popover-content");var g=i||((r=o===null||o===void 0?void 0:o.detail)===null||r===void 0?void 0:r.ionShadowTarget)||(o===null||o===void 0?void 0:o.target);var m=_(n,h,g),w=m.contentWidth,b=m.contentHeight;var y={top:v/2-b/2,left:f/2-w/2,originX:l?"right":"left",originY:"top"};var x=Y(l,w,b,0,0,a,s,p,y,i,o);var k=n==="cover"?0:$;var P=G(s,x.top,x.left,k,f,v,w,b,0,x.originX,x.originY,x.referenceCoordinates),D=P.originX,T=P.originY,E=P.top,I=P.left,A=P.bottom;var C=S();var L=S();var W=S();var O=S();var N=S();L.addElement(u.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);W.addElement(u.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1);O.addElement(h).beforeStyles({top:"calc(".concat(E,"px + var(--offset-y, 0px))"),left:"calc(".concat(I,"px + var(--offset-x, 0px))"),"transform-origin":"".concat(T," ").concat(D)}).beforeAddWrite((function(){if(A!==undefined){h.style.setProperty("bottom","".concat(A,"px"))}})).fromTo("transform","scale(0.8)","scale(1)");N.addElement(u.querySelector(".popover-viewport")).fromTo("opacity",.01,1);return C.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((function(){if(n==="cover"){e.style.setProperty("--width","".concat(w,"px"))}if(T==="bottom"){e.classList.add("popover-bottom")}})).addAnimation([L,W,O,N])};var te=function(e){var t=d(e);var r=t.querySelector(".popover-content");var o=S();var n=S();var i=S();n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);i.addElement(t.querySelector(".popover-wrapper")).fromTo("opacity",.99,0);return o.easing("ease").afterAddWrite((function(){e.style.removeProperty("--width");e.classList.remove("popover-bottom");r.style.removeProperty("top");r.style.removeProperty("left");r.style.removeProperty("bottom");r.style.removeProperty("transform-origin")})).duration(150).addAnimation([n,i])};var re=':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start):dir(rtl){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end):dir(rtl){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, #e6e6e6)}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}@supports (inset-inline-start: 0){.popover-arrow::after{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.popover-arrow::after{left:3px}:host-context([dir=rtl]) .popover-arrow::after{left:unset;right:unset;right:3px}[dir=rtl] .popover-arrow::after{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.popover-arrow::after:dir(rtl){left:unset;right:unset;right:3px}}}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start) .popover-arrow:dir(rtl){-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end) .popover-arrow:dir(rtl){-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}';var oe=":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start):dir(rtl){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end):dir(rtl){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}";var ne=e("ion_popover",function(){function e(e){var o=this;t(this,e);this.didPresent=r(this,"ionPopoverDidPresent",7);this.willPresent=r(this,"ionPopoverWillPresent",7);this.willDismiss=r(this,"ionPopoverWillDismiss",7);this.didDismiss=r(this,"ionPopoverDidDismiss",7);this.didPresentShorthand=r(this,"didPresent",7);this.willPresentShorthand=r(this,"willPresent",7);this.willDismissShorthand=r(this,"willDismiss",7);this.didDismissShorthand=r(this,"didDismiss",7);this.ionMount=r(this,"ionMount",7);this.parentPopover=null;this.coreDelegate=a();this.lockController=v();this.inline=false;this.focusDescendantOnPresent=false;this.onBackdropTap=function(){o.dismiss(undefined,h)};this.onLifecycle=function(e){var t=o.usersElement;var r=ie[e.type];if(t&&r){var n=new CustomEvent(r,{bubbles:false,cancelable:false,detail:e.detail});t.dispatchEvent(n)}};this.configureTriggerInteraction=function(){var e=o,t=e.trigger,r=e.triggerAction,n=e.el,i=e.destroyTriggerInteraction;if(i){i()}if(t===undefined){return}var a=o.triggerEl=t!==undefined?document.getElementById(t):null;if(!a){u('A trigger element with the ID "'.concat(t,'" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.'),o.el);return}o.destroyTriggerInteraction=L(a,r,n)};this.configureKeyboardInteraction=function(){var e=o,t=e.destroyKeyboardInteraction,r=e.el;if(t){t()}o.destroyKeyboardInteraction=X(r)};this.configureDismissInteraction=function(){var e=o,t=e.destroyDismissInteraction,r=e.parentPopover,n=e.triggerAction,i=e.triggerEl,a=e.el;if(!r||!i){return}if(t){t()}o.destroyDismissInteraction=C(i,n,a,r)};this.presented=false;this.hasController=false;this.delegate=undefined;this.overlayIndex=undefined;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.component=undefined;this.componentProps=undefined;this.keyboardClose=true;this.cssClass=undefined;this.backdropDismiss=true;this.event=undefined;this.showBackdrop=true;this.translucent=false;this.animated=true;this.htmlAttributes=undefined;this.triggerAction="click";this.trigger=undefined;this.size="auto";this.dismissOnSelect=false;this.reference="trigger";this.side="bottom";this.alignment=undefined;this.arrow=true;this.isOpen=false;this.keyboardEvents=false;this.keepContentsMounted=false}e.prototype.onTriggerChange=function(){this.configureTriggerInteraction()};e.prototype.onIsOpenChange=function(e,t){if(e===true&&t===false){this.present()}else if(e===false&&t===true){this.dismiss()}};e.prototype.connectedCallback=function(){var e=this,t=e.configureTriggerInteraction,r=e.el;g(r);t()};e.prototype.disconnectedCallback=function(){var e=this.destroyTriggerInteraction;if(e){e()}};e.prototype.componentWillLoad=function(){var e=this.el;var t=m(e);this.parentPopover=e.closest("ion-popover:not(#".concat(t,")"));if(this.alignment===undefined){this.alignment=k(this)==="ios"?"center":"start"}};e.prototype.componentDidLoad=function(){var e=this;var t=this,r=t.parentPopover,o=t.isOpen;if(o===true){c((function(){return e.present()}))}if(r){l(r,"ionPopoverWillDismiss",(function(){e.dismiss(undefined,undefined,false)}))}};e.prototype.presentFromTrigger=function(e,t){if(t===void 0){t=false}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:this.focusDescendantOnPresent=t;return[4,this.present(e)];case 1:r.sent();this.focusDescendantOnPresent=false;return[2]}}))}))};e.prototype.getDelegate=function(e){if(e===void 0){e=false}if(this.workingDelegate&&!e){return{delegate:this.workingDelegate,inline:this.inline}}var t=this.el.parentNode;var r=this.inline=t!==null&&!this.hasController;var o=this.workingDelegate=r?this.delegate||this.coreDelegate:this.delegate;return{inline:r,delegate:o}};e.prototype.present=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,o,n,i,a;return __generator(this,(function(p){switch(p.label){case 0:return[4,this.lockController.lock()];case 1:t=p.sent();if(this.presented){t();return[2]}r=this.el;o=this.getDelegate(true),n=o.inline,i=o.delegate;this.ionMount.emit();a=this;return[4,s(i,r,this.component,["popover-viewport"],this.componentProps,n)];case 2:a.usersElement=p.sent();if(!this.keyboardEvents){this.configureKeyboardInteraction()}this.configureDismissInteraction();if(!f(r))return[3,4];return[4,T(this.usersElement)];case 3:p.sent();return[3,6];case 4:if(!!this.keepContentsMounted)return[3,6];return[4,E()];case 5:p.sent();p.label=6;case 6:return[4,w(this,"popoverEnter",Q,ee,{event:e||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment})];case 7:p.sent();if(this.focusDescendantOnPresent){b(this.el,this.el)}t();return[2]}}))}))};e.prototype.dismiss=function(e,t,r){if(r===void 0){r=true}return __awaiter(this,void 0,void 0,(function(){var o,n,i,a,s,c;return __generator(this,(function(d){switch(d.label){case 0:return[4,this.lockController.lock()];case 1:o=d.sent();n=this,i=n.destroyKeyboardInteraction,a=n.destroyDismissInteraction;if(r&&this.parentPopover){this.parentPopover.dismiss(e,t,r)}return[4,y(this,e,t,"popoverLeave",Z,te,this.event)];case 2:s=d.sent();if(!s)return[3,4];if(i){i();this.destroyKeyboardInteraction=undefined}if(a){a();this.destroyDismissInteraction=undefined}c=this.getDelegate().delegate;return[4,p(c,this.usersElement)];case 3:d.sent();d.label=4;case 4:o();return[2,s]}}))}))};e.prototype.getParentPopover=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.parentPopover]}))}))};e.prototype.onDidDismiss=function(){return x(this.el,"ionPopoverDidDismiss")};e.prototype.onWillDismiss=function(){return x(this.el,"ionPopoverWillDismiss")};e.prototype.render=function(){var e;var t=this;var r=k(this);var i=this,a=i.onLifecycle,s=i.parentPopover,p=i.dismissOnSelect,c=i.side,d=i.arrow,l=i.htmlAttributes;var f=P("desktop");var v=d&&!s;return o(n,Object.assign({"aria-modal":"true","no-router":true,tabindex:"-1"},l,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign(Object.assign({},D(this.cssClass)),(e={},e[r]=true,e["popover-translucent"]=this.translucent,e["overlay-hidden"]=true,e["popover-desktop"]=f,e["popover-side-".concat(c)]=true,e["popover-nested"]=!!s,e)),onIonPopoverDidPresent:a,onIonPopoverWillPresent:a,onIonPopoverWillDismiss:a,onIonPopoverDidDismiss:a,onIonBackdropTap:this.onBackdropTap}),!s&&o("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),o("div",{class:"popover-wrapper ion-overlay-wrapper",onClick:p?function(){return t.dismiss()}:undefined},v&&o("div",{class:"popover-arrow",part:"arrow"}),o("div",{class:"popover-content",part:"content"},o("slot",null))))};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}},enumerable:false,configurable:true});return e}());var ie={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};ne.style={ios:re,md:oe}}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- System.register(["./p-015187e5.system.js","./p-128a98e8.system.js","./p-0e94957a.system.js","./p-815c2fba.system.js","./p-629aa3fd.system.js"],(function(n){"use strict";var e,t;return{setters:[function(n){e=n.c},function(n){t=n.g},function(){},function(){},function(){}],execute:function(){var a=n("mdTransitionAnimation",(function(n,a){var i,r,o;var s="40px";var c="0px";var l=a.direction==="back";var u=a.enteringEl;var d=a.leavingEl;var f=t(u);var m=f.querySelector("ion-toolbar");var v=e();v.addElement(f).fill("both").beforeRemoveClass("ion-page-invisible");if(l){v.duration(((i=a.duration)!==null&&i!==void 0?i:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)")}else{v.duration(((r=a.duration)!==null&&r!==void 0?r:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(".concat(s,")"),"translateY(".concat(c,")")).fromTo("opacity",.01,1)}if(m){var b=e();b.addElement(m);v.addAnimation(b)}if(d&&l){v.duration(((o=a.duration)!==null&&o!==void 0?o:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var p=e();p.addElement(t(d)).onFinish((function(n){if(n===1&&p.elements.length>0){p.elements[0].style.setProperty("display","none")}})).fromTo("transform","translateY(".concat(c,")"),"translateY(".concat(s,")")).fromTo("opacity",1,0);v.addAnimation(p)}return v}))}}}));
@@ -1,4 +0,0 @@
1
- /*!
2
- * (C) Ionic http://ionicframework.com - MIT License
3
- */
4
- import{w as a,B as i}from"./p-06ac429a.js";import{r as e}from"./p-63eb0acd.js";const n="ionViewWillEnter",o="ionViewDidEnter",s="ionViewWillLeave",t="ionViewDidLeave",r="ionViewWillUnload",c=i=>new Promise(((e,n)=>{a((()=>{p(i),w(i).then((a=>{a.animation&&a.animation.destroy(),l(i),e(a)}),(a=>{l(i),n(a)}))}))})),p=a=>{const i=a.enteringEl,e=a.leavingEl;k(i,e,a.direction),a.showGoBack?i.classList.add("can-go-back"):i.classList.remove("can-go-back"),j(i,!1),i.style.setProperty("pointer-events","none"),e&&(j(e,!1),e.style.setProperty("pointer-events","none"))},w=async a=>{const e=await d(a);return e&&i.isBrowser?m(e,a):v(a)},l=a=>{const i=a.enteringEl,e=a.leavingEl;i.classList.remove("ion-page-invisible"),i.style.removeProperty("pointer-events"),void 0!==e&&(e.classList.remove("ion-page-invisible"),e.style.removeProperty("pointer-events"))},d=async a=>{if(a.leavingEl&&a.animated&&0!==a.duration)return a.animationBuilder?a.animationBuilder:"ios"===a.mode?(await import("./p-16e44585.js")).iosTransitionAnimation:(await import("./p-e38a5f77.js")).mdTransitionAnimation},m=async(a,i)=>{await u(i,!0);const e=a(i.baseEl,i);g(i.enteringEl,i.leavingEl);const n=await f(e,i);return i.progressCallback&&i.progressCallback(void 0),n&&y(i.enteringEl,i.leavingEl),{hasCompleted:n,animation:e}},v=async a=>{const i=a.enteringEl,e=a.leavingEl;return await u(a,!1),g(i,e),y(i,e),{hasCompleted:!0}},u=async(a,i)=>{(void 0!==a.deepWait?a.deepWait:i)&&await Promise.all([V(a.enteringEl),V(a.leavingEl)]),await b(a.viewIsReady,a.enteringEl)},b=async(a,i)=>{a&&await a(i)},f=(a,i)=>{const e=i.progressCallback,n=new Promise((i=>{a.onFinish((a=>i(1===a)))}));return e?(a.progressStart(!0),e(a)):a.play(),n},g=(a,i)=>{h(i,s),h(a,n)},y=(a,i)=>{h(a,o),h(i,t)},h=(a,i)=>{if(a){const e=new CustomEvent(i,{bubbles:!1,cancelable:!1});a.dispatchEvent(e)}},P=()=>new Promise((a=>e((()=>e((()=>a())))))),V=async a=>{const i=a;if(i){if(null!=i.componentOnReady){if(null!=await i.componentOnReady())return}else if(null!=i.__registerHost){const a=new Promise((a=>e(a)));return void await a}await Promise.all(Array.from(i.children).map(V))}},j=(a,i)=>{i?(a.setAttribute("aria-hidden","true"),a.classList.add("ion-page-hidden")):(a.hidden=!1,a.removeAttribute("aria-hidden"),a.classList.remove("ion-page-hidden"))},k=(a,i,e)=>{void 0!==a&&(a.style.zIndex="back"===e?"99":"101"),void 0!==i&&(i.style.zIndex="100")},C=a=>{if(a.classList.contains("ion-page"))return a;return a.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||a};export{n as L,o as a,s as b,t as c,r as d,V as e,C as g,h as l,j as s,c as t,P as w}