-
Notifications
You must be signed in to change notification settings - Fork 0
/
8082-es2015.abe02bd14d0d3e83cdf0.js
1 lines (1 loc) · 22.6 KB
/
8082-es2015.abe02bd14d0d3e83cdf0.js
1
(self.webpackChunkv2x_frontend=self.webpackChunkv2x_frontend||[]).push([[8082],{3397:function(e,t,o){"use strict";o.d(t,{a:function(){return n},b:function(){return i},p:function(){return r}});const r=(e,...t)=>console.warn(`[Ionic Warning]: ${e}`,...t),i=(e,...t)=>console.error(`[Ionic Error]: ${e}`,...t),n=(e,...t)=>console.error(`<${e.tagName.toLowerCase()}> must be used inside ${t.join(" or ")}.`)},8082:function(e,t,o){"use strict";o.r(t),o.d(t,{ion_popover:function(){return A}});var r=o(1429),i=o(8931),n=o(3409),s=o(1444),a=o(3397),p=o(4221),c=o(4881),d=o(3645),l=o(5296);o(1494);const h=(e,t,o)=>{const r=t.getBoundingClientRect(),i=r.height;let n=r.width;return"cover"===e&&o&&(n=o.getBoundingClientRect().width),{contentWidth:n,contentHeight:i}},v=(e,t)=>t&&"ION-ITEM"===t.tagName?e.findIndex(e=>e===t):-1,g=e=>{const t=(0,s.g)(e).querySelector("button");t&&(0,s.r)(()=>t.focus())},f=(e,t,o,r,i,n,s,a,p,c,d)=>{var l;let h={top:0,left:0,width:0,height:0};switch(n){case"event":if(!d)return p;h={top:d.clientY,left:d.clientX,width:1,height:1};break;case"trigger":default:const e=d,t=c||(null===(l=null==e?void 0:e.detail)||void 0===l?void 0:l.ionShadowTarget)||(null==e?void 0:e.target);if(!t)return p;const o=t.getBoundingClientRect();h={top:o.top,left:o.left,width:o.width,height:o.height}}const v=x(s,h,t,o,r,i,e),g=y(a,s,h,t,o),f=v.top+g.top,m=v.left+g.left,{arrowTop:w,arrowLeft:k}=b(s,r,i,f,m,t,o,e),{originX:P,originY:T}=u(s,a,e);return{top:f,left:m,referenceCoordinates:h,arrowTop:w,arrowLeft:k,originX:P,originY:T}},u=(e,t,o)=>{switch(e){case"top":return{originX:m(t),originY:"bottom"};case"bottom":return{originX:m(t),originY:"top"};case"left":return{originX:"right",originY:w(t)};case"right":return{originX:"left",originY:w(t)};case"start":return{originX:o?"left":"right",originY:w(t)};case"end":return{originX:o?"right":"left",originY:w(t)}}},m=e=>{switch(e){case"start":return"left";case"center":return"center";case"end":return"right"}},w=e=>{switch(e){case"start":return"top";case"center":return"center";case"end":return"bottom"}},b=(e,t,o,r,i,n,s,a)=>{const p={arrowTop:r+s/2-t/2,arrowLeft:i+n-t/2},c={arrowTop:r+s/2-t/2,arrowLeft:i-1.5*t};switch(e){case"top":return{arrowTop:r+s,arrowLeft:i+n/2-t/2};case"bottom":return{arrowTop:r-o,arrowLeft:i+n/2-t/2};case"left":return p;case"right":return c;case"start":return a?c:p;case"end":return a?p:c;default:return{arrowTop:0,arrowLeft:0}}},x=(e,t,o,r,i,n,s)=>{const a={top:t.top,left:t.left-o-i},p={top:t.top,left:t.left+t.width+i};switch(e){case"top":return{top:t.top-r-n,left:t.left};case"right":return p;case"bottom":return{top:t.top+t.height+n,left:t.left};case"left":return a;case"start":return s?p:a;case"end":return s?a:p}},y=(e,t,o,r,i)=>{switch(e){case"center":return P(t,o,r,i);case"end":return k(t,o,r,i);case"start":default:return{top:0,left:0}}},k=(e,t,o,r)=>{switch(e){case"start":case"end":case"left":case"right":return{top:-(r-t.height),left:0};case"top":case"bottom":default:return{top:0,left:-(o-t.width)}}},P=(e,t,o,r)=>{switch(e){case"start":case"end":case"left":case"right":return{top:-(r/2-t.height/2),left:0};case"top":case"bottom":default:return{top:0,left:-(o/2-t.width/2)}}},T=(e,t,o,r,i,n,s,a,p,c,d,l,h=0,v=0,g=0)=>{let f=h;const u=v;let m,w=o,b=t,x=c,y=d,k=!1,P=!1;const T=l?l.top+l.height:n/2-a/2,D=l?l.height:0;let E=!1;return w<r+p?(w=r,k=!0,x="left"):s+r+w+p>i&&(P=!0,w=i-s-r,x="right"),T+D+a>n&&("top"===e||"bottom"===e)&&(T-a>0?(b=Math.max(12,T-a-D-(g-1)),f=b+a,y="bottom",E=!0):m=r),{top:b,left:w,bottom:m,originX:x,originY:y,checkSafeAreaLeft:k,checkSafeAreaRight:P,arrowTop:f,arrowLeft:u,addPopoverBottomClass:E}},D=(e,t)=>{var o;const{event:r,size:i,trigger:n,reference:a,side:p,align:c}=t,d=e.ownerDocument,v="rtl"===d.dir,g=d.defaultView.innerWidth,u=d.defaultView.innerHeight,m=(0,s.g)(e),w=m.querySelector(".popover-content"),b=m.querySelector(".popover-arrow"),x=n||(null===(o=null==r?void 0:r.detail)||void 0===o?void 0:o.ionShadowTarget)||(null==r?void 0:r.target),{contentWidth:y,contentHeight:k}=h(i,w,x),{arrowWidth:P,arrowHeight:D}=(e=>{if(!e)return{arrowWidth:0,arrowHeight:0};const{width:t,height:o}=e.getBoundingClientRect();return{arrowWidth:t,arrowHeight:o}})(b),E=f(v,y,k,P,D,a,p,c,{top:u/2-k/2,left:g/2-y/2,originX:v?"right":"left",originY:"top"},n,r),I="cover"===i?0:5,S="cover"===i?0:25,{originX:A,originY:L,top:C,left:$,bottom:W,checkSafeAreaLeft:N,checkSafeAreaRight:O,arrowTop:q,arrowLeft:X,addPopoverBottomClass:Y}=T(p,E.top,E.left,I,g,u,y,k,S,E.originX,E.originY,E.referenceCoordinates,E.arrowTop,E.arrowLeft,D),z=(0,l.c)(),B=(0,l.c)(),H=(0,l.c)();return B.addElement(m.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),H.addElement(m.querySelector(".popover-wrapper")).fromTo("opacity",.01,1),z.easing("ease").duration(100).beforeAddWrite(()=>{"cover"===i&&e.style.setProperty("--width",`${y}px`),Y&&e.classList.add("popover-bottom"),void 0!==W&&w.style.setProperty("bottom",`${W}px`);let t=`${$}px`;N&&(t=`${$}px + var(--ion-safe-area-left, 0)`),O&&(t=`${$}px - var(--ion-safe-area-right, 0)`),w.style.setProperty("top",`calc(${C}px + var(--offset-y, 0))`),w.style.setProperty("left",`calc(${t} + var(--offset-x, 0))`),w.style.setProperty("transform-origin",`${L} ${A}`),null!==b&&(((e,t=!1,o,r)=>!(!o&&!r||"top"!==e&&"bottom"!==e&&t))(p,E.top!==C||E.left!==$,r,n)?(b.style.setProperty("top",`calc(${q}px + var(--offset-y, 0))`),b.style.setProperty("left",`calc(${X}px + var(--offset-x, 0))`)):b.style.setProperty("display","none"))}).addAnimation([B,H])},E=e=>{const t=(0,s.g)(e),o=t.querySelector(".popover-content"),r=t.querySelector(".popover-arrow"),i=(0,l.c)(),n=(0,l.c)(),a=(0,l.c)();return n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(t.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),i.easing("ease").afterAddWrite(()=>{e.style.removeProperty("--width"),e.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin"),r&&(r.style.removeProperty("top"),r.style.removeProperty("left"),r.style.removeProperty("display"))}).duration(300).addAnimation([n,a])},I=(e,t)=>{var o;const{event:r,size:i,trigger:n,reference:a,side:p,align:c}=t,d=e.ownerDocument,v="rtl"===d.dir,g=d.defaultView.innerWidth,u=d.defaultView.innerHeight,m=(0,s.g)(e),w=m.querySelector(".popover-content"),b=n||(null===(o=null==r?void 0:r.detail)||void 0===o?void 0:o.ionShadowTarget)||(null==r?void 0:r.target),{contentWidth:x,contentHeight:y}=h(i,w,b),k=f(v,x,y,0,0,a,p,c,{top:u/2-y/2,left:g/2-x/2,originX:v?"right":"left",originY:"top"},n,r),P="cover"===i?0:12,{originX:D,originY:E,top:I,left:S,bottom:A}=T(p,k.top,k.left,P,g,u,x,y,0,k.originX,k.originY,k.referenceCoordinates),L=(0,l.c)(),C=(0,l.c)(),$=(0,l.c)(),W=(0,l.c)(),N=(0,l.c)();return C.addElement(m.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),$.addElement(m.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),W.addElement(w).beforeStyles({top:`calc(${I}px + var(--offset-y, 0px))`,left:`calc(${S}px + var(--offset-x, 0px))`,"transform-origin":`${E} ${D}`}).beforeAddWrite(()=>{void 0!==A&&w.style.setProperty("bottom",`${A}px`)}).fromTo("transform","scale(0.8)","scale(1)"),N.addElement(m.querySelector(".popover-viewport")).fromTo("opacity",.01,1),L.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{"cover"===i&&e.style.setProperty("--width",`${x}px`),"bottom"===E&&e.classList.add("popover-bottom")}).addAnimation([C,$,W,N])},S=e=>{const t=(0,s.g)(e),o=t.querySelector(".popover-content"),r=(0,l.c)(),i=(0,l.c)(),n=(0,l.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n.addElement(t.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),r.easing("ease").afterAddWrite(()=>{e.style.removeProperty("--width"),e.classList.remove("popover-bottom"),o.style.removeProperty("top"),o.style.removeProperty("left"),o.style.removeProperty("bottom"),o.style.removeProperty("transform-origin")}).duration(150).addAnimation([i,n])},A=class{constructor(e){(0,r.r)(this,e),this.didPresent=(0,r.e)(this,"ionPopoverDidPresent",7),this.willPresent=(0,r.e)(this,"ionPopoverWillPresent",7),this.willDismiss=(0,r.e)(this,"ionPopoverWillDismiss",7),this.didDismiss=(0,r.e)(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=(0,r.e)(this,"didPresent",7),this.willPresentShorthand=(0,r.e)(this,"willPresent",7),this.willDismissShorthand=(0,r.e)(this,"willDismiss",7),this.didDismissShorthand=(0,r.e)(this,"didDismiss",7),this.ionMount=(0,r.e)(this,"ionMount",7),this.parentPopover=null,this.popoverIndex=C++,this.coreDelegate=(0,n.C)(),this.inline=!1,this.focusDescendantOnPresent=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.triggerAction="click",this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.keepContentsMounted=!1,this.onBackdropTap=()=>{this.dismiss(void 0,p.B)},this.onLifecycle=e=>{const t=this.usersElement,o=L[e.type];if(t&&o){const r=new CustomEvent(o,{bubbles:!1,cancelable:!1,detail:e.detail});t.dispatchEvent(r)}},this.configureTriggerInteraction=()=>{const{trigger:e,triggerAction:t,el:o,destroyTriggerInteraction:r}=this;if(r&&r(),void 0===e)return;const i=this.triggerEl=void 0!==e?document.getElementById(e):null;i?this.destroyTriggerInteraction=((e,t,o)=>{let r=[];switch(t){case"hover":let e;r=[{eventName:"mouseenter",callback:async t=>{t.stopPropagation(),e&&clearTimeout(e),e=setTimeout(()=>{(0,s.r)(()=>{o.presentFromTrigger(t),e=void 0})},100)}},{eventName:"mouseleave",callback:t=>{e&&clearTimeout(e);const r=t.relatedTarget;r&&r.closest("ion-popover")!==o&&o.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:e=>e.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:e=>o.presentFromTrigger(e,!0)}];break;case"context-menu":r=[{eventName:"contextmenu",callback:e=>{e.preventDefault(),o.presentFromTrigger(e)}},{eventName:"click",callback:e=>e.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:e=>o.presentFromTrigger(e,!0)}];break;case"click":default:r=[{eventName:"click",callback:e=>o.presentFromTrigger(e)},{eventName:"ionPopoverActivateTrigger",callback:e=>o.presentFromTrigger(e,!0)}]}return r.forEach(({eventName:t,callback:o})=>e.addEventListener(t,o)),e.setAttribute("data-ion-popover-trigger","true"),()=>{r.forEach(({eventName:t,callback:o})=>e.removeEventListener(t,o)),e.removeAttribute("data-ion-popover-trigger")}})(i,t,o):(0,a.p)(`A trigger element with the ID "${e}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`,this.el)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:e,el:t}=this;e&&e(),this.destroyKeyboardInteraction=(e=>{const t=async t=>{var o;const r=document.activeElement;let i=[];const n=null===(o=t.target)||void 0===o?void 0:o.tagName;if("ION-POPOVER"===n||"ION-ITEM"===n){try{i=Array.from(e.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch(s){}switch(t.key){case"ArrowLeft":await e.getParentPopover()&&e.dismiss(void 0,void 0,!1);break;case"ArrowDown":t.preventDefault();const o=((e,t)=>e[v(e,t)+1])(i,r);void 0!==o&&g(o);break;case"ArrowUp":t.preventDefault();const n=((e,t)=>e[v(e,t)-1])(i,r);void 0!==n&&g(n);break;case"Home":t.preventDefault();const s=i[0];void 0!==s&&g(s);break;case"End":t.preventDefault();const a=i[i.length-1];void 0!==a&&g(a);break;case"ArrowRight":case" ":case"Enter":if(r&&r.hasAttribute("data-ion-popover-trigger")){const e=new CustomEvent("ionPopoverActivateTrigger");r.dispatchEvent(e)}}}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)})(t)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:e,parentPopover:t,triggerAction:o,triggerEl:r,el:i}=this;t&&r&&(e&&e(),this.destroyDismissInteraction=((e,t,o,r)=>{let i=[];const n=(0,s.g)(r).querySelector(".popover-content");switch(t){case"hover":i=[{eventName:"mouseenter",callback:t=>{document.elementFromPoint(t.clientX,t.clientY)!==e&&o.dismiss(void 0,void 0,!1)}}];break;case"context-menu":case"click":default:i=[{eventName:"click",callback:t=>{t.target.closest("[data-ion-popover-trigger]")!==e?o.dismiss(void 0,void 0,!1):t.stopPropagation()}}]}return i.forEach(({eventName:e,callback:t})=>n.addEventListener(e,t)),()=>{i.forEach(({eventName:e,callback:t})=>n.removeEventListener(e,t))}})(r,o,i,t))}}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(e,t){!0===e&&!1===t?this.present():!1===e&&!0===t&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:e,el:t}=this;(0,p.e)(t),e()}disconnectedCallback(){const{destroyTriggerInteraction:e}=this;e&&e()}componentWillLoad(){this.popoverId=this.el.hasAttribute("id")?this.el.getAttribute("id"):`ion-popover-${this.popoverIndex}`,this.parentPopover=this.el.closest(`ion-popover:not(#${this.popoverId})`),void 0===this.alignment&&(this.alignment="ios"===(0,i.b)(this)?"center":"start")}componentDidLoad(){const{parentPopover:e,isOpen:t}=this;!0===t&&(0,s.r)(()=>this.present()),e&&(0,s.a)(e,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)})}async presentFromTrigger(e,t=!1){this.focusDescendantOnPresent=t,await this.present(e),this.focusDescendantOnPresent=!1}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};const t=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:t,delegate:this.workingDelegate=t?this.delegate||this.coreDelegate:this.delegate}}async present(e){if(this.presented)return;void 0!==this.currentTransition&&await this.currentTransition;const{inline:t,delegate:o}=this.getDelegate(!0);return this.usersElement=await(0,n.a)(o,this.el,this.component,["popover-viewport"],this.componentProps,t),await(0,d.e)(this.usersElement),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),this.ionMount.emit(),new Promise(t=>{(0,s.r)(()=>{(0,s.r)(async()=>{this.currentTransition=(0,p.d)(this,"popoverEnter",D,I,{event:e||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),await this.currentTransition,this.currentTransition=void 0,this.focusDescendantOnPresent&&(0,p.j)(this.el,this.el),t()})})})}async dismiss(e,t,o=!0){void 0!==this.currentTransition&&await this.currentTransition;const{destroyKeyboardInteraction:r,destroyDismissInteraction:i}=this;o&&this.parentPopover&&this.parentPopover.dismiss(e,t,o),this.currentTransition=(0,p.f)(this,e,t,"popoverLeave",E,S,this.event);const s=await this.currentTransition;if(s){r&&(r(),this.destroyKeyboardInteraction=void 0),i&&(i(),this.destroyDismissInteraction=void 0);const{delegate:e}=this.getDelegate();await(0,n.d)(e,this.usersElement)}return this.currentTransition=void 0,s}async getParentPopover(){return this.parentPopover}onDidDismiss(){return(0,p.g)(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return(0,p.g)(this.el,"ionPopoverWillDismiss")}render(){const e=(0,i.b)(this),{onLifecycle:t,popoverId:o,parentPopover:n,dismissOnSelect:s,side:a,arrow:p,htmlAttributes:d}=this,l=(0,i.a)("desktop"),h=p&&!n;return(0,r.h)(r.H,Object.assign({"aria-modal":"true","no-router":!0,tabindex:"-1"},d,{style:{zIndex:`${2e4+this.overlayIndex}`},id:o,class:Object.assign(Object.assign({},(0,c.g)(this.cssClass)),{[e]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":l,[`popover-side-${a}`]:!0,"popover-nested":!!n}),onIonPopoverDidPresent:t,onIonPopoverWillPresent:t,onIonPopoverWillDismiss:t,onIonPopoverDidDismiss:t,onIonBackdropTap:this.onBackdropTap}),!n&&(0,r.h)("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),(0,r.h)("div",{class:"popover-wrapper ion-overlay-wrapper",onClick:s?()=>this.dismiss():void 0},h&&(0,r.h)("div",{class:"popover-arrow",part:"arrow"}),(0,r.h)("div",{class:"popover-content",part:"content"},(0,r.h)("slot",null))))}get el(){return(0,r.i)(this)}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}},L={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};let C=0;A.style={ios:':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{opacity:0;z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, #e6e6e6)}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden}.popover-arrow::after{left:3px;top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}[dir=rtl] .popover-arrow::after,:host-context([dir=rtl]) .popover-arrow::after{left:unset;right:unset;right:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',md:":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{opacity:0;z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}[dir=rtl] .popover-content,:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}"}},4881:function(e,t,o){"use strict";o.d(t,{c:function(){return i},g:function(){return n},h:function(){return r},o:function(){return a}});const r=(e,t)=>null!==t.closest(e),i=(e,t)=>"string"==typeof e&&e.length>0?Object.assign({"ion-color":!0,[`ion-color-${e}`]:!0},t):t,n=e=>{const t={};return(e=>void 0!==e?(Array.isArray(e)?e:e.split(" ")).filter(e=>null!=e).map(e=>e.trim()).filter(e=>""!==e):[])(e).forEach(e=>t[e]=!0),t},s=/^[a-z][a-z0-9+\-.]*:/,a=async(e,t,o,r)=>{if(null!=e&&"#"!==e[0]&&!s.test(e)){const i=document.querySelector("ion-router");if(i)return null!=t&&t.preventDefault(),i.push(e,o,r)}return!1}}}]);