Files
kapp/9230.77be6f7322512507.js
2026-05-21 11:19:10 -03:00

1 line
19 KiB
JavaScript

(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9230],{30416:(Z,W,w)=>{w.d(W,{A:()=>re,B:()=>Le,C:()=>v,D:()=>ze,E:()=>E,F:()=>$e,G:()=>_e,H:()=>Se,I:()=>Fe,J:()=>M,K:()=>ye,L:()=>De,M:()=>ke,N:()=>ue,O:()=>se,P:()=>h,Q:()=>b,R:()=>ce,S:()=>Q,T:()=>be,a:()=>ve,b:()=>O,c:()=>p,d:()=>P,e:()=>X,f:()=>T,g:()=>ge,h:()=>z,i:()=>$,j:()=>N,k:()=>K,l:()=>H,m:()=>Y,n:()=>de,o:()=>j,p:()=>G,q:()=>y,r:()=>l,s:()=>R,t:()=>Ie,u:()=>he,v:()=>me,w:()=>k,x:()=>c,y:()=>Re,z:()=>We});var A=w(94147);const p=(e,t)=>e.month===t.month&&e.day===t.day&&e.year===t.year,$=(e,t)=>e.year<t.year||e.year===t.year&&e.month<t.month||e.year===t.year&&e.month===t.month&&null!==e.day&&e.day<t.day,O=(e,t)=>e.year>t.year||e.year===t.year&&e.month>t.month||e.year===t.year&&e.month===t.month&&null!==e.day&&e.day>t.day,k=(e,t,n)=>{const o=Array.isArray(e)?e:[e];for(const r of o)if(void 0!==t&&$(r,t)||void 0!==n&&O(r,n)){(0,A.p)(`The value provided to ion-datetime is out of bounds.\n\nMin: ${JSON.stringify(t)}\nMax: ${JSON.stringify(n)}\nValue: ${JSON.stringify(e)}`);break}},M=(e,t)=>{if(void 0!==t)return"h23"===t;const n=new Intl.DateTimeFormat(e,{hour:"numeric"}),o=n.resolvedOptions();if(void 0!==o.hourCycle)return"h23"===o.hourCycle;const r=new Date("5/18/2021 00:00"),i=n.formatToParts(r).find(d=>"hour"===d.type);if(!i)throw new Error("Hour value not found from DateTimeFormat");return"00"===i.value},c=(e,t)=>4===e||6===e||9===e||11===e?30:2===e?(e=>e%4==0&&e%100!=0||e%400==0)(t)?29:28:31,v=(e,t={month:"numeric",year:"numeric"})=>"month"===new Intl.DateTimeFormat(e,t).formatToParts(new Date)[0].type,E=e=>"dayPeriod"===new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date)[0].type,D=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,_=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,l=e=>{if(void 0===e)return;let n,t=e;return"string"==typeof e&&(t=e.replace(/\[|\]|\s/g,"").split(",")),n=Array.isArray(t)?t.map(o=>parseInt(o,10)).filter(isFinite):[t],n},T=e=>({month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)});function y(e){if(Array.isArray(e))return e.map(o=>y(o));let t=null;if(null!=e&&""!==e&&(t=_.exec(e),t?(t.unshift(void 0,void 0),t[2]=t[3]=void 0):t=D.exec(e)),null===t)return;for(let o=1;o<8;o++)t[o]=void 0!==t[o]?parseInt(t[o],10):void 0;let n=0;return t[9]&&t[10]&&(n=60*parseInt(t[10],10),t[11]&&(n+=parseInt(t[11],10)),"-"===t[9]&&(n*=-1)),{year:t[1],month:t[2],day:t[3],hour:t[4],minute:t[5],tzOffset:n,ampm:t[4]<12?"am":"pm"}}const h=(e,t,n)=>t&&$(e,t)?t:n&&O(e,n)?n:e,b=e=>e>=12?"pm":"am",j=(e,t)=>{const{month:n,day:o,year:r,hour:a,minute:i}=y(e),d=r??t.year,s=n??12;return{month:s,day:o??c(s,d),year:d,hour:a??23,minute:i??59}},G=(e,t)=>{const{month:n,day:o,year:r,hour:a,minute:i}=y(e);return{month:n??1,day:o??1,year:r??t.year,hour:a??0,minute:i??0}},C=e=>("0"+(void 0!==e?Math.abs(e):"0")).slice(-2);function R(e){if(Array.isArray(e))return e.map(n=>R(n));let t="";return void 0!==e.year?(t=(e=>("000"+(void 0!==e?Math.abs(e):"0")).slice(-4))(e.year),void 0!==e.month&&(t+="-"+C(e.month),void 0!==e.day&&(t+="-"+C(e.day),void 0!==e.hour&&(t+=`T${C(e.hour)}:${C(e.minute)}:00`,t+=void 0===e.tzOffset?"Z":(e.tzOffset>0?"+":"-")+C(Math.floor(Math.abs(e.tzOffset/60)))+":"+C(e.tzOffset%60))))):void 0!==e.hour&&(t=C(e.hour)+":"+C(e.minute)),t}const S=(e,t)=>void 0===t?e:"am"===t?12===e?0:e:12===e?12:e+12,N=e=>{const{dayOfWeek:t}=e;if(null==t)throw new Error("No day of week provided");return V(e,t)},z=e=>{const{dayOfWeek:t}=e;if(null==t)throw new Error("No day of week provided");return J(e,6-t)},H=e=>J(e,1),K=e=>V(e,1),Y=e=>V(e,7),de=e=>J(e,7),V=(e,t)=>{const{month:n,day:o,year:r}=e;if(null===o)throw new Error("No day provided");const a={month:n,day:o,year:r};if(a.day=o-t,a.day<1&&(a.month-=1),a.month<1&&(a.month=12,a.year-=1),a.day<1){const i=c(a.month,a.year);a.day=i+a.day}return a},J=(e,t)=>{const{month:n,day:o,year:r}=e;if(null===o)throw new Error("No day provided");const a={month:n,day:o,year:r},i=c(n,r);return a.day=o+t,a.day>i&&(a.day-=i,a.month+=1),a.month>12&&(a.month=1,a.year+=1),a},P=e=>{const t=1===e.month?12:e.month-1,n=1===e.month?e.year-1:e.year,o=c(t,n);return{month:t,year:n,day:o<e.day?o:e.day}},X=e=>{const t=12===e.month?1:e.month+1,n=12===e.month?e.year+1:e.year,o=c(t,n);return{month:t,year:n,day:o<e.day?o:e.day}},ee=(e,t)=>{const n=e.month,o=e.year+t,r=c(n,o);return{month:n,year:o,day:r<e.day?r:e.day}},se=e=>ee(e,-1),ue=e=>ee(e,1),le=(e,t,n)=>t?e:S(e,n),ce=(e,t)=>{const{ampm:n,hour:o}=e;let r=o;return"am"===n&&"pm"===t?r=S(r,"pm"):"pm"===n&&"am"===t&&(r=Math.abs(r-12)),r},me=(e,t,n)=>{const{month:o,day:r,year:a}=e,i=Object.assign({},e),d=c(o,a);return null!==r&&d<r&&(i.day=d),void 0!==t&&p(i,t)&&void 0!==i.hour&&void 0!==t.hour&&(i.hour<t.hour?(i.hour=t.hour,i.minute=t.minute):i.hour===t.hour&&void 0!==i.minute&&void 0!==t.minute&&i.minute<t.minute&&(i.minute=t.minute)),void 0!==n&&p(e,n)&&void 0!==i.hour&&void 0!==n.hour&&(i.hour>n.hour?(i.hour=n.hour,i.minute=n.minute):i.hour===n.hour&&void 0!==i.minute&&void 0!==n.minute&&i.minute>n.minute&&(i.minute=n.minute)),i},he=(e,t,n,o,r,a)=>{const{hour:i,minute:d,day:s,month:f,year:m}=e,u=Object.assign(Object.assign({},e),{dayOfWeek:void 0});return void 0!==t&&(u.month=B(f,t)),null!==s&&void 0!==n&&(u.day=B(s,n)),void 0!==o&&(u.year=B(m,o)),void 0!==i&&void 0!==r&&(u.hour=B(i,r),u.ampm=b(u.hour)),void 0!==d&&void 0!==a&&(u.minute=B(d,a)),u},B=(e,t)=>{let n=t[0],o=Math.abs(n-e);for(let r=1;r<t.length;r++){const a=t[r],i=Math.abs(a-e);i<o&&(n=a,o=i)}return n},ye=(e,t,n)=>{const o={hour:t.hour,minute:t.minute};return void 0===o.hour||void 0===o.minute?"Invalid Time":new Intl.DateTimeFormat(e,{hour:"numeric",minute:"numeric",timeZone:"UTC",hourCycle:n?"h23":"h12"}).format(new Date(R(Object.assign(Object.assign({year:2023,day:1,month:1},o),{tzOffset:void 0}))))},te=e=>{const t=e.toString();return t.length>1?t:`0${t}`},pe=(e,t)=>t?te(e):0===e?"12":e.toString(),ge=(e,t,n)=>{if(null===n.day)return null;const o=new Date(`${n.month}/${n.day}/${n.year} GMT+0000`),r=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(o);return t?`Today, ${r}`:r},De=(e,t)=>{const n=new Date(`${t.month}/${t.day}/${t.year} GMT+0000`);return new Intl.DateTimeFormat(e,{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}).format(n)},_e=(e,t)=>{const n=new Date(`${t.month}/${t.day}/${t.year} GMT+0000`);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(n)},be=(e,t)=>Q(e,t,{month:"short",day:"numeric",year:"numeric"}),ve=(e,t)=>we(e,t,{day:"numeric"}).find(n=>"day"===n.type).value,Te=(e,t)=>Q(e,t,{year:"numeric"}),ne=e=>new Date(`${e.month}/${e.day}/${e.year}${void 0!==e.hour&&void 0!==e.minute?` ${e.hour}:${e.minute}`:""} GMT+0000`),Q=(e,t,n)=>{const o=ne(t);return oe(e,n).format(o)},we=(e,t,n)=>{const o=ne(t);return oe(e,n).formatToParts(o)},oe=(e,t)=>new Intl.DateTimeFormat(e,Object.assign(Object.assign({},t),{timeZone:"UTC"})),Oe=e=>{if("RelativeTimeFormat"in Intl){const t=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return t.charAt(0).toUpperCase()+t.slice(1)}return"Today"},q=e=>{const t=e.getTimezoneOffset();return e.setMinutes(e.getMinutes()-t),e},Ee=q(new Date("2022T01:00")),Me=q(new Date("2022T13:00")),ie=(e,t)=>{const n="am"===t?Ee:Me,o=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(n).find(r=>"dayPeriod"===r.type);return o?o.value:(e=>void 0===e?"":e.toUpperCase())(t)},ke=e=>Array.isArray(e)?e.join(","):e,Ie=()=>q(new Date).toISOString(),xe=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],Ce=[0,1,2,3,4,5,6,7,8,9,10,11],Ae=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],$e=(e,t,n=0)=>{const r=new Intl.DateTimeFormat(e,{weekday:"ios"===t?"short":"narrow"}),a=new Date("11/01/2020"),i=[];for(let d=n;d<n+7;d++){const s=new Date(a);s.setDate(s.getDate()+d),i.push(r.format(s))}return i},Se=(e,t,n)=>{const o=c(e,t),r=new Date(`${e}/1/${t}`).getDay(),a=r>=n?r-(n+1):6-(n-r);let i=[];for(let d=1;d<=o;d++)i.push({day:d,dayOfWeek:(a+d)%7});for(let d=0;d<=a;d++)i=[{day:null,dayOfWeek:null},...i];return i},Fe=e=>[P(e),{month:e.month,year:e.year,day:e.day},X(e)],We=(e,t,n,o,r,a={month:"long"})=>{const{year:i}=t,d=[];if(void 0!==r){let s=r;void 0!==o?.month&&(s=s.filter(f=>f<=o.month)),void 0!==n?.month&&(s=s.filter(f=>f>=n.month)),s.forEach(f=>{const m=new Date(`${f}/1/${i} GMT+0000`),u=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(m);d.push({text:u,value:f})})}else{const s=o&&o.year===i?o.month:12;for(let m=n&&n.year===i?n.month:1;m<=s;m++){const u=new Date(`${m}/1/${i} GMT+0000`),g=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(u);d.push({text:g,value:m})}}return d},re=(e,t,n,o,r,a={day:"numeric"})=>{const{month:i,year:d}=t,s=[],f=c(i,d),m=null!=o?.day&&o.year===d&&o.month===i?o.day:f,u=null!=n?.day&&n.year===d&&n.month===i?n.day:1;if(void 0!==r){let g=r;g=g.filter(I=>I>=u&&I<=m),g.forEach(I=>{const x=new Date(`${i}/${I}/${d} GMT+0000`),F=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(x);s.push({text:F,value:I})})}else for(let g=u;g<=m;g++){const I=new Date(`${i}/${g}/${d} GMT+0000`),x=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(I);s.push({text:x,value:g})}return s},Le=(e,t,n,o,r)=>{var a,i;let d=[];if(void 0!==r)d=r,void 0!==o?.year&&(d=d.filter(s=>s<=o.year)),void 0!==n?.year&&(d=d.filter(s=>s>=n.year));else{const{year:s}=t,f=null!==(a=o?.year)&&void 0!==a?a:s,m=null!==(i=n?.year)&&void 0!==i?i:s-100;for(let u=f;u>=m;u--)d.push(u)}return d.map(s=>({text:Te(e,{year:s,month:t.month,day:t.day}),value:s}))},ae=(e,t)=>e.month===t.month&&e.year===t.year?[e]:[e,...ae(X(e),t)],Re=(e,t,n,o,r,a)=>{let i=[],d=[],s=ae(n,o);return a&&(s=s.filter(({month:f})=>a.includes(f))),s.forEach(f=>{const m={month:f.month,day:null,year:f.year},u=re(e,m,n,o,r,{month:"short",day:"numeric",weekday:"short"}),g=[],I=[];u.forEach(x=>{const F=p(Object.assign(Object.assign({},m),{day:x.value}),t);I.push({text:F?Oe(e):x.text,value:`${m.year}-${m.month}-${x.value}`}),g.push({month:m.month,year:m.year,day:x.value})}),d=[...d,...g],i=[...i,...I]}),{parts:d,items:i}},ze=(e,t,n,o,r,a,i)=>{const d=M(e,n),{hours:s,minutes:f,am:m,pm:u}=((e,t="h12",n,o,r,a)=>{const i="h23"===t;let d=i?Ae:Ce,s=xe,f=!0,m=!0;if(r&&(d=d.filter(u=>r.includes(u))),a&&(s=s.filter(u=>a.includes(u))),n)if(p(e,n)){if(void 0!==n.hour&&(d=d.filter(u=>(i?u:"pm"===e.ampm?(u+12)%24:u)>=n.hour),f=n.hour<13),void 0!==n.minute){let u=!1;void 0!==n.hour&&void 0!==e.hour&&e.hour>n.hour&&(u=!0),s=s.filter(g=>!!u||g>=n.minute)}}else $(e,n)&&(d=[],s=[],f=m=!1);return o&&(p(e,o)?(void 0!==o.hour&&(d=d.filter(u=>(i?u:"pm"===e.ampm?(u+12)%24:u)<=o.hour),m=o.hour>=12),void 0!==o.minute&&e.hour===o.hour&&(s=s.filter(u=>u<=o.minute))):O(e,o)&&(d=[],s=[],f=m=!1)),{hours:d,minutes:s,am:f,pm:m}})(t,d?"h23":"h12",o,r,a,i),g=s.map(F=>({text:pe(F,d),value:le(F,d,t.ampm)})),I=f.map(F=>({text:te(F),value:F})),x=[];return m&&!d&&x.push({text:ie(e,"am"),value:"am"}),u&&!d&&x.push({text:ie(e,"pm"),value:"pm"}),{minutesData:I,hoursData:g,dayPeriodData:x}}},94147:(Z,W,w)=>{w.d(W,{a:()=>$,b:()=>p,p:()=>A});const A=(O,...k)=>console.warn(`[Ionic Warning]: ${O}`,...k),p=(O,...k)=>console.error(`[Ionic Error]: ${O}`,...k),$=(O,...k)=>console.error(`<${O.tagName.toLowerCase()}> must be used inside ${k.join(" or ")}.`)},49230:(Z,W,w)=>{w.r(W),w.d(W,{ion_datetime_button:()=>E});var A=w(15861),p=w(71308),$=w(35179),O=w(35730),k=w(94147),U=w(92854),M=w(30416);const E=class{constructor(D){var _=this;(0,p.r)(this,D),this.datetimeEl=null,this.overlayEl=null,this.datetimePresentation="date-time",this.datetimeActive=!1,this.color="primary",this.disabled=!1,this.getParsedDateValues=l=>""===l||null==l?[]:Array.isArray(l)?l:[l],this.setDateTimeText=()=>{const{datetimeEl:l,datetimePresentation:T}=this;if(!l)return;const{value:y,locale:h,hourCycle:b,preferWheel:j,multiple:G,titleSelectedDatesFormatter:C}=l,L=this.getParsedDateValues(y),R=(0,M.q)(L.length>0?L:[(0,M.t)()]),S=R[0],N=(0,M.J)(h,b);switch(R.forEach(z=>{z.tzOffset=void 0}),this.dateText=this.timeText=void 0,T){case"date-time":case"time-date":const z=(0,M.T)(h,S),H=(0,M.K)(h,S,N);j?this.dateText=`${z} ${H}`:(this.dateText=z,this.timeText=H);break;case"date":if(G&&1!==L.length){let K=`${L.length} days`;if(void 0!==C)try{K=C(L)}catch(Y){(0,k.b)("Exception in provided `titleSelectedDatesFormatter`: ",Y)}this.dateText=K}else this.dateText=(0,M.T)(h,S);break;case"time":this.timeText=(0,M.K)(h,S,N);break;case"month-year":this.dateText=(0,M.G)(h,S);break;case"month":this.dateText=(0,M.S)(h,S,{month:"long"});break;case"year":this.dateText=(0,M.S)(h,S,{year:"numeric"})}},this.waitForDatetimeChanges=(0,A.Z)(function*(){const{datetimeEl:l}=_;return l?new Promise(T=>{(0,O.a)(l,"ionRender",T,{once:!0})}):Promise.resolve()}),this.handleDateClick=function(){var l=(0,A.Z)(function*(T){const{datetimeEl:y,datetimePresentation:h}=_;if(!y)return;let b=!1;switch(h){case"date-time":case"time-date":const j="date"!==y.presentation;!y.preferWheel&&j&&(y.presentation="date",b=!0)}_.selectedButton="date",_.presentOverlay(T,b,_.dateTargetEl)});return function(T){return l.apply(this,arguments)}}(),this.handleTimeClick=l=>{const{datetimeEl:T,datetimePresentation:y}=this;if(!T)return;let h=!1;switch(y){case"date-time":case"time-date":"time"!==T.presentation&&(T.presentation="time",h=!0)}this.selectedButton="time",this.presentOverlay(l,h,this.timeTargetEl)},this.presentOverlay=function(){var l=(0,A.Z)(function*(T,y,h){const{overlayEl:b}=_;!b||("ION-POPOVER"===b.tagName?(y&&(yield _.waitForDatetimeChanges()),b.present(Object.assign(Object.assign({},T),{detail:{ionShadowTarget:h}}))):b.present())});return function(T,y,h){return l.apply(this,arguments)}}()}componentWillLoad(){var D=this;return(0,A.Z)(function*(){const{datetime:_}=D;if(!_)return void(0,k.b)("An ID associated with an ion-datetime instance is required for ion-datetime-button to function properly.",D.el);const l=D.datetimeEl=document.getElementById(_);if(!l)return void(0,k.b)(`No ion-datetime instance found for ID '${_}'.`,D.el);new IntersectionObserver(h=>{D.datetimeActive=h[0].isIntersecting},{threshold:.01}).observe(l);const y=D.overlayEl=l.closest("ion-modal, ion-popover");y&&y.classList.add("ion-datetime-button-overlay"),(0,O.c)(l,()=>{const h=D.datetimePresentation=l.presentation||"date-time";switch(D.setDateTimeText(),(0,O.a)(l,"ionChange",D.setDateTimeText),h){case"date-time":case"date":case"month-year":case"month":case"year":D.selectedButton="date";break;case"time-date":case"time":D.selectedButton="time"}})})()}render(){const{color:D,dateText:_,timeText:l,selectedButton:T,datetimeActive:y,disabled:h}=this,b=(0,$.b)(this);return(0,p.h)(p.H,{class:(0,U.c)(D,{[b]:!0,[`${T}-active`]:y,"datetime-button-disabled":h})},_&&(0,p.h)("button",{class:"ion-activatable",id:"date-button","aria-expanded":y?"true":"false",onClick:this.handleDateClick,disabled:h,part:"native",ref:j=>this.dateTargetEl=j},(0,p.h)("slot",{name:"date-target"},_),"md"===b&&(0,p.h)("ion-ripple-effect",null)),l&&(0,p.h)("button",{class:"ion-activatable",id:"time-button","aria-expanded":y?"true":"false",onClick:this.handleTimeClick,disabled:h,part:"native",ref:j=>this.timeTargetEl=j},(0,p.h)("slot",{name:"time-target"},l),"md"===b&&(0,p.h)("ion-ripple-effect",null)))}get el(){return(0,p.i)(this)}};E.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;padding-left:12px;padding-right:12px;padding-top:6px;padding-bottom:6px;margin-left:2px;margin-right:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;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;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host button{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;padding-left:12px;padding-right:12px;padding-top:6px;padding-bottom:6px;margin-left:2px;margin-right:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;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;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host button{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}"}},92854:(Z,W,w)=>{w.d(W,{c:()=>$,g:()=>k,h:()=>p,o:()=>M});var A=w(15861);const p=(c,v)=>null!==v.closest(c),$=(c,v)=>"string"==typeof c&&c.length>0?Object.assign({"ion-color":!0,[`ion-color-${c}`]:!0},v):v,k=c=>{const v={};return(c=>void 0!==c?(Array.isArray(c)?c:c.split(" ")).filter(E=>null!=E).map(E=>E.trim()).filter(E=>""!==E):[])(c).forEach(E=>v[E]=!0),v},U=/^[a-z][a-z0-9+\-.]*:/,M=function(){var c=(0,A.Z)(function*(v,E,D,_){if(null!=v&&"#"!==v[0]&&!U.test(v)){const l=document.querySelector("ion-router");if(l)return E?.preventDefault(),l.push(v,D,_)}return!1});return function(E,D,_,l){return c.apply(this,arguments)}}()}}]);