@ionic/core 7.6.2 → 7.6.3-dev.11703103144.148eb1f6

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 (49) hide show
  1. package/components/ion-datetime.js +1 -1
  2. package/components/ion-refresher-content.js +10 -3
  3. package/components/ion-refresher.js +4 -183
  4. package/components/ion-split-pane.js +2 -2
  5. package/components/refresher.utils.js +196 -0
  6. package/dist/cjs/ion-datetime_3.cjs.entry.js +1 -1
  7. package/dist/cjs/ion-refresher_2.cjs.entry.js +27 -12
  8. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  9. package/dist/collection/components/datetime/datetime.ios.css +3 -1
  10. package/dist/collection/components/datetime/datetime.js +1 -1
  11. package/dist/collection/components/datetime/test/basic/datetime.e2e.js +29 -0
  12. package/dist/collection/components/input/input.js +1 -1
  13. package/dist/collection/components/modal/modal.js +1 -1
  14. package/dist/collection/components/range/range.js +1 -1
  15. package/dist/collection/components/refresher/refresher.utils.js +19 -11
  16. package/dist/collection/components/refresher-content/refresher-content.js +9 -3
  17. package/dist/collection/components/split-pane/split-pane.ios.css +9 -0
  18. package/dist/collection/components/split-pane/split-pane.md.css +9 -0
  19. package/dist/collection/components/textarea/textarea.js +1 -1
  20. package/dist/docs.json +6 -6
  21. package/dist/esm/ion-datetime_3.entry.js +1 -1
  22. package/dist/esm/ion-refresher_2.entry.js +28 -13
  23. package/dist/esm/ion-split-pane.entry.js +2 -2
  24. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  25. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  26. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  27. package/dist/html.html-data.json +1 -1
  28. package/dist/ionic/ionic.esm.js +1 -1
  29. package/dist/ionic/p-00f8ef9d.entry.js +4 -0
  30. package/dist/ionic/p-19d9ceb8.system.js +1 -1
  31. package/dist/ionic/p-213e377d.system.entry.js +4 -0
  32. package/dist/ionic/{p-7dc892f8.entry.js → p-66c2a3da.entry.js} +1 -1
  33. package/dist/ionic/p-792d50ed.system.entry.js +4 -0
  34. package/dist/ionic/p-a20bb802.entry.js +4 -0
  35. package/dist/ionic/p-d1a0fb4b.system.entry.js +4 -0
  36. package/dist/types/components/datetime/datetime.d.ts +3 -0
  37. package/dist/types/components/input/input.d.ts +3 -0
  38. package/dist/types/components/modal/modal.d.ts +3 -0
  39. package/dist/types/components/range/range.d.ts +3 -0
  40. package/dist/types/components/refresher/refresher.utils.d.ts +16 -0
  41. package/dist/types/components/textarea/textarea.d.ts +3 -0
  42. package/dist/types/components.d.ts +10 -10
  43. package/hydrate/index.js +30 -15
  44. package/package.json +1 -1
  45. package/dist/ionic/p-22827063.system.entry.js +0 -4
  46. package/dist/ionic/p-38531958.system.entry.js +0 -4
  47. package/dist/ionic/p-932f2259.system.entry.js +0 -4
  48. package/dist/ionic/p-950c05ad.entry.js +0 -4
  49. package/dist/ionic/p-c5acfeb1.entry.js +0 -4
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function o(t){try{d(n.next(t))}catch(t){a(t)}}function s(t){try{d(n["throw"](t))}catch(t){a(t)}}function d(t){t.done?i(t.value):r(t.value).then(o,s)}d((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return d([t,e])}}function d(s){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(n=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;r=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];r=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var n=0,r=e.length,a;n<r;n++){if(a||!(n in e)){if(!a)a=Array.prototype.slice.call(e,0,n);a[n]=e[n]}}return t.concat(a||Array.prototype.slice.call(e))};
2
+ /*!
3
+ * (C) Ionic http://ionicframework.com - MIT License
4
+ */System.register(["./p-52cfafe9.system.js","./p-c468af8a.system.js","./p-32ad210f.system.js","./p-ff4b7e40.system.js","./p-08e01816.system.js","./p-4609d030.system.js","./p-8050b9b9.system.js","./p-1501b945.system.js","./p-87bb3735.system.js","./p-4f255d5a.system.js","./p-3671f1b9.system.js","./p-38f2c6bb.system.js","./p-1cca10d6.system.js","./p-792919fd.system.js","./p-888db766.system.js","./p-790220fd.system.js","./p-8985cdb6.system.js"],(function(t,e){"use strict";var i,n,r,a,o,s,d,l,c,h,p,u,f,m,b,g,v,x,y,k,w,j,O,_,z,C,P,A,M,D,I,V,T,E,S,F,W,R,B,Y,L,q,G,H,N,U,X,J,K,Q,Z,$,tt,et,it,nt,rt,at,ot,st,dt,lt,ct,ht,pt,ut,ft,mt,bt,gt,vt,xt,yt,kt,wt,jt,Ot,_t,zt,Ct,Pt;return{setters:[function(t){i=t.r;n=t.d;r=t.w;a=t.h;o=t.H;s=t.f},function(t){d=t.startFocusVisible},function(t){l=t.r;c=t.d;h=t.g;p=t.l},function(t){u=t.a;f=t.p},function(t){m=t.i},function(t){b=t.c;g=t.g},function(t){v=t.c;x=t.o;y=t.l;k=t.p;w=t.q},function(t){j=t.b},function(t){O=t.g;_=t.a;z=t.i;C=t.b;P=t.c;A=t.d;M=t.e;D=t.v;I=t.f;V=t.h;T=t.j;E=t.k;S=t.l;F=t.m;W=t.n;R=t.p;B=t.o;Y=t.q;L=t.w;q=t.r;G=t.s;H=t.t;N=t.u;U=t.x;X=t.y;J=t.z;K=t.A;Q=t.B;Z=t.C;$=t.D;tt=t.E;et=t.F;it=t.G;nt=t.H;rt=t.I;at=t.J;ot=t.K;st=t.L;dt=t.M;lt=t.N;ct=t.O;ht=t.P;pt=t.Q;ut=t.R},function(t){ft=t.c},function(t){mt=t.d;bt=t.e;gt=t.B;vt=t.i;xt=t.j;yt=t.k;kt=t.f;wt=t.g;jt=t.h;Ot=t.s},function(t){_t=t.c},function(t){zt=t.b;Ct=t.h;Pt=t.a},function(){},function(){},function(){},function(){}],execute:function(){var At=function(t,e,i){if(e&&e.year>t){return true}if(i&&i.year<t){return true}return false};var Mt=function(t,e,i,n){if(t.day===null){return true}if(n!==undefined&&!n.includes(t.day)){return true}if(e&&z(t,e)){return true}if(i&&C(t,i)){return true}return false};var Dt=function(t,e,i,n,r,a,o){var s=Array.isArray(i)?i:[i];var d=s.find((function(t){return P(e,t)}))!==undefined;var l=P(e,n);var c=Mt(e,r,a,o);return{disabled:c,isActive:d,isToday:l,ariaSelected:d?"true":null,ariaLabel:O(t,l,e),text:e.day!=null?_(t,e):null}};var It=function(t,e){var i=e.minParts,n=e.maxParts;if(At(t.year,i,n)){return true}if(i&&z(t,i)||n&&C(t,n)){return true}return false};var Vt=function(t,e,i){var n=Object.assign(Object.assign({},A(t)),{day:null});return It(n,{minParts:e,maxParts:i})};var Tt=function(t,e){var i=Object.assign(Object.assign({},M(t)),{day:null});return It(i,{maxParts:e})};var Et=function(t,e,i){if(Array.isArray(t)){var n=e.split("T")[0];var r=t.find((function(t){return t.date===n}));if(r){return{textColor:r.textColor,backgroundColor:r.backgroundColor}}}else{try{return t(e)}catch(t){u("Exception thrown from provided `highlightedDates` callback. Please check your function and try again.",i,t)}}return undefined};var St=":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year:dir(rtl)) .calendar-next-prev,:host(.show-month-and-year:dir(rtl)) .calendar-days-of-week,:host(.show-month-and-year:dir(rtl)) .calendar-body,:host(.show-month-and-year:dir(rtl)) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:auto}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-light, #ffffff);--background-rgb:var(--ion-color-light-rgb);--title-color:var(--ion-color-step-600, #666666)}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, #cccccc);font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}:host .calendar-action-buttons ion-item{--padding-start:16px;--background-hover:transparent;--background-activated:transparent;font-size:min(1rem, 25.6px);font-weight:600}:host .calendar-action-buttons ion-item ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, #b3b3b3);font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, #cccccc)}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}";var Ft=":host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year:dir(rtl)) .calendar-next-prev,:host(.show-month-and-year:dir(rtl)) .calendar-days-of-week,:host(.show-month-and-year:dir(rtl)) .calendar-body,:host(.show-month-and-year:dir(rtl)) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:auto}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-step-100, #ffffff);--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .datetime-calendar .calendar-action-buttons ion-item{--padding-start:20px}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, #595959)}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, gray);font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, #595959)}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}";var Wt=t("ion_datetime",function(){function t(t){var e=this;i(this,t);this.ionCancel=n(this,"ionCancel",7);this.ionChange=n(this,"ionChange",7);this.ionValueChange=n(this,"ionValueChange",7);this.ionFocus=n(this,"ionFocus",7);this.ionBlur=n(this,"ionBlur",7);this.ionStyle=n(this,"ionStyle",7);this.ionRender=n(this,"ionRender",7);this.inputId="ion-dt-".concat(Rt++);this.prevPresentation=null;this.warnIfIncorrectValueUsage=function(){var t=e,i=t.multiple,n=t.value;if(!i&&Array.isArray(n)){f('ion-datetime was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: ['.concat(n.map((function(t){return"'".concat(t,"'")})).join(", "),"]\n"),e.el)}};this.setValue=function(t){e.value=t;e.ionChange.emit({value:t})};this.getActivePartsWithFallback=function(){var t;var i=e.defaultParts;return(t=e.getActivePart())!==null&&t!==void 0?t:i};this.getActivePart=function(){var t=e.activeParts;return Array.isArray(t)?t[0]:t};this.closeParentOverlay=function(){var t=e.el.closest("ion-modal, ion-popover");if(t){t.dismiss()}};this.setWorkingParts=function(t){e.workingParts=Object.assign({},t)};this.setActiveParts=function(t,i){if(i===void 0){i=false}if(e.readonly){return}var n=e,r=n.multiple,a=n.minParts,o=n.maxParts,s=n.activeParts;var d=D(t,a,o);e.setWorkingParts(d);if(r){var l=Array.isArray(s)?s:[s];if(i){e.activeParts=l.filter((function(t){return!P(t,d)}))}else{e.activeParts=__spreadArray(__spreadArray([],l,true),[d],false)}}else{e.activeParts=Object.assign({},d)}var c=e.el.querySelector('[slot="buttons"]')!==null;if(c||e.showDefaultButtons){return}e.confirm()};this.initializeKeyboardListeners=function(){var t=e.calendarBodyRef;if(!t){return}var i=e.el.shadowRoot;var n=t.querySelector(".calendar-month:nth-of-type(2)");var r=function(i){var r;var a=i[0];if(((r=a.oldValue)===null||r===void 0?void 0:r.includes("ion-focused"))||!t.classList.contains("ion-focused")){return}e.focusWorkingDay(n)};var a=new MutationObserver(r);a.observe(t,{attributeFilter:["class"],attributeOldValue:true});e.destroyKeyboardMO=function(){a===null||a===void 0?void 0:a.disconnect()};t.addEventListener("keydown",(function(t){var r=i.activeElement;if(!r||!r.classList.contains("calendar-day")){return}var a=I(r);var o;switch(t.key){case"ArrowDown":t.preventDefault();o=W(a);break;case"ArrowUp":t.preventDefault();o=F(a);break;case"ArrowRight":t.preventDefault();o=S(a);break;case"ArrowLeft":t.preventDefault();o=E(a);break;case"Home":t.preventDefault();o=T(a);break;case"End":t.preventDefault();o=V(a);break;case"PageUp":t.preventDefault();o=t.shiftKey?ct(a):A(a);break;case"PageDown":t.preventDefault();o=t.shiftKey?lt(a):M(a);break;default:return}if(Mt(o,e.minParts,e.maxParts)){return}e.setWorkingParts(Object.assign(Object.assign({},e.workingParts),o));requestAnimationFrame((function(){return e.focusWorkingDay(n)}))}))};this.focusWorkingDay=function(t){var i=t.querySelectorAll(".calendar-day-padding");var n=e.workingParts.day;if(n===null){return}var r=t.querySelector(".calendar-day-wrapper:nth-of-type(".concat(i.length+n,") .calendar-day"));if(r){r.focus()}};this.processMinParts=function(){var t=e,i=t.min,n=t.defaultParts;if(i===undefined){e.minParts=undefined;return}e.minParts=R(i,n)};this.processMaxParts=function(){var t=e,i=t.max,n=t.defaultParts;if(i===undefined){e.maxParts=undefined;return}e.maxParts=B(i,n)};this.initializeCalendarListener=function(){var t=e.calendarBodyRef;if(!t){return}var i=t.querySelectorAll(".calendar-month");var n=i[0];var a=i[1];var o=i[2];var s=j(e);var d=s==="ios"&&typeof navigator!=="undefined"&&navigator.maxTouchPoints>1;r((function(){t.scrollLeft=n.clientWidth*(m(e.el)?-1:1);var i=function(i){var r=t.getBoundingClientRect();var a=t.scrollLeft<=2?n:o;var s=a.getBoundingClientRect();if(Math.abs(s.x-r.x)>2)return;var d=e.forceRenderDate;if(d!==undefined){return{month:d.month,year:d.year,day:d.day}}if(a===n){return A(i)}else if(a===o){return M(i)}else{return}};var s=function(){if(d){t.style.removeProperty("pointer-events");c=false}var n=i(e.workingParts);if(!n)return;var o=n.month,s=n.day,l=n.year;if(It({month:o,year:l,day:null},{minParts:Object.assign(Object.assign({},e.minParts),{day:null}),maxParts:Object.assign(Object.assign({},e.maxParts),{day:null})})){return}t.style.setProperty("overflow","hidden");r((function(){e.setWorkingParts(Object.assign(Object.assign({},e.workingParts),{month:o,day:s,year:l}));t.scrollLeft=a.clientWidth*(m(e.el)?-1:1);t.style.removeProperty("overflow");if(e.resolveForceDateScrolling){e.resolveForceDateScrolling()}}))};var l;var c=false;var h=function(){if(l){clearTimeout(l)}if(!c&&d){t.style.setProperty("pointer-events","none");c=true}l=setTimeout(s,50)};t.addEventListener("scroll",h);e.destroyCalendarListener=function(){t.removeEventListener("scroll",h)}}))};this.destroyInteractionListeners=function(){var t=e,i=t.destroyCalendarListener,n=t.destroyKeyboardMO;if(i!==undefined){i()}if(n!==undefined){n()}};this.processValue=function(t){var i=t!==null&&t!==undefined&&(!Array.isArray(t)||t.length>0);var n=i?Y(t):e.defaultParts;var r=e,a=r.minParts,o=r.maxParts,s=r.workingParts,d=r.el;e.warnIfIncorrectValueUsage();if(!n){return}if(i){L(n,a,o)}var l=Array.isArray(n)?n[0]:n;var c=ht(l,a,o);var h=c.month,p=c.day,u=c.year,f=c.hour,m=c.minute;var b=pt(f);if(i){if(Array.isArray(n)){e.activeParts=__spreadArray([],n,true)}else{e.activeParts={month:h,day:p,year:u,hour:f,minute:m,ampm:b}}}else{e.activeParts=[]}var g=h!==undefined&&h!==s.month||u!==undefined&&u!==s.year;var v=d.classList.contains("datetime-ready");var x=e,y=x.isGridStyle,k=x.showMonthAndYear;if(y&&g&&v&&!k){e.animateToDate(c)}else{e.setWorkingParts({month:h,day:p,year:u,hour:f,minute:m,ampm:b})}};this.animateToDate=function(t){return __awaiter(e,void 0,void 0,(function(){var e,i,n;var r=this;return __generator(this,(function(a){switch(a.label){case 0:e=this.workingParts;this.forceRenderDate=t;i=new Promise((function(t){r.resolveForceDateScrolling=t}));n=z(t,e);n?this.prevMonth():this.nextMonth();return[4,i];case 1:a.sent();this.resolveForceDateScrolling=undefined;this.forceRenderDate=undefined;return[2]}}))}))};this.onFocus=function(){e.ionFocus.emit()};this.onBlur=function(){e.ionBlur.emit()};this.hasValue=function(){return e.value!=null};this.nextMonth=function(){var t=e.calendarBodyRef;if(!t){return}var i=t.querySelector(".calendar-month:last-of-type");if(!i){return}var n=i.offsetWidth*2;t.scrollTo({top:0,left:n*(m(e.el)?-1:1),behavior:"smooth"})};this.prevMonth=function(){var t=e.calendarBodyRef;if(!t){return}var i=t.querySelector(".calendar-month:first-of-type");if(!i){return}t.scrollTo({top:0,left:0,behavior:"smooth"})};this.toggleMonthAndYearView=function(){e.showMonthAndYear=!e.showMonthAndYear};this.showMonthAndYear=false;this.activeParts=[];this.workingParts={month:5,day:28,year:2021,hour:13,minute:52,ampm:"pm"};this.isTimePopoverOpen=false;this.forceRenderDate=undefined;this.color="primary";this.name=this.inputId;this.disabled=false;this.readonly=false;this.isDateEnabled=undefined;this.min=undefined;this.max=undefined;this.presentation="date-time";this.cancelText="Cancel";this.doneText="Done";this.clearText="Clear";this.yearValues=undefined;this.monthValues=undefined;this.dayValues=undefined;this.hourValues=undefined;this.minuteValues=undefined;this.locale="default";this.firstDayOfWeek=0;this.titleSelectedDatesFormatter=undefined;this.multiple=false;this.highlightedDates=undefined;this.value=undefined;this.showDefaultTitle=false;this.showDefaultButtons=false;this.showClearButton=false;this.showDefaultTimeLabel=true;this.hourCycle=undefined;this.size="fixed";this.preferWheel=false}t.prototype.disabledChanged=function(){this.emitStyle()};t.prototype.minChanged=function(){this.processMinParts()};t.prototype.maxChanged=function(){this.processMaxParts()};Object.defineProperty(t.prototype,"isGridStyle",{get:function(){var t=this,e=t.presentation,i=t.preferWheel;var n=e==="date"||e==="date-time"||e==="time-date";return n&&!i},enumerable:false,configurable:true});t.prototype.yearValuesChanged=function(){this.parsedYearValues=q(this.yearValues)};t.prototype.monthValuesChanged=function(){this.parsedMonthValues=q(this.monthValues)};t.prototype.dayValuesChanged=function(){this.parsedDayValues=q(this.dayValues)};t.prototype.hourValuesChanged=function(){this.parsedHourValues=q(this.hourValues)};t.prototype.minuteValuesChanged=function(){this.parsedMinuteValues=q(this.minuteValues)};t.prototype.valueChanged=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){t=this.value;if(this.hasValue()){this.processValue(t)}this.emitStyle();this.ionValueChange.emit({value:t});return[2]}))}))};t.prototype.confirm=function(t){if(t===void 0){t=false}return __awaiter(this,void 0,void 0,(function(){var e,i,n,r,a,o;return __generator(this,(function(s){e=this,i=e.isCalendarPicker,n=e.activeParts,r=e.preferWheel,a=e.workingParts;if(n!==undefined||!i){o=Array.isArray(n);if(o&&n.length===0){if(r){this.setValue(G(a))}else{this.setValue(undefined)}}else{this.setValue(G(n))}}if(t){this.closeParentOverlay()}return[2]}))}))};t.prototype.reset=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.processValue(t);return[2]}))}))};t.prototype.cancel=function(t){if(t===void 0){t=false}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.ionCancel.emit();if(t){this.closeParentOverlay()}return[2]}))}))};Object.defineProperty(t.prototype,"isCalendarPicker",{get:function(){var t=this.presentation;return t==="date"||t==="date-time"||t==="time-date"},enumerable:false,configurable:true});t.prototype.connectedCallback=function(){this.clearFocusVisible=d(this.el).destroy};t.prototype.disconnectedCallback=function(){if(this.clearFocusVisible){this.clearFocusVisible();this.clearFocusVisible=undefined}};t.prototype.initializeListeners=function(){this.initializeCalendarListener();this.initializeKeyboardListeners()};t.prototype.componentDidLoad=function(){var t=this;var e=function(e){var i=e[0];if(!i.isIntersecting){return}t.initializeListeners();r((function(){t.el.classList.add("datetime-ready")}))};var i=new IntersectionObserver(e,{threshold:.01});l((function(){return i===null||i===void 0?void 0:i.observe(t.el)}));var n=function(e){var i=e[0];if(i.isIntersecting){return}t.destroyInteractionListeners();t.showMonthAndYear=false;r((function(){t.el.classList.remove("datetime-ready")}))};var a=new IntersectionObserver(n,{threshold:0});l((function(){return a===null||a===void 0?void 0:a.observe(t.el)}));var o=h(this.el);o.addEventListener("ionFocus",(function(t){return t.stopPropagation()}));o.addEventListener("ionBlur",(function(t){return t.stopPropagation()}))};t.prototype.componentDidRender=function(){var t=this;var e=this,i=e.presentation,n=e.prevPresentation,r=e.calendarBodyRef,a=e.minParts,o=e.preferWheel,s=e.forceRenderDate;var d=!o&&["date-time","time-date","date"].includes(i);if(a!==undefined&&d&&r){var c=r.querySelector(".calendar-month:nth-of-type(1)");if(c&&s===undefined){r.scrollLeft=c.clientWidth*(m(this.el)?-1:1)}}if(n===null){this.prevPresentation=i;return}if(i===n){return}this.prevPresentation=i;this.destroyInteractionListeners();this.initializeListeners();this.showMonthAndYear=false;l((function(){t.ionRender.emit()}))};t.prototype.componentWillLoad=function(){var t=this,e=t.el,i=t.highlightedDates,n=t.multiple,r=t.presentation,a=t.preferWheel;if(n){if(r!=="date"){f('Multiple date selection is only supported for presentation="date".',e)}if(a){f('Multiple date selection is not supported with preferWheel="true".',e)}}if(i!==undefined){if(r!=="date"&&r!=="date-time"&&r!=="time-date"){f("The highlightedDates property is only supported with the date, date-time, and time-date presentations.",e)}if(a){f('The highlightedDates property is not supported with preferWheel="true".',e)}}var o=this.parsedHourValues=q(this.hourValues);var s=this.parsedMinuteValues=q(this.minuteValues);var d=this.parsedMonthValues=q(this.monthValues);var l=this.parsedYearValues=q(this.yearValues);var c=this.parsedDayValues=q(this.dayValues);var h=this.todayParts=Y(H());this.processMinParts();this.processMaxParts();this.defaultParts=N({refParts:h,monthValues:d,dayValues:c,yearValues:l,hourValues:o,minuteValues:s,minParts:this.minParts,maxParts:this.maxParts});this.processValue(this.value);this.emitStyle()};t.prototype.emitStyle=function(){this.ionStyle.emit({interactive:true,datetime:true,"interactive-disabled":this.disabled})};t.prototype.renderFooter=function(){var t;var e=this;var i=this,n=i.disabled,r=i.readonly,o=i.showDefaultButtons,s=i.showClearButton;var d=n||r;var l=this.el.querySelector('[slot="buttons"]')!==null;if(!l&&!o&&!s){return}var c=function(){e.reset();e.setValue(undefined)};return a("div",{class:"datetime-footer"},a("div",{class:"datetime-buttons"},a("div",{class:(t={},t["datetime-action-buttons"]=true,t["has-clear-button"]=this.showClearButton,t)},a("slot",{name:"buttons"},a("ion-buttons",null,o&&a("ion-button",{id:"cancel-button",color:this.color,onClick:function(){return e.cancel(true)},disabled:d},this.cancelText),a("div",{class:"datetime-action-buttons-container"},s&&a("ion-button",{id:"clear-button",color:this.color,onClick:function(){return c()},disabled:d},this.clearText),o&&a("ion-button",{id:"confirm-button",color:this.color,onClick:function(){return e.confirm(true)},disabled:d},this.doneText)))))))};t.prototype.renderWheelPicker=function(t){if(t===void 0){t=this.presentation}var e=t==="time-date"?[this.renderTimePickerColumns(t),this.renderDatePickerColumns(t)]:[this.renderDatePickerColumns(t),this.renderTimePickerColumns(t)];return a("ion-picker-internal",null,e)};t.prototype.renderDatePickerColumns=function(t){return t==="date-time"||t==="time-date"?this.renderCombinedDatePickerColumn():this.renderIndividualDatePickerColumns(t)};t.prototype.renderCombinedDatePickerColumn=function(){var t=this;var e=this,i=e.defaultParts,n=e.disabled,r=e.workingParts,o=e.locale,s=e.minParts,d=e.maxParts,l=e.todayParts,c=e.isDateEnabled;var h=this.getActivePartsWithFallback();var p=rt(r);var f=p[p.length-1];p[0].day=1;f.day=U(f.month,f.year);var m=s!==undefined&&C(s,p[0])?s:p[0];var b=d!==undefined&&z(d,f)?d:f;var g=X(o,l,m,b,this.parsedDayValues,this.parsedMonthValues);var v=g.items;var x=g.parts;if(c){v=v.map((function(t,e){var i=x[e];var n;try{n=!c(G(i))}catch(t){u("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",t)}return Object.assign(Object.assign({},t),{disabled:n})}))}var y=r.day!==null?"".concat(r.year,"-").concat(r.month,"-").concat(r.day):"".concat(i.year,"-").concat(i.month,"-").concat(i.day);return a("ion-picker-column-internal",{class:"date-column",color:this.color,disabled:n,items:v,value:y,onIonChange:function(e){if(t.destroyCalendarListener){t.destroyCalendarListener()}var i=e.detail.value;var n=x.find((function(t){var e=t.month,n=t.day,r=t.year;return i==="".concat(r,"-").concat(e,"-").concat(n)}));t.setWorkingParts(Object.assign(Object.assign({},r),n));t.setActiveParts(Object.assign(Object.assign({},h),n));t.initializeCalendarListener();e.stopPropagation()}})};t.prototype.renderIndividualDatePickerColumns=function(t){var e=this,i=e.workingParts,n=e.isDateEnabled;var r=t!=="year"&&t!=="time";var a=r?J(this.locale,i,this.minParts,this.maxParts,this.parsedMonthValues):[];var o=t==="date";var s=o?K(this.locale,i,this.minParts,this.maxParts,this.parsedDayValues):[];if(n){s=s.map((function(t){var e=t.value;var r=typeof e==="string"?parseInt(e):e;var a={month:i.month,day:r,year:i.year};var o;try{o=!n(G(a))}catch(t){u("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",t)}return Object.assign(Object.assign({},t),{disabled:o})}))}var d=t!=="month"&&t!=="time";var l=d?Q(this.locale,this.defaultParts,this.minParts,this.maxParts,this.parsedYearValues):[];var c=Z(this.locale,{month:"numeric",day:"numeric"});var h=[];if(c){h=[this.renderMonthPickerColumn(a),this.renderDayPickerColumn(s),this.renderYearPickerColumn(l)]}else{h=[this.renderDayPickerColumn(s),this.renderMonthPickerColumn(a),this.renderYearPickerColumn(l)]}return h};t.prototype.renderDayPickerColumn=function(t){var e=this;var i;if(t.length===0){return[]}var n=this,r=n.disabled,o=n.workingParts;var s=this.getActivePartsWithFallback();return a("ion-picker-column-internal",{class:"day-column",color:this.color,disabled:r,items:t,value:(i=o.day!==null?o.day:this.defaultParts.day)!==null&&i!==void 0?i:undefined,onIonChange:function(t){if(e.destroyCalendarListener){e.destroyCalendarListener()}e.setWorkingParts(Object.assign(Object.assign({},o),{day:t.detail.value}));e.setActiveParts(Object.assign(Object.assign({},s),{day:t.detail.value}));e.initializeCalendarListener();t.stopPropagation()}})};t.prototype.renderMonthPickerColumn=function(t){var e=this;if(t.length===0){return[]}var i=this,n=i.disabled,r=i.workingParts;var o=this.getActivePartsWithFallback();return a("ion-picker-column-internal",{class:"month-column",color:this.color,disabled:n,items:t,value:r.month,onIonChange:function(t){if(e.destroyCalendarListener){e.destroyCalendarListener()}e.setWorkingParts(Object.assign(Object.assign({},r),{month:t.detail.value}));e.setActiveParts(Object.assign(Object.assign({},o),{month:t.detail.value}));e.initializeCalendarListener();t.stopPropagation()}})};t.prototype.renderYearPickerColumn=function(t){var e=this;if(t.length===0){return[]}var i=this,n=i.disabled,r=i.workingParts;var o=this.getActivePartsWithFallback();return a("ion-picker-column-internal",{class:"year-column",color:this.color,disabled:n,items:t,value:r.year,onIonChange:function(t){if(e.destroyCalendarListener){e.destroyCalendarListener()}e.setWorkingParts(Object.assign(Object.assign({},r),{year:t.detail.value}));e.setActiveParts(Object.assign(Object.assign({},o),{year:t.detail.value}));e.initializeCalendarListener();t.stopPropagation()}})};t.prototype.renderTimePickerColumns=function(t){if(["date","month","month-year","year"].includes(t)){return[]}var e=this.getActivePart();var i=e!==undefined;var n=$(this.locale,this.workingParts,this.hourCycle,i?this.minParts:undefined,i?this.maxParts:undefined,this.parsedHourValues,this.parsedMinuteValues),r=n.hoursData,a=n.minutesData,o=n.dayPeriodData;return[this.renderHourPickerColumn(r),this.renderMinutePickerColumn(a),this.renderDayPeriodPickerColumn(o)]};t.prototype.renderHourPickerColumn=function(t){var e=this;var i=this,n=i.disabled,r=i.workingParts;if(t.length===0)return[];var o=this.getActivePartsWithFallback();return a("ion-picker-column-internal",{color:this.color,disabled:n,value:o.hour,items:t,numericInput:true,onIonChange:function(t){e.setWorkingParts(Object.assign(Object.assign({},r),{hour:t.detail.value}));e.setActiveParts(Object.assign(Object.assign({},o),{hour:t.detail.value}));t.stopPropagation()}})};t.prototype.renderMinutePickerColumn=function(t){var e=this;var i=this,n=i.disabled,r=i.workingParts;if(t.length===0)return[];var o=this.getActivePartsWithFallback();return a("ion-picker-column-internal",{color:this.color,disabled:n,value:o.minute,items:t,numericInput:true,onIonChange:function(t){e.setWorkingParts(Object.assign(Object.assign({},r),{minute:t.detail.value}));e.setActiveParts(Object.assign(Object.assign({},o),{minute:t.detail.value}));t.stopPropagation()}})};t.prototype.renderDayPeriodPickerColumn=function(t){var e=this;var i=this,n=i.disabled,r=i.workingParts;if(t.length===0){return[]}var o=this.getActivePartsWithFallback();var s=tt(this.locale);return a("ion-picker-column-internal",{style:s?{order:"-1"}:{},color:this.color,disabled:n,value:o.ampm,items:t,onIonChange:function(t){var i=ut(r,t.detail.value);e.setWorkingParts(Object.assign(Object.assign({},r),{ampm:t.detail.value,hour:i}));e.setActiveParts(Object.assign(Object.assign({},o),{ampm:t.detail.value,hour:i}));t.stopPropagation()}})};t.prototype.renderWheelView=function(t){var e;var i=this.locale;var n=Z(i);var r=n?"month-first":"year-first";return a("div",{class:(e={},e["wheel-order-".concat(r)]=true,e)},this.renderWheelPicker(t))};t.prototype.renderCalendarHeader=function(t){var e=this;var i=this.disabled;var n=t==="ios"?y:k;var r=t==="ios"?x:w;var o=i||Vt(this.workingParts,this.minParts,this.maxParts);var s=i||Tt(this.workingParts,this.maxParts);var d=this.el.getAttribute("dir")||undefined;return a("div",{class:"calendar-header"},a("div",{class:"calendar-action-buttons"},a("div",{class:"calendar-month-year"},a("ion-item",{part:"month-year-button",ref:function(t){return e.monthYearToggleItemRef=t},button:true,"aria-label":"Show year picker",detail:false,lines:"none",disabled:i,onClick:function(){var t;e.toggleMonthAndYearView();var i=e.monthYearToggleItemRef;if(i){var n=(t=i.shadowRoot)===null||t===void 0?void 0:t.querySelector(".item-native");if(n){var r=e.showMonthAndYear?"Hide year picker":"Show year picker";n.setAttribute("aria-label",r)}}}},a("ion-label",null,it(this.locale,this.workingParts),a("ion-icon",{"aria-hidden":"true",icon:this.showMonthAndYear?n:r,lazy:false,flipRtl:true})))),a("div",{class:"calendar-next-prev"},a("ion-buttons",null,a("ion-button",{"aria-label":"Previous month",disabled:o,onClick:function(){return e.prevMonth()}},a("ion-icon",{dir:d,"aria-hidden":"true",slot:"icon-only",icon:v,lazy:false,flipRtl:true})),a("ion-button",{"aria-label":"Next month",disabled:s,onClick:function(){return e.nextMonth()}},a("ion-icon",{dir:d,"aria-hidden":"true",slot:"icon-only",icon:x,lazy:false,flipRtl:true}))))),a("div",{class:"calendar-days-of-week","aria-hidden":"true"},et(this.locale,t,this.firstDayOfWeek%7).map((function(t){return a("div",{class:"day-of-week"},t)}))))};t.prototype.renderMonth=function(t,e){var i=this;var n=this,r=n.disabled,o=n.readonly;var s=this.parsedYearValues===undefined||this.parsedYearValues.includes(e);var d=this.parsedMonthValues===undefined||this.parsedMonthValues.includes(t);var l=!s||!d;var c=r||o;var h=r||It({month:t,year:e,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})});var p=this.workingParts.month===t&&this.workingParts.year===e;var f=this.getActivePartsWithFallback();return a("div",{"aria-hidden":!p?"true":null,class:{"calendar-month":true,"calendar-month-disabled":!p&&h}},a("div",{class:"calendar-month-grid"},nt(t,e,this.firstDayOfWeek%7).map((function(n,r){var o=n.day,s=n.dayOfWeek;var d=i,h=d.el,p=d.highlightedDates,m=d.isDateEnabled,b=d.multiple;var g={month:t,day:o,year:e};var v=o===null;var x=Dt(i.locale,g,i.activeParts,i.todayParts,i.minParts,i.maxParts,i.parsedDayValues),y=x.isActive,k=x.isToday,w=x.ariaLabel,j=x.ariaSelected,O=x.disabled,_=x.text;var z=G(g);var C=l||O;if(!C&&m!==undefined){try{C=!m(z)}catch(t){u("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",h,t)}}var P=C&&c;var A=C||c;var M=undefined;if(p!==undefined&&!y&&o!==null){M=Et(p,z,h)}var D=undefined;if(!v){D="calendar-day".concat(y?" active":"").concat(k?" today":"").concat(C?" disabled":"")}return a("div",{class:"calendar-day-wrapper"},a("button",{ref:function(t){if(t){t.style.setProperty("color","".concat(M?M.textColor:""),"important");t.style.setProperty("background-color","".concat(M?M.backgroundColor:""),"important")}},tabindex:"-1","data-day":o,"data-month":t,"data-year":e,"data-index":r,"data-day-of-week":s,disabled:A,class:{"calendar-day-padding":v,"calendar-day":true,"calendar-day-active":y,"calendar-day-constrained":P,"calendar-day-today":k},part:D,"aria-hidden":v?"true":null,"aria-selected":j,"aria-label":w,onClick:function(){if(v){return}i.setWorkingParts(Object.assign(Object.assign({},i.workingParts),{month:t,day:o,year:e}));if(b){i.setActiveParts({month:t,day:o,year:e},y)}else{i.setActiveParts(Object.assign(Object.assign({},f),{month:t,day:o,year:e}))}}},_))}))))};t.prototype.renderCalendarBody=function(){var t=this;return a("div",{class:"calendar-body ion-focusable",ref:function(e){return t.calendarBodyRef=e},tabindex:"0"},rt(this.workingParts,this.forceRenderDate).map((function(e){var i=e.month,n=e.year;return t.renderMonth(i,n)})))};t.prototype.renderCalendar=function(t){return a("div",{class:"datetime-calendar",key:"datetime-calendar"},this.renderCalendarHeader(t),this.renderCalendarBody())};t.prototype.renderTimeLabel=function(){var t=this.el.querySelector('[slot="time-label"]')!==null;if(!t&&!this.showDefaultTimeLabel){return}return a("slot",{name:"time-label"},"Time")};t.prototype.renderTimeOverlay=function(){var t=this;var e=this,i=e.disabled,n=e.hourCycle,r=e.isTimePopoverOpen,o=e.locale;var s=at(o,n);var d=this.getActivePartsWithFallback();return[a("div",{class:"time-header"},this.renderTimeLabel()),a("button",{class:{"time-body":true,"time-body-active":r},part:"time-button".concat(r?" active":""),"aria-expanded":"false","aria-haspopup":"true",disabled:i,onClick:function(e){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:t=this.popoverRef;if(!t)return[3,2];this.isTimePopoverOpen=true;t.present(new CustomEvent("ionShadowTarget",{detail:{ionShadowTarget:e.target}}));return[4,t.onWillDismiss()];case 1:i.sent();this.isTimePopoverOpen=false;i.label=2;case 2:return[2]}}))}))}},ot(o,d,s)),a("ion-popover",{alignment:"center",translucent:true,overlayIndex:1,arrow:false,onWillPresent:function(t){var e=t.target.querySelectorAll("ion-picker-column-internal");e.forEach((function(t){return t.scrollActiveItemIntoView()}))},style:{"--offset-y":"-10px","--min-width":"fit-content"},keyboardEvents:true,ref:function(e){return t.popoverRef=e}},this.renderWheelPicker("time"))]};t.prototype.getHeaderSelectedDateText=function(){var t=this,e=t.activeParts,i=t.multiple,n=t.titleSelectedDatesFormatter;var r=Array.isArray(e);var a;if(i&&r&&e.length!==1){a="".concat(e.length," days");if(n!==undefined){try{a=n(G(e))}catch(t){u("Exception in provided `titleSelectedDatesFormatter`: ",t)}}}else{a=st(this.locale,this.getActivePartsWithFallback())}return a};t.prototype.renderHeader=function(t){if(t===void 0){t=true}var e=this.el.querySelector('[slot="title"]')!==null;if(!e&&!this.showDefaultTitle){return}return a("div",{class:"datetime-header"},a("div",{class:"datetime-title"},a("slot",{name:"title"},"Select Date")),t&&a("div",{class:"datetime-selected-date"},this.getHeaderSelectedDateText()))};t.prototype.renderTime=function(){var t=this.presentation;var e=t==="time";return a("div",{class:"datetime-time"},e?this.renderWheelPicker():this.renderTimeOverlay())};t.prototype.renderCalendarViewMonthYearPicker=function(){return a("div",{class:"datetime-year"},this.renderWheelView("month-year"))};t.prototype.renderDatetime=function(t){var e=this,i=e.presentation,n=e.preferWheel;var r=i==="date"||i==="date-time"||i==="time-date";if(n&&r){return[this.renderHeader(false),this.renderWheelView(),this.renderFooter()]}switch(i){case"date-time":return[this.renderHeader(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderTime(),this.renderFooter()];case"time-date":return[this.renderHeader(),this.renderTime(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderFooter()];case"time":return[this.renderHeader(false),this.renderTime(),this.renderFooter()];case"month":case"month-year":case"year":return[this.renderHeader(false),this.renderWheelView(),this.renderFooter()];default:return[this.renderHeader(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderFooter()]}};t.prototype.render=function(){var t;var e=this,i=e.name,n=e.value,r=e.disabled,s=e.el,d=e.color,l=e.readonly,h=e.showMonthAndYear,p=e.preferWheel,u=e.presentation,f=e.size,m=e.isGridStyle;var g=j(this);var v=u==="year"||u==="month"||u==="month-year";var x=h||v;var y=h&&!v;var k=u==="date"||u==="date-time"||u==="time-date";var w=k&&p;c(true,s,i,dt(n),r);return a(o,{"aria-disabled":r?"true":null,onFocus:this.onFocus,onBlur:this.onBlur,class:Object.assign({},b(d,(t={},t[g]=true,t["datetime-readonly"]=l,t["datetime-disabled"]=r,t["show-month-and-year"]=x,t["month-year-picker-open"]=y,t["datetime-presentation-".concat(u)]=true,t["datetime-size-".concat(f)]=true,t["datetime-prefer-wheel"]=w,t["datetime-grid"]=m,t)))},this.renderDatetime(g))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledChanged"],min:["minChanged"],max:["maxChanged"],yearValues:["yearValuesChanged"],monthValues:["monthValuesChanged"],dayValues:["dayValuesChanged"],hourValues:["hourValuesChanged"],minuteValues:["minuteValuesChanged"],value:["valueChanged"]}},enumerable:false,configurable:true});return t}());var Rt=0;Wt.style={ios:St,md:Ft};var Bt=function(t){var e=_t();var i=_t();var n=_t();i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);n.addElement(t.querySelector(".picker-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)");return e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,n])};var Yt=function(t){var e=_t();var i=_t();var n=_t();i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",.01);n.addElement(t.querySelector(".picker-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)");return e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,n])};var Lt=".sc-ion-picker-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}@supports (inset-inline-start: 0){.sc-ion-picker-ios-h{inset-inline-start:0}}@supports not (inset-inline-start: 0){.sc-ion-picker-ios-h{left:0}[dir=rtl].sc-ion-picker-ios-h,[dir=rtl] .sc-ion-picker-ios-h{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.sc-ion-picker-ios-h:dir(rtl){left:unset;right:unset;right:0}}}.overlay-hidden.sc-ion-picker-ios-h{display:none}.picker-wrapper.sc-ion-picker-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);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);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-ios:active,.picker-button.sc-ion-picker-ios:focus{outline:none}.picker-columns.sc-ion-picker-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-ios,.picker-below-highlight.sc-ion-picker-ios{display:none;pointer-events:none}.sc-ion-picker-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-ios:last-child .picker-button.sc-ion-picker-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-ios,.picker-button.ion-activated.sc-ion-picker-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:16px}.picker-columns.sc-ion-picker-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-ios{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}@supports (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-ios{left:0}[dir=rtl].sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-ios .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-above-highlight.sc-ion-picker-ios:dir(rtl){left:unset;right:unset;right:0}}}.picker-below-highlight.sc-ion-picker-ios{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}@supports (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-ios{left:0}[dir=rtl].sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-ios .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-below-highlight.sc-ion-picker-ios:dir(rtl){left:unset;right:unset;right:0}}}";var qt=".sc-ion-picker-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}@supports (inset-inline-start: 0){.sc-ion-picker-md-h{inset-inline-start:0}}@supports not (inset-inline-start: 0){.sc-ion-picker-md-h{left:0}[dir=rtl].sc-ion-picker-md-h,[dir=rtl] .sc-ion-picker-md-h{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.sc-ion-picker-md-h:dir(rtl){left:unset;right:unset;right:0}}}.overlay-hidden.sc-ion-picker-md-h{display:none}.picker-wrapper.sc-ion-picker-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);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);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-md:active,.picker-button.sc-ion-picker-md:focus{outline:none}.picker-columns.sc-ion-picker-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-md,.picker-below-highlight.sc-ion-picker-md{display:none;pointer-events:none}.sc-ion-picker-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-md,.picker-button.ion-activated.sc-ion-picker-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-md{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}@supports (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-md{left:0}[dir=rtl].sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-md .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-above-highlight.sc-ion-picker-md:dir(rtl){left:unset;right:unset;right:0}}}.picker-below-highlight.sc-ion-picker-md{top:115px;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}@supports (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-md{left:0}[dir=rtl].sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-md .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-below-highlight.sc-ion-picker-md:dir(rtl){left:unset;right:unset;right:0}}}";var Gt=t("ion_picker",function(){function t(t){var e=this;i(this,t);this.didPresent=n(this,"ionPickerDidPresent",7);this.willPresent=n(this,"ionPickerWillPresent",7);this.willDismiss=n(this,"ionPickerWillDismiss",7);this.didDismiss=n(this,"ionPickerDidDismiss",7);this.didPresentShorthand=n(this,"didPresent",7);this.willPresentShorthand=n(this,"willPresent",7);this.willDismissShorthand=n(this,"willDismiss",7);this.didDismissShorthand=n(this,"didDismiss",7);this.delegateController=mt(this);this.lockController=ft();this.triggerController=bt();this.onBackdropTap=function(){e.dismiss(undefined,gt)};this.dispatchCancelHandler=function(t){var i=t.detail.role;if(vt(i)){var n=e.buttons.find((function(t){return t.role==="cancel"}));e.callButtonHandler(n)}};this.presented=false;this.overlayIndex=undefined;this.delegate=undefined;this.hasController=false;this.keyboardClose=true;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.buttons=[];this.columns=[];this.cssClass=undefined;this.duration=0;this.showBackdrop=true;this.backdropDismiss=true;this.animated=true;this.htmlAttributes=undefined;this.isOpen=false;this.trigger=undefined}t.prototype.onIsOpenChange=function(t,e){if(t===true&&e===false){this.present()}else if(t===false&&e===true){this.dismiss()}};t.prototype.triggerChanged=function(){var t=this,e=t.trigger,i=t.el,n=t.triggerController;if(e){n.addClickListener(i,e)}};t.prototype.connectedCallback=function(){xt(this.el);this.triggerChanged()};t.prototype.disconnectedCallback=function(){this.triggerController.removeClickListener()};t.prototype.componentWillLoad=function(){yt(this.el)};t.prototype.componentDidLoad=function(){var t=this;if(this.isOpen===true){l((function(){return t.present()}))}this.triggerChanged()};t.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){switch(i.label){case 0:return[4,this.lockController.lock()];case 1:t=i.sent();return[4,this.delegateController.attachViewToDom()];case 2:i.sent();return[4,kt(this,"pickerEnter",Bt,Bt,undefined)];case 3:i.sent();if(this.duration>0){this.durationTimeout=setTimeout((function(){return e.dismiss()}),this.duration)}t();return[2]}}))}))};t.prototype.dismiss=function(t,e){return __awaiter(this,void 0,void 0,(function(){var i,n;return __generator(this,(function(r){switch(r.label){case 0:return[4,this.lockController.lock()];case 1:i=r.sent();if(this.durationTimeout){clearTimeout(this.durationTimeout)}return[4,wt(this,t,e,"pickerLeave",Yt,Yt)];case 2:n=r.sent();if(n){this.delegateController.removeViewFromDom()}i();return[2,n]}}))}))};t.prototype.onDidDismiss=function(){return jt(this.el,"ionPickerDidDismiss")};t.prototype.onWillDismiss=function(){return jt(this.el,"ionPickerWillDismiss")};t.prototype.getColumn=function(t){return Promise.resolve(this.columns.find((function(e){return e.name===t})))};t.prototype.buttonClick=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(n){switch(n.label){case 0:e=t.role;if(vt(e)){return[2,this.dismiss(undefined,e)]}return[4,this.callButtonHandler(t)];case 1:i=n.sent();if(i){return[2,this.dismiss(this.getSelected(),t.role)]}return[2,Promise.resolve()]}}))}))};t.prototype.callButtonHandler=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(i){switch(i.label){case 0:if(!t)return[3,2];return[4,Ot(t.handler,this.getSelected())];case 1:e=i.sent();if(e===false){return[2,false]}i.label=2;case 2:return[2,true]}}))}))};t.prototype.getSelected=function(){var t={};this.columns.forEach((function(e,i){var n=e.selectedIndex!==undefined?e.options[e.selectedIndex]:undefined;t[e.name]={text:n?n.text:undefined,value:n?n.value:undefined,columnIndex:i}}));return t};t.prototype.render=function(){var t;var e=this;var i=this.htmlAttributes;var n=j(this);return a(o,Object.assign({"aria-modal":"true",tabindex:"-1"},i,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign((t={},t[n]=true,t["picker-".concat(n)]=true,t["overlay-hidden"]=true,t),g(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonPickerWillDismiss:this.dispatchCancelHandler}),a("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),a("div",{tabindex:"0"}),a("div",{class:"picker-wrapper ion-overlay-wrapper",role:"dialog"},a("div",{class:"picker-toolbar"},this.buttons.map((function(t){return a("div",{class:Ht(t)},a("button",{type:"button",onClick:function(){return e.buttonClick(t)},class:Nt(t)},t.text))}))),a("div",{class:"picker-columns"},a("div",{class:"picker-above-highlight"}),this.presented&&this.columns.map((function(t){return a("ion-picker-column",{col:t})})),a("div",{class:"picker-below-highlight"}))),a("div",{tabindex:"0"}))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}},enumerable:false,configurable:true});return t}());var Ht=function(t){var e;return e={},e["picker-toolbar-".concat(t.role)]=t.role!==undefined,e["picker-toolbar-button"]=true,e};var Nt=function(t){return Object.assign({"picker-button":true,"ion-activatable":true},g(t.cssClass))};Gt.style={ios:Lt,md:qt};var Ut=".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:center center;transform-origin:center center;height:46px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}:host-context([dir=rtl]) .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}";var Xt=".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #3880ff)}";var Jt=t("ion_picker_column",function(){function t(t){i(this,t);this.ionPickerColChange=n(this,"ionPickerColChange",7);this.optHeight=0;this.rotateFactor=0;this.scaleFactor=1;this.velocity=0;this.y=0;this.noAnimate=true;this.colDidChange=false;this.col=undefined}t.prototype.colChanged=function(){this.colDidChange=true};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,n,r;var a=this;return __generator(this,(function(o){switch(o.label){case 0:t=0;i=.81;n=j(this);if(n==="ios"){t=-.46;i=1}this.rotateFactor=t;this.scaleFactor=i;r=this;return[4,e.import("./p-31b2326e.system.js")];case 1:r.gesture=o.sent().createGesture({el:this.el,gestureName:"picker-swipe",gesturePriority:100,threshold:0,passive:false,onStart:function(t){return a.onStart(t)},onMove:function(t){return a.onMove(t)},onEnd:function(t){return a.onEnd(t)}});this.gesture.enable();this.tmrId=setTimeout((function(){a.noAnimate=false;a.refresh(true)}),250);return[2]}}))}))};t.prototype.componentDidLoad=function(){this.onDomChange()};t.prototype.componentDidUpdate=function(){if(this.colDidChange){this.onDomChange(true,false);this.colDidChange=false}};t.prototype.disconnectedCallback=function(){if(this.rafId!==undefined)cancelAnimationFrame(this.rafId);if(this.tmrId)clearTimeout(this.tmrId);if(this.gesture){this.gesture.destroy();this.gesture=undefined}};t.prototype.emitColChange=function(){this.ionPickerColChange.emit(this.col)};t.prototype.setSelected=function(t,e){var i=t>-1?-(t*this.optHeight):0;this.velocity=0;if(this.rafId!==undefined)cancelAnimationFrame(this.rafId);this.update(i,e,true);this.emitColChange()};t.prototype.update=function(t,e,i){if(!this.optsEl){return}var n=0;var r=0;var a=this,o=a.col,s=a.rotateFactor;var d=o.selectedIndex;var l=o.selectedIndex=this.indexForY(-t);var c=e===0?"":e+"ms";var h="scale(".concat(this.scaleFactor,")");var p=this.optsEl.children;for(var u=0;u<p.length;u++){var f=p[u];var m=o.options[u];var b=u*this.optHeight+t;var g="";if(s!==0){var v=b*s;if(Math.abs(v)<=90){n=0;r=90;g="rotateX(".concat(v,"deg) ")}else{n=-9999}}else{r=0;n=b}var x=l===u;g+="translate3d(0px,".concat(n,"px,").concat(r,"px) ");if(this.scaleFactor!==1&&!x){g+=h}if(this.noAnimate){m.duration=0;f.style.transitionDuration=""}else if(e!==m.duration){m.duration=e;f.style.transitionDuration=c}if(g!==m.transform){m.transform=g}f.style.transform=g;m.selected=x;if(x){f.classList.add(Kt)}else{f.classList.remove(Kt)}}this.col.prevSelected=d;if(i){this.y=t}if(this.lastIndex!==l){zt();this.lastIndex=l}};t.prototype.decelerate=function(){var t=this;if(this.velocity!==0){this.velocity*=Qt;this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1);var e=this.y+this.velocity;if(e>this.minY){e=this.minY;this.velocity=0}else if(e<this.maxY){e=this.maxY;this.velocity=0}this.update(e,0,true);var i=Math.round(e)%this.optHeight!==0||Math.abs(this.velocity)>1;if(i){this.rafId=requestAnimationFrame((function(){return t.decelerate()}))}else{this.velocity=0;this.emitColChange();Ct()}}else if(this.y%this.optHeight!==0){var n=Math.abs(this.y%this.optHeight);this.velocity=n>this.optHeight/2?1:-1;this.decelerate()}};t.prototype.indexForY=function(t){return Math.min(Math.max(Math.abs(Math.round(t/this.optHeight)),0),this.col.options.length-1)};t.prototype.onStart=function(t){if(t.event.cancelable){t.event.preventDefault()}t.event.stopPropagation();Pt();if(this.rafId!==undefined)cancelAnimationFrame(this.rafId);var e=this.col.options;var i=e.length-1;var n=0;for(var r=0;r<e.length;r++){if(!e[r].disabled){i=Math.min(i,r);n=Math.max(n,r)}}this.minY=-(i*this.optHeight);this.maxY=-(n*this.optHeight)};t.prototype.onMove=function(t){if(t.event.cancelable){t.event.preventDefault()}t.event.stopPropagation();var e=this.y+t.deltaY;if(e>this.minY){e=Math.pow(e,.8);this.bounceFrom=e}else if(e<this.maxY){e+=Math.pow(this.maxY-e,.9);this.bounceFrom=e}else{this.bounceFrom=0}this.update(e,0,false)};t.prototype.onEnd=function(t){if(this.bounceFrom>0){this.update(this.minY,100,true);this.emitColChange();return}else if(this.bounceFrom<0){this.update(this.maxY,100,true);this.emitColChange();return}this.velocity=p(-Zt,t.velocityY*23,Zt);if(this.velocity===0&&t.deltaY===0){var e=t.event.target.closest(".picker-opt");if(e===null||e===void 0?void 0:e.hasAttribute("opt-index")){this.setSelected(parseInt(e.getAttribute("opt-index"),10),$t)}}else{this.y+=t.deltaY;if(Math.abs(t.velocityY)<.05){var i=t.deltaY>0;var n=Math.abs(this.y)%this.optHeight/this.optHeight;if(i&&n>.5){this.velocity=Math.abs(this.velocity)*-1}else if(!i&&n<=.5){this.velocity=Math.abs(this.velocity)}}this.decelerate()}};t.prototype.refresh=function(t,e){var i;var n=this.col.options.length-1;var r=0;var a=this.col.options;for(var o=0;o<a.length;o++){if(!a[o].disabled){n=Math.min(n,o);r=Math.max(r,o)}}if(this.velocity!==0){return}var s=p(n,(i=this.col.selectedIndex)!==null&&i!==void 0?i:0,r);if(this.col.prevSelected!==s||t){var d=s*this.optHeight*-1;var l=e?$t:0;this.velocity=0;this.update(d,l,true)}};t.prototype.onDomChange=function(t,e){var i=this.optsEl;if(i){this.optHeight=i.firstElementChild?i.firstElementChild.clientHeight:0}this.refresh(t,e)};t.prototype.render=function(){var t;var e=this;var i=this.col;var n=j(this);return a(o,{class:Object.assign((t={},t[n]=true,t["picker-col"]=true,t["picker-opts-left"]=this.col.align==="left",t["picker-opts-right"]=this.col.align==="right",t),g(i.cssClass)),style:{"max-width":this.col.columnWidth}},i.prefix&&a("div",{class:"picker-prefix",style:{width:i.prefixWidth}},i.prefix),a("div",{class:"picker-opts",style:{maxWidth:i.optionsWidth},ref:function(t){return e.optsEl=t}},i.options.map((function(t,e){return a("button",{"aria-label":t.ariaLabel,class:{"picker-opt":true,"picker-opt-disabled":!!t.disabled},"opt-index":e},t.text)}))),i.suffix&&a("div",{class:"picker-suffix",style:{width:i.suffixWidth}},i.suffix))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{col:["colChanged"]}},enumerable:false,configurable:true});return t}());var Kt="picker-opt-selected";var Qt=.97;var Zt=90;var $t=150;Jt.style={ios:Ut,md:Xt}}}}));
@@ -196,6 +196,9 @@ export declare class Datetime implements ComponentInterface {
196
196
  * dates are selected. Only used if there are 0 or more than 1
197
197
  * selected (i.e. unused for exactly 1). By default, the header
198
198
  * text is set to "numberOfDates days".
199
+ *
200
+ * See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
201
+ * if you need to access `this` from within the callback.
199
202
  */
200
203
  titleSelectedDatesFormatter?: TitleSelectedDatesFormatter;
201
204
  /**
@@ -77,6 +77,9 @@ export declare class Input implements ComponentInterface {
77
77
  /**
78
78
  * A callback used to format the counter text.
79
79
  * By default the counter text is set to "itemLength / maxLength".
80
+ *
81
+ * See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
82
+ * if you need to access `this` from within the callback.
80
83
  */
81
84
  counterFormatter?: (inputLength: number, maxLength: number) => string;
82
85
  /**
@@ -169,6 +169,9 @@ export declare class Modal implements ComponentInterface, OverlayInterface {
169
169
  *
170
170
  * If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss.
171
171
  * If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.
172
+ *
173
+ * See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
174
+ * if you need to access `this` from within the callback.
172
175
  */
173
176
  canDismiss: boolean | ((data?: any, role?: string) => Promise<boolean>);
174
177
  /**
@@ -78,6 +78,9 @@ export declare class Range implements ComponentInterface {
78
78
  /**
79
79
  * A callback used to format the pin text.
80
80
  * By default the pin text is set to `Math.round(value)`.
81
+ *
82
+ * See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
83
+ * if you need to access `this` from within the callback.
81
84
  */
82
85
  pinFormatter: PinFormatter;
83
86
  /**
@@ -6,5 +6,21 @@ export declare const setSpinnerOpacity: (spinner: HTMLElement, opacity: number)
6
6
  export declare const handleScrollWhilePulling: (ticks: NodeListOf<SVGElement>, numTicks: number, pullAmount: number) => void;
7
7
  export declare const handleScrollWhileRefreshing: (spinner: HTMLElement, lastVelocityY: number) => void;
8
8
  export declare const translateElement: (el?: HTMLElement, value?: string, duration?: number) => Promise<unknown>;
9
+ /**
10
+ * In order to use the native iOS refresher the device must support rubber band scrolling.
11
+ * As part of this, we need to exclude Desktop Safari because it has a slightly different rubber band effect that is not compatible with the native refresher in Ionic.
12
+ *
13
+ * We also need to be careful not to include devices that spoof their user agent.
14
+ * For example, when using iOS emulation in Chrome the user agent will be spoofed such that
15
+ * navigator.maxTouchPointer > 0. To work around this,
16
+ * we check to see if the apple-pay-logo is supported as a named image which is only
17
+ * true on Apple devices.
18
+ *
19
+ * We previously checked referencEl.style.webkitOverflowScrolling to explicitly check
20
+ * for rubber band support. However, this property was removed on iPadOS and it's possible
21
+ * that this will be removed on iOS in the future too.
22
+ *
23
+ */
24
+ export declare const supportsRubberBandScrolling: () => boolean;
9
25
  export declare const shouldUseNativeRefresher: (referenceEl: HTMLIonRefresherElement, mode: string) => Promise<boolean>;
10
26
  export {};
@@ -137,6 +137,9 @@ export declare class Textarea implements ComponentInterface {
137
137
  /**
138
138
  * A callback used to format the counter text.
139
139
  * By default the counter text is set to "itemLength / maxLength".
140
+ *
141
+ * See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
142
+ * if you need to access `this` from within the callback.
140
143
  */
141
144
  counterFormatter?: (inputLength: number, maxLength: number) => string;
142
145
  /**
@@ -943,7 +943,7 @@ export namespace Components {
943
943
  */
944
944
  "size": 'cover' | 'fixed';
945
945
  /**
946
- * A callback used to format the header text that shows how many dates are selected. Only used if there are 0 or more than 1 selected (i.e. unused for exactly 1). By default, the header text is set to "numberOfDates days".
946
+ * A callback used to format the header text that shows how many dates are selected. Only used if there are 0 or more than 1 selected (i.e. unused for exactly 1). By default, the header text is set to "numberOfDates days". See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
947
947
  */
948
948
  "titleSelectedDatesFormatter"?: TitleSelectedDatesFormatter;
949
949
  /**
@@ -1182,7 +1182,7 @@ export namespace Components {
1182
1182
  */
1183
1183
  "counter": boolean;
1184
1184
  /**
1185
- * A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength".
1185
+ * A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength". See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
1186
1186
  */
1187
1187
  "counterFormatter"?: (inputLength: number, maxLength: number) => string;
1188
1188
  /**
@@ -1701,7 +1701,7 @@ export namespace Components {
1701
1701
  */
1702
1702
  "breakpoints"?: number[];
1703
1703
  /**
1704
- * Determines whether or not a modal can dismiss when calling the `dismiss` method. If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss. If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.
1704
+ * Determines whether or not a modal can dismiss when calling the `dismiss` method. If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss. If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss. See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
1705
1705
  */
1706
1706
  "canDismiss": boolean | ((data?: any, role?: string) => Promise<boolean>);
1707
1707
  /**
@@ -2336,7 +2336,7 @@ export namespace Components {
2336
2336
  */
2337
2337
  "pin": boolean;
2338
2338
  /**
2339
- * A callback used to format the pin text. By default the pin text is set to `Math.round(value)`.
2339
+ * A callback used to format the pin text. By default the pin text is set to `Math.round(value)`. See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
2340
2340
  */
2341
2341
  "pinFormatter": PinFormatter;
2342
2342
  /**
@@ -2978,7 +2978,7 @@ export namespace Components {
2978
2978
  */
2979
2979
  "counter": boolean;
2980
2980
  /**
2981
- * A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength".
2981
+ * A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength". See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
2982
2982
  */
2983
2983
  "counterFormatter"?: (inputLength: number, maxLength: number) => string;
2984
2984
  /**
@@ -5617,7 +5617,7 @@ declare namespace LocalJSX {
5617
5617
  */
5618
5618
  "size"?: 'cover' | 'fixed';
5619
5619
  /**
5620
- * A callback used to format the header text that shows how many dates are selected. Only used if there are 0 or more than 1 selected (i.e. unused for exactly 1). By default, the header text is set to "numberOfDates days".
5620
+ * A callback used to format the header text that shows how many dates are selected. Only used if there are 0 or more than 1 selected (i.e. unused for exactly 1). By default, the header text is set to "numberOfDates days". See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
5621
5621
  */
5622
5622
  "titleSelectedDatesFormatter"?: TitleSelectedDatesFormatter;
5623
5623
  /**
@@ -5868,7 +5868,7 @@ declare namespace LocalJSX {
5868
5868
  */
5869
5869
  "counter"?: boolean;
5870
5870
  /**
5871
- * A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength".
5871
+ * A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength". See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
5872
5872
  */
5873
5873
  "counterFormatter"?: (inputLength: number, maxLength: number) => string;
5874
5874
  /**
@@ -6380,7 +6380,7 @@ declare namespace LocalJSX {
6380
6380
  */
6381
6381
  "breakpoints"?: number[];
6382
6382
  /**
6383
- * Determines whether or not a modal can dismiss when calling the `dismiss` method. If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss. If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.
6383
+ * Determines whether or not a modal can dismiss when calling the `dismiss` method. If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss. If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss. See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
6384
6384
  */
6385
6385
  "canDismiss"?: boolean | ((data?: any, role?: string) => Promise<boolean>);
6386
6386
  /**
@@ -6953,7 +6953,7 @@ declare namespace LocalJSX {
6953
6953
  */
6954
6954
  "pin"?: boolean;
6955
6955
  /**
6956
- * A callback used to format the pin text. By default the pin text is set to `Math.round(value)`.
6956
+ * A callback used to format the pin text. By default the pin text is set to `Math.round(value)`. See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
6957
6957
  */
6958
6958
  "pinFormatter"?: PinFormatter;
6959
6959
  /**
@@ -7609,7 +7609,7 @@ declare namespace LocalJSX {
7609
7609
  */
7610
7610
  "counter"?: boolean;
7611
7611
  /**
7612
- * A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength".
7612
+ * A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength". See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
7613
7613
  */
7614
7614
  "counterFormatter"?: (inputLength: number, maxLength: number) => string;
7615
7615
  /**